Home
last modified time | relevance | path

Searched refs:cbor_build_string (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/mit/libcbor/dist/examples/
H A Dcreate_items.c17 .key = cbor_move(cbor_build_string("Is CBOR awesome?")), in main()
22 .value = cbor_move(cbor_build_string("Is the answer"))}); in main()
/netbsd-src/external/mit/libcbor/dist/test/
H A Dmemory_allocation_test.c139 WITH_FAILING_MALLOC({ assert_null(cbor_build_string("Test")); }); in test_string_creation()
140 WITH_MOCK_MALLOC({ assert_null(cbor_build_string("Test")); }, 2, MALLOC, in test_string_creation()
207 cbor_item_t *chunk = cbor_build_string("Hello!"); in test_string_add_chunk()
225 cbor_item_t *string = cbor_build_string("Hello!"); in test_array_push()
H A Dcopy_test.c87 item = cbor_build_string("abc"); in test_def_string()
96 cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc"))); in test_indef_string()
H A Dtype_3_test.c225 string = cbor_build_string("Hello!"); in test_inline_creation()
/netbsd-src/external/bsd/libfido2/dist/src/
H A Dcbor.c235 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_bytestring()
264 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_string()
265 (pair.value = cbor_build_string(value)) == NULL) { in cbor_add_string()
293 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_bool()
322 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_uint8()
486 alg.key = cbor_build_string("alg"); in cbor_encode_pubkey_param()
574 if ((entry = cbor_build_string(a->ptr[i])) == NULL || in cbor_encode_str_array()
840 if ((pair.key = cbor_build_string("hmac-secret")) == NULL) { in cbor_encode_hmac_secret_param()
H A Du2f.c456 if ((kv[0].key = cbor_build_string("alg")) == NULL || in encode_cred_attstmt()
463 if ((kv[1].key = cbor_build_string("sig")) == NULL || in encode_cred_attstmt()
470 if ((kv[2].key = cbor_build_string("x5c")) == NULL || in encode_cred_attstmt()
H A Dpin.c246 (rpid != NULL && (argv[9] = cbor_build_string(rpid)) == NULL)) { in ctap21_uv_token_tx()
H A Dbio.c302 (argv[1] = cbor_build_string(t->name)) == NULL) { in bio_set_template_name_wait()
H A Dassert.c101 if ((argv[0] = cbor_build_string(assert->rp_id)) == NULL || in fido_dev_get_assert_tx()
/netbsd-src/external/mit/libcbor/dist/src/cbor/
H A Dstrings.h136 cbor_item_t *cbor_build_string(const char *val);
H A Dstrings.c41 cbor_item_t *cbor_build_string(const char *val) { in cbor_build_string() function
/netbsd-src/external/mit/libcbor/dist/
H A DREADME.md63 .key = cbor_move(cbor_build_string("Is CBOR awesome?")),
68 .value = cbor_move(cbor_build_string("Is the answer"))
/netbsd-src/external/bsd/libfido2/dist/fuzz/
H A Dwrapped.sym15 cbor_build_string
H A Dwrap.c494 cbor_build_string,
/netbsd-src/external/mit/libcbor/dist/doc/source/
H A Dusing.rst71 .key = cbor_move(cbor_build_string("Is CBOR awesome?")),
76 .value = cbor_move(cbor_build_string("Is the answer"))
/netbsd-src/external/mit/libcbor/dist/doc/source/api/
H A Dtype_3.rst48 .. doxygenfunction:: cbor_build_string