Searched refs:additional (Results 1 – 5 of 5) sorted by relevance
17 static size_t additional_len(uint8_t additional) in additional_len() argument19 if (ZCBOR_VALUE_IS_1_BYTE <= additional && additional <= ZCBOR_VALUE_IS_8_BYTES) { in additional_len()25 return 1U << (additional - ZCBOR_VALUE_IS_1_BYTE); in additional_len()132 uint8_t additional = ADDITIONAL(*state->payload); in value_extract() local138 if (additional <= ZCBOR_VALUE_IN_HEADER) { in value_extract()140 u8_result[result_len - 1] = additional; in value_extract()142 u8_result[0] = additional; in value_extract()145 size_t len = additional_len(additional); in value_extract()965 uint8_t additional = ADDITIONAL(*state->payload); local979 additional = ADDITIONAL(*state_copy.payload);[all …]
43 zcbor_major_type_t major_type, uint8_t additional) in encode_header_byte() argument48 zcbor_assert_state(additional < 32, NULL); in encode_header_byte()50 *(state->payload_mut++) = (uint8_t)((major_type << 5) | (additional & 0x1F)); in encode_header_byte()
121 that such additional attribution notices cannot be construed125 may provide additional or different license terms and conditions134 this License, without any additional terms or conditions.175 of your accepting any such warranty or additional liability.
151 …- If the type needs only a single member variable (i.e. no additional `foo_count` or `foo_key` etc…
218 Below are some additional examples of how to invoke zcbor for code generation and for converting/va…298 …- Number: `Foo = 3`, where Foo is a uint with the additional requirement that it must have the val…