/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);
|
H A D | indirect_reference_table.h | 254 bool inline operator==(const IrtIterator& lhs, const IrtIterator& rhs) { argument 255 return lhs.equals(rhs); 258 bool inline operator!=(const IrtIterator& lhs, const IrtIterator& rhs) { argument 259 return !lhs.equals(rhs);
|
H A D | safe_map.h | 149 bool operator==(const SafeMap<K, V, Comparator, Allocator>& lhs, argument 151 return lhs.Equals(rhs); 155 bool operator!=(const SafeMap<K, V, Comparator, Allocator>& lhs, argument 157 return !(lhs == rhs);
|
/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 | 65 inline bool RegType::AssignableFrom(const RegType& lhs, const RegType& rhs, bool strict) { argument 66 if (lhs.Equals(rhs)) { 69 if (lhs.IsBoolean()) { 71 } else if (lhs.IsByte()) { 73 } else if (lhs.IsShort()) { 75 } else if (lhs.IsChar()) { 77 } else if (lhs.IsInteger()) { 79 } else if (lhs.IsFloat()) { 81 } else if (lhs.IsLongLo()) { 83 } else if (lhs [all...] |
/art/compiler/ |
H A D | compiled_method.h | 100 inline bool operator<(const SrcMapElem& lhs, const SrcMapElem& rhs) { argument 101 if (lhs.from_ != rhs.from_) { 102 return lhs.from_ < rhs.from_; 104 return lhs.to_ < rhs.to_; 107 inline bool operator==(const SrcMapElem& lhs, const SrcMapElem& rhs) { argument 108 return lhs.from_ == rhs.from_ && lhs.to_ == rhs.to_; 347 friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs); 348 friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs); 352 inline bool operator==(const LinkerPatch& lhs, cons argument 360 operator <(const LinkerPatch& lhs, const LinkerPatch& rhs) argument [all...] |
H A D | cfi_test.h | 130 static bool CompareByAddress(const std::string& lhs, const std::string& rhs) { argument 131 EXPECT_EQ(lhs[10], ':'); 133 return strncmp(lhs.c_str(), rhs.c_str(), 10) < 0;
|
/art/runtime/base/ |
H A D | dchecked_vector.h | 198 void swap(dchecked_vector<T, Alloc>& lhs, dchecked_vector<T, Alloc>& rhs) { 199 lhs.swap(rhs); 204 bool operator==(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 205 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 208 bool operator!=(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 209 return !(lhs == rhs); 212 bool operator<(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 213 return std::lexicographical_compare(lhs [all...] |
H A D | logging.h | 125 UNLIKELY(!(_values.lhs OP _values.rhs)); /* empty */) \ 128 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " 201 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { } 202 LHS lhs; member in struct:art::EagerEvaluator 208 static inline EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { argument 209 return EagerEvaluator<LHS, RHS>(lhs, rhs); 218 : lhs(reinterpret_cast<const void*>(l)), \ 220 const void* lhs; \
|
H A D | arena_containers.h | 204 friend bool operator==(const ArenaAllocatorAdapter<U>& lhs, 209 inline bool operator==(const ArenaAllocatorAdapter<T>& lhs, argument 211 return lhs.arena_allocator_ == rhs.arena_allocator_; 215 inline bool operator!=(const ArenaAllocatorAdapter<T>& lhs, argument 217 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);
|
H A D | stl_util.h | 154 bool operator()(const char* lhs, const char* rhs) const { argument 155 return strcmp(lhs, rhs) < 0;
|
H A D | variant_map.h | 391 bool operator()(const detail::VariantMapKeyRaw* lhs, argument 393 if (lhs == nullptr) { 394 return lhs != rhs; 397 return lhs->Compare(rhs);
|
/art/compiler/utils/ |
H A D | swap_space.h | 71 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) { argument 72 if (lhs.first != rhs.first) { 73 return lhs.first < rhs.first; 75 return lhs.second->Start() < rhs.second->Start(); 130 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs); 208 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs); 212 inline bool operator==(const SwapAllocator<T>& lhs, const SwapAllocator<T>& rhs) { argument 213 return lhs.swap_space_ == rhs.swap_space_; 217 inline bool operator!=(const SwapAllocator<T>& lhs, const SwapAllocator<T>& rhs) { argument 218 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 | 278 bool operator()(const FieldKey& lhs, const FieldKey& rhs) const { argument 279 if (lhs.class_descriptor != rhs.class_descriptor) { 280 return lhs.class_descriptor < rhs.class_descriptor; 282 if (lhs.name != rhs.name) { 283 return lhs.name < rhs.name; 285 return lhs.type < rhs.type; 295 bool operator()(const ProtoKey& lhs, const ProtoKey& rhs) const { argument 296 if (lhs.return_type != rhs.return_type) { 297 return lhs.return_type < rhs.return_type; 299 size_t min_args = std::min(lhs 315 operator ()(const MethodKey& lhs, const MethodKey& rhs) const argument [all...] |
H A D | dedupe_set-inl.h | 158 operator()(const HashedKey<StoreKey>& lhs, const HashedKey<StoreKey>& rhs) const { argument 159 DCHECK(lhs.Key() != nullptr); 162 return lhs.Key() == rhs.Key(); 166 bool operator()(const HashedKey<LeftT>& lhs, const HashedKey<RightT>& rhs) const { argument 167 DCHECK(lhs.Key() != nullptr); 169 return lhs.Hash() == rhs.Hash() && 170 lhs.Key()->size() == rhs.Key()->size() && 171 std::equal(lhs.Key()->begin(), lhs.Key()->end(), rhs.Key()->begin());
|
H A D | array_ref.h | 183 bool operator==(const ArrayRef<T>& lhs, const ArrayRef<T>& rhs) { argument 184 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 188 bool operator!=(const ArrayRef<T>& lhs, const ArrayRef<T>& rhs) { argument 189 return !(lhs == rhs);
|
/art/compiler/driver/ |
H A D | compiled_method_storage_test.cc | 112 CompiledMethod* lhs = compiled_methods[i]; local 119 ASSERT_EQ(same_code, lhs->GetQuickCode().data() == rhs->GetQuickCode().data()) 121 ASSERT_EQ(same_src_map, lhs->GetSrcMappingTable().data() == rhs->GetSrcMappingTable().data()) 123 ASSERT_EQ(same_vmap_table, lhs->GetVmapTable().data() == rhs->GetVmapTable().data()) 125 ASSERT_EQ(same_cfi_info, lhs->GetCFIInfo().data() == rhs->GetCFIInfo().data()) 127 ASSERT_EQ(same_patches, lhs->GetPatches().data() == rhs->GetPatches().data())
|
/art/test/442-checker-constant-folding/src/ |
H A D | Main.java | 713 int lhs = $inline$int(1); 715 return lhs << rhs; 732 long lhs = $inline$long(3L); 734 return lhs << rhs; 757 int lhs = $inline$int(7); 759 return lhs >> rhs; 776 long lhs = $inline$long(9); 778 return lhs >> rhs; 801 int lhs = $inline$int(-7); 803 return lhs >>> rh [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_main.cc | 641 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs) { argument 642 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && 643 lhs.class_id == rhs.class_id && lhs.type_tag == rhs.type_tag; 646 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { argument 647 return !(lhs == rhs); 650 bool operator==(const JdwpOptions& lhs, const JdwpOptions& rhs) { argument 651 if (&lhs == &rhs) { 655 return lhs [all...] |
/art/compiler/optimizing/ |
H A D | code_generator_mips64.cc | 1067 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1081 __ Andi(dst, lhs, rhs_imm); 1083 __ And(dst, lhs, rhs_reg); 1086 __ Ori(dst, lhs, rhs_imm); 1088 __ Or(dst, lhs, rhs_reg); 1091 __ Xori(dst, lhs, rhs_imm); 1093 __ Xor(dst, lhs, rhs_reg); 1097 __ Addiu(dst, lhs, rhs_imm); 1099 __ Addu(dst, lhs, rhs_reg); 1102 __ Daddiu(dst, lhs, rhs_im 1125 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 1174 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1707 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1735 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 1757 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 2126 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 2245 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 2380 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 2468 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 3350 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 3361 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local [all...] |
H A D | code_generator_mips.cc | 1191 Register lhs = locations->InAt(0).AsRegister<Register>(); local 1205 __ Andi(dst, lhs, rhs_imm); 1207 __ And(dst, lhs, rhs_reg); 1210 __ Ori(dst, lhs, rhs_imm); 1212 __ Or(dst, lhs, rhs_reg); 1215 __ Xori(dst, lhs, rhs_imm); 1217 __ Xor(dst, lhs, rhs_reg); 1220 __ Addiu(dst, lhs, rhs_imm); 1222 __ Addu(dst, lhs, rhs_reg); 1226 __ Addiu(dst, lhs, 1377 FRegister lhs = locations->InAt(0).AsFpuRegister<FRegister>(); local 1442 Register lhs = locations->InAt(0).AsRegister<Register>(); local 2086 Register lhs = locations->InAt(0).AsRegister<Register>(); local 2113 FRegister lhs = locations->InAt(0).AsFpuRegister<FRegister>(); local 2153 FRegister lhs = locations->InAt(0).AsFpuRegister<FRegister>(); local 2483 FRegister lhs = locations->InAt(0).AsFpuRegister<FRegister>(); local 2621 Register lhs = locations->InAt(0).AsRegister<Register>(); local 2750 Register lhs = locations->InAt(0).AsRegister<Register>(); local 3048 FRegister lhs = locations->InAt(0).AsFpuRegister<FRegister>(); local 4132 Register lhs = locations->InAt(0).AsRegister<Register>(); local 4182 FRegister lhs = locations->InAt(0).AsFpuRegister<FRegister>(); local [all...] |
/art/cmdline/ |
H A D | cmdline_parser_test.cc | 33 bool operator==(const TestProfilerOptions& lhs, const TestProfilerOptions& rhs) { argument 34 return lhs.enabled_ == rhs.enabled_ && 35 lhs.output_file_name_ == rhs.output_file_name_ && 36 lhs.period_s_ == rhs.period_s_ && 37 lhs.duration_s_ == rhs.duration_s_ && 38 lhs.interval_us_ == rhs.interval_us_ && 39 UsuallyEquals(lhs.backoff_coefficient_, rhs.backoff_coefficient_) && 40 UsuallyEquals(lhs.start_immediately_, rhs.start_immediately_) && 41 UsuallyEquals(lhs.top_k_threshold_, rhs.top_k_threshold_) && 42 UsuallyEquals(lhs [all...] |
/art/runtime/mirror/ |
H A D | string.cc | 231 String* lhs = this; local 232 if (lhs == rhs) { 241 int32_t lhsCount = lhs->GetLength(); 245 const uint16_t* lhsChars = lhs->GetValue();
|