Searched defs:utf16_length (Results 1 - 6 of 6) sorted by relevance

/art/runtime/
H A Dutf.cc127 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 Dintern_table.cc267 mirror::String* InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) { argument
270 Thread::Current(), utf16_length, utf8_data));
H A Dclass_linker.cc5289 uint32_t utf16_length; local
5290 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length);
5291 mirror::String* string = intern_table_->InternStrong(utf16_length, utf8_data);
/art/runtime/mirror/
H A Dstring-inl.h149 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 Dstring.cc96 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 Dimage_writer.cc560 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 358 milliseconds