Searched defs:utf8Str (Results 1 - 2 of 2) sorted by relevance

/system/core/libcutils/
H A Dstrdup16to8.c101 * Make sure you allocate "utf8Str" with the result of strlen16to8() + 1,
107 extern char* strncpy16to8(char* utf8Str, const char16_t* utf16Str, size_t len) argument
109 char* utf8cur = utf8Str;
136 return utf8Str;
H A Dstrdup8to16.c68 extern size_t strlen8to16 (const char* utf8Str) argument
74 while ((ic = *utf8Str++) != '\0') {
151 extern char16_t * strcpy8to16 (char16_t *utf16Str, const char*utf8Str,
156 while (*utf8Str != '\0') {
159 ret = getUtf32FromUtf8(&utf8Str);
185 extern char16_t * strcpylen8to16 (char16_t *utf16Str, const char*utf8Str,
192 const char *end = utf8Str + length; /* This line */
193 while (utf8Str < end) { /* and this line changed. */
196 ret = getUtf32FromUtf8(&utf8Str);

Completed in 2 milliseconds