Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dutf.cc25 size_t CountModifiedUtf8Chars(const char* utf8) { in CountModifiedUtf8Chars() argument
28 while ((ic = *utf8++) != '\0') { in CountModifiedUtf8Chars()
35 utf8++; in CountModifiedUtf8Chars()
41 utf8++; in CountModifiedUtf8Chars()
Dreference_table.cc185 std::string utf8(s->ToModifiedUtf8()); in Dump() local
187 StringAppendF(&extras, " \"%s\"", utf8.c_str()); in Dump()
189 StringAppendF(&extras, " \"%.16s... (%d chars)", utf8.c_str(), s->GetLength()); in Dump()
Dutf.h40 size_t CountModifiedUtf8Chars(const char* utf8);
Dintern_table.cc99 const std::string utf8 = s->ToModifiedUtf8(); in LookupStringFromImage() local
104 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); in LookupStringFromImage()
Dcheck_jni.cc830 uint8_t utf8 = CheckUtfBytes(bytes, &errorKind); in CheckUtfString() local
834 " string: '%s'", errorKind, utf8, bytes); in CheckUtfString()
841 uint8_t utf8 = *(bytes++); in CheckUtfBytes() local
843 switch (utf8 >> 4) { in CheckUtfBytes()
865 return utf8; in CheckUtfBytes()
868 utf8 = *(bytes++); in CheckUtfBytes()
869 if ((utf8 & 0xc0) != 0x80) { in CheckUtfBytes()
871 return utf8; in CheckUtfBytes()
877 utf8 = *(bytes++); in CheckUtfBytes()
878 if ((utf8 & 0xc0) != 0x80) { in CheckUtfBytes()
[all …]
Dutils.h177 std::string PrintableString(const std::string& utf8);