Searched refs:utf8 (Results 1 – 6 of 6) sorted by relevance
/art/libdexfile/dex/ |
D | utf.cc | 31 size_t CountModifiedUtf8Chars(const char* utf8) { in CountModifiedUtf8Chars() argument 32 return CountModifiedUtf8Chars(utf8, strlen(utf8)); in CountModifiedUtf8Chars() 50 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { in CountModifiedUtf8Chars() argument 51 DCHECK_LE(byte_count, strlen(utf8)); in CountModifiedUtf8Chars() 53 const char* end = utf8 + byte_count; in CountModifiedUtf8Chars() 54 for (; utf8 < end; ++utf8) { in CountModifiedUtf8Chars() 55 int ic = *utf8; in CountModifiedUtf8Chars() 62 utf8++; in CountModifiedUtf8Chars() 67 utf8++; in CountModifiedUtf8Chars() 75 utf8++; in CountModifiedUtf8Chars() [all …]
|
D | utf.h | 38 size_t CountModifiedUtf8Chars(const char* utf8); 39 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count); 64 int CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, 88 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length); 131 std::string PrintableString(const char* utf8);
|
D | utf_test.cc | 203 size_t CountModifiedUtf8Chars_reference(const char* utf8) { in CountModifiedUtf8Chars_reference() argument 206 while ((ic = *utf8++) != '\0') { in CountModifiedUtf8Chars_reference() 213 utf8++; in CountModifiedUtf8Chars_reference() 218 utf8++; in CountModifiedUtf8Chars_reference() 226 utf8++; in CountModifiedUtf8Chars_reference()
|
/art/test/ti-agent/ |
D | ti_utf.h | 28 inline size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { in CountModifiedUtf8Chars() argument 29 DCHECK_LE(byte_count, strlen(utf8)); in CountModifiedUtf8Chars() 31 const char* end = utf8 + byte_count; in CountModifiedUtf8Chars() 32 for (; utf8 < end; ++utf8) { in CountModifiedUtf8Chars() 33 int ic = *utf8; in CountModifiedUtf8Chars() 40 utf8++; in CountModifiedUtf8Chars() 45 utf8++; in CountModifiedUtf8Chars() 53 utf8++; in CountModifiedUtf8Chars()
|
/art/runtime/ |
D | reference_table.cc | 196 std::string utf8(s->ToModifiedUtf8()); in Dump() local 198 StringAppendF(&extras, " \"%s\"", utf8.c_str()); in Dump() 200 StringAppendF(&extras, " \"%.16s... (%d chars)", utf8.c_str(), s->GetLength()); in Dump()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 397 const char* utf8 = dex_file->StringDataByIdx(string_idx); in PreloadDexCachesResolveString() local 398 ObjPtr<mirror::String> string = strings[utf8]; in PreloadDexCachesResolveString()
|