Searched defs:utf16_length (Results 1 - 6 of 6) sorted by relevance
/art/runtime/ |
H A D | utf.cc | 127 size_t utf16_length) { 130 return (utf16_length == 0) ? 0 : -1; 131 } else if (utf16_length == 0) { 140 --utf16_length; 149 if (utf16_length == 0) { 154 --utf16_length; 126 CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, size_t utf16_length) argument
|
H A D | intern_table.cc | 267 mirror::String* InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) { argument 270 Thread::Current(), utf16_length, utf8_data));
|
H A D | class_linker.cc | 5302 uint32_t utf16_length; local 5303 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); 5304 mirror::String* string = intern_table_->InternStrong(utf16_length, utf8_data);
|
/art/runtime/mirror/ |
H A D | string-inl.h | 149 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type, argument 152 size_t data_size = sizeof(uint16_t) * utf16_length; 160 utf16_length).c_str());
|
H A D | string.cc | 96 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { argument 97 CHECK(utf16_data_in != nullptr || utf16_length == 0); 99 SetStringCountVisitor visitor(utf16_length); 100 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor); 105 memcpy(array, utf16_data_in, utf16_length * sizeof(uint16_t)); 115 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, argument 118 SetStringCountVisitor visitor(utf16_length); 119 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor);
|
/art/compiler/ |
H A D | image_writer.cc | 560 size_t utf16_length = static_cast<size_t>(string->GetLength()); local 568 if (UNLIKELY(utf16_length == 0)) { 571 string_id = dex_file.FindStringId(utf16_string, utf16_length);
|
Completed in 155 milliseconds