Searched refs:zcbor_decoder_t (Results 1 – 8 of 8) sorted by relevance
/zcbor-3.6.0/samples/pet/src/ |
D | pet_decode.c | 31 …decode(state) && ((zcbor_multi_decode(1, 3, &(*result).names_count, (zcbor_decoder_t *)zcbor_tstr_… in decode_Pet() 59 (zcbor_decoder_t *)decode_Pet, sizeof(states) / sizeof(zcbor_state_t), 1); in cbor_decode_Pet()
|
D | pet_encode.c | 60 (zcbor_decoder_t *)encode_Pet, sizeof(states) / sizeof(zcbor_state_t), 1); in cbor_encode_Pet()
|
/zcbor-3.6.0/tests/unit/test2_cpp/src/ |
D | main.cpp | 100 zcbor_multi_decode(1, 1, &one, (zcbor_decoder_t *)zcbor_int32_expect, state_d, (void*)14, 0); in main() 101 ret = zcbor_present_decode(&one_b, (zcbor_decoder_t *)zcbor_int32_expect, state_d, (void*)15); in main()
|
/zcbor-3.6.0/tests/unit/test1_unit_tests/src/ |
D | main.c | 348 …zassert_false(zcbor_multi_decode(1, 1, &(size_t){1}, (zcbor_decoder_t *)zcbor_int32_expect, state_… in ZTEST() 349 …zassert_false(zcbor_present_decode(&(bool){true}, (zcbor_decoder_t *)zcbor_int32_expect, state_d, … in ZTEST() 385 …zassert_true(zcbor_multi_decode(1, 1, &(size_t){1}, (zcbor_decoder_t *)zcbor_int32_expect, state_d… in ZTEST() 386 …zassert_true(zcbor_present_decode(&(bool){1}, (zcbor_decoder_t *)zcbor_int32_expect, state_d, (voi… in ZTEST() 1128 …zassert_true(zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_bool_pexpect, state, &(bool){fals… in decode_inner_map() 1131 …zassert_true(zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_tstr_expect, state, &(struct zcbo… in decode_inner_map() 1210 …zassert_false(zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_int32_pexpect, state_d, &(int32_… in ZTEST() 1218 ret = zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_int32_pexpect, state_d, &(int32_t){1}); in ZTEST() 1228 …zassert_false(zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_int32_pexpect, state_d2, &(int32… in ZTEST() 1229 ret = zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_int32_pexpect, state_d2, &(int32_t){2}); in ZTEST() [all …]
|
/zcbor-3.6.0/include/ |
D | zcbor_decode.h | 208 bool zcbor_unordered_map_search(zcbor_decoder_t key_decoder, zcbor_state_t *state, void *key_result… 332 zcbor_decoder_t decoder, zcbor_state_t *state, void *result, 347 zcbor_decoder_t decoder,
|
D | zcbor_common.h | 161 typedef bool(zcbor_decoder_t)(zcbor_state_t *, void *); typedef 323 void *result, size_t *payload_len_out, zcbor_state_t *state, zcbor_decoder_t func,
|
/zcbor-3.6.0/src/ |
D | zcbor_decode.c | 870 static bool try_key(zcbor_state_t *state, void *key_result, zcbor_decoder_t key_decoder) 886 bool zcbor_unordered_map_search(zcbor_decoder_t key_decoder, zcbor_state_t *state, void *key_result) 941 return zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_bstr_expect, state, &zs); 949 return zcbor_unordered_map_search((zcbor_decoder_t *)zcbor_tstr_expect, state, &zs); 1519 zcbor_decoder_t decoder, 1547 zcbor_decoder_t decoder,
|
D | zcbor_common.c | 286 void *result, size_t *payload_len_out, zcbor_state_t *state, zcbor_decoder_t func, in zcbor_entry_function()
|