Searched refs:cbor_build_string (Results 1 – 18 of 18) sorted by relevance
/freebsd-src/contrib/libcbor/test/ |
H A D | pretty_printer_test.c | 76 cbor_item_t *item = cbor_build_string(string); in test_definite_string() 88 cbor_string_add_chunk(item, cbor_move(cbor_build_string(string)))); in test_indefinite_string() 90 cbor_string_add_chunk(item, cbor_move(cbor_build_string(string)))); in test_indefinite_string() 104 cbor_item_t *item = cbor_build_string(string); in test_multibyte_string()
|
H A D | string_test.c | 237 string = cbor_build_string("Hello!"); in test_inline_creation() 249 WITH_FAILING_MALLOC({ assert_null(cbor_build_string("Test")); }); in test_string_creation() 250 WITH_MOCK_MALLOC({ assert_null(cbor_build_string("Test")); }, 2, MALLOC, in test_string_creation() 262 cbor_item_t *chunk = cbor_build_string("Hello!"); in test_string_add_chunk() 278 cbor_item_t *chunk = cbor_build_string("Hello!"); in test_add_chunk_reallocation_overflow()
|
H A D | copy_test.c | 82 item = cbor_build_string("abc"); in test_def_string() 91 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_indef_string() 250 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_alloc_failure() 260 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_chunk_alloc_failure() 270 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_chunk_append_failure() 284 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_second_chunk_alloc_failure() 285 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("def")))); in test_string_second_chunk_alloc_failure()
|
H A D | array_test.c | 180 cbor_item_t *string = cbor_build_string("Hello!"); in test_array_push()
|
H A D | cbor_serialize_test.c | 568 cbor_item_t *item = cbor_build_string(""); in test_auto_serialize_zero_len_string() 597 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("")))); in test_auto_serialize_zero_len_string_chunk()
|
/freebsd-src/contrib/libcbor/examples/ |
H A D | create_items.c | 17 .key = cbor_move(cbor_build_string("Is CBOR awesome?")), in main() 22 .value = cbor_move(cbor_build_string("Is the answer"))}); in main()
|
/freebsd-src/contrib/libfido2/src/ |
H A D | cbor.c | 235 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 D | u2f.c | 456 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 D | pin.c | 246 (rpid != NULL && (argv[9] = cbor_build_string(rpid)) == NULL)) { in ctap21_uv_token_tx()
|
H A D | bio.c | 302 (argv[1] = cbor_build_string(t->name)) == NULL) { in bio_set_template_name_wait()
|
H A D | assert.c | 105 if ((argv[0] = cbor_build_string(assert->rp_id)) == NULL || in fido_dev_get_assert_tx()
|
/freebsd-src/contrib/libcbor/src/cbor/ |
H A D | strings.h | 161 _CBOR_NODISCARD CBOR_EXPORT cbor_item_t *cbor_build_string(const char *val);
|
H A D | strings.c | 42 cbor_item_t *cbor_build_string(const char *val) { in cbor_build_string() function
|
/freebsd-src/contrib/libfido2/fuzz/ |
H A D | wrapped.sym | 15 cbor_build_string
|
H A D | wrap.c | 494 cbor_build_string,
|
/freebsd-src/contrib/libcbor/doc/source/api/ |
H A D | type_3.rst | 44 .. doxygenfunction:: cbor_build_string
|
/freebsd-src/contrib/libcbor/doc/source/ |
H A D | using.rst | 71 .key = cbor_move(cbor_build_string("Is CBOR awesome?")), 76 .value = cbor_move(cbor_build_string("Is the answer"))
|
/freebsd-src/contrib/libcbor/ |
H A D | README.md | 71 .key = cbor_move(cbor_build_string("Is CBOR awesome?")), 76 .value = cbor_move(cbor_build_string("Is the answer"))});
|