Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring.cc44 if (IsCompressed()) { in FastIndexOf()
53 if (IsCompressed()) { in ComputeHashCode()
63 if (IsCompressed()) { in GetUtfLength()
82 DCHECK(src->IsCompressed() in DoReplace()
88 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
101 if (LIKELY(src->IsCompressed())) { // LIKELY(compressible == src->IsCompressed()) in DoReplace()
112 if (UNLIKELY(src->IsCompressed())) { // LIKELY(compressible == src->IsCompressed()) in DoReplace()
129 (string->IsCompressed() && string2->IsCompressed()); in AllocFromStrings()
143 if (string->IsCompressed()) { in AllocFromStrings()
150 if (string2->IsCompressed()) { in AllocFromStrings()
[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()
Dstring.h76 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.cc342 if (a_string->IsCompressed()) { in operator ()()
Ddebugger.cc321 bool is_compressed = (name != nullptr) ? name->IsCompressed() : false; in DdmSendThreadNotification()
/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.cc431 if (string_arg->IsCompressed() && string_result->IsCompressed()) { in TEST_F()
434 } else if (!string_arg->IsCompressed() && !string_result->IsCompressed()) { in TEST_F()
/art/runtime/jni/
Djni_internal.cc1840 if (s->IsCompressed()) { in GetStringRegion()
1860 if (s->IsCompressed()) { in GetStringUTFRegion()
1877 if (heap->IsMovableObject(s) || s->IsCompressed()) { in GetStringChars()
1879 if (s->IsCompressed()) { in GetStringChars()
1902 if (s->IsCompressed() || (s->IsCompressed() == false && chars != s->GetValue())) { in ReleaseStringChars()
1923 if (s->IsCompressed()) { in GetStringCritical()
1955 if (s->IsCompressed() || (s->IsCompressed() == false && s->GetValue() != chars)) { in ReleaseStringCritical()
1972 if (s->IsCompressed()) { in GetStringUTFChars()
/art/runtime/hprof/
Dhprof.cc1533 if (s->IsCompressed()) { in DumpHeapInstanceObject()
1560 if (s->IsCompressed()) { in DumpHeapInstanceObject()
/art/runtime/native/
Djava_lang_Class.cc373 const bool is_name_compressed = name->IsCompressed(); in FindFieldByName()
/art/openjdkjvmti/
Dti_heap.cc114 if (str->IsCompressed()) { in ReportString()