Home
last modified time | relevance | path

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

/zcbor-3.7.0/tests/unit/test2_cpp/src/
Dmain.cpp76 zcbor_size_expect(state_d, 10); in main()
/zcbor-3.7.0/tests/unit/test1_unit_tests/src/
Dmain.c109 zassert_false(zcbor_size_expect(&state_d, 4), NULL); in ZTEST()
110 zassert_false(zcbor_size_expect(&state_d, 6), NULL); in ZTEST()
111 zassert_false(zcbor_size_expect(&state_d, -5), NULL); in ZTEST()
112 zassert_false(zcbor_size_expect(&state_d, -6), NULL); in ZTEST()
113 zassert_true(zcbor_size_expect(&state_d, 5), NULL); in ZTEST()
116 zassert_false(zcbor_size_expect(&state_d, -7), NULL); in ZTEST()
121 zassert_true(zcbor_size_expect(&state_d, 5), NULL); in ZTEST()
124 zassert_true(zcbor_size_expect(&state_d, 5), NULL); in ZTEST()
324 zassert_false(zcbor_size_expect(state_d, 10), NULL); in ZTEST()
361 zassert_true(zcbor_size_expect(state_d, 10), NULL); in ZTEST()
/zcbor-3.7.0/include/
Dzcbor_decode.h100 bool zcbor_size_expect(zcbor_state_t *state, size_t expected); /* pint */
/zcbor-3.7.0/src/
Dzcbor_decode.c368 bool zcbor_size_expect(zcbor_state_t *state, size_t expected) function
378 return zcbor_size_expect(state, *expected);