| /freebsd/contrib/libcbor/test/ |
| H A D | 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() 339 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_definite_map() 356 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_definite_indef_map() 375 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_definite_indef_map_nested() 399 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_definite_map_alloc_failure() 412 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_definite_map_key_alloc_failure() 428 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_definite_map_value_alloc_failure() 669 cbor_map_add(item, (struct cbor_pair){cbor_move(cbor_build_uint8(42)), in test_map_alloc_failure() 681 cbor_map_add(item, (struct cbor_pair){cbor_move(cbor_build_uint8(42)), in test_map_key_alloc_failure() [all …]
|
| H A D | 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()
|
| H A D | pretty_printer_test.c | 136 assert_true(cbor_map_add( in test_definite_map() 149 assert_true(cbor_map_add( in test_indefinite_map()
|
| H A D | cbor_serialize_test.c | 359 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_definite_map() 360 assert_true(cbor_map_add(item, (struct cbor_pair){.key = two, .value = one})); in test_serialize_definite_map() 376 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_indefinite_map() 377 assert_true(cbor_map_add(item, (struct cbor_pair){.key = two, .value = one})); in test_serialize_indefinite_map() 392 assert_true(cbor_map_add(item, (struct cbor_pair){.key = one, .value = two})); in test_serialize_map_no_space()
|
| /freebsd/contrib/libcbor/examples/ |
| H A D | create_items.c | 15 bool success = cbor_map_add( in main() 19 success &= cbor_map_add( in main()
|
| /freebsd/contrib/libfido2/src/ |
| H A D | 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()
|
| H A D | 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()
|
| H A D | u2f.c | 459 !cbor_map_add(item, kv[0])) { in encode_cred_attstmt() 466 !cbor_map_add(item, kv[1])) { in encode_cred_attstmt() 475 !cbor_map_add(item, kv[2])) { in encode_cred_attstmt()
|
| /freebsd/contrib/libcbor/src/cbor/ |
| H A D | maps.h | 66 _CBOR_NODISCARD CBOR_EXPORT bool cbor_map_add(cbor_item_t* item,
|
| H A D | maps.c | 107 bool cbor_map_add(cbor_item_t* item, struct cbor_pair pair) { in cbor_map_add() function
|
| /freebsd/contrib/libfido2/fuzz/ |
| H A D | wrapped.sym | 21 cbor_map_add
|
| H A D | wrap.c | 598 cbor_map_add,
|
| /freebsd/contrib/libcbor/doc/source/api/ |
| H A D | type_5_maps.rst | 62 .. doxygenfunction:: cbor_map_add
|
| /freebsd/contrib/libcbor/ |
| H A D | README.md | 96 bool success = cbor_map_add( 100 success &= cbor_map_add(
|
| /freebsd/contrib/libcbor/src/ |
| H A D | cbor.c | 273 if (!cbor_map_add(res, (struct cbor_pair){.key = key_copy, in cbor_copy() 405 const bool item_added _CBOR_UNUSED = cbor_map_add( in cbor_copy_definite()
|
| /freebsd/contrib/libfido2/regress/ |
| H A D | cred.c | 2907 assert(cbor_map_add(map, kv)); in push_kv()
|