Searched refs:ZCBOR_BOOL_TO_SIMPLE (Results 1 – 4 of 4) sorted by relevance
254 #define ZCBOR_BOOL_TO_SIMPLE ((uint8_t)20) ///! In CBOR, false/true have the values 20/21 macro
488 return zcbor_simple_put(state, (!!input + ZCBOR_BOOL_TO_SIMPLE));
1171 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()
1588 0xf8, ZCBOR_BOOL_TO_SIMPLE, in ZTEST()1589 0xf8, ZCBOR_BOOL_TO_SIMPLE + 1, in ZTEST()