Searched refs:cbor_map_add (Results 1 – 15 of 15) sorted by relevance
| /freebsd-13-stable/contrib/libcbor/test/ |
| HD | copy_test.c | 125 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()
|
| HD | map_test.c | 187 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()
|
| HD | cbor_serialize_test.c | 330 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/ |
| HD | create_items.c | 15 bool success = cbor_map_add( in main() 19 success &= cbor_map_add( in main()
|
| /freebsd-13-stable/contrib/libfido2/src/ |
| HD | es256.c | 86 !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()
|
| HD | cbor.c | 241 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()
|
| HD | u2f.c | 458 !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/ |
| HD | maps.h | 66 _CBOR_NODISCARD CBOR_EXPORT bool cbor_map_add(cbor_item_t *item,
|
| HD | maps.c | 106 bool cbor_map_add(cbor_item_t *item, struct cbor_pair pair) { in cbor_map_add() function
|
| /freebsd-13-stable/contrib/libfido2/fuzz/ |
| HD | wrapped.sym | 21 cbor_map_add
|
| HD | wrap.c | 598 cbor_map_add,
|
| /freebsd-13-stable/contrib/libcbor/ |
| HD | README.md | 70 bool success = cbor_map_add( 74 success &= cbor_map_add(
|
| /freebsd-13-stable/contrib/libcbor/doc/source/ |
| HD | using.rst | 70 cbor_map_add(root, (struct cbor_pair) { 74 cbor_map_add(root, (struct cbor_pair) {
|
| /freebsd-13-stable/contrib/libcbor/doc/source/api/ |
| HD | type_5.rst | 62 .. doxygenfunction:: cbor_map_add
|
| /freebsd-13-stable/contrib/libcbor/src/ |
| HD | cbor.c | 262 if (!cbor_map_add(res, (struct cbor_pair){.key = key_copy, in cbor_copy()
|