Searched refs:length_with_flag (Results 1 – 4 of 4) sorted by relevance
/art/runtime/mirror/ |
D | string-alloc-inl.h | 240 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 …]
|
D | string.cc | 78 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace() local 81 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoReplace() 108 return Alloc(self, length_with_flag, allocator_type, visitor); in DoReplace() 117 const int32_t length_with_flag = String::GetFlaggedCount(length_this + length_arg, compressible); in DoConcat() local 120 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoConcat() 147 return Alloc(self, length_with_flag, allocator_type, visitor); in DoConcat() 182 const int32_t length_with_flag = String::GetFlaggedCount(length_this * count, compressible); in DoRepeat() local 185 SetStringCountVisitor set_string_count_visitor(length_with_flag); in DoRepeat() 195 return Alloc(self, length_with_flag, allocator_type, visitor); in DoRepeat() 205 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16() local [all …]
|
/art/runtime/ |
D | string_builder_append.cc | 510 int32_t length_with_flag = builder.CalculateLengthWithFlag(); in AppendF() local 516 self, length_with_flag, allocator_type, builder); in AppendF()
|
/art/runtime/jni/ |
D | jni_internal.cc | 2049 const int32_t length_with_flag = mirror::String::GetFlaggedCount(utf16_length, compressible); in NewStringUTF() local 2050 NewStringUTFVisitor visitor(utf, utf8_length, length_with_flag, has_bad_char); in NewStringUTF() 2055 mirror::String::Alloc(soa.Self(), length_with_flag, allocator_type, visitor); in NewStringUTF()
|