/art/runtime/mirror/ |
D | string-alloc-inl.h | 47 DCHECK(!string->IsCompressed() || kUseStringCompression); in operator() 67 DCHECK(!string->IsCompressed() || kUseStringCompression); in operator() 105 if (kUseStringCompression && String::IsCompressed(count_)) { in operator() 135 bool compressible = kUseStringCompression && String::IsCompressed(count_); in operator() 163 const bool compressible = kUseStringCompression && String::IsCompressed(utf16_length_with_flag); in Alloc() 218 kUseStringCompression && String::AllASCII<uint8_t>(src, byte_length) && (high_byte == 0); in AllocFromByteArray() 232 const bool compressible = kUseStringCompression && in AllocFromCharArray() 245 const bool compressible = kUseStringCompression && in AllocFromString()
|
D | string.h | 36 static constexpr bool kUseStringCompression = true; variable 194 return kUseStringCompression && IsCompressed(GetCount()); in IsCompressed() 209 return kUseStringCompression in GetCompressionFlagFromCount() 215 return kUseStringCompression ? static_cast<int32_t>(static_cast<uint32_t>(count) >> 1) : count; in GetLengthFromCount() 219 return kUseStringCompression in GetFlaggedCount()
|
D | string.cc | 86 kUseStringCompression && in DoReplace() 106 DCHECK(kUseStringCompression && AllASCII(out, length)); in DoReplace() 117 DCHECK(!kUseStringCompression || !AllASCII(out, length)); in DoReplace() 128 const bool compressible = kUseStringCompression && in AllocFromStrings() 166 const bool compressible = kUseStringCompression && in AllocFromUtf16() 203 const bool compressible = kUseStringCompression && (utf16_length == utf8_length); in AllocFromModifiedUtf8()
|
/art/tools/cpp-define-generator/ |
D | mirror_string.def | 26 art::mirror::kUseStringCompression)
|
/art/compiler/optimizing/ |
D | intrinsics_arm_vixl.cc | 1157 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1186 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1212 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1240 __ CompareAndBranchIfZero(temp0, &end, mirror::kUseStringCompression); in VisitStringCompareTo() 1242 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1283 if (mirror::kUseStringCompression) { in GenerateStringCompareToLoop() 1320 __ Subs(temp0, temp0, (mirror::kUseStringCompression ? 8 : 4)); in GenerateStringCompareToLoop() 1325 if (mirror::kUseStringCompression) { in GenerateStringCompareToLoop() 1354 __ Cmp(temp0, Operand(temp1, vixl32::LSR, (mirror::kUseStringCompression ? 3 : 4))); in GenerateStringCompareToLoop() 1355 __ B((mirror::kUseStringCompression ? ls : le), end, /* is_far_target= */ false); in GenerateStringCompareToLoop() [all …]
|
D | intrinsics_arm64.cc | 1181 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1201 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1230 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1249 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1259 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1286 __ Subs(temp0, temp0, (mirror::kUseStringCompression) ? 8 : 4); in VisitStringCompareTo() 1306 __ Cmp(temp0, Operand(temp1.W(), LSR, (mirror::kUseStringCompression) ? 3 : 4)); in VisitStringCompareTo() 1310 if (mirror:: kUseStringCompression) { in VisitStringCompareTo() 1318 if (mirror::kUseStringCompression) { in VisitStringCompareTo() 1327 if (mirror::kUseStringCompression) { in VisitStringCompareTo() [all …]
|
D | instruction_simplifier_arm.cc | 201 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitArrayGet()
|
D | scheduler_arm64.cc | 333 && mirror::kUseStringCompression in VisitVecLoad()
|
D | scheduler_arm.cc | 632 mirror::kUseStringCompression && instruction->IsStringCharAt(); in VisitArrayGet() 726 if (mirror::kUseStringCompression && instruction->IsStringLength()) { in VisitArrayLength()
|
D | intrinsics_x86.cc | 1104 if (mirror::kUseStringCompression) { in VisitStringEquals() 1169 if (mirror::kUseStringCompression) { in CreateStringIndexOfLocations() 1237 if (mirror::kUseStringCompression) { in GenerateStringIndexOf() 1262 if (mirror::kUseStringCompression) { in GenerateStringIndexOf() 1284 if (mirror::kUseStringCompression) { in GenerateStringIndexOf() 1467 if (mirror::kUseStringCompression) { in VisitStringGetCharsNoCheck() 1507 if (mirror::kUseStringCompression) { in VisitStringGetCharsNoCheck()
|
D | intrinsics_x86_64.cc | 1307 if (mirror::kUseStringCompression) { in VisitStringEquals() 1433 if (mirror::kUseStringCompression) { in GenerateStringIndexOf() 1457 if (mirror::kUseStringCompression) { in GenerateStringIndexOf() 1475 if (mirror::kUseStringCompression) { in GenerateStringIndexOf() 1650 if (mirror::kUseStringCompression) { in VisitStringGetCharsNoCheck()
|
D | code_generator_vector_x86.cc | 1189 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitVecLoad() 1205 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitVecLoad()
|
D | code_generator_vector_x86_64.cc | 1162 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitVecLoad() 1178 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitVecLoad()
|
D | intrinsics_mips64.cc | 1464 if (mirror::kUseStringCompression) { in VisitStringEquals() 1480 __ Addiu(temp1, temp1, mirror::kUseStringCompression ? -8 : -4); in VisitStringEquals() 1742 if (mirror::kUseStringCompression) { in VisitStringGetCharsNoCheck()
|
D | intrinsics_mips.cc | 1611 if (mirror::kUseStringCompression) { in VisitStringEquals() 1632 __ Addiu(temp1, temp1, mirror::kUseStringCompression ? -4 : -2); in VisitStringEquals() 2157 if (mirror::kUseStringCompression) { in VisitStringGetCharsNoCheck()
|
D | code_generator_x86.cc | 171 if (mirror::kUseStringCompression && length->IsStringLength()) { in EmitNativeCode() 5678 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitArrayGet() 6045 if (mirror::kUseStringCompression && instruction->IsStringLength()) { in VisitArrayLength() 6062 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitBoundsCheck() 6069 mirror::kUseStringCompression && instruction->IsStringCharAt(); in VisitBoundsCheck()
|
D | code_generator_x86_64.cc | 217 if (mirror::kUseStringCompression && length->IsStringLength()) { in EmitNativeCode() 5046 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitArrayGet() 5396 if (mirror::kUseStringCompression && instruction->IsStringLength()) { in VisitArrayLength() 5449 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitBoundsCheck()
|
D | code_generator_vector_arm64.cc | 1447 if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitVecLoad()
|
D | code_generator_arm64.cc | 2351 const bool maybe_compressed_char_at = mirror::kUseStringCompression && in VisitArrayGet() 2492 if (mirror::kUseStringCompression && instruction->IsStringLength()) { in VisitArrayLength()
|
D | code_generator_arm_vixl.cc | 5931 } else if (mirror::kUseStringCompression && instruction->IsStringCharAt()) { in VisitArrayGet() 5945 const bool maybe_compressed_char_at = mirror::kUseStringCompression && in VisitArrayGet() 6474 if (mirror::kUseStringCompression && instruction->IsStringLength()) { in VisitArrayLength()
|
D | code_generator_mips64.cc | 2327 const bool maybe_compressed_char_at = mirror::kUseStringCompression && in VisitArrayGet() 2559 if (mirror::kUseStringCompression && instruction->IsStringLength()) { in VisitArrayLength()
|
D | code_generator_mips.cc | 2724 const bool maybe_compressed_char_at = mirror::kUseStringCompression && in VisitArrayGet() 2972 if (mirror::kUseStringCompression && instruction->IsStringLength()) { in VisitArrayLength()
|
/art/runtime/ |
D | common_runtime_test.h | 229 if (mirror::kUseStringCompression) { \
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 963 if (mirror::kUseStringCompression) { in TEST_F() 1728 if (mirror::kUseStringCompression) { in TEST_F() 1741 if (mirror::kUseStringCompression) { in TEST_F()
|
/art/runtime/hprof/ |
D | hprof.cc | 1508 if (mirror::kUseStringCompression && in DumpHeapInstanceObject()
|