Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring.cc45 if (IsCompressed()) { in FastIndexOf()
70 DCHECK(src->IsCompressed() in DoReplace()
76 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
89 if (LIKELY(src->IsCompressed())) { // LIKELY(compressible == src->IsCompressed()) in DoReplace()
100 if (UNLIKELY(src->IsCompressed())) { // LIKELY(compressible == src->IsCompressed()) in DoReplace()
116 kUseStringCompression && (h_this->IsCompressed() && h_arg->IsCompressed()); in DoConcat()
129 if (h_this->IsCompressed()) { in DoConcat()
137 if (h_arg->IsCompressed()) { in DoConcat()
181 const bool compressible = kUseStringCompression && (h_this->IsCompressed()); in DoRepeat()
271 if (this->IsCompressed()) { in Equals()
[all …]
Dstring-inl.h51 if (IsCompressed()) { in CharAt()
71 uint32_t hash = IsCompressed() in ComputeHashCode()
87 if (IsCompressed()) { in GetModifiedUtf8Length()
Dstring-alloc-inl.h49 DCHECK_IMPLIES(string->IsCompressed(), kUseStringCompression); in operator()
69 DCHECK_IMPLIES(string->IsCompressed(), kUseStringCompression); in operator()
72 if (string->IsCompressed()) { in operator()
104 DCHECK_IMPLIES(string->IsCompressed(), kUseStringCompression); in operator()
107 if (UNLIKELY(string->IsCompressed())) { in operator()
142 if (kUseStringCompression && String::IsCompressed(count_)) { in operator()
172 bool compressible = kUseStringCompression && String::IsCompressed(count_); in operator()
173 if (src_string_->IsCompressed()) { in operator()
200 const bool compressible = kUseStringCompression && String::IsCompressed(utf16_length_with_flag); in Alloc()
309 ((string->IsCompressed()) ? true : String::AllASCII<uint16_t>(string->GetValue() + offset, in AllocFromString()
Dstring.h79 if (IsCompressed()) { in SizeOf()
234 bool IsCompressed() REQUIRES_SHARED(Locks::mutator_lock_) { in IsCompressed() function
235 return kUseStringCompression && IsCompressed(GetCount()); in IsCompressed()
245 ALWAYS_INLINE static bool IsCompressed(int32_t count) { in IsCompressed() function
Dclass.cc1713 if (name->IsCompressed()) { in UpdateHashForProxyClass()
/art/runtime/
Dstring_builder_append.cc53 DCHECK(new_string->IsCompressed()); in RemainingSpace()
60 DCHECK(!new_string->IsCompressed()); in RemainingSpace()
198 if (sizeof(CharType) == sizeof(uint8_t) || str->IsCompressed()) { in AppendString()
199 DCHECK(str->IsCompressed()); in AppendString()
320 DCHECK(converted->IsCompressed()); in ConvertFpArgs()
351 compressible = compressible && str->IsCompressed(); in CalculateLengthWithFlag()
498 if (mirror::String::IsCompressed(length_with_flag_)) { in operator ()()
Dintern_table-inl.h76 if (a_string->IsCompressed()) { in operator()
Ddebugger.cc312 bool is_compressed = (name != nullptr) ? name->IsCompressed() : false; in DdmSendThreadNotification()
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc72 if (string->IsCompressed()) { in charsToBytes()
110 bool compressed = string->IsCompressed(); in CharsetUtils_toUtf8Bytes()
Djava_lang_Class.cc248 const bool is_name_compressed = name->IsCompressed(); in FindFieldByName()
/art/runtime/jni/
Djni_internal.cc170 DCHECK_IMPLIES(string->IsCompressed(), mirror::kUseStringCompression); in operator ()()
171 if (string->IsCompressed()) { in operator ()()
2069 return str->IsCompressed() in GetStringUTFLength()
2083 if (s->IsCompressed()) { in GetStringRegion()
2108 if (s->IsCompressed()) { in GetStringUTFRegion()
2126 if (heap->IsMovableObject(s) || s->IsCompressed()) { in GetStringChars()
2128 if (s->IsCompressed()) { in GetStringChars()
2152 if (s->IsCompressed() || (s->IsCompressed() == false && chars != s->GetValue())) { in ReleaseStringChars()
2162 if (s->IsCompressed()) { in GetStringCritical()
2202 if (!s->IsCompressed() && heap->IsMovableObject(s)) { in ReleaseStringCritical()
[all …]
/art/runtime/interpreter/
Dunstarted_runtime_test.cc428 if (string_arg->IsCompressed() && string_result->IsCompressed()) { in TEST_F()
431 } else if (!string_arg->IsCompressed() && !string_result->IsCompressed()) { in TEST_F()
/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()