Searched refs:optional (Results 1 – 6 of 6) sorted by relevance
| /zcbor-latest/tests/decode/test5_corner_cases/src/ |
| D | main.c | 583 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/ |
| D | cose.cddl | 27 ; It is optional, so commenting it out is still conformant. 73 ; It is optional, so commenting it out is still conformant.
|
| D | corner_cases.cddl | 194 ; Test combination of map + optional + * + size check
|
| D | manifest16.cddl | 15 ; It is optional, so removing it is still conformant.
|
| D | manifest14.cddl | 15 ; It is optional, so removing it is still conformant.
|
| /zcbor-latest/ |
| D | ARCHITECTURE.md | 176 - 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.
|