Searched refs:length_with_flag (Results 1 – 2 of 2) sorted by relevance
/art/runtime/mirror/ |
D | string-alloc-inl.h | 203 const int32_t length_with_flag = String::GetFlaggedCount(0, /* compressible= */ true); in AllocEmptyString() local 204 SetStringCountVisitor visitor(length_with_flag); in AllocEmptyString() 205 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocEmptyString() 219 const int32_t length_with_flag = String::GetFlaggedCount(byte_length, compressible); in AllocFromByteArray() local 220 SetStringCountAndBytesVisitor visitor(length_with_flag, array, offset, high_byte << 8); in AllocFromByteArray() 221 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromByteArray() 234 const int32_t length_with_flag = String::GetFlaggedCount(count, compressible); in AllocFromCharArray() local 235 SetStringCountAndValueVisitorFromCharArray visitor(length_with_flag, array, offset); in AllocFromCharArray() 236 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromCharArray() 248 const int32_t length_with_flag = String::GetFlaggedCount(string_length, compressible); in AllocFromString() local [all …]
|
D | string.cc | 90 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace() local 91 SetStringCountVisitor visitor(length_with_flag); in DoReplace() 92 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in DoReplace() 130 const int32_t length_with_flag = String::GetFlaggedCount(length + length2, compressible); in AllocFromStrings() local 132 SetStringCountVisitor visitor(length_with_flag); in AllocFromStrings() 133 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromStrings() 168 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16() local 169 SetStringCountVisitor visitor(length_with_flag); in AllocFromUtf16() 170 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromUtf16()
|