Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/libcbor/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()
/freebsd-13.1/contrib/libcbor/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()
/freebsd-13.1/contrib/libcbor/src/cbor/
H A Dstrings.h138 CBOR_EXPORT 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
/freebsd-13.1/contrib/libfido2/fuzz/
H A Dwrapped.sym13 cbor_build_string
H A Dwrap.c448 cbor_build_string,
/freebsd-13.1/contrib/libfido2/src/
H A Dcbor.c234 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_bytestring()
263 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_string()
264 (pair.value = cbor_build_string(value)) == NULL) { in cbor_add_string()
292 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_bool()
321 if ((pair.key = cbor_build_string(key)) == NULL || in cbor_add_uint8()
485 alg.key = cbor_build_string("alg"); in cbor_encode_pubkey_param()
820 if ((pair.key = cbor_build_string("hmac-secret")) == NULL) { in cbor_encode_hmac_secret_param()
H A Dpin.c244 (rpid != NULL && (argv[9] = cbor_build_string(rpid)) == NULL)) { in ctap21_uv_token_tx()
H A Dbio.c290 (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()
/freebsd-13.1/contrib/libcbor/doc/source/api/
H A Dtype_3.rst48 .. doxygenfunction:: cbor_build_string
/freebsd-13.1/contrib/libcbor/
H A DREADME.md72 .key = cbor_move(cbor_build_string("Is CBOR awesome?")),
77 .value = cbor_move(cbor_build_string("Is the answer"))
/freebsd-13.1/contrib/libcbor/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"))