Home
last modified time | relevance | path

Searched refs:Equals (Results 1 – 25 of 83) sorted by relevance

1234

/art/compiler/utils/arm/
Dmanaged_register_arm_test.cc136 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S0))); in TEST()
148 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S2))); in TEST()
160 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S12))); in TEST()
172 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S28))); in TEST()
184 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S30))); in TEST()
237 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R0))); in TEST()
249 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R1))); in TEST()
261 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R2))); in TEST()
273 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R4))); in TEST()
285 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R6))); in TEST()
[all …]
Dmanaged_register_arm.cc27 if (Equals(other)) return true; in Overlaps()
35 if (other.IsDRegister()) return Equals(other); in Overlaps()
/art/runtime/arch/x86/
Dinstruction_set_features_x86_test.cc29 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST()
41 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST()
50 EXPECT_TRUE(x86_default_features->Equals(x86_default_features.get())); in TEST()
60 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
65 EXPECT_FALSE(x86_64_features->Equals(x86_features.get())); in TEST()
66 EXPECT_FALSE(x86_64_features->Equals(x86_default_features.get())); in TEST()
67 EXPECT_FALSE(x86_features->Equals(x86_default_features.get())); in TEST()
77 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST()
86 EXPECT_TRUE(x86_default_features->Equals(x86_default_features.get())); in TEST()
96 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
[all …]
/art/runtime/arch/arm/
Dinstruction_set_features_arm_test.cc31 EXPECT_TRUE(krait_features->Equals(krait_features.get())); in TEST()
42 EXPECT_TRUE(denver_features->Equals(denver_features.get())); in TEST()
43 EXPECT_TRUE(denver_features->Equals(krait_features.get())); in TEST()
44 EXPECT_TRUE(krait_features->Equals(denver_features.get())); in TEST()
55 EXPECT_TRUE(arm7_features->Equals(arm7_features.get())); in TEST()
56 EXPECT_FALSE(arm7_features->Equals(krait_features.get())); in TEST()
57 EXPECT_FALSE(krait_features->Equals(arm7_features.get())); in TEST()
82 EXPECT_TRUE(krait_features->Equals(krait_features.get())); in TEST()
93 EXPECT_TRUE(denver_features->Equals(denver_features.get())); in TEST()
94 EXPECT_TRUE(denver_features->Equals(krait_features.get())); in TEST()
[all …]
/art/compiler/utils/arm64/
Dmanaged_register_arm64_test.cc178 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
190 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
202 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D20))); in TEST()
214 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D31))); in TEST()
229 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
241 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S5))); in TEST()
253 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S7))); in TEST()
265 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
268 TEST(Arm64ManagedRegister, Equals) { in TEST() argument
270 EXPECT_TRUE(no_reg.Equals(Arm64ManagedRegister::NoRegister())); in TEST()
[all …]
/art/compiler/utils/x86/
Dmanaged_register_x86_test.cc208 TEST(X86ManagedRegister, Equals) { in TEST() argument
210 EXPECT_TRUE(reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EAX))); in TEST()
211 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EBX))); in TEST()
212 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EDI))); in TEST()
213 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM0))); in TEST()
214 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM7))); in TEST()
215 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST0))); in TEST()
216 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST7))); in TEST()
217 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST()
218 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EBX_EDI))); in TEST()
[all …]
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64_test.cc208 TEST(X86_64ManagedRegister, Equals) { in TEST() argument
210 EXPECT_TRUE(reg_eax.Equals(X86_64ManagedRegister::FromCpuRegister(RAX))); in TEST()
211 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromCpuRegister(RBX))); in TEST()
212 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromCpuRegister(RDI))); in TEST()
213 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromXmmRegister(XMM0))); in TEST()
214 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromXmmRegister(XMM7))); in TEST()
215 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromX87Register(ST0))); in TEST()
216 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromX87Register(ST7))); in TEST()
217 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST()
218 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromRegisterPair(EBX_EDI))); in TEST()
[all …]
/art/compiler/dex/quick/
Dresource_mask.cc38 static_assert(kNoRegMasks[127-ResourceMask::kHeapRef].Equals(
40 static_assert(kNoRegMasks[127-ResourceMask::kLiteral].Equals(
42 static_assert(kNoRegMasks[127-ResourceMask::kDalvikReg].Equals(
44 static_assert(kNoRegMasks[127-ResourceMask::kFPStatus].Equals(
46 static_assert(kNoRegMasks[127-ResourceMask::kCCode].Equals(
79 static_assert(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kHeapRef, 0)].Equals(
81 static_assert(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kLiteral, 0)].Equals(
83 static_assert(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kDalvikReg, 0)].Equals(
85 static_assert(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kFPStatus, 0)].Equals(
87 static_assert(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kCCode, 0)].Equals(
[all …]
Dlocal_optimizations.cc247 } else if (!alias_mem_mask.Equals(kEncodeNone)) { in ApplyLoadStoreElimination()
252 if (!alias_mem_mask.Intersects(kEncodeMem) && alias_mem_mask.Equals(kEncodeLiteral)) { in ApplyLoadStoreElimination()
259 …} else if (((alias_mem_mask.Equals(kEncodeDalvikReg)) || (alias_mem_mask.Equals(kEncodeHeapRef))) … in ApplyLoadStoreElimination()
384 if (!check_mem_mask.Equals(kEncodeMem) && !alias_condition.Equals(kEncodeNone)) { in ApplyLoadHoisting()
386 if (alias_condition.Equals(kEncodeDalvikReg)) { in ApplyLoadHoisting()
394 DCHECK(alias_condition.Equals(kEncodeHeapRef)); in ApplyLoadHoisting()
457 if (prev_lir->u.m.def_mask->Equals(kEncodeAll)) { in ApplyLoadHoisting()
/art/runtime/arch/
Dinstruction_set_features_test.cc51 EXPECT_TRUE(property_features->Equals(instruction_set_features.get()))
88 EXPECT_TRUE(property_features->Equals(instruction_set_features.get()))
108 EXPECT_TRUE(cpuinfo_features->Equals(instruction_set_features.get()))
123 EXPECT_TRUE(default_features->Equals(cpp_features.get()))
142 EXPECT_TRUE(hwcap_features->Equals(instruction_set_features.get()))
155 EXPECT_TRUE(assembly_features->Equals(instruction_set_features.get()))
/art/runtime/verifier/
Dreg_type_test.cc42 EXPECT_TRUE(ref_type_const_0.Equals(ref_type_const_1)); in TEST_F()
43 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_2)); in TEST_F()
44 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_3)); in TEST_F()
48 EXPECT_TRUE(ref_type_const_wide_0.Equals(ref_type_const_wide_1)); in TEST_F()
53 EXPECT_TRUE(ref_type_const_wide_2.Equals(ref_type_const_wide_3)); in TEST_F()
54 EXPECT_FALSE(ref_type_const_wide_2.Equals(ref_type_const_wide_4)); in TEST_F()
361 EXPECT_TRUE(precise_obj.Equals(precise_obj_2)); in TEST_F()
362 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F()
363 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F()
364 EXPECT_FALSE(imprecise_obj.Equals(precise_obj_2)); in TEST_F()
[all …]
Dreg_type-inl.h29 if (Equals(other)) { in CanAccess()
65 if (lhs.Equals(rhs)) { in AssignableFrom()
/art/compiler/optimizing/
Dparallel_move_resolver.cc94 if (LowOf(updated_location).Equals(source)) { in UpdateSourceOf()
96 } else if (HighOf(updated_location).Equals(source)) { in UpdateSourceOf()
99 DCHECK(updated_location.Equals(source)) << updated_location << " " << source; in UpdateSourceOf()
172 if (move->GetSource().Equals(destination)) { in PerformMove()
238 if (moves_.Get(i)->GetDestination().Equals(loc)) { in IsScratchLocation()
370 DCHECK(!loc.Equals(scratches_.Get(i))); in AddScratchLocation()
379 if (loc.Equals(scratches_.Get(i))) { in RemoveScratchLocation()
503 if (move->GetSource().Equals(from)) { in UpdateMoveSource()
Dstack_map_test.cc68 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
69 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64))); in TEST()
164 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
165 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64))); in TEST()
221 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(1u))); in TEST()
222 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(128u))); in TEST()
303 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
304 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64))); in TEST()
493 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
494 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64))); in TEST()
/art/runtime/mirror/
Dstring.h124 bool Equals(const char* modified_utf8) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
129 bool Equals(const StringPiece& modified_utf8)
132 bool Equals(String* that) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
138 bool Equals(const uint16_t* that_chars, int32_t that_offset,
Dobject_test.cc66 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); in AssertString()
67 ASSERT_TRUE(string->Equals(StringPiece(utf8_in)) || in AssertString()
441 EXPECT_TRUE(string->Equals("android")); in TEST_F()
442 EXPECT_FALSE(string->Equals("Android")); in TEST_F()
443 EXPECT_FALSE(string->Equals("ANDROID")); in TEST_F()
444 EXPECT_FALSE(string->Equals("")); in TEST_F()
445 EXPECT_FALSE(string->Equals("and")); in TEST_F()
446 EXPECT_FALSE(string->Equals("androids")); in TEST_F()
449 EXPECT_TRUE(empty->Equals("")); in TEST_F()
450 EXPECT_FALSE(empty->Equals("a")); in TEST_F()
[all …]
Dstring.cc128 bool String::Equals(String* that) { in Equals() function in art::mirror::String
150 bool String::Equals(const uint16_t* that_chars, int32_t that_offset, int32_t that_length) { in Equals() function in art::mirror::String
163 bool String::Equals(const char* modified_utf8) { in Equals() function in art::mirror::String
190 bool String::Equals(const StringPiece& modified_utf8) { in Equals() function in art::mirror::String
/art/compiler/utils/mips/
Dmanaged_register_mips.cc28 if (Equals(other)) return true; in Overlaps()
36 if (other.IsDRegister()) return Equals(other); in Overlaps()
/art/test/443-not-bool-inline/
Dinfo.txt2 for simplifying Equals(foo, false);
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64_test.cc29 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
/art/runtime/arch/mips/
Dinstruction_set_features_mips_test.cc29 EXPECT_TRUE(mips_features->Equals(mips_features.get())); in TEST()
/art/runtime/arch/mips64/
Dinstruction_set_features_mips64_test.cc29 EXPECT_TRUE(mips64_features->Equals(mips64_features.get())); in TEST()
/art/compiler/dex/
Dcompiler_ir.h93 inline bool Equals(const char* value) const { in Equals() function
110 inline bool Equals(int64_t value) const { in Equals() function
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64_test.cc30 EXPECT_TRUE(arm64_features->Equals(arm64_features.get())); in TEST()
/art/compiler/utils/mips64/
Dmanaged_register_mips64.cc28 if (Equals(other)) return true; in Overlaps()

1234