Home
last modified time | relevance | path

Searched refs:compressible (Results 1 – 6 of 6) sorted by relevance

/art/runtime/mirror/
Dstring-alloc-inl.h172 bool compressible = kUseStringCompression && String::IsCompressed(count_); in operator() local
178 if (compressible) { in operator()
200 const bool compressible = kUseStringCompression && String::IsCompressed(utf16_length_with_flag); in Alloc() local
201 const size_t block_size = (compressible) ? sizeof(uint8_t) : sizeof(uint16_t); in Alloc()
254 const bool compressible = in AllocFromByteArray() local
258 const int32_t length_with_flag = String::GetFlaggedCount(byte_length, compressible); in AllocFromByteArray()
272 bool compressible = kUseStringCompression; in AllocFromUtf16ByteArray() local
273 if (compressible) { in AllocFromUtf16ByteArray()
277 compressible = false; in AllocFromUtf16ByteArray()
282 const int32_t length_with_flag = String::GetFlaggedCount(char_count, compressible); in AllocFromUtf16ByteArray()
[all …]
Dstring.cc85 bool compressible = in DoReplace() local
90 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace()
96 if (compressible) { in DoReplace()
127 const bool compressible = in DoConcat() local
129 const int32_t length_with_flag = String::GetFlaggedCount(length_this + length_arg, compressible); in DoConcat()
135 if (compressible) { in DoConcat()
193 const bool compressible = kUseStringCompression && (h_this->IsCompressed()); in DoRepeat() local
194 const int32_t length_with_flag = String::GetFlaggedCount(length_this * count, compressible); in DoRepeat()
201 if (compressible) { in DoRepeat()
215 const bool compressible = kUseStringCompression && in AllocFromUtf16() local
[all …]
Dstring.h266 ALWAYS_INLINE static int32_t GetFlaggedCount(int32_t length, bool compressible) { in GetFlaggedCount() argument
269 (static_cast<uint32_t>(compressible in GetFlaggedCount()
/art/runtime/
Dstring_builder_append.cc339 bool compressible = mirror::kUseStringCompression; in CalculateLengthWithFlag() local
351 compressible = compressible && str->IsCompressed(); in CalculateLengthWithFlag()
363 compressible = compressible && in CalculateLengthWithFlag()
418 length_with_flag_ = mirror::String::GetFlaggedCount(length, compressible); in CalculateLengthWithFlag()
/art/runtime/jni/
Djni_internal.cc2001 bool compressible = mirror::kUseStringCompression; in NewStringUTF() local
2006 /*good=*/ [&compressible](const char* ptr, size_t length) { in NewStringUTF()
2015 compressible = false; in NewStringUTF()
2021 compressible = false; in NewStringUTF()
2052 const int32_t length_with_flag = mirror::String::GetFlaggedCount(utf16_length, compressible); in NewStringUTF()
/art/build/apex/
DAndroid.bp284 compressible: false,