Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DUnicode.h54 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len);
93 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len);
102 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index);
108 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len);
115 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len);
138 size_t utf8_to_utf32_length(const char *src, size_t src_len);
145 void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst);
/system/core/libutils/
DUnicode.cpp156 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
158 if (index >= src_len) { in utf32_from_utf8_at()
174 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument
176 if (src == NULL || src_len == 0) { in utf32_to_utf8_length()
181 const char32_t *end = src + src_len; in utf32_to_utf8_length()
196 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument
198 if (src == NULL || src_len == 0 || dst == NULL) { in utf32_to_utf8()
203 const char32_t *end_utf32 = src + src_len; in utf32_to_utf8()
365 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len) in utf16_to_utf8() argument
367 if (src == NULL || src_len == 0 || dst == NULL) { in utf16_to_utf8()
[all …]
/system/nfc/src/nfc/include/
Dndef_utils.h403 extern tNDEF_STATUS NDEF_MsgCopyAndDechunk(uint8_t* p_src, uint32_t src_len,
/system/nfc/src/nfc/ndef/
Dndef_utils.c1456 tNDEF_STATUS NDEF_MsgCopyAndDechunk(uint8_t* p_src, uint32_t src_len, in NDEF_MsgCopyAndDechunk() argument
1467 status = NDEF_MsgValidate(p_src, src_len, true); in NDEF_MsgCopyAndDechunk()
1471 max_out_len = src_len; in NDEF_MsgCopyAndDechunk()