Searched refs:src_len (Results 1 – 4 of 4) sorted by relevance
/system/core/libutils/include/utils/ |
D | Unicode.h | 45 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len); 84 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len); 93 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index); 99 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len); 106 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len);
|
/system/core/libutils/ |
D | Unicode.cpp | 128 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index) in utf32_from_utf8_at() argument 130 if (index >= src_len) { in utf32_from_utf8_at() 146 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument 148 if (src == nullptr || src_len == 0) { in utf32_to_utf8_length() 153 const char32_t *end = src + src_len; in utf32_to_utf8_length() 168 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument 170 if (src == nullptr || src_len == 0 || dst == nullptr) { in utf32_to_utf8() 175 const char32_t *end_utf32 = src + src_len; in utf32_to_utf8() 283 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len) in utf16_to_utf8() argument 285 if (src == nullptr || src_len == 0 || dst == nullptr) { in utf16_to_utf8() [all …]
|
/system/nfc/src/nfc/include/ |
D | ndef_utils.h | 357 extern tNDEF_STATUS NDEF_MsgCopyAndDechunk(uint8_t* p_src, uint32_t src_len,
|
/system/nfc/src/nfc/ndef/ |
D | ndef_utils.cc | 1324 tNDEF_STATUS NDEF_MsgCopyAndDechunk(uint8_t* p_src, uint32_t src_len, in NDEF_MsgCopyAndDechunk() argument 1335 status = NDEF_MsgValidate(p_src, src_len, true); in NDEF_MsgCopyAndDechunk() 1339 max_out_len = src_len; in NDEF_MsgCopyAndDechunk()
|