Home
last modified time | relevance | path

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

/zcbor-latest/include/
Dzcbor_common.h254 #define ZCBOR_BOOL_TO_SIMPLE ((uint8_t)20) ///! In CBOR, false/true have the values 20/21 macro
/zcbor-latest/src/
Dzcbor_encode.c488 return zcbor_simple_put(state, (!!input + ZCBOR_BOOL_TO_SIMPLE));
Dzcbor_decode.c1171 value -= ZCBOR_BOOL_TO_SIMPLE; in zcbor_bool_decode()
1185 return zcbor_simple_expect(state, (uint8_t)(!!expected) + ZCBOR_BOOL_TO_SIMPLE); in zcbor_bool_expect()
/zcbor-latest/tests/unit/test1_unit_tests/src/
Dmain.c1588 0xf8, ZCBOR_BOOL_TO_SIMPLE, in ZTEST()
1589 0xf8, ZCBOR_BOOL_TO_SIMPLE + 1, in ZTEST()