Lines Matching refs:source
27 cbor_data source, size_t source_size, in cbor_stream_decode() argument
37 switch (*source) { in cbor_stream_decode()
64 callbacks->uint8(context, _cbor_load_uint8(source)); in cbor_stream_decode()
71 callbacks->uint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
79 callbacks->uint16(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode()
87 callbacks->uint32(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode()
95 callbacks->uint64(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode()
132 _cbor_load_uint8(source) - 0x20); /* 0x20 offset */ in cbor_stream_decode()
139 callbacks->negint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
147 callbacks->negint16(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode()
155 callbacks->negint32(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode()
163 callbacks->negint64(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode()
200 (size_t)_cbor_load_uint8(source) - 0x40; /* 0x40 offset */ in cbor_stream_decode()
202 callbacks->byte_string(context, source + 1, length); in cbor_stream_decode()
211 size_t length = (size_t)_cbor_load_uint8(source + 1); in cbor_stream_decode()
213 callbacks->byte_string(context, source + 1 + 1, length); in cbor_stream_decode()
222 size_t length = (size_t)_cbor_load_uint16(source + 1); in cbor_stream_decode()
224 callbacks->byte_string(context, source + 1 + 2, length); in cbor_stream_decode()
233 size_t length = (size_t)_cbor_load_uint32(source + 1); in cbor_stream_decode()
235 callbacks->byte_string(context, source + 1 + 4, length); in cbor_stream_decode()
244 size_t length = (size_t)_cbor_load_uint64(source + 1); in cbor_stream_decode()
246 callbacks->byte_string(context, source + 1 + 8, length); in cbor_stream_decode()
289 (size_t)_cbor_load_uint8(source) - 0x60; /* 0x60 offset */ in cbor_stream_decode()
291 callbacks->string(context, source + 1, length); in cbor_stream_decode()
299 size_t length = (size_t)_cbor_load_uint8(source + 1); in cbor_stream_decode()
301 callbacks->string(context, source + 1 + 1, length); in cbor_stream_decode()
310 size_t length = (size_t)_cbor_load_uint16(source + 1); in cbor_stream_decode()
312 callbacks->string(context, source + 1 + 2, length); in cbor_stream_decode()
321 size_t length = (size_t)_cbor_load_uint32(source + 1); in cbor_stream_decode()
323 callbacks->string(context, source + 1 + 4, length); in cbor_stream_decode()
332 size_t length = (size_t)_cbor_load_uint64(source + 1); in cbor_stream_decode()
334 callbacks->string(context, source + 1 + 8, length); in cbor_stream_decode()
377 context, (size_t)_cbor_load_uint8(source) - 0x80); /* 0x40 offset */ in cbor_stream_decode()
384 callbacks->array_start(context, (size_t)_cbor_load_uint8(source + 1)); in cbor_stream_decode()
393 (size_t)_cbor_load_uint16(source + 1)); in cbor_stream_decode()
402 (size_t)_cbor_load_uint32(source + 1)); in cbor_stream_decode()
411 (size_t)_cbor_load_uint64(source + 1)); in cbor_stream_decode()
453 context, (size_t)_cbor_load_uint8(source) - 0xA0); /* 0xA0 offset */ in cbor_stream_decode()
460 callbacks->map_start(context, (size_t)_cbor_load_uint8(source + 1)); in cbor_stream_decode()
468 callbacks->map_start(context, (size_t)_cbor_load_uint16(source + 1)); in cbor_stream_decode()
476 callbacks->map_start(context, (size_t)_cbor_load_uint32(source + 1)); in cbor_stream_decode()
484 callbacks->map_start(context, (size_t)_cbor_load_uint64(source + 1)); in cbor_stream_decode()
513 _cbor_load_uint8(source) - 0xC0); /* 0xC0 offset */ in cbor_stream_decode()
539 _cbor_load_uint8(source) - 0xC0); /* 0xC0 offset */ in cbor_stream_decode()
545 callbacks->tag(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
552 callbacks->tag(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode()
559 callbacks->tag(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode()
566 callbacks->tag(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode()
631 callbacks->float2(context, _cbor_load_half(source + 1)); in cbor_stream_decode()
639 callbacks->float4(context, _cbor_load_float(source + 1)); in cbor_stream_decode()
647 callbacks->float8(context, _cbor_load_double(source + 1)); in cbor_stream_decode()