Searched refs:length_with_flag (Results 1 – 3 of 3) sorted by relevance
/art/runtime/mirror/ |
D | string-alloc-inl.h | 204 const int32_t length_with_flag = String::GetFlaggedCount(0, /* compressible= */ true); in AllocEmptyString() local 205 SetStringCountVisitor visitor(length_with_flag); in AllocEmptyString() 206 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocEmptyString() 220 const int32_t length_with_flag = String::GetFlaggedCount(byte_length, compressible); in AllocFromByteArray() local 221 SetStringCountAndBytesVisitor visitor(length_with_flag, array, offset, high_byte << 8); in AllocFromByteArray() 222 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromByteArray() 235 const int32_t length_with_flag = String::GetFlaggedCount(count, compressible); in AllocFromCharArray() local 236 SetStringCountAndValueVisitorFromCharArray visitor(length_with_flag, array, offset); in AllocFromCharArray() 237 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromCharArray() 249 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(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(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(self, length_with_flag, allocator_type, visitor); in AllocFromUtf16()
|
/art/runtime/ |
D | string_builder_append.cc | 353 int32_t length_with_flag = builder.CalculateLengthWithFlag(); in AppendF() local 359 self, length_with_flag, allocator_type, builder); in AppendF()
|