Home
last modified time | relevance | path

Searched refs:cbor_string_handle (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/libcbor/test/
H A Dtype_3_test.c45 assert_memory_equal(&"Hello world!", cbor_string_handle(string), 12); in test_short_string()
63 assert_memory_equal(&"Čaues ßvěte!", cbor_string_handle(string), 15); in test_short_multibyte_string()
94 cbor_string_handle(string), in test_int8_string()
128 cbor_string_handle(string), in test_int16_string()
161 cbor_string_handle(string), in test_int32_string()
195 cbor_string_handle(string), in test_int64_string()
219 assert_true(*cbor_string_handle(cbor_string_chunks_handle(string)[0]) == 'e'); in test_short_indef_string()
226 assert_memory_equal(cbor_string_handle(string), "Hello!", strlen("Hello!")); in test_inline_creation()
H A Dcopy_test.c88 assert_memory_equal(cbor_string_handle(copy = cbor_copy(item)), in test_def_string()
89 cbor_string_handle(item), 3); in test_def_string()
102 assert_memory_equal(cbor_string_handle(cbor_string_chunks_handle(copy)[0]), in test_indef_string()
H A Dtype_5_test.c99 assert_memory_equal(cbor_string_handle(inner_handle[0].value), in test_def_nested_map()
147 cbor_string_handle(cbor_string_chunks_handle(handle[0].value)[1]), "d", in test_streamed_kv_map()
174 cbor_string_handle(cbor_string_chunks_handle(handle[0].value)[1]), "d", in test_streamed_streamed_kv_map()
/freebsd-13.1/contrib/libcbor/src/cbor/
H A Dstrings.h65 CBOR_EXPORT cbor_mutable_data cbor_string_handle(const cbor_item_t *item);
H A Dstrings.c116 unsigned char *cbor_string_handle(const cbor_item_t *item) { in cbor_string_handle() function
H A Dserialization.c149 memcpy(buffer + written, cbor_string_handle(item), length); in cbor_serialize_string()
/freebsd-13.1/contrib/libcbor/doc/source/api/
H A Dtype_3.rst36 .. doxygenfunction:: cbor_string_handle
/freebsd-13.1/contrib/libcbor/src/
H A Dcbor.c178 return cbor_build_stringn((const char *)cbor_string_handle(item), in cbor_copy()
284 fwrite(cbor_string_handle(item), (int)cbor_string_length(item), 1, out); in _cbor_nested_describe()
/freebsd-13.1/contrib/libfido2/src/
H A Dcbor.c51 memcmp(cbor_string_handle(prev), cbor_string_handle(curr), in ctap_check_cbor()
219 memcpy(*str, cbor_string_handle(item), len); in cbor_string_copy()