/external/v8/src/ |
unicode-decoder.cc | 21 size_t utf16_length = 0; local 29 utf16_length += is_two_characters ? 2 : 1; 30 // Don't need to write to the buffer, but still need utf16_length. 34 if (utf16_length <= buffer_length) { 41 if (utf16_length == buffer_length) { 57 utf16_length_ = utf16_length;
|
factory.cc | 299 int utf16_length = static_cast<int>(decoder->Utf16Length()); local 300 DCHECK(utf16_length > 0); 305 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure), 314 decoder->WriteUtf16(data, utf16_length); 334 int utf16_length = static_cast<int>(decoder->Utf16Length()); local 335 DCHECK(utf16_length > 0); 340 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure), String); 352 decoder->WriteUtf16(data, utf16_length); [all...] |
objects.cc | 12092 int utf16_length = 0; local [all...] |
/art/runtime/ |
utf.cc | 173 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length) { 175 while (utf16_length != 0u) { 179 --utf16_length; 183 DCHECK_NE(utf16_length, 0u); 184 --utf16_length; 199 size_t utf16_length) { 202 return (utf16_length == 0) ? 0 : -1; 203 } else if (utf16_length == 0) { 212 --utf16_length; 221 if (utf16_length == 0) [all...] |
utf.h | 63 size_t utf16_length); 86 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length);
|
dex_file-inl.h | 34 uint32_t* utf16_length) const { 35 DCHECK(utf16_length != nullptr) << GetLocation(); 37 *utf16_length = DecodeUnsignedLeb128(&ptr); 47 uint32_t* utf16_length) const { 49 *utf16_length = 0; 53 return GetStringDataAndUtf16Length(string_id, utf16_length);
|
intern_table.h | 60 ObjPtr<mirror::String> InternStrong(int32_t utf16_length, const char* utf8_data) 92 ObjPtr<mirror::String> LookupStrong(Thread* self, uint32_t utf16_length, const char* utf8_data) 146 Utf8String(uint32_t utf16_length, const char* utf8_data, int32_t hash) 147 : hash_(hash), utf16_length_(utf16_length), utf8_data_(utf8_data) { }
|
intern_table.cc | 100 uint32_t utf16_length, 102 DCHECK_EQ(utf16_length, CountModifiedUtf8Chars(utf8_data)); 103 Utf8String string(utf16_length, 105 ComputeUtf16HashFromModifiedUtf8(utf8_data, utf16_length)); 265 ObjPtr<mirror::String> InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) { 269 ObjPtr<mirror::String> s = LookupStrong(self, utf16_length, utf8_data); 274 self, utf16_length, utf8_data));
|
dex_file.h | 562 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const; 567 const char* StringDataAndUtf16LengthByIdx(dex::StringIndex idx, uint32_t* utf16_length) const; [all...] |
class_linker.cc | 7841 uint32_t utf16_length; local 7858 uint32_t utf16_length; local [all...] |
/frameworks/base/libs/androidfw/ |
Util.cpp | 45 ssize_t utf16_length = local 47 if (utf16_length <= 0) { 52 utf16.resize(utf16_length); 54 utf16_length + 1); local
|
/frameworks/minikin/tests/perftests/ |
FontCollection.cpp | 84 size_t utf16_length = 0; local 86 buffer, 64, ITEMIZE_TEST_CASES[testIndex].itemizeText.c_str(), &utf16_length, nullptr); 93 collection->itemize(buffer, utf16_length, style, &result);
|
/art/runtime/mirror/ |
string.cc | 171 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { 172 CHECK(utf16_data_in != nullptr || utf16_length == 0); 175 String::AllASCII<uint16_t>(utf16_data_in, utf16_length); 176 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); 183 for (int i = 0; i < utf16_length; ++i) { 188 memcpy(array, utf16_data_in, utf16_length * sizeof(uint16_t)); 201 int32_t utf16_length, 203 return AllocFromModifiedUtf8(self, utf16_length, utf8_data_in, strlen(utf8_data_in)); 207 int32_t utf16_length, 211 const bool compressible = kUseStringCompression && (utf16_length == utf8_length) [all...] |
string.h | 131 static String* AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) 137 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, 141 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in) 158 int Compare(int32_t utf16_length, const char* utf8_data_in);
|
/frameworks/base/tools/aapt2/ |
StringPool.cpp | 359 const ssize_t utf16_length = utf8_to_utf16_length( local 362 CHECK(utf16_length >= 0); 364 const size_t total_size = EncodedLengthUnits<char>(utf16_length) + 371 data = EncodeLength(data, utf16_length); 379 const ssize_t utf16_length = encoded.size(); local 383 EncodedLengthUnits<char16_t>(utf16_length) + encoded.size() + 1; 388 data = EncodeLength(data, utf16_length);
|
/frameworks/base/tools/aapt2/util/ |
Util.cpp | 445 ssize_t utf16_length = utf8_to_utf16_length( local 447 if (utf16_length <= 0) { 452 utf16.resize(utf16_length); 454 &*utf16.begin(), utf16_length + 1); local
|
/art/compiler/ |
image_writer.cc | 1607 uint32_t utf16_length; local [all...] |
/art/compiler/optimizing/ |
intrinsics_arm64.cc | [all...] |