Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring.cc97 bool compressible = in DoReplace() local
102 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace()
108 if (compressible) { in DoReplace()
138 const bool compressible = kUseStringCompression && in AllocFromStrings() local
140 const int32_t length_with_flag = String::GetFlaggedCount(length + length2, compressible); in AllocFromStrings()
147 if (compressible) { in AllocFromStrings()
174 const bool compressible = kUseStringCompression && in AllocFromUtf16() local
176 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16()
182 if (compressible) { in AllocFromUtf16()
211 const bool compressible = kUseStringCompression && (utf16_length == utf8_length); in AllocFromModifiedUtf8() local
[all …]
Dstring-inl.h142 bool compressible = kUseStringCompression && String::IsCompressed(count_); in operator() local
148 if (compressible) { in operator()
213 const bool compressible = kUseStringCompression && String::IsCompressed(utf16_length_with_flag); in Alloc() local
214 const size_t block_size = (compressible) ? sizeof(uint8_t) : sizeof(uint16_t); in Alloc()
259 const bool compressible = in AllocFromByteArray() local
261 const int32_t length_with_flag = String::GetFlaggedCount(byte_length, compressible); in AllocFromByteArray()
273 const bool compressible = kUseStringCompression && in AllocFromCharArray() local
275 const int32_t length_with_flag = String::GetFlaggedCount(count, compressible); in AllocFromCharArray()
284 const bool compressible = kUseStringCompression && in AllocFromString() local
287 const int32_t length_with_flag = String::GetFlaggedCount(string_length, compressible); in AllocFromString()
Dstring.h208 ALWAYS_INLINE static int32_t GetFlaggedCount(int32_t length, bool compressible) { in GetFlaggedCount() argument
211 (static_cast<uint32_t>(compressible in GetFlaggedCount()