Home
last modified time | relevance | path

Searched refs:CountModifiedUtf8Chars (Results 1 – 12 of 12) sorted by relevance

/art/libdexfile/dex/
Dutf.h38 size_t CountModifiedUtf8Chars(const char* utf8);
39 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count);
Dutf.cc31 size_t CountModifiedUtf8Chars(const char* utf8) { in CountModifiedUtf8Chars() function
32 return CountModifiedUtf8Chars(utf8, strlen(utf8)); in CountModifiedUtf8Chars()
50 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { in CountModifiedUtf8Chars() function
290 size_t char_count = CountModifiedUtf8Chars(p); in PrintableString()
Dutf_test.cc113 TEST_F(UtfTest, CountModifiedUtf8Chars) { in TEST_F() argument
114 EXPECT_EQ(5u, CountModifiedUtf8Chars(reinterpret_cast<const char *>(kAllSequences))); in TEST_F()
115 EXPECT_EQ(2u, CountModifiedUtf8Chars(reinterpret_cast<const char *>(kSurrogateEncoding))); in TEST_F()
337 char_count_test = CountModifiedUtf8Chars(bytes_test, byte_count_test); in testConversions()
Ddescriptors_names.cc101 size_t char_count = CountModifiedUtf8Chars(s.c_str()); in MangleForJni()
/art/test/ti-agent/
Dti_utf.h28 inline size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { in CountModifiedUtf8Chars() function
Djni_binder.cc35 size_t char_count = ti::CountModifiedUtf8Chars(s.c_str(), s.length()); in MangleForJni()
/art/runtime/
Dintern_table.cc105 DCHECK_EQ(utf16_length, CountModifiedUtf8Chars(utf8_data)); in LookupStrong()
329 size_t b_utf8_length = CountModifiedUtf8Chars(b.GetUtf8Data(), b_byte_count); in operator ()()
Ddebugger.cc4975 size_t s_len = CountModifiedUtf8Chars(entry.data); in WriteTo()
/art/runtime/mirror/
Dstring.cc188 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); in AllocFromModifiedUtf8()
/art/dexlayout/
Dcompact_dex_writer.cc325 stream->WriteUleb128(CountModifiedUtf8Chars(string_data->Data())); in WriteStringData()
Ddex_writer.cc251 stream->WriteUleb128(CountModifiedUtf8Chars(string_data->Data())); in WriteStringData()
Ddex_ir.h585 size_ = UnsignedLeb128Size(CountModifiedUtf8Chars(data)) + strlen(data); in StringData()