Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/libcbor/test/
H A Dcopy_test.c125 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_def_map()
138 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_indef_map()
350 cbor_map_add(item, (struct cbor_pair){cbor_move(cbor_build_uint8(42)), in test_map_alloc_failure()
362 cbor_map_add(item, (struct cbor_pair){cbor_move(cbor_build_uint8(42)), in test_map_key_alloc_failure()
376 cbor_map_add(item, (struct cbor_pair){cbor_move(cbor_build_uint8(42)), in test_map_value_alloc_failure()
390 cbor_map_add(item, (struct cbor_pair){cbor_move(cbor_build_uint8(42)), in test_map_add_failure()
404 cbor_map_add(item, (struct cbor_pair){cbor_move(cbor_build_uint8(42)), in test_map_second_key_failure()
406 assert_true(cbor_map_add( in test_map_second_key_failure()
H A Dmap_test.c187 assert_false(cbor_map_add(map, (struct cbor_pair){.key = one, .value = two})); in test_map_add_full()
204 assert_false(cbor_map_add(map, (struct cbor_pair){.key = one, .value = two})); in test_map_add_too_big_to_realloc()
229 cbor_map_add(map, (struct cbor_pair){.key = key, .value = value})); in test_map_add()
H A Dpretty_printer_test.c136 assert_true(cbor_map_add( in test_definite_map()
149 assert_true(cbor_map_add( in test_indefinite_map()
H A Dcbor_serialize_test.c360 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_definite_map()
361 assert_true(cbor_map_add(item, (struct cbor_pair){.key = two, .value = one})); in test_serialize_definite_map()
377 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_indefinite_map()
378 assert_true(cbor_map_add(item, (struct cbor_pair){.key = two, .value = one})); in test_serialize_indefinite_map()
393 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_map_no_space()
/freebsd-14.2/contrib/libcbor/examples/
H A Dcreate_items.c15 bool success = cbor_map_add( in main()
19 success &= cbor_map_add( in main()
/freebsd-14.2/contrib/libfido2/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()
/freebsd-14.2/contrib/libcbor/src/cbor/
H A Dmaps.h66 _CBOR_NODISCARD CBOR_EXPORT bool cbor_map_add(cbor_item_t *item,
H A Dmaps.c107 bool cbor_map_add(cbor_item_t *item, struct cbor_pair pair) { in cbor_map_add() function
/freebsd-14.2/contrib/libfido2/fuzz/
H A Dwrapped.sym21 cbor_map_add
H A Dwrap.c598 cbor_map_add,
/freebsd-14.2/contrib/libcbor/
H A DREADME.md69 bool success = cbor_map_add(
73 success &= cbor_map_add(
/freebsd-14.2/contrib/libcbor/doc/source/
H A Dusing.rst70 cbor_map_add(root, (struct cbor_pair) {
74 cbor_map_add(root, (struct cbor_pair) {
/freebsd-14.2/contrib/libcbor/doc/source/api/
H A Dtype_5.rst62 .. doxygenfunction:: cbor_map_add
/freebsd-14.2/contrib/libcbor/src/
H A Dcbor.c263 if (!cbor_map_add(res, (struct cbor_pair){.key = key_copy, in cbor_copy()