Home | History | Annotate | Download | only in dex

Lines Matching refs:utf8

32 size_t CountModifiedUtf8Chars(const char* utf8) {
33 return CountModifiedUtf8Chars(utf8, strlen(utf8));
37 * This does not validate UTF8 rules (nor did older code). But it gets the right answer
51 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) {
52 DCHECK_LE(byte_count, strlen(utf8));
54 const char* end = utf8 + byte_count;
55 for (; utf8 < end; ++utf8) {
56 int ic = *utf8;
63 utf8++;
68 utf8++;
76 utf8++;
178 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length) {
181 const uint32_t pair = GetUtf16FromUtf8(&utf8);
203 int CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16,
206 if (*utf8 == '\0') {
212 const uint32_t pair = GetUtf16FromUtf8(&utf8);