Lines Matching refs:source
26 cbor_data source, size_t source_size, in cbor_stream_decode() argument
34 switch (*source) { in cbor_stream_decode()
61 callbacks->uint8(context, _cbor_load_uint8(source)); in cbor_stream_decode()
68 callbacks->uint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
76 callbacks->uint16(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode()
84 callbacks->uint32(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode()
92 callbacks->uint64(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode()
129 _cbor_load_uint8(source) - 0x20); /* 0x20 offset */ in cbor_stream_decode()
136 callbacks->negint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
144 callbacks->negint16(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode()
152 callbacks->negint32(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode()
160 callbacks->negint64(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode()
197 (size_t)_cbor_load_uint8(source) - 0x40; /* 0x40 offset */ in cbor_stream_decode()
199 callbacks->byte_string(context, source + 1, length); in cbor_stream_decode()
208 size_t length = (size_t)_cbor_load_uint8(source + 1); in cbor_stream_decode()
210 callbacks->byte_string(context, source + 1 + 1, length); in cbor_stream_decode()
219 size_t length = (size_t)_cbor_load_uint16(source + 1); in cbor_stream_decode()
221 callbacks->byte_string(context, source + 1 + 2, length); in cbor_stream_decode()
230 size_t length = (size_t)_cbor_load_uint32(source + 1); in cbor_stream_decode()
232 callbacks->byte_string(context, source + 1 + 4, length); in cbor_stream_decode()
241 size_t length = (size_t)_cbor_load_uint64(source + 1); in cbor_stream_decode()
243 callbacks->byte_string(context, source + 1 + 8, length); in cbor_stream_decode()
286 (size_t)_cbor_load_uint8(source) - 0x60; /* 0x60 offset */ in cbor_stream_decode()
288 callbacks->string(context, source + 1, length); in cbor_stream_decode()
296 size_t length = (size_t)_cbor_load_uint8(source + 1); in cbor_stream_decode()
298 callbacks->string(context, source + 1 + 1, length); in cbor_stream_decode()
307 size_t length = (size_t)_cbor_load_uint16(source + 1); in cbor_stream_decode()
309 callbacks->string(context, source + 1 + 2, length); in cbor_stream_decode()
318 size_t length = (size_t)_cbor_load_uint32(source + 1); in cbor_stream_decode()
320 callbacks->string(context, source + 1 + 4, length); in cbor_stream_decode()
329 size_t length = (size_t)_cbor_load_uint64(source + 1); in cbor_stream_decode()
331 callbacks->string(context, source + 1 + 8, length); in cbor_stream_decode()
374 context, (size_t)_cbor_load_uint8(source) - 0x80); /* 0x40 offset */ in cbor_stream_decode()
381 callbacks->array_start(context, (size_t)_cbor_load_uint8(source + 1)); in cbor_stream_decode()
390 (size_t)_cbor_load_uint16(source + 1)); in cbor_stream_decode()
399 (size_t)_cbor_load_uint32(source + 1)); in cbor_stream_decode()
408 (size_t)_cbor_load_uint64(source + 1)); in cbor_stream_decode()
450 context, (size_t)_cbor_load_uint8(source) - 0xA0); /* 0xA0 offset */ in cbor_stream_decode()
457 callbacks->map_start(context, (size_t)_cbor_load_uint8(source + 1)); in cbor_stream_decode()
465 callbacks->map_start(context, (size_t)_cbor_load_uint16(source + 1)); in cbor_stream_decode()
473 callbacks->map_start(context, (size_t)_cbor_load_uint32(source + 1)); in cbor_stream_decode()
481 callbacks->map_start(context, (size_t)_cbor_load_uint64(source + 1)); in cbor_stream_decode()
510 _cbor_load_uint8(source) - 0xC0); /* 0xC0 offset */ in cbor_stream_decode()
536 _cbor_load_uint8(source) - 0xC0); /* 0xC0 offset */ in cbor_stream_decode()
542 callbacks->tag(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
549 callbacks->tag(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode()
556 callbacks->tag(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode()
563 callbacks->tag(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode()
628 callbacks->float2(context, _cbor_load_half(source + 1)); in cbor_stream_decode()
636 callbacks->float4(context, _cbor_load_float(source + 1)); in cbor_stream_decode()
644 callbacks->float8(context, _cbor_load_double(source + 1)); in cbor_stream_decode()