Home
last modified time | relevance | path

Searched refs:additional (Results 1 – 5 of 5) sorted by relevance

/zcbor-3.5.0-3.4.0/src/
Dzcbor_decode.c17 static size_t additional_len(uint8_t additional) in additional_len() argument
19 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() local
138 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); local
979 additional = ADDITIONAL(*state_copy.payload);
[all …]
Dzcbor_encode.c43 zcbor_major_type_t major_type, uint8_t additional) in encode_header_byte() argument
48 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()
/zcbor-3.5.0-3.4.0/
DLICENSE121 that such additional attribution notices cannot be construed
125 may provide additional or different license terms and conditions
134 this License, without any additional terms or conditions.
175 of your accepting any such warranty or additional liability.
DARCHITECTURE.md151 …- If the type needs only a single member variable (i.e. no additional `foo_count` or `foo_key` etc…
DREADME.md218 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…