Searched refs:cbor_map_handle (Results 1 – 13 of 13) sorted by relevance
| /freebsd/contrib/libcbor/examples/ |
| H A D | cbor2cjson.c | 55 if (cbor_isa_string(cbor_map_handle(item)[i].key) && in cbor_to_cjson() 56 cbor_string_is_definite(cbor_map_handle(item)[i].key)) { in cbor_to_cjson() 57 size_t key_length = cbor_string_length(cbor_map_handle(item)[i].key); in cbor_to_cjson() 60 memcpy(key, cbor_string_handle(cbor_map_handle(item)[i].key), in cbor_to_cjson() 66 cbor_to_cjson(cbor_map_handle(item)[i].value)); in cbor_to_cjson()
|
| /freebsd/contrib/libcbor/test/ |
| H A D | map_test.c | 48 struct cbor_pair* handle = cbor_map_handle(map); in test_simple_map() 68 struct cbor_pair* handle = cbor_map_handle(map); in test_indef_simple_map() 95 struct cbor_pair* handle = cbor_map_handle(map); in test_def_nested_map() 98 struct cbor_pair* inner_handle = cbor_map_handle(handle[0].value); in test_def_nested_map() 119 struct cbor_pair* handle = cbor_map_handle(map); in test_streamed_key_map() 141 struct cbor_pair* handle = cbor_map_handle(map); in test_streamed_kv_map() 168 struct cbor_pair* handle = cbor_map_handle(map); in test_streamed_streamed_kv_map()
|
| H A D | copy_test.c | 130 assert_uint8(cbor_map_handle(copy = cbor_copy(item))[0].key, 42); in test_def_map() 143 assert_uint8(cbor_map_handle(copy = cbor_copy(item))[0].key, 42); in test_indef_map() 348 assert_uint8(cbor_map_handle(copy)[0].key, 42); in test_definite_map() 365 assert_uint8(cbor_map_handle(copy)[0].key, 42); in test_definite_indef_map() 385 assert_true(cbor_isa_array(cbor_map_handle(copy)[0].key)); in test_definite_indef_map_nested() 386 assert_true(cbor_array_is_definite(cbor_map_handle(copy)[0].key)); in test_definite_indef_map_nested() 387 assert_size_equal(cbor_array_size(cbor_map_handle(copy)[0].key), 0); in test_definite_indef_map_nested() 389 assert_true(cbor_isa_array(cbor_map_handle(copy)[0].value)); in test_definite_indef_map_nested() 390 assert_true(cbor_array_is_definite(cbor_map_handle(copy)[0].value)); in test_definite_indef_map_nested() 391 assert_size_equal(cbor_array_size(cbor_map_handle(copy)[0].value), 0); in test_definite_indef_map_nested()
|
| /freebsd/contrib/libcbor/src/cbor/ |
| H A D | maps.c | 57 struct cbor_pair* data = cbor_map_handle(item); in _cbor_map_add_key() 87 struct cbor_pair* data = cbor_map_handle(item); in _cbor_map_add_key() 98 cbor_map_handle(item)[ in _cbor_map_add_value() 122 struct cbor_pair* cbor_map_handle(const cbor_item_t* item) { in cbor_map_handle() function
|
| H A D | maps.h | 114 _CBOR_NODISCARD CBOR_EXPORT struct cbor_pair* cbor_map_handle(
|
| H A D | serialization.c | 134 struct cbor_pair* items = cbor_map_handle(item); in cbor_serialized_size() 331 struct cbor_pair* handle = cbor_map_handle(item); in cbor_serialize_map()
|
| H A D | common.c | 135 struct cbor_pair* handle = cbor_map_handle(item); in cbor_decref()
|
| /freebsd/contrib/libcbor/src/ |
| H A D | cbor.c | 260 struct cbor_pair* it = cbor_map_handle(item); in cbor_copy() 390 struct cbor_pair* it = cbor_map_handle(item); in cbor_copy_definite() 531 _cbor_nested_describe(cbor_map_handle(item)[i].key, out, in _cbor_nested_describe() 533 _cbor_nested_describe(cbor_map_handle(item)[i].value, out, in _cbor_nested_describe()
|
| /freebsd/contrib/libfido2/fuzz/ |
| H A D | wrapped.sym | 22 cbor_map_handle
|
| H A D | wrap.c | 574 cbor_map_handle,
|
| /freebsd/contrib/libcbor/doc/source/api/ |
| H A D | type_5_maps.rst | 50 .. doxygenfunction:: cbor_map_handle
|
| /freebsd/contrib/libfido2/tools/ |
| H A D | largeblob.c | 455 (v = cbor_map_handle(item)) == NULL) in decode_blob_entry()
|
| /freebsd/contrib/libfido2/src/ |
| H A D | cbor.c | 69 if ((v = cbor_map_handle(item)) == NULL) { in cbor_map_iter()
|