Home
last modified time | relevance | path

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

/art/libdexfile/dex/
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
239 size_t char_count = CountModifiedUtf8Chars(p); in PrintableString()
Dutf.h40 size_t CountModifiedUtf8Chars(const char* utf8);
41 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count);
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.cc173 size_t char_count = CountModifiedUtf8Chars(s.c_str()); in MangleForJni()
/art/test/ti-agent/
Dti_utf.h29 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-inl.h33 DCHECK_EQ(utf16_length, CountModifiedUtf8Chars(utf8_data)); in Hash()
Ddebugger.cc869 size_t s_len = CountModifiedUtf8Chars(entry.data); in WriteTo()
/art/runtime/mirror/
Dstring.cc226 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); in AllocFromModifiedUtf8()
/art/dexlayout/
Dcompact_dex_writer.cc323 stream->WriteUleb128(CountModifiedUtf8Chars(string_data->Data())); in WriteStringData()
Ddex_writer.cc249 stream->WriteUleb128(CountModifiedUtf8Chars(string_data->Data())); in WriteStringData()
Ddex_ir.h593 size_ = UnsignedLeb128Size(CountModifiedUtf8Chars(data)) + strlen(data); in StringData()