Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/libcbor/examples/
H A Dcreate_items.c15 cbor_map_add(root, in main()
19 cbor_map_add(root, in main()
/freebsd-13.1/contrib/libfido2/src/
H A Des256.c76 !cbor_map_add(item, argv[0])) in es256_pk_encode()
93 !cbor_map_add(item, argv[1])) in es256_pk_encode()
99 !cbor_map_add(item, argv[2])) in es256_pk_encode()
105 sizeof(pk->x))) == NULL || !cbor_map_add(item, argv[3])) in es256_pk_encode()
111 sizeof(pk->y))) == NULL || !cbor_map_add(item, argv[4])) in es256_pk_encode()
H A Dcbor.c240 if (!cbor_map_add(item, pair)) { in cbor_add_bytestring()
269 if (!cbor_map_add(item, pair)) { in cbor_add_string()
298 if (!cbor_map_add(item, pair)) { in cbor_add_bool()
327 if (!cbor_map_add(item, pair)) { in cbor_add_uint8()
360 if (!cbor_map_add(item, pair)) { in cbor_add_arg()
497 if (cbor_map_add(body, alg) == false || in cbor_encode_pubkey_param()
828 if (!cbor_map_add(item, pair)) { in cbor_encode_hmac_secret_param()
/freebsd-13.1/contrib/libcbor/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()
/freebsd-13.1/contrib/libcbor/src/cbor/
H A Dmaps.h62 CBOR_EXPORT 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
/freebsd-13.1/contrib/libfido2/fuzz/
H A Dwrapped.sym17 cbor_map_add
H A Dwrap.c536 cbor_map_add,
/freebsd-13.1/contrib/libcbor/doc/source/api/
H A Dtype_5.rst44 .. doxygenfunction:: cbor_map_add
/freebsd-13.1/contrib/libcbor/
H A DREADME.md71 cbor_map_add(root, (struct cbor_pair) {
75 cbor_map_add(root, (struct cbor_pair) {
/freebsd-13.1/contrib/libcbor/doc/source/
H A Dusing.rst70 cbor_map_add(root, (struct cbor_pair) {
74 cbor_map_add(root, (struct cbor_pair) {
/freebsd-13.1/contrib/libcbor/src/
H A Dcbor.c208 cbor_map_add(res, (struct cbor_pair){ in cbor_copy()