Home
last modified time | relevance | path

Searched refs:zcbor_int32_expect (Results 1 – 4 of 4) sorted by relevance

/zcbor-3.5.0-3.4.0/tests/unit/test2_cpp/src/
Dmain.cpp73 zcbor_int32_expect(state_d, 1); in main()
101 zcbor_multi_decode(1, 1, &one, (zcbor_decoder_t *)zcbor_int32_expect, state_d, (void*)14, 0); in main()
102 zcbor_int32_expect(state_d, 15); in main()
103 ret = zcbor_present_decode(&one_b, (zcbor_decoder_t *)zcbor_int32_expect, state_d, (void*)16); in main()
/zcbor-3.5.0-3.4.0/tests/unit/test1_unit_tests/src/
Dmain.c32 zassert_true(zcbor_int32_expect(state_d, 5), NULL); in ZTEST()
118 zassert_true(zcbor_int32_expect(&state_d, -7), NULL); in ZTEST()
313 zassert_false(zcbor_int32_expect(state_d, 2), NULL); in ZTEST()
319 zassert_false(zcbor_int32_expect(state_d, 1), NULL); in ZTEST()
349 …zassert_false(zcbor_multi_decode(1, 1, &(size_t){1}, (zcbor_decoder_t *)zcbor_int32_expect, state_… in ZTEST()
350 zassert_false(zcbor_int32_expect(state_d, 15), NULL); in ZTEST()
351 …zassert_false(zcbor_present_decode(&(bool){true}, (zcbor_decoder_t *)zcbor_int32_expect, state_d, … in ZTEST()
359 zassert_true(zcbor_int32_expect(state_d, 1), NULL); in ZTEST()
391 …zassert_true(zcbor_multi_decode(1, 1, &(size_t){1}, (zcbor_decoder_t *)zcbor_int32_expect, state_d… in ZTEST()
392 zassert_true(zcbor_int32_expect(state_d, 15), NULL); in ZTEST()
[all …]
/zcbor-3.5.0-3.4.0/include/
Dzcbor_decode.h56 bool zcbor_int32_expect(zcbor_state_t *state, int32_t result);
/zcbor-3.5.0-3.4.0/src/
Dzcbor_decode.c240 return zcbor_int32_expect(state, result);
271 bool zcbor_int32_expect(zcbor_state_t *state, int32_t result) function