Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring-alloc-inl.h204 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 …]
Dstring.cc82 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace() local
85 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoReplace()
112 return Alloc(self, length_with_flag, allocator_type, visitor); in DoReplace()
121 const int32_t length_with_flag = String::GetFlaggedCount(length_this + length_arg, compressible); in DoConcat() local
124 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoConcat()
151 return Alloc(self, length_with_flag, allocator_type, visitor); in DoConcat()
161 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16() local
164 SetStringCountVisitor set_string_count_visitor(length_with_flag); in AllocFromUtf16()
176 return Alloc(self, length_with_flag, allocator_type, visitor); in AllocFromUtf16()
198 const int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromModifiedUtf8() local
[all …]
/art/runtime/
Dstring_builder_append.cc353 int32_t length_with_flag = builder.CalculateLengthWithFlag(); in AppendF() local
359 self, length_with_flag, allocator_type, builder); in AppendF()