Home
last modified time | relevance | path

Searched refs:cbor_map_add (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/mit/libcbor/dist/examples/
H A Dcreate_items.c15 cbor_map_add(root, in main()
19 cbor_map_add(root, in main()
/netbsd-src/external/mit/libcbor/dist/test/
H A Dcbor_serialize_test.c197 cbor_map_add(item, (struct cbor_pair){.key = one, .value = two}); in test_serialize_definite_map()
198 cbor_map_add(item, (struct cbor_pair){.key = two, .value = one}); in test_serialize_definite_map()
213 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_indefinite_map()
214 assert_true(cbor_map_add(item, (struct cbor_pair){.key = two, .value = one})); in test_serialize_indefinite_map()
H A Dcopy_test.c130 cbor_map_add(item, (struct cbor_pair){ in test_def_map()
143 cbor_map_add(item, (struct cbor_pair){ in test_indef_map()
H A Dmemory_allocation_test.c246 cbor_map_add(map, (struct cbor_pair){.key = key, .value = value})); in test_map_add()
/netbsd-src/external/bsd/libfido2/dist/src/
H A Des256.c86 !cbor_map_add(item, argv[0])) in es256_pk_encode()
103 !cbor_map_add(item, argv[1])) in es256_pk_encode()
109 !cbor_map_add(item, argv[2])) in es256_pk_encode()
115 sizeof(pk->x))) == NULL || !cbor_map_add(item, argv[3])) in es256_pk_encode()
121 sizeof(pk->y))) == NULL || !cbor_map_add(item, argv[4])) in es256_pk_encode()
H A Dcbor.c241 if (!cbor_map_add(item, pair)) { in cbor_add_bytestring()
270 if (!cbor_map_add(item, pair)) { in cbor_add_string()
299 if (!cbor_map_add(item, pair)) { in cbor_add_bool()
328 if (!cbor_map_add(item, pair)) { in cbor_add_uint8()
361 if (!cbor_map_add(item, pair)) { in cbor_add_arg()
498 if (cbor_map_add(body, alg) == false || in cbor_encode_pubkey_param()
848 if (!cbor_map_add(item, pair)) { in cbor_encode_hmac_secret_param()
H A Du2f.c458 !cbor_map_add(item, kv[0])) { in encode_cred_attstmt()
465 !cbor_map_add(item, kv[1])) { in encode_cred_attstmt()
474 !cbor_map_add(item, kv[2])) { in encode_cred_attstmt()
/netbsd-src/external/mit/libcbor/dist/src/cbor/
H A Dmaps.h61 bool cbor_map_add(cbor_item_t *item, struct cbor_pair pair);
H A Dmaps.c107 bool cbor_map_add(cbor_item_t *item, struct cbor_pair pair) { in cbor_map_add() function
/netbsd-src/external/mit/libcbor/dist/
H A DREADME.md62 cbor_map_add(root, (struct cbor_pair) {
66 cbor_map_add(root, (struct cbor_pair) {
/netbsd-src/external/bsd/libfido2/dist/fuzz/
H A Dwrapped.sym21 cbor_map_add
H A Dwrap.c598 cbor_map_add,
/netbsd-src/external/mit/libcbor/dist/doc/source/
H A Dusing.rst70 cbor_map_add(root, (struct cbor_pair) {
74 cbor_map_add(root, (struct cbor_pair) {
/netbsd-src/external/mit/libcbor/dist/doc/source/api/
H A Dtype_5.rst44 .. doxygenfunction:: cbor_map_add
/netbsd-src/external/mit/libcbor/dist/src/
H A Dcbor.c210 cbor_map_add(res, (struct cbor_pair){ in cbor_copy()