Searched refs:cbor_map_add (Results 1 – 15 of 15) sorted by relevance
| /netbsd-src/external/mit/libcbor/dist/examples/ |
| H A D | create_items.c | 15 cbor_map_add(root, in main() 19 cbor_map_add(root, in main()
|
| /netbsd-src/external/mit/libcbor/dist/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()
|
| /netbsd-src/external/bsd/libfido2/dist/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 | 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()
|
| /netbsd-src/external/mit/libcbor/dist/src/cbor/ |
| H A D | maps.h | 61 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
|
| /netbsd-src/external/mit/libcbor/dist/ |
| H A D | README.md | 62 cbor_map_add(root, (struct cbor_pair) { 66 cbor_map_add(root, (struct cbor_pair) {
|
| /netbsd-src/external/bsd/libfido2/dist/fuzz/ |
| H A D | wrapped.sym | 21 cbor_map_add
|
| H A D | wrap.c | 598 cbor_map_add,
|
| /netbsd-src/external/mit/libcbor/dist/doc/source/ |
| H A D | using.rst | 70 cbor_map_add(root, (struct cbor_pair) { 74 cbor_map_add(root, (struct cbor_pair) {
|
| /netbsd-src/external/mit/libcbor/dist/doc/source/api/ |
| H A D | type_5.rst | 44 .. doxygenfunction:: cbor_map_add
|
| /netbsd-src/external/mit/libcbor/dist/src/ |
| H A D | cbor.c | 210 cbor_map_add(res, (struct cbor_pair){ in cbor_copy()
|