HomeSort by relevance Sort by last modified time
    Searched refs:utf16_length (Results 1 - 14 of 14) sorted by null

  /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 276 int utf16_length = static_cast<int>(decoder->Utf16Length()); local
277 DCHECK(utf16_length > 0);
282 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure),
291 decoder->WriteUtf16(data, utf16_length);
    [all...]
objects.cc 11437 int utf16_length = 0; local
    [all...]
  /art/runtime/mirror/
string.cc 97 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) {
98 CHECK(utf16_data_in != nullptr || utf16_length == 0);
100 SetStringCountVisitor visitor(utf16_length);
101 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor);
106 memcpy(array, utf16_data_in, utf16_length * sizeof(uint16_t));
117 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in) {
118 return AllocFromModifiedUtf8(self, utf16_length, utf8_data_in, strlen(utf8_data_in));
121 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length,
124 SetStringCountVisitor visitor(utf16_length);
125 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor)
    [all...]
string.h 86 ALWAYS_INLINE static String* Alloc(Thread* self, int32_t utf16_length,
113 static String* AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in)
119 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length,
123 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in)
140 int Compare(int32_t utf16_length, const char* utf8_data_in);
string-inl.h 156 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type,
159 static_assert(sizeof(utf16_length) <= sizeof(size_t),
160 "static_cast<size_t>(utf16_length) must not lose bits.");
161 size_t length = static_cast<size_t>(utf16_length);
180 utf16_length).c_str());
  /art/runtime/
utf.cc 181 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length) {
183 while (utf16_length != 0u) {
187 --utf16_length;
191 DCHECK_NE(utf16_length, 0u);
192 --utf16_length;
207 size_t utf16_length) {
210 return (utf16_length == 0) ? 0 : -1;
211 } else if (utf16_length == 0) {
220 --utf16_length;
229 if (utf16_length == 0)
    [all...]
utf.h 69 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);
intern_table.h 60 mirror::String* InternStrong(int32_t utf16_length, const char* utf8_data)
91 mirror::String* LookupStrong(Thread* self, uint32_t utf16_length, const char* utf8_data)
145 Utf8String(uint32_t utf16_length, const char* utf8_data, int32_t hash)
146 : hash_(hash), utf16_length_(utf16_length), utf8_data_(utf8_data) { }
intern_table.cc 101 uint32_t utf16_length,
103 DCHECK_EQ(utf16_length, CountModifiedUtf8Chars(utf8_data));
104 Utf8String string(utf16_length,
106 ComputeUtf16HashFromModifiedUtf8(utf8_data, utf16_length));
317 mirror::String* InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) {
320 Thread::Current(), utf16_length, utf8_data));
dex_file.h 523 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const;
531 const char* StringDataAndUtf16LengthByIdx(uint32_t idx, uint32_t* utf16_length) const {
533 *utf16_length = 0;
537 return GetStringDataAndUtf16Length(string_id, utf16_length);
    [all...]
class_linker.cc 7528 uint32_t utf16_length; local
7543 uint32_t utf16_length; local
    [all...]
  /art/compiler/
image_writer.cc 1434 uint32_t utf16_length; local
    [all...]

Completed in 304 milliseconds