Searched defs:utf16_length (Results 1 - 7 of 7) sorted by relevance
/art/runtime/ |
H A D | 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) argument 146 : hash_(hash), utf16_length_(utf16_length), utf8_data_(utf8_data) { }
|
H A D | utf.cc | 181 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length) { argument 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 206 CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, size_t utf16_length) argument [all...] |
H A D | 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) { argument 320 Thread::Current(), utf16_length, utf8_data)); 100 LookupStrong(Thread* self, uint32_t utf16_length, const char* utf8_data) argument
|
H A D | class_linker.cc | 7536 uint32_t utf16_length; local 7537 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); 7538 mirror::String* string = intern_table_->InternStrong(utf16_length, utf8_data); 7551 uint32_t utf16_length; local 7552 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); 7553 mirror::String* string = intern_table_->LookupStrong(Thread::Current(), utf16_length, utf8_data);
|
/art/runtime/mirror/ |
H A D | string-inl.h | 156 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type, argument 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());
|
H A D | string.cc | 97 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { argument 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) { argument 118 return AllocFromModifiedUtf8(self, utf16_length, utf8_data_in, strlen(utf8_data_in)); 121 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, argument 124 SetStringCountVisitor visitor(utf16_length); 125 String* string = Alloc<true>(self, utf16_length, allocator_typ [all...] |
/art/compiler/ |
H A D | image_writer.cc | 1441 uint32_t utf16_length; local 1442 const char* utf8_data = dex_file->StringDataAndUtf16LengthByIdx(i, &utf16_length); 1443 mirror::String* string = intern_table->LookupStrong(self, utf16_length, utf8_data);
|
Completed in 245 milliseconds