Searched refs:cbor_map_add (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13.1/contrib/libcbor/examples/ |
| H A D | create_items.c | 15 cbor_map_add(root, in main() 19 cbor_map_add(root, in main()
|
| /freebsd-13.1/contrib/libfido2/src/ |
| H A D | es256.c | 76 !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 D | cbor.c | 240 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 D | cbor_serialize_test.c | 197 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 D | copy_test.c | 130 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 D | memory_allocation_test.c | 246 cbor_map_add(map, (struct cbor_pair){.key = key, .value = value})); in test_map_add()
|
| /freebsd-13.1/contrib/libcbor/src/cbor/ |
| H A D | maps.h | 62 CBOR_EXPORT bool cbor_map_add(cbor_item_t *item, struct cbor_pair pair);
|
| H A D | maps.c | 107 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 D | wrapped.sym | 17 cbor_map_add
|
| H A D | wrap.c | 536 cbor_map_add,
|
| /freebsd-13.1/contrib/libcbor/doc/source/api/ |
| H A D | type_5.rst | 44 .. doxygenfunction:: cbor_map_add
|
| /freebsd-13.1/contrib/libcbor/ |
| H A D | README.md | 71 cbor_map_add(root, (struct cbor_pair) { 75 cbor_map_add(root, (struct cbor_pair) {
|
| /freebsd-13.1/contrib/libcbor/doc/source/ |
| H A D | using.rst | 70 cbor_map_add(root, (struct cbor_pair) { 74 cbor_map_add(root, (struct cbor_pair) {
|
| /freebsd-13.1/contrib/libcbor/src/ |
| H A D | cbor.c | 208 cbor_map_add(res, (struct cbor_pair){ in cbor_copy()
|