Home
last modified time | relevance | path

Searched refs:utf8Str (Results 1 – 3 of 3) sorted by relevance

/dalvik/vm/
DUtfString.cpp88 u4 dvmComputeUtf8Hash(const char* utf8Str) in dvmComputeUtf8Hash() argument
92 while (*utf8Str != '\0') in dvmComputeUtf8Hash()
93 hash = hash * 31 + *utf8Str++; in dvmComputeUtf8Hash()
107 size_t dvmUtf8Len(const char* utf8Str) in dvmUtf8Len() argument
112 while ((ic = *utf8Str++) != '\0') { in dvmUtf8Len()
116 utf8Str++; in dvmUtf8Len()
119 utf8Str++; in dvmUtf8Len()
130 void dvmConvertUtf8ToUtf16(u2* utf16Str, const char* utf8Str) in dvmConvertUtf8ToUtf16() argument
132 while (*utf8Str != '\0') in dvmConvertUtf8ToUtf16()
133 *utf16Str++ = dexGetUtf16FromUtf8(&utf8Str); in dvmConvertUtf8ToUtf16()
[all …]
DUtfString.h79 StringObject* dvmCreateStringFromCstr(const char* utf8Str);
88 StringObject* dvmCreateStringFromCstr(const std::string& utf8Str);
98 StringObject* dvmCreateStringFromCstrAndLength(const char* utf8Str,
105 size_t dvmUtf8Len(const char* utf8Str);
111 void dvmConvertUtf8ToUtf16(u2* utf16Str, const char* utf8Str);
DAllocTracker.cpp486 static int convertUtf8ToUtf16BEUA(u1* utf16Str, const char* utf8Str) in convertUtf8ToUtf16BEUA() argument
490 while (*utf8Str != '\0') { in convertUtf8ToUtf16BEUA()
491 u2 utf16 = dexGetUtf16FromUtf8(&utf8Str); /* advances utf8Str */ in convertUtf8ToUtf16BEUA()