Searched refs:cbor_string_handle (Results 1 – 11 of 11) sorted by relevance
| /src/contrib/libcbor/test/ |
| H A D | string_test.c | 41 assert_memory_equal(&"Hello world!", cbor_string_handle(string), 12); in test_short_string() 59 assert_memory_equal(&"Čaues ßvěte!", cbor_string_handle(string), 15); in test_short_multibyte_string() 90 cbor_string_handle(string), in test_int8_string() 124 cbor_string_handle(string), in test_int16_string() 157 cbor_string_handle(string), in test_int32_string() 191 cbor_string_handle(string), in test_int64_string() 215 assert_true(*cbor_string_handle(cbor_string_chunks_handle(string)[0]) == 'e'); in test_short_indef_string() 238 assert_memory_equal(cbor_string_handle(string), "Hello!", strlen("Hello!")); in test_inline_creation() 302 assert_ptr_equal(cbor_string_handle(string), string_data); in test_set_handle() 318 assert_ptr_equal(cbor_string_handle(string), string_data); in test_set_handle_multibyte_codepoint() [all …]
|
| H A D | map_test.c | 101 assert_memory_equal(cbor_string_handle(inner_handle[0].value), in test_def_nested_map() 149 cbor_string_handle(cbor_string_chunks_handle(handle[0].value)[1]), "d", in test_streamed_kv_map() 176 cbor_string_handle(cbor_string_chunks_handle(handle[0].value)[1]), "d", in test_streamed_streamed_kv_map()
|
| H A D | copy_test.c | 83 assert_memory_equal(cbor_string_handle(copy = cbor_copy(item)), in test_def_string() 84 cbor_string_handle(item), 3); in test_def_string() 97 assert_memory_equal(cbor_string_handle(cbor_string_chunks_handle(copy)[0]), in test_indef_string()
|
| H A D | callbacks_test.c | 202 assert_memory_equal(cbor_string_handle(chunk), "abc", 3); in test_builder_string_callback_append() 204 assert_ptr_not_equal(cbor_string_handle(chunk), string_data); in test_builder_string_callback_append()
|
| /src/contrib/libcbor/examples/ |
| H A D | cbor2cjson.c | 33 memcpy(null_terminated_string, cbor_string_handle(item), in cbor_to_cjson() 59 memcpy(key, cbor_string_handle(cbor_map_handle(item)[i].key), in cbor_to_cjson()
|
| /src/contrib/libcbor/src/cbor/ |
| H A D | strings.h | 71 cbor_string_handle(const cbor_item_t *item);
|
| H A D | strings.c | 125 unsigned char *cbor_string_handle(const cbor_item_t *item) { in cbor_string_handle() function
|
| H A D | serialization.c | 245 memcpy(buffer + written, cbor_string_handle(item), length); in cbor_serialize_string()
|
| /src/contrib/libcbor/doc/source/api/ |
| H A D | type_3.rst | 32 .. doxygenfunction:: cbor_string_handle
|
| /src/contrib/libcbor/src/ |
| H A D | cbor.c | 189 return cbor_build_stringn((const char *)cbor_string_handle(item), in cbor_copy() 356 fwrite(cbor_string_handle(item), sizeof(unsigned char), in _cbor_nested_describe()
|
| /src/contrib/libfido2/src/ |
| H A D | cbor.c | 52 memcmp(cbor_string_handle(prev), cbor_string_handle(curr), in ctap_check_cbor() 220 memcpy(*str, cbor_string_handle(item), len); in cbor_string_copy()
|