Home
last modified time | relevance | path

Searched refs:length_with_flag (Results 1 – 2 of 2) sorted by relevance

/art/runtime/mirror/
Dstring-inl.h244 const int32_t length_with_flag = String::GetFlaggedCount(0, /* compressible */ true); in AllocEmptyString() local
245 SetStringCountVisitor visitor(length_with_flag); in AllocEmptyString()
246 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocEmptyString()
257 const int32_t length_with_flag = String::GetFlaggedCount(byte_length, compressible); in AllocFromByteArray() local
258 SetStringCountAndBytesVisitor visitor(length_with_flag, array, offset, high_byte << 8); in AllocFromByteArray()
259 String* string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromByteArray()
271 const int32_t length_with_flag = String::GetFlaggedCount(count, compressible); in AllocFromCharArray() local
272 SetStringCountAndValueVisitorFromCharArray visitor(length_with_flag, array, offset); in AllocFromCharArray()
273 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromCharArray()
283 const int32_t length_with_flag = String::GetFlaggedCount(string_length, compressible); in AllocFromString() local
[all …]
Dstring.cc105 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace() local
106 SetStringCountVisitor visitor(length_with_flag); in DoReplace()
107 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in DoReplace()
143 const int32_t length_with_flag = String::GetFlaggedCount(length + length2, compressible); in AllocFromStrings() local
145 SetStringCountVisitor visitor(length_with_flag); in AllocFromStrings()
146 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromStrings()
179 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16() local
180 SetStringCountVisitor visitor(length_with_flag); in AllocFromUtf16()
181 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromUtf16()