Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 6 of 6) sorted by relevance

/art/libdexfile/dex/
Dutf.cc31 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 …]
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);
Dutf_test.cc203 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/
Dti_utf.h28 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/
Dreference_table.cc196 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/
Ddalvik_system_VMRuntime.cc397 const char* utf8 = dex_file->StringDataByIdx(string_idx); in PreloadDexCachesResolveString() local
398 ObjPtr<mirror::String> string = strings[utf8]; in PreloadDexCachesResolveString()