Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/libcbor/test/
HDcopy_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()
HDmap_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()
HDcbor_serialize_test.c330 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_definite_map()
331 assert_true(cbor_map_add(item, (struct cbor_pair){.key = two, .value = one})); in test_serialize_definite_map()
347 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_indefinite_map()
348 assert_true(cbor_map_add(item, (struct cbor_pair){.key = two, .value = one})); in test_serialize_indefinite_map()
363 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_map_no_space()
/freebsd-13-stable/contrib/libcbor/examples/
HDcreate_items.c15 bool success = cbor_map_add( in main()
19 success &= cbor_map_add( in main()
/freebsd-13-stable/contrib/libfido2/src/
HDes256.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()
HDcbor.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()
HDu2f.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-13-stable/contrib/libcbor/src/cbor/
HDmaps.h66 _CBOR_NODISCARD CBOR_EXPORT bool cbor_map_add(cbor_item_t *item,
HDmaps.c106 bool cbor_map_add(cbor_item_t *item, struct cbor_pair pair) { in cbor_map_add() function
/freebsd-13-stable/contrib/libfido2/fuzz/
HDwrapped.sym21 cbor_map_add
HDwrap.c598 cbor_map_add,
/freebsd-13-stable/contrib/libcbor/
HDREADME.md70 bool success = cbor_map_add(
74 success &= cbor_map_add(
/freebsd-13-stable/contrib/libcbor/doc/source/
HDusing.rst70 cbor_map_add(root, (struct cbor_pair) {
74 cbor_map_add(root, (struct cbor_pair) {
/freebsd-13-stable/contrib/libcbor/doc/source/api/
HDtype_5.rst62 .. doxygenfunction:: cbor_map_add
/freebsd-13-stable/contrib/libcbor/src/
HDcbor.c262 if (!cbor_map_add(res, (struct cbor_pair){.key = key_copy, in cbor_copy()