Searched refs:header_byte (Results 1 – 2 of 2) sorted by relevance
196 #define ZCBOR_MAJOR_TYPE(header_byte) ((zcbor_major_type_t)(((header_byte) >> 5) & 0x7)) argument199 #define ZCBOR_ADDITIONAL(header_byte) ((header_byte) & 0x1F) argument258 #define ZCBOR_IS_FLOAT(header_byte) (((header_byte) >= 0xF9) && ((header_byte) <= 0xFB)) argument
151 uint8_t header_byte = *state->payload; in value_extract() local152 uint8_t additional = ZCBOR_ADDITIONAL(header_byte); in value_extract()179 if (ZCBOR_ENFORCE_CANONICAL(state) && !ZCBOR_IS_FLOAT(header_byte)) { in value_extract()