Home
last modified time | relevance | path

Searched refs:Equals (Results 1 – 25 of 90) 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/arm/
Dinstruction_set_features_arm_test.cc31 EXPECT_TRUE(krait_features->Equals(krait_features.get())); in TEST()
43 EXPECT_TRUE(kryo_features->Equals(kryo_features.get())); in TEST()
54 EXPECT_TRUE(generic_features->Equals(generic_features.get())); in TEST()
55 EXPECT_FALSE(generic_features->Equals(krait_features.get())); in TEST()
56 EXPECT_FALSE(krait_features->Equals(generic_features.get())); in TEST()
81 EXPECT_TRUE(krait_features->Equals(krait_features.get())); in TEST()
93 EXPECT_TRUE(kryo_features->Equals(krait_features.get())); in TEST()
104 EXPECT_TRUE(denver_features->Equals(denver_features.get())); in TEST()
105 EXPECT_FALSE(denver_features->Equals(krait_features.get())); in TEST()
107 EXPECT_FALSE(krait_features->Equals(denver_features.get())); in TEST()
[all …]
Dinstruction_set_features_arm.h53 bool Equals(const InstructionSetFeatures* other) const override;
/art/runtime/arch/x86/
Dinstruction_set_features_x86_test.cc30 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST()
45 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST()
55 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
60 EXPECT_FALSE(x86_64_features->Equals(x86_features.get())); in TEST()
70 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST()
80 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
85 EXPECT_FALSE(x86_64_features->Equals(x86_features.get())); in TEST()
95 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST()
105 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
110 EXPECT_FALSE(x86_64_features->Equals(x86_features.get())); in TEST()
[all …]
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64_test.cc30 EXPECT_TRUE(arm64_features->Equals(arm64_features.get())); in TEST()
38 EXPECT_TRUE(cortex_a57_features->Equals(cortex_a57_features.get())); in TEST()
48 EXPECT_TRUE(cortex_a73_features->Equals(cortex_a73_features.get())); in TEST()
62 EXPECT_TRUE(cortex_a35_features->Equals(cortex_a35_features.get())); in TEST()
71 EXPECT_TRUE(kryo_features->Equals(kryo_features.get())); in TEST()
72 EXPECT_TRUE(kryo_features->Equals(cortex_a35_features.get())); in TEST()
73 EXPECT_FALSE(kryo_features->Equals(cortex_a57_features.get())); in TEST()
81 EXPECT_TRUE(cortex_a55_features->Equals(cortex_a55_features.get())); in TEST()
82 EXPECT_FALSE(cortex_a55_features->Equals(cortex_a35_features.get())); in TEST()
83 EXPECT_FALSE(cortex_a55_features->Equals(cortex_a57_features.get())); in TEST()
[all …]
Dinstruction_set_features_arm64.h56 bool Equals(const InstructionSetFeatures* other) const override;
/art/compiler/utils/arm64/
Dmanaged_register_arm64_test.cc179 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
191 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
203 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D20))); in TEST()
215 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D31))); in TEST()
230 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
242 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S5))); in TEST()
254 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S7))); in TEST()
266 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
269 TEST(Arm64ManagedRegister, Equals) { in TEST() argument
271 EXPECT_TRUE(no_reg.Equals(Arm64ManagedRegister::NoRegister())); in TEST()
[all …]
/art/compiler/utils/x86/
Dmanaged_register_x86_test.cc209 TEST(X86ManagedRegister, Equals) { in TEST() argument
211 EXPECT_TRUE(reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EAX))); in TEST()
212 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EBX))); in TEST()
213 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EDI))); in TEST()
214 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM0))); in TEST()
215 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM7))); in TEST()
216 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST0))); in TEST()
217 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST7))); in TEST()
218 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST()
219 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EBX_EDI))); in TEST()
[all …]
Dmanaged_register_x86.cc66 if (Equals(other)) return true; in Overlaps()
/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/optimizing/
Dnodes_vector_test.cc151 EXPECT_TRUE(v0->Equals(v0)); in TEST_F()
152 EXPECT_TRUE(v1->Equals(v1)); in TEST_F()
153 EXPECT_TRUE(v2->Equals(v2)); in TEST_F()
154 EXPECT_TRUE(v3->Equals(v3)); in TEST_F()
155 EXPECT_TRUE(v4->Equals(v4)); in TEST_F()
157 EXPECT_TRUE(v0->Equals(v1)); in TEST_F()
158 EXPECT_FALSE(v0->Equals(v2)); // different vector lengths in TEST_F()
159 EXPECT_FALSE(v0->Equals(v3)); // different packed types in TEST_F()
160 EXPECT_FALSE(v0->Equals(v4)); // different kinds in TEST_F()
162 EXPECT_TRUE(v1->Equals(v0)); // switch operands in TEST_F()
[all …]
Dstack_map_test.cc74 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
75 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64 * kPcAlign))); in TEST()
162 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
163 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64 * kPcAlign))); in TEST()
201 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(1u))); in TEST()
202 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(128u * kPcAlign))); in TEST()
234 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(2u))); in TEST()
235 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(192u * kPcAlign))); in TEST()
267 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(3u))); in TEST()
268 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(256u * kPcAlign))); in TEST()
[all …]
Dparallel_move_resolver.cc109 if (LowOf(updated_location).Equals(source)) { in UpdateSourceOf()
111 } else if (HighOf(updated_location).Equals(source)) { in UpdateSourceOf()
114 DCHECK(updated_location.Equals(source)) << updated_location << " " << source; in UpdateSourceOf()
187 if (move->GetSource().Equals(destination)) { in PerformMove()
251 if (move->GetDestination().Equals(loc)) { in IsScratchLocation()
382 CHECK(!loc.Equals(scratch)); in AddScratchLocation()
391 if (loc.Equals(*it)) { in RemoveScratchLocation()
517 if (move->GetSource().Equals(from)) { in UpdateMoveSource()
Dregister_allocation_resolver.cc136 DCHECK(locations->InAt(0).Equals(source)); in Resolve()
141 DCHECK(source.Equals(location)); in Resolve()
528 if (source.Equals(destination)) return; in AddInputMoveFor()
560 if (source.Equals(destination)) return; in InsertParallelMoveAt()
632 if (source.Equals(destination)) return; in InsertParallelMoveAtExitOf()
662 if (source.Equals(destination)) return; in InsertParallelMoveAtEntryOf()
681 if (source.Equals(destination)) return; in InsertMoveAfter()
Dlocations.h313 bool Equals(Location other) const { in Equals() function
318 if (Equals(other)) { in Contains()
321 return ToLow().Equals(other) || ToHigh().Equals(other); in Contains()
/art/test/443-not-bool-inline/
Dinfo.txt2 for simplifying Equals(foo, false);
/art/runtime/arch/
Dinstruction_set_features.h83 virtual bool Equals(const InstructionSetFeatures* other) const = 0;
100 return Equals(other); in HasAtLeast()
/art/runtime/
Dintern_table_test.cc46 EXPECT_TRUE(foo_1->Equals("foo")); in TEST_F()
47 EXPECT_TRUE(foo_2->Equals("foo")); in TEST_F()
48 EXPECT_TRUE(foo_3->Equals("foo")); in TEST_F()
212 ASSERT_TRUE(foo->Equals("foo")); in TEST_F()
213 ASSERT_TRUE(bar->Equals("bar")); in TEST_F()
214 ASSERT_TRUE(foobar->Equals("foobar")); in TEST_F()
/art/runtime/verifier/
Dreg_type_test.cc46 EXPECT_TRUE(ref_type_const_0.Equals(ref_type_const_1)); in TEST_F()
47 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_2)); in TEST_F()
48 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_3)); in TEST_F()
52 EXPECT_TRUE(ref_type_const_wide_0.Equals(ref_type_const_wide_1)); in TEST_F()
57 EXPECT_TRUE(ref_type_const_wide_2.Equals(ref_type_const_wide_3)); in TEST_F()
58 EXPECT_FALSE(ref_type_const_wide_2.Equals(ref_type_const_wide_4)); in TEST_F()
371 EXPECT_TRUE(precise_obj.Equals(precise_obj_2)); in TEST_F()
372 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F()
373 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F()
374 EXPECT_FALSE(imprecise_obj.Equals(precise_obj_2)); in TEST_F()
[all …]
Dreg_type-inl.h34 if (Equals(other)) { in CanAccess()
74 if (lhs.Equals(rhs)) { in AssignableFrom()
Dverifier_deps.h178 bool Equals(const DexFileDeps& rhs) const;
223 bool Equals(const VerifierDeps& rhs) const;
/art/runtime/mirror/
Dobject_test.cc72 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); in AssertString()
474 EXPECT_TRUE(string->Equals("android")); in TEST_F()
475 EXPECT_FALSE(string->Equals("Android")); in TEST_F()
476 EXPECT_FALSE(string->Equals("ANDROID")); in TEST_F()
477 EXPECT_FALSE(string->Equals("")); in TEST_F()
478 EXPECT_FALSE(string->Equals("and")); in TEST_F()
479 EXPECT_FALSE(string->Equals("androids")); in TEST_F()
482 EXPECT_TRUE(empty->Equals("")); in TEST_F()
483 EXPECT_FALSE(empty->Equals("a")); in TEST_F()
491 EXPECT_TRUE(string->Equals(string_2.Get())); in TEST_F()
[all …]
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64_test.cc30 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
/art/compiler/utils/
Dmanaged_register.h57 constexpr bool Equals(const ManagedRegister& other) const { in Equals() function

1234