Home
last modified time | relevance | path

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

/zcbor-latest/tests/decode/test5_corner_cases/src/
Dmain.c583 struct Optional optional; in ZTEST() local
585 sizeof(payload_optional1), &optional, NULL), NULL); in ZTEST()
586 zassert_false(optional.boolval, NULL); in ZTEST()
587 zassert_false(optional.optbool_present, NULL); in ZTEST()
588 zassert_true(optional.opttwo_present, NULL); in ZTEST()
589 zassert_equal(3, optional.manduint, NULL); in ZTEST()
590 zassert_equal(0, optional.multi8_count, NULL); in ZTEST()
593 sizeof(payload_optional2), &optional, NULL), NULL); in ZTEST()
594 zassert_false(optional.boolval, NULL); in ZTEST()
595 zassert_false(optional.optbool_present, NULL); in ZTEST()
[all …]
/zcbor-latest/tests/cases/
Dcose.cddl27 ; It is optional, so commenting it out is still conformant.
73 ; It is optional, so commenting it out is still conformant.
Dcorner_cases.cddl194 ; Test combination of map + optional + * + size check
Dmanifest16.cddl15 ; It is optional, so removing it is still conformant.
Dmanifest14.cddl15 ; It is optional, so removing it is still conformant.
/zcbor-latest/
DARCHITECTURE.md176 - An optional cmake file for building the generated code together with the zcbor C libraries.
192 …ing states so they can be restored if decoding/encoding fails while processing an optional element.