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

  /art/runtime/mirror/
string.cc 96 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) {
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,
118 SetStringCountVisitor visitor(utf16_length);
119 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor);
string.h 85 ALWAYS_INLINE static String* Alloc(Thread* self, int32_t utf16_length,
112 static String* AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in)
118 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in)
135 int Compare(int32_t utf16_length, const char* utf8_data_in);
string-inl.h 149 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type,
152 size_t data_size = sizeof(uint16_t) * utf16_length;
160 utf16_length).c_str());
  /art/runtime/
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;
dex_file-inl.h 34 uint32_t* utf16_length) const {
35 DCHECK(utf16_length != nullptr) << GetLocation();
37 *utf16_length = DecodeUnsignedLeb128(&ptr);
utf.h 66 size_t utf16_length);
intern_table.cc 267 mirror::String* InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) {
270 Thread::Current(), utf16_length, utf8_data));
dex_file.h 491 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const;
499 const char* StringDataAndUtf16LengthByIdx(uint32_t idx, uint32_t* utf16_length) const {
501 *utf16_length = 0;
505 return GetStringDataAndUtf16Length(string_id, utf16_length);
    [all...]
intern_table.h 58 mirror::String* InternStrong(int32_t utf16_length, const char* utf8_data)
class_linker.cc 5289 uint32_t utf16_length; local
    [all...]
  /external/v8/src/
factory.cc 243 int utf16_length = decoder->Utf16Length(); local
244 DCHECK(utf16_length > 0);
249 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure),
258 decoder->WriteUtf16(data, utf16_length);
    [all...]
unicode.cc 270 unsigned utf16_length = 0; local
278 utf16_length += is_two_characters ? 2 : 1;
279 // Don't need to write to the buffer, but still need utf16_length.
283 if (utf16_length <= buffer_length) {
290 if (utf16_length == buffer_length) {
304 utf16_length_ = utf16_length;
    [all...]
objects.cc 8962 int utf16_length = 0; local
    [all...]
  /art/compiler/
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);
    [all...]

Completed in 345 milliseconds