Searched refs:utf8 (Results 1 - 7 of 7) sorted by relevance

/art/libdexfile/dex/
H A Dutf.h38 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);
H A Dutf.cc32 size_t CountModifiedUtf8Chars(const char* utf8) { argument
33 return CountModifiedUtf8Chars(utf8, strlen(utf8));
51 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { argument
52 DCHECK_LE(byte_count, strlen(utf8));
54 const char* end = utf8 + byte_count;
55 for (; utf8 < end; ++utf8) {
56 int ic = *utf8;
63 utf8
178 ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length) argument
203 CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, size_t utf16_length) argument
[all...]
H A Dutf_test.cc201 size_t CountModifiedUtf8Chars_reference(const char* utf8) { argument
204 while ((ic = *utf8++) != '\0') {
211 utf8++;
216 utf8++;
224 utf8++;
/art/test/ti-agent/
H A Dti_utf.h28 inline size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { argument
29 DCHECK_LE(byte_count, strlen(utf8));
31 const char* end = utf8 + byte_count;
32 for (; utf8 < end; ++utf8) {
33 int ic = *utf8;
40 utf8++;
45 utf8++;
53 utf8++;
/art/runtime/
H A Dreference_table.cc196 std::string utf8(s->ToModifiedUtf8());
198 StringAppendF(&extras, " \"%s\"", utf8.c_str());
200 StringAppendF(&extras, " \"%.16s... (%d chars)", utf8.c_str(), s->GetLength());
H A Dcheck_jni.cc976 case 'u': // utf8
1370 const uint8_t* utf8 = CheckUtfBytes(bytes, &errorKind); local
1378 if (tmp == utf8) {
1382 if (tmp == utf8) {
1392 " string: '%s'\n input: '%s'", errorKind, *utf8, bytes, oss.str().c_str());
1402 const uint8_t* utf8 = reinterpret_cast<const uint8_t*>(bytes++); local
1404 switch (*utf8 >> 4) {
1421 return utf8;
1424 if ((*utf8 & 0x08) == 0) {
1427 utf8
[all...]
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc353 const char* utf8 = dex_file->StringDataByIdx(string_idx); local
354 ObjPtr<mirror::String> string = strings[utf8];
358 // LOG(INFO) << "VMRuntime.preloadDexCaches resolved string=" << utf8;

Completed in 128 milliseconds