/art/runtime/ |
H A D | class_reference.h | 30 inline bool operator<(const ClassReference& lhs, const ClassReference& rhs) { argument 31 if (lhs.second < rhs.second) { 33 } else if (lhs.second > rhs.second) { 36 return (lhs.first < rhs.first);
|
/art/test/083-compiler-regressions/src/ |
H A D | ZeroTests.java | 42 private static long longDiv(long lhs, long rhs) { argument 43 return lhs / rhs; 46 private static long longMod(long lhs, long rhs) { argument 47 return lhs % rhs;
|
/art/runtime/verifier/ |
H A D | reg_type-inl.h | 67 inline bool RegType::AssignableFrom(const RegType& lhs, argument 71 if (lhs.Equals(rhs)) { 74 if (lhs.IsBoolean()) { 76 } else if (lhs.IsByte()) { 78 } else if (lhs.IsShort()) { 80 } else if (lhs.IsChar()) { 82 } else if (lhs.IsInteger()) { 84 } else if (lhs.IsFloat()) { 86 } else if (lhs.IsLongLo()) { 88 } else if (lhs [all...] |
/art/compiler/ |
H A D | compiled_method.h | 101 inline bool operator<(const SrcMapElem& lhs, const SrcMapElem& rhs) { argument 102 if (lhs.from_ != rhs.from_) { 103 return lhs.from_ < rhs.from_; 105 return lhs.to_ < rhs.to_; 108 inline bool operator==(const SrcMapElem& lhs, const SrcMapElem& rhs) { argument 109 return lhs.from_ == rhs.from_ && lhs.to_ == rhs.to_; 365 friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs); 366 friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs); 370 inline bool operator==(const LinkerPatch& lhs, cons argument 378 operator <(const LinkerPatch& lhs, const LinkerPatch& rhs) argument [all...] |
/art/runtime/base/ |
H A D | dchecked_vector.h | 196 void swap(dchecked_vector<T, Alloc>& lhs, dchecked_vector<T, Alloc>& rhs) { 197 lhs.swap(rhs); 202 bool operator==(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 203 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 206 bool operator!=(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 207 return !(lhs == rhs); 210 bool operator<(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 211 return std::lexicographical_compare(lhs [all...] |
H A D | transform_iterator.h | 154 bool operator==(const TransformIterator<BaseIterator1, Function>& lhs, argument 156 return lhs.base() == rhs.base(); 160 bool operator!=(const TransformIterator<BaseIterator1, Function>& lhs, argument 162 return !(lhs == rhs);
|
H A D | array_ref.h | 188 bool operator==(const ArrayRef<T>& lhs, const ArrayRef<T>& rhs) { argument 189 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 193 bool operator!=(const ArrayRef<T>& lhs, const ArrayRef<T>& rhs) { argument 194 return !(lhs == rhs);
|
H A D | transform_array_ref.h | 163 bool operator==(const TransformArrayRef<BaseType, Function>& lhs, argument 165 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 169 bool operator!=(const TransformArrayRef<BaseType, Function>& lhs, argument 171 return !(lhs == rhs);
|
H A D | arena_containers.h | 222 friend bool operator==(const ArenaAllocatorAdapter<U>& lhs, 227 inline bool operator==(const ArenaAllocatorAdapter<T>& lhs, argument 229 return lhs.arena_allocator_ == rhs.arena_allocator_; 233 inline bool operator!=(const ArenaAllocatorAdapter<T>& lhs, argument 235 return !(lhs == rhs);
|
H A D | scoped_arena_containers.h | 180 friend bool operator==(const ScopedArenaAllocatorAdapter<U>& lhs, 185 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs, argument 187 return lhs.arena_stack_ == rhs.arena_stack_; 191 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs, argument 193 return !(lhs == rhs);
|
/art/compiler/optimizing/ |
H A D | code_generator_vector_arm64.cc | 287 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 293 __ Add(dst.V16B(), lhs.V16B(), rhs.V16B()); 298 __ Add(dst.V8H(), lhs.V8H(), rhs.V8H()); 302 __ Add(dst.V4S(), lhs.V4S(), rhs.V4S()); 306 __ Add(dst.V2D(), lhs.V2D(), rhs.V2D()); 310 __ Fadd(dst.V4S(), lhs.V4S(), rhs.V4S()); 314 __ Fadd(dst.V2D(), lhs.V2D(), rhs.V2D()); 328 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 336 ? __ Urhadd(dst.V16B(), lhs.V16B(), rhs.V16B()) 337 : __ Uhadd(dst.V16B(), lhs 369 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 410 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 447 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 487 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 521 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 547 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 592 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 625 VRegister lhs = VRegisterFrom(locations->InAt(0)); local 658 VRegister lhs = VRegisterFrom(locations->InAt(0)); local [all...] |
H A D | loop_optimization.h | 90 : base(b), offset(o), type(t), lhs(l) { } 97 (type == other.type && lhs < other.lhs))))); 102 bool lhs; // def/use member in struct:art::HLoopOptimization::ArrayReference
|
H A D | code_generator_mips.cc | 1974 Register lhs = locations->InAt(0).AsRegister<Register>(); 1988 __ Andi(dst, lhs, rhs_imm); 1990 __ And(dst, lhs, rhs_reg); 1993 __ Ori(dst, lhs, rhs_imm); 1995 __ Or(dst, lhs, rhs_reg); 1998 __ Xori(dst, lhs, rhs_imm); 2000 __ Xor(dst, lhs, rhs_reg); 2003 __ Addiu(dst, lhs, rhs_imm); 2005 __ Addu(dst, lhs, rhs_reg); 2009 __ Addiu(dst, lhs, [all...] |
H A D | code_generator_mips64.cc | 1778 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); 1792 __ Andi(dst, lhs, rhs_imm); 1794 __ And(dst, lhs, rhs_reg); 1797 __ Ori(dst, lhs, rhs_imm); 1799 __ Or(dst, lhs, rhs_reg); 1802 __ Xori(dst, lhs, rhs_imm); 1804 __ Xor(dst, lhs, rhs_reg); 1808 __ Addiu(dst, lhs, rhs_imm); 1810 __ Addu(dst, lhs, rhs_reg); 1813 __ Daddiu(dst, lhs, rhs_im [all...] |
/art/compiler/utils/ |
H A D | swap_space.h | 81 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) { argument 82 if (lhs.size != rhs.size) { 83 return lhs.size < rhs.size; 85 return lhs.free_by_start_entry->Start() < rhs.free_by_start_entry->Start(); 141 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs); 220 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs); 224 inline bool operator==(const SwapAllocator<T>& lhs, const SwapAllocator<T>& rhs) { argument 225 return lhs.swap_space_ == rhs.swap_space_; 229 inline bool operator!=(const SwapAllocator<T>& lhs, const SwapAllocator<T>& rhs) { argument 230 return !(lhs [all...] |
H A D | intrusive_forward_list.h | 99 operator==(const IntrusiveForwardListIterator<OtherT1, OtherTraits>& lhs, 105 const IntrusiveForwardListIterator<T, HookTraits>& lhs, 107 return lhs.hook_ == rhs.hook_; 112 const IntrusiveForwardListIterator<T, HookTraits>& lhs, 114 return !(lhs == rhs); 390 void swap(IntrusiveForwardList<T, HookTraits>& lhs, IntrusiveForwardList<T, HookTraits>& rhs) { argument 391 lhs.swap(rhs); 395 bool operator==(const IntrusiveForwardList<T, HookTraits>& lhs, argument 397 auto lit = lhs.begin(); 399 for (; lit != lhs 104 operator ==( const IntrusiveForwardListIterator<T, HookTraits>& lhs, const IntrusiveForwardListIterator<OtherT, HookTraits>& rhs) argument 111 operator !=( const IntrusiveForwardListIterator<T, HookTraits>& lhs, const IntrusiveForwardListIterator<OtherT, HookTraits>& rhs) argument 408 operator !=(const IntrusiveForwardList<T, HookTraits>& lhs, const IntrusiveForwardList<T, HookTraits>& rhs) argument 414 operator <(const IntrusiveForwardList<T, HookTraits>& lhs, const IntrusiveForwardList<T, HookTraits>& rhs) argument 420 operator >(const IntrusiveForwardList<T, HookTraits>& lhs, const IntrusiveForwardList<T, HookTraits>& rhs) argument 426 operator <=(const IntrusiveForwardList<T, HookTraits>& lhs, const IntrusiveForwardList<T, HookTraits>& rhs) argument 432 operator >=(const IntrusiveForwardList<T, HookTraits>& lhs, const IntrusiveForwardList<T, HookTraits>& rhs) argument [all...] |
H A D | test_dex_file_builder.h | 287 bool operator()(const FieldKey& lhs, const FieldKey& rhs) const { argument 288 if (lhs.class_descriptor != rhs.class_descriptor) { 289 return lhs.class_descriptor < rhs.class_descriptor; 291 if (lhs.name != rhs.name) { 292 return lhs.name < rhs.name; 294 return lhs.type < rhs.type; 304 bool operator()(const ProtoKey& lhs, const ProtoKey& rhs) const { argument 305 if (lhs.return_type != rhs.return_type) { 306 return lhs.return_type < rhs.return_type; 308 size_t min_args = std::min(lhs 324 operator ()(const MethodKey& lhs, const MethodKey& rhs) const argument [all...] |
H A D | dedupe_set-inl.h | 159 operator()(const HashedKey<StoreKey>& lhs, const HashedKey<StoreKey>& rhs) const { argument 160 DCHECK(lhs.Key() != nullptr); 163 return lhs.Key() == rhs.Key(); 167 bool operator()(const HashedKey<LeftT>& lhs, const HashedKey<RightT>& rhs) const { argument 168 DCHECK(lhs.Key() != nullptr); 170 return lhs.Hash() == rhs.Hash() && 171 lhs.Key()->size() == rhs.Key()->size() && 172 std::equal(lhs.Key()->begin(), lhs.Key()->end(), rhs.Key()->begin());
|
/art/compiler/driver/ |
H A D | compiled_method_storage_test.cc | 107 CompiledMethod* lhs = compiled_methods[i]; local 114 ASSERT_EQ(same_code, lhs->GetQuickCode().data() == rhs->GetQuickCode().data()) 116 ASSERT_EQ(same_src_map, lhs->GetMethodInfo().data() == rhs->GetMethodInfo().data()) 118 ASSERT_EQ(same_vmap_table, lhs->GetVmapTable().data() == rhs->GetVmapTable().data()) 120 ASSERT_EQ(same_cfi_info, lhs->GetCFIInfo().data() == rhs->GetCFIInfo().data()) 122 ASSERT_EQ(same_patches, lhs->GetPatches().data() == rhs->GetPatches().data())
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_arm_base.h | 102 bool operator()(const ThunkKey& lhs, const ThunkKey& rhs) const { argument 103 if (lhs.GetType() != rhs.GetType()) { 104 return lhs.GetType() < rhs.GetType(); 106 if (lhs.GetRawParams().first != rhs.GetRawParams().first) { 107 return lhs.GetRawParams().first < rhs.GetRawParams().first; 109 return lhs.GetRawParams().second < rhs.GetRawParams().second;
|
/art/runtime/openjdkjvmti/ |
H A D | jvmti_allocator.h | 72 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs); 155 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs); 159 inline bool operator==(const JvmtiAllocator<T>& lhs, const JvmtiAllocator<T>& rhs) { argument 160 return lhs.env_ == rhs.env_; 164 inline bool operator!=(const JvmtiAllocator<T>& lhs, const JvmtiAllocator<T>& rhs) { argument 165 return !(lhs == rhs);
|
/art/test/442-checker-constant-folding/src/ |
H A D | Main.java | 719 int lhs = $inline$int(1); 721 return lhs << rhs; 738 long lhs = $inline$long(3L); 740 return lhs << rhs; 763 int lhs = $inline$int(7); 765 return lhs >> rhs; 782 long lhs = $inline$long(9); 784 return lhs >> rhs; 807 int lhs = $inline$int(-7); 809 return lhs >>> rh [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_main.cc | 648 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs) { argument 649 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && 650 lhs.class_id == rhs.class_id && lhs.type_tag == rhs.type_tag; 653 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { argument 654 return !(lhs == rhs); 657 bool operator==(const JdwpOptions& lhs, const JdwpOptions& rhs) { argument 658 if (&lhs == &rhs) { 662 return lhs [all...] |
/art/cmdline/ |
H A D | cmdline_parser_test.cc | 33 bool operator==(const ProfileSaverOptions& lhs, const ProfileSaverOptions& rhs) { argument 34 return lhs.enabled_ == rhs.enabled_ && 35 lhs.min_save_period_ms_ == rhs.min_save_period_ms_ && 36 lhs.save_resolved_classes_delay_ms_ == rhs.save_resolved_classes_delay_ms_ && 37 lhs.startup_method_samples_ == rhs.startup_method_samples_ && 38 lhs.min_methods_to_save_ == rhs.min_methods_to_save_ && 39 lhs.min_classes_to_save_ == rhs.min_classes_to_save_ && 40 lhs.min_notification_before_wake_ == rhs.min_notification_before_wake_ && 41 lhs.max_notification_before_wake_ == rhs.max_notification_before_wake_;
|
/art/runtime/mirror/ |
H A D | string.cc | 330 ObjPtr<String> lhs = this; local 331 if (lhs == rhs) { 334 int32_t lhs_count = lhs->GetLength(); 338 if (lhs->IsCompressed() && rhs->IsCompressed()) { 339 const uint8_t* lhs_chars = lhs->GetValueCompressed(); 347 } else if (lhs->IsCompressed() || rhs->IsCompressed()) { 349 lhs->IsCompressed() ? lhs->GetValueCompressed() : rhs->GetValueCompressed(); 350 const uint16_t* uncompressed_chars = lhs->IsCompressed() ? rhs->GetValue() : lhs [all...] |