Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring-alloc-inl.h240 const int32_t length_with_flag = String::GetFlaggedCount(0, /* compressible= */ true); in AllocEmptyString() local
241 SetStringCountVisitor visitor(length_with_flag); in AllocEmptyString()
242 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocEmptyString()
258 const int32_t length_with_flag = String::GetFlaggedCount(byte_length, compressible); in AllocFromByteArray() local
259 SetStringCountAndBytesVisitor visitor(length_with_flag, array, offset, high_byte << 8); in AllocFromByteArray()
260 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromByteArray()
282 const int32_t length_with_flag = String::GetFlaggedCount(char_count, compressible); in AllocFromUtf16ByteArray() local
283 SetStringCountAndUtf16BytesVisitor visitor(length_with_flag, array, offset); in AllocFromUtf16ByteArray()
284 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromUtf16ByteArray()
297 const int32_t length_with_flag = String::GetFlaggedCount(count, compressible); in AllocFromCharArray() local
[all …]
Dstring.cc90 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace() local
93 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoReplace()
120 return Alloc(self, length_with_flag, allocator_type, visitor); in DoReplace()
129 const int32_t length_with_flag = String::GetFlaggedCount(length_this + length_arg, compressible); in DoConcat() local
132 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoConcat()
159 return Alloc(self, length_with_flag, allocator_type, visitor); in DoConcat()
194 const int32_t length_with_flag = String::GetFlaggedCount(length_this * count, compressible); in DoRepeat() local
197 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoRepeat()
207 return Alloc(self, length_with_flag, allocator_type, visitor); in DoRepeat()
217 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16() local
[all …]
/art/runtime/
Dstring_builder_append.cc509 int32_t length_with_flag = builder.CalculateLengthWithFlag(); in AppendF() local
515 self, length_with_flag, allocator_type, builder); in AppendF()
/art/runtime/jni/
Djni_internal.cc2052 const int32_t length_with_flag = mirror::String::GetFlaggedCount(utf16_length, compressible); in NewStringUTF() local
2053 NewStringUTFVisitor visitor(utf, utf8_length, length_with_flag, has_bad_char); in NewStringUTF()
2058 mirror::String::Alloc(soa.Self(), length_with_flag, allocator_type, visitor); in NewStringUTF()