Searched refs:utf8 (Results 1 – 7 of 7) 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/jni/ |
D | check_jni.cc | 1375 const uint8_t* utf8 = CheckUtfBytes(bytes, &errorKind); in CheckUtfString() local 1383 if (tmp == utf8) { in CheckUtfString() 1387 if (tmp == utf8) { in CheckUtfString() 1397 " string: '%s'\n input: '%s'", errorKind, *utf8, bytes, oss.str().c_str()); in CheckUtfString() 1407 const uint8_t* utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes() local 1409 switch (*utf8 >> 4) { in CheckUtfBytes() 1426 return utf8; in CheckUtfBytes() 1429 if ((*utf8 & 0x08) == 0) { in CheckUtfBytes() 1432 utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes() 1433 if ((*utf8 & 0xc0) != 0x80) { in CheckUtfBytes() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 384 const char* utf8 = dex_file->StringDataByIdx(string_idx); in PreloadDexCachesResolveString() local 385 ObjPtr<mirror::String> string = strings[utf8]; in PreloadDexCachesResolveString()
|