Home
last modified time | relevance | path

Searched refs:src_len (Results 1 – 5 of 5) sorted by relevance

/system/core/libutils/binder/include/utils/
DUnicode.h45 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/include/utils/
DUnicode.h45 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/binder/
DUnicode.cpp127 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
129 if (index >= src_len) { in utf32_from_utf8_at()
145 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument
147 if (src == nullptr || src_len == 0) { in utf32_to_utf8_length()
152 const char32_t *end = src + src_len; in utf32_to_utf8_length()
167 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument
169 if (src == nullptr || src_len == 0 || dst == nullptr) { in utf32_to_utf8()
174 const char32_t *end_utf32 = src + src_len; in utf32_to_utf8()
295 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len) in utf16_to_utf8_length() argument
297 if (src == nullptr || src_len == 0) in utf16_to_utf8_length()
[all …]
/system/nfc/src/nfc/include/
Dndef_utils.h357 extern tNDEF_STATUS NDEF_MsgCopyAndDechunk(uint8_t* p_src, uint32_t src_len,
/system/nfc/src/nfc/ndef/
Dndef_utils.cc1324 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()