Searched refs:utf16_length (Results 1 – 7 of 7) sorted by relevance
/art/runtime/mirror/ |
D | string.cc | 76 int32_t utf16_length, in AllocFromUtf16() argument 79 CHECK(utf16_data_in != nullptr || utf16_length == 0); in AllocFromUtf16() 80 String* string = Alloc(self, utf16_length); in AllocFromUtf16() 88 memcpy(array->GetData(), utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16() 90 DCHECK_EQ(hash_code, ComputeUtf16Hash(utf16_data_in, utf16_length)); in AllocFromUtf16() 104 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, in AllocFromModifiedUtf8() argument 106 String* string = Alloc(self, utf16_length); in AllocFromModifiedUtf8() 117 String* String::Alloc(Thread* self, int32_t utf16_length) { in Alloc() argument 119 Handle<CharArray> array(hs.NewHandle(CharArray::Alloc(self, utf16_length))); in Alloc()
|
D | string.h | 79 int32_t utf16_length, 87 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, 100 int Compare(int32_t utf16_length, const char* utf8_data_in); 147 static String* Alloc(Thread* self, int32_t utf16_length)
|
/art/runtime/ |
D | dex_file-inl.h | 34 uint32_t* utf16_length) const { in GetStringDataAndUtf16Length() argument 35 DCHECK(utf16_length != NULL) << GetLocation(); in GetStringDataAndUtf16Length() 37 *utf16_length = DecodeUnsignedLeb128(&ptr); in GetStringDataAndUtf16Length()
|
D | intern_table.cc | 250 mirror::String* InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) { in InternStrong() argument 253 Thread::Current(), utf16_length, utf8_data)); in InternStrong()
|
D | dex_file.h | 474 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const; 482 const char* StringDataAndUtf16LengthByIdx(uint32_t idx, uint32_t* utf16_length) const { in StringDataAndUtf16LengthByIdx() argument 484 *utf16_length = 0; in StringDataAndUtf16LengthByIdx() 488 return GetStringDataAndUtf16Length(string_id, utf16_length); in StringDataAndUtf16LengthByIdx()
|
D | intern_table.h | 58 mirror::String* InternStrong(int32_t utf16_length, const char* utf8_data)
|
D | class_linker.cc | 5624 uint32_t utf16_length; in ResolveString() local 5625 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); in ResolveString() 5626 mirror::String* string = intern_table_->InternStrong(utf16_length, utf8_data); in ResolveString()
|