Home
last modified time | relevance | path

Searched refs:zcbor_uint32_put (Results 1 – 6 of 6) sorted by relevance

/zcbor-3.7.0/samples/pet/src/
Dpet_encode.c35 && ((((*input).species_choice == Pet_species_cat_c) ? ((zcbor_uint32_put(state, (1)))) in encode_Pet()
36 : (((*input).species_choice == Pet_species_dog_c) ? ((zcbor_uint32_put(state, (2)))) in encode_Pet()
37 : (((*input).species_choice == Pet_species_other_c) ? ((zcbor_uint32_put(state, (3)))) in encode_Pet()
/zcbor-3.7.0/tests/unit/test1_unit_tests/src/
Dmain.c82 zassert_true(zcbor_uint32_put(&state_e, 5), NULL); in ZTEST()
120 zassert_true(zcbor_uint32_put(&state_e, 5), NULL); in ZTEST()
126 zassert_true(zcbor_uint32_put(&state_e, UINT32_MAX), NULL); in ZTEST()
242 zassert_false(zcbor_uint32_put(state_e, 3), NULL); in ZTEST()
282 zassert_true(zcbor_uint32_put(state_e, 3), NULL); in ZTEST()
578 zassert_true(zcbor_uint32_put(state_e, 42), NULL); // 2 B in ZTEST()
675 zassert_true(zcbor_uint32_put(state_e1, i), NULL); in ZTEST()
682 zassert_true(zcbor_uint32_put(state_e2, i), NULL); in ZTEST()
868 zassert_true(zcbor_uint32_put(state_e, values_32[0])); in ZTEST()
1022 zassert_true(zcbor_uint32_put(state_e, 10), NULL); in ZTEST()
[all …]
/zcbor-3.7.0/tests/encode/test2_simple/src/
Dmain.c109 res = res && zcbor_uint32_put(state, 2 /* dog */); in ZTEST()
/zcbor-3.7.0/tests/unit/test2_cpp/src/
Dmain.cpp37 zcbor_uint32_put(state_e, 3); in main()
/zcbor-3.7.0/include/
Dzcbor_encode.h64 bool zcbor_uint32_put(zcbor_state_t *state, uint32_t input); /* pint */
/zcbor-3.7.0/src/
Dzcbor_encode.c187 bool zcbor_uint32_put(zcbor_state_t *state, uint32_t input) function