Searched refs:zcbor_int_decode (Results 1 – 4 of 4) sorted by relevance
| /zcbor-latest/tests/unit/test1_unit_tests/src/ |
| D | main.c | 738 zassert_true(zcbor_int_decode(state_d, &int8, sizeof(int8)), NULL); in ZTEST() 739 zassert_false(zcbor_int_decode(state_d, &int16, sizeof(int8)), NULL); in ZTEST() 740 zassert_true(zcbor_int_decode(state_d, &int16, sizeof(int16)), NULL); in ZTEST() 741 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int8)), NULL); in ZTEST() 742 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int16)), NULL); in ZTEST() 743 zassert_true(zcbor_int_decode(state_d, &int32, sizeof(int32)), NULL); in ZTEST() 744 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int8)), NULL); in ZTEST() 745 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int16)), NULL); in ZTEST() 746 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int32)), NULL); in ZTEST() 747 zassert_true(zcbor_int_decode(state_d, &int64, sizeof(int64)), NULL); in ZTEST() [all …]
|
| /zcbor-latest/include/ |
| D | zcbor_decode.h | 71 bool zcbor_int_decode(zcbor_state_t *state, void *result, size_t result_size); /* pint/nint */
|
| /zcbor-latest/src/ |
| D | zcbor_decode.c | 217 bool zcbor_int_decode(zcbor_state_t *state, void *result, size_t result_size) in zcbor_int_decode() function 245 return zcbor_int_decode(state, result, sizeof(*result)); in zcbor_int32_decode() 252 return zcbor_int_decode(state, result, sizeof(*result)); in zcbor_int64_decode()
|
| /zcbor-latest/ |
| D | RELEASE_NOTES.md | 282 …* zcbor_encode/zcbor_decode: Add new functions zcbor_int_encode() and zcbor_int_decode() which acc… 283 …* zcbor.py: Use zcbor_int_encode() and zcbor_int_decode() when operating directly on _choice enums…
|