Searched refs:zcbor_uint_decode (Results 1 – 5 of 5) sorted by relevance
| /zcbor-latest/samples/pet/src/ |
| D | pet_decode.c | 43 …&& ((((zcbor_uint_decode(state, &(*result).species_choice, sizeof((*result).species_choice)))) && … in decode_Pet()
|
| /zcbor-latest/tests/unit/test1_unit_tests/src/ |
| D | main.c | 836 zassert_true(zcbor_uint_decode(state_d, &uint8, sizeof(uint8)), NULL); in ZTEST() 837 zassert_false(zcbor_uint_decode(state_d, &uint16, sizeof(uint8)), NULL); in ZTEST() 838 zassert_true(zcbor_uint_decode(state_d, &uint16, sizeof(uint16)), NULL); in ZTEST() 839 zassert_false(zcbor_uint_decode(state_d, &uint32, sizeof(uint8)), NULL); in ZTEST() 840 zassert_false(zcbor_uint_decode(state_d, &uint32, sizeof(uint16)), NULL); in ZTEST() 841 zassert_true(zcbor_uint_decode(state_d, &uint32, sizeof(uint32)), NULL); in ZTEST() 842 zassert_false(zcbor_uint_decode(state_d, &uint64, sizeof(uint8)), NULL); in ZTEST() 843 zassert_false(zcbor_uint_decode(state_d, &uint64, sizeof(uint16)), NULL); in ZTEST() 844 zassert_false(zcbor_uint_decode(state_d, &uint64, sizeof(uint32)), NULL); in ZTEST() 845 zassert_true(zcbor_uint_decode(state_d, &uint64, sizeof(uint64)), NULL); in ZTEST() [all …]
|
| /zcbor-latest/src/ |
| D | zcbor_decode.c | 256 bool zcbor_uint_decode(zcbor_state_t *state, void *result, size_t result_size) in zcbor_uint_decode() function 272 return zcbor_uint_decode(state, result, sizeof(*result)); in zcbor_uint32_decode() 357 return zcbor_uint_decode(state, result, sizeof(*result)); in zcbor_uint64_decode() 365 return zcbor_uint_decode(state, result, sizeof(*result)); in zcbor_size_decode()
|
| /zcbor-latest/include/ |
| D | zcbor_decode.h | 72 bool zcbor_uint_decode(zcbor_state_t *state, void *result, size_t result_size); /* pint */
|
| /zcbor-latest/ |
| D | RELEASE_NOTES.md | 86 * zcbor.py: Use zcbor_uint_decode() when decoding only positive enums
|