Searched refs:cbor_build_string (Results 1 – 20 of 20) sorted by relevance
| /freebsd/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() 234 item = cbor_build_string("abc"); in test_definite_string() 243 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_definite_indef_string() 257 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_definite_string_alloc_failure() 570 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_alloc_failure() 580 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_chunk_alloc_failure() 590 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_chunk_append_failure() 603 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_second_chunk_alloc_failure() 604 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 | 567 cbor_item_t* item = cbor_build_string(""); in test_auto_serialize_zero_len_string() 596 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("")))); in test_auto_serialize_zero_len_string_chunk()
|
| /freebsd/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()
|
| H A D | cbor_sequence.c | 22 cbor_item_t* string_item = cbor_build_string("Hello, CBOR!"); in write_cbor_sequence()
|
| H A D | crash_course.c | 17 cbor_item_t* string_item = cbor_build_string("Hello World!"); in item_examples()
|
| /freebsd/contrib/libcbor/src/cbor/ |
| H A D | strings.h | 162 _CBOR_NODISCARD CBOR_EXPORT cbor_item_t* cbor_build_string(const char* val);
|
| H A D | strings.c | 44 cbor_item_t* cbor_build_string(const char* val) { in cbor_build_string() function
|
| /freebsd/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 | 457 if ((kv[0].key = cbor_build_string("alg")) == NULL || in encode_cred_attstmt() 464 if ((kv[1].key = cbor_build_string("sig")) == NULL || in encode_cred_attstmt() 471 if ((kv[2].key = cbor_build_string("x5c")) == NULL || in encode_cred_attstmt()
|
| H A D | pin.c | 248 (rpid != NULL && (argv[9] = cbor_build_string(rpid)) == NULL)) { in ctap21_uv_token_tx()
|
| H A D | bio.c | 311 (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/contrib/libfido2/fuzz/ |
| H A D | wrapped.sym | 15 cbor_build_string
|
| H A D | wrap.c | 494 cbor_build_string,
|
| /freebsd/contrib/libcbor/doc/source/api/ |
| H A D | type_3_strings.rst | 44 .. doxygenfunction:: cbor_build_string
|
| /freebsd/contrib/libcbor/ |
| H A D | README.md | 98 .key = cbor_move(cbor_build_string("Is CBOR awesome?")), 103 .value = cbor_move(cbor_build_string("Is the answer"))});
|
| /freebsd/contrib/libfido2/regress/ |
| H A D | cred.c | 2903 assert((tmp = cbor_build_string(key)) != NULL); in push_kv() 2920 push_kv(map, "fmt", cbor_build_string("tpm")); in attestation_object()
|