Home
last modified time | relevance | path

Searched refs:IsCompressed (Results 1 – 14 of 14) sorted by relevance

/art/runtime/mirror/
Dstring.cc44 if (IsCompressed()) { in FastIndexOf()
53 if (IsCompressed()) { in ComputeHashCode()
74 DCHECK(src->IsCompressed() in DoReplace()
80 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
93 if (LIKELY(src->IsCompressed())) { // LIKELY(compressible == src->IsCompressed()) in DoReplace()
104 if (UNLIKELY(src->IsCompressed())) { // LIKELY(compressible == src->IsCompressed()) in DoReplace()
120 kUseStringCompression && (h_this->IsCompressed() && h_arg->IsCompressed()); in DoConcat()
133 if (h_this->IsCompressed()) { in DoConcat()
141 if (h_arg->IsCompressed()) { in DoConcat()
227 if (this->IsCompressed()) { in Equals()
[all …]
Dstring-alloc-inl.h48 DCHECK(!string->IsCompressed() || kUseStringCompression); in operator()
68 DCHECK(!string->IsCompressed() || kUseStringCompression); in operator()
71 if (string->IsCompressed()) { in operator()
106 if (kUseStringCompression && String::IsCompressed(count_)) { in operator()
136 bool compressible = kUseStringCompression && String::IsCompressed(count_); in operator()
137 if (src_string_->IsCompressed()) { in operator()
164 const bool compressible = kUseStringCompression && String::IsCompressed(utf16_length_with_flag); in Alloc()
247 ((string->IsCompressed()) ? true : String::AllASCII<uint16_t>(string->GetValue() + offset, in AllocFromString()
Dstring-inl.h51 if (IsCompressed()) { in CharAt()
76 if (IsCompressed()) { in GetHashCode()
88 if (IsCompressed()) { in GetUtfLength()
Dstring.h78 if (IsCompressed()) { in SizeOf()
198 bool IsCompressed() REQUIRES_SHARED(Locks::mutator_lock_) { in IsCompressed() function
199 return kUseStringCompression && IsCompressed(GetCount()); in IsCompressed()
209 ALWAYS_INLINE static bool IsCompressed(int32_t count) { in IsCompressed() function
/art/runtime/
Dstring_builder_append.cc51 DCHECK(new_string->IsCompressed()); in RemainingSpace()
58 DCHECK(!new_string->IsCompressed()); in RemainingSpace()
168 if (sizeof(CharType) == sizeof(uint8_t) || str->IsCompressed()) { in AppendString()
169 DCHECK(str->IsCompressed()); in AppendString()
220 compressible = compressible && str->IsCompressed(); in CalculateLengthWithFlag()
341 if (mirror::String::IsCompressed(length_with_flag_)) { in operator ()()
Dintern_table-inl.h58 if (a_string->IsCompressed()) { in operator()
Ddebugger.cc321 bool is_compressed = (name != nullptr) ? name->IsCompressed() : false; in DdmSendThreadNotification()
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc90 if (string->IsCompressed()) { in charsToBytes()
164 bool compressed = string->IsCompressed(); in CharsetUtils_toUtf8Bytes()
Djava_lang_Class.cc375 const bool is_name_compressed = name->IsCompressed(); in FindFieldByName()
/art/runtime/interpreter/
Dinterpreter_intrinsics.cc196 if (str->IsCompressed()) { in MterpStringCharAt()
281 if (str->IsCompressed()) { in MterpStringGetCharsNoCheck()
311 if (str->IsCompressed()) { in MterpStringEquals()
Dunstarted_runtime_test.cc426 if (string_arg->IsCompressed() && string_result->IsCompressed()) { in TEST_F()
429 } else if (!string_arg->IsCompressed() && !string_result->IsCompressed()) { in TEST_F()
/art/runtime/jni/
Djni_internal.cc1993 if (s->IsCompressed()) { in GetStringRegion()
2018 if (s->IsCompressed()) { in GetStringUTFRegion()
2038 if (heap->IsMovableObject(s) || s->IsCompressed()) { in GetStringChars()
2040 if (s->IsCompressed()) { in GetStringChars()
2064 if (s->IsCompressed() || (s->IsCompressed() == false && chars != s->GetValue())) { in ReleaseStringChars()
2074 if (s->IsCompressed()) { in GetStringCritical()
2111 if (!s->IsCompressed() && heap->IsMovableObject(s)) { in ReleaseStringCritical()
2120 if (s->IsCompressed() || (!s->IsCompressed() && s->GetValue() != chars)) { in ReleaseStringCritical()
2137 if (s->IsCompressed()) { in GetStringUTFChars()
/art/runtime/hprof/
Dhprof.cc1533 if (s->IsCompressed()) { in DumpHeapInstanceObject()
1560 if (s->IsCompressed()) { in DumpHeapInstanceObject()
/art/openjdkjvmti/
Dti_heap.cc114 if (str->IsCompressed()) { in ReportString()