Home
last modified time | relevance | path

Searched refs:cbor_map_handle (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/libcbor/examples/
H A Dcbor2cjson.c54 if (cbor_isa_string(cbor_map_handle(item)[i].key) && in cbor_to_cjson()
55 cbor_string_is_definite(cbor_map_handle(item)[i].key)) { in cbor_to_cjson()
56 size_t key_length = cbor_string_length(cbor_map_handle(item)[i].key); in cbor_to_cjson()
59 memcpy(key, cbor_string_handle(cbor_map_handle(item)[i].key), in cbor_to_cjson()
65 cbor_to_cjson(cbor_map_handle(item)[i].value)); in cbor_to_cjson()
/freebsd-14.2/contrib/libcbor/src/cbor/
H A Dmaps.c57 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 Dmaps.h114 _CBOR_NODISCARD CBOR_EXPORT struct cbor_pair *cbor_map_handle(
H A Dserialization.c126 struct cbor_pair *items = cbor_map_handle(item); in cbor_serialized_size()
305 struct cbor_pair *handle = cbor_map_handle(item); in cbor_serialize_map()
H A Dcommon.c131 struct cbor_pair *handle = cbor_map_handle(item); in cbor_decref()
/freebsd-14.2/contrib/libcbor/test/
H A Dmap_test.c48 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 Dcopy_test.c130 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()
/freebsd-14.2/contrib/libcbor/src/
H A Dcbor.c250 struct cbor_pair *it = cbor_map_handle(item); in cbor_copy()
387 _cbor_nested_describe(cbor_map_handle(item)[i].key, out, in _cbor_nested_describe()
389 _cbor_nested_describe(cbor_map_handle(item)[i].value, out, in _cbor_nested_describe()
/freebsd-14.2/contrib/libfido2/fuzz/
H A Dwrapped.sym22 cbor_map_handle
H A Dwrap.c574 cbor_map_handle,
/freebsd-14.2/contrib/libcbor/doc/source/api/
H A Dtype_5.rst50 .. doxygenfunction:: cbor_map_handle
/freebsd-14.2/contrib/libfido2/tools/
H A Dlargeblob.c455 (v = cbor_map_handle(item)) == NULL) in decode_blob_entry()
/freebsd-14.2/contrib/libfido2/src/
H A Dcbor.c69 if ((v = cbor_map_handle(item)) == NULL) { in cbor_map_iter()