Searched refs:utf8 (Results 1 – 6 of 6) sorted by relevance
25 size_t CountModifiedUtf8Chars(const char* utf8) { in CountModifiedUtf8Chars() argument28 while ((ic = *utf8++) != '\0') { in CountModifiedUtf8Chars()35 utf8++; in CountModifiedUtf8Chars()41 utf8++; in CountModifiedUtf8Chars()
185 std::string utf8(s->ToModifiedUtf8()); in Dump() local187 StringAppendF(&extras, " \"%s\"", utf8.c_str()); in Dump()189 StringAppendF(&extras, " \"%.16s... (%d chars)", utf8.c_str(), s->GetLength()); in Dump()
40 size_t CountModifiedUtf8Chars(const char* utf8);
99 const std::string utf8 = s->ToModifiedUtf8(); in LookupStringFromImage() local104 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); in LookupStringFromImage()
830 uint8_t utf8 = CheckUtfBytes(bytes, &errorKind); in CheckUtfString() local834 " string: '%s'", errorKind, utf8, bytes); in CheckUtfString()841 uint8_t utf8 = *(bytes++); in CheckUtfBytes() local843 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 …]
177 std::string PrintableString(const std::string& utf8);