Searched refs:utf8 (Results 1 – 8 of 8) sorted by relevance
/art/runtime/ |
D | utf.cc | 27 size_t CountModifiedUtf8Chars(const char* utf8) { in CountModifiedUtf8Chars() argument 28 return CountModifiedUtf8Chars(utf8, strlen(utf8)); in CountModifiedUtf8Chars() 46 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { in CountModifiedUtf8Chars() argument 47 DCHECK_LE(byte_count, strlen(utf8)); in CountModifiedUtf8Chars() 49 const char* end = utf8 + byte_count; in CountModifiedUtf8Chars() 50 for (; utf8 < end; ++utf8) { in CountModifiedUtf8Chars() 51 int ic = *utf8; in CountModifiedUtf8Chars() 58 utf8++; in CountModifiedUtf8Chars() 63 utf8++; in CountModifiedUtf8Chars() 71 utf8++; in CountModifiedUtf8Chars() [all …]
|
D | utf.h | 36 size_t CountModifiedUtf8Chars(const char* utf8); 37 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count); 62 int CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, 86 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length);
|
D | utf_test.cc | 201 size_t CountModifiedUtf8Chars_reference(const char* utf8) { in CountModifiedUtf8Chars_reference() argument 204 while ((ic = *utf8++) != '\0') { in CountModifiedUtf8Chars_reference() 211 utf8++; in CountModifiedUtf8Chars_reference() 216 utf8++; in CountModifiedUtf8Chars_reference() 224 utf8++; in CountModifiedUtf8Chars_reference()
|
D | reference_table.cc | 194 std::string utf8(s->ToModifiedUtf8()); in Dump() local 196 StringAppendF(&extras, " \"%s\"", utf8.c_str()); in Dump() 198 StringAppendF(&extras, " \"%.16s... (%d chars)", utf8.c_str(), s->GetLength()); in Dump()
|
D | check_jni.cc | 1255 const uint8_t* utf8 = CheckUtfBytes(bytes, &errorKind); in CheckUtfString() local 1263 if (tmp == utf8) { in CheckUtfString() 1267 if (tmp == utf8) { in CheckUtfString() 1277 " string: '%s'\n input: '%s'", errorKind, *utf8, bytes, oss.str().c_str()); in CheckUtfString() 1287 const uint8_t* utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes() local 1289 switch (*utf8 >> 4) { in CheckUtfBytes() 1306 return utf8; in CheckUtfBytes() 1309 if ((*utf8 & 0x08) == 0) { in CheckUtfBytes() 1312 utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes() 1313 if ((*utf8 & 0xc0) != 0x80) { in CheckUtfBytes() [all …]
|
D | utils.h | 77 std::string PrintableString(const char* utf8);
|
/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/native/ |
D | dalvik_system_VMRuntime.cc | 309 const char* utf8 = dex_file->StringDataByIdx(string_idx); in PreloadDexCachesResolveString() local 310 ObjPtr<mirror::String> string = strings[utf8]; in PreloadDexCachesResolveString()
|