Home
last modified time | relevance | path

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

/zcbor-latest/tests/unit/test2_cpp/src/
Dmain.cpp75 zcbor_uint64_expect(state_d, 4); in main()
/zcbor-latest/tests/unit/test1_unit_tests/src/
Dmain.c61 zassert_true(zcbor_uint64_expect(state_d, ((uint64_t)INT64_MAX + 1)), NULL); in ZTEST()
78 zassert_false(zcbor_uint64_expect(&state_d, 4), NULL); in ZTEST()
79 zassert_false(zcbor_uint64_expect(&state_d, 6), NULL); in ZTEST()
80 zassert_false(zcbor_uint64_expect(&state_d, -5), NULL); in ZTEST()
81 zassert_false(zcbor_uint64_expect(&state_d, -6), NULL); in ZTEST()
82 zassert_true(zcbor_uint64_expect(&state_d, 5), NULL); in ZTEST()
85 zassert_true(zcbor_uint64_expect(&state_d, 5), NULL); in ZTEST()
96 zassert_false(zcbor_uint64_expect(&state_d, (UINT64_MAX - 1)), NULL); in ZTEST()
97 zassert_true(zcbor_uint64_expect(&state_d, UINT64_MAX), NULL); in ZTEST()
325 zassert_false(zcbor_uint64_expect(state_d, 4), NULL); in ZTEST()
[all …]
/zcbor-latest/src/
Dzcbor_decode.c312 return zcbor_uint64_expect(state, result); in zcbor_uint64_expect_union()
373 return zcbor_uint64_expect(state, expected); in zcbor_uint32_expect()
384 bool zcbor_uint64_expect(zcbor_state_t *state, uint64_t expected) in zcbor_uint64_expect() function
403 return zcbor_uint64_expect(state, *expected); in zcbor_uint64_pexpect()
411 return zcbor_uint64_expect(state, expected); in zcbor_size_expect()
/zcbor-latest/include/
Dzcbor_decode.h98 bool zcbor_uint64_expect(zcbor_state_t *state, uint64_t expected); /* pint */