Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring-alloc-inl.h136 bool compressible = kUseStringCompression && String::IsCompressed(count_); in operator() local
142 if (compressible) { in operator()
164 const bool compressible = kUseStringCompression && String::IsCompressed(utf16_length_with_flag); in Alloc() local
165 const size_t block_size = (compressible) ? sizeof(uint8_t) : sizeof(uint16_t); in Alloc()
218 const bool compressible = in AllocFromByteArray() local
220 const int32_t length_with_flag = String::GetFlaggedCount(byte_length, compressible); in AllocFromByteArray()
233 const bool compressible = kUseStringCompression && in AllocFromCharArray() local
235 const int32_t length_with_flag = String::GetFlaggedCount(count, compressible); in AllocFromCharArray()
246 const bool compressible = kUseStringCompression && in AllocFromString() local
249 const int32_t length_with_flag = String::GetFlaggedCount(string_length, compressible); in AllocFromString()
Dstring.cc77 bool compressible = in DoReplace() local
82 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace()
88 if (compressible) { in DoReplace()
119 const bool compressible = in DoConcat() local
121 const int32_t length_with_flag = String::GetFlaggedCount(length_this + length_arg, compressible); in DoConcat()
127 if (compressible) { in DoConcat()
159 const bool compressible = kUseStringCompression && in AllocFromUtf16() local
161 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16()
167 if (compressible) { in AllocFromUtf16()
197 const bool compressible = kUseStringCompression && (utf16_length == utf8_length); in AllocFromModifiedUtf8() local
[all …]
Dstring.h223 ALWAYS_INLINE static int32_t GetFlaggedCount(int32_t length, bool compressible) { in GetFlaggedCount() argument
226 (static_cast<uint32_t>(compressible in GetFlaggedCount()
/art/runtime/
Dstring_builder_append.cc209 bool compressible = mirror::kUseStringCompression; in CalculateLengthWithFlag() local
220 compressible = compressible && str->IsCompressed(); in CalculateLengthWithFlag()
232 compressible = compressible && in CalculateLengthWithFlag()
271 length_with_flag_ = mirror::String::GetFlaggedCount(length, compressible); in CalculateLengthWithFlag()
/art/build/apex/
DAndroid.bp277 compressible: true,