Lines Matching defs:length
26 #define CLAIM_BYTES_AND_INVOKE(callback_name, length, source_extra_offset) \
28 if (claim_bytes(length, source_size, &result)) { \
30 length); \
37 uint64_t length = length_reader(source + 1); \
38 CLAIM_BYTES_AND_INVOKE(callback_name, length, length_bytes); \
212 /* Embedded length byte string */
214 uint64_t length = _cbor_load_uint8(source) - 0x40; /* 0x40 offset */
215 CLAIM_BYTES_AND_INVOKE(byte_string, length, 0);
219 /* One byte length byte string */
222 /* Two bytes length byte string */
225 /* Four bytes length byte string */
228 /* Eight bytes length byte string */
265 /* Embedded one byte length string */
267 uint64_t length = _cbor_load_uint8(source) - 0x60; /* 0x60 offset */
268 CLAIM_BYTES_AND_INVOKE(string, length, 0);
272 /* One byte length string */
275 /* Two bytes length string */
278 /* Four bytes length string */
281 /* Eight bytes length string */
289 /* Indefinite length string */
318 /* Embedded one byte length array */
325 /* One byte length array */
333 /* Two bytes length array */
341 /* Four bytes length array */
349 /* Eight bytes length array */
362 /* Indefinite length array */
391 /* Embedded one byte length map */
398 /* One byte length map */
406 /* Two bytes length map */
414 /* Four bytes length map */
422 /* Eight bytes length map */
435 /* Indefinite length map */