/art/compiler/dex/ |
H A D | reg_storage_eq.h | 28 inline bool operator==(const RegStorage& lhs, const RegStorage& rhs) { argument 29 return lhs.ExactlyEquals(rhs); 32 inline bool operator!=(const RegStorage& lhs, const RegStorage& rhs) { argument 33 return lhs.NotExactlyEquals(rhs);
|
H A D | local_value_numbering.h | 162 bool operator()(const RangeCheckKey& lhs, const RangeCheckKey& rhs) const { argument 163 if (lhs.array != rhs.array) { 164 return lhs.array < rhs.array; 166 return lhs.index < rhs.index; 190 bool operator()(const EscapedIFieldClobberKey& lhs, const EscapedIFieldClobberKey& rhs) const { argument 192 if (lhs.base != rhs.base) { 193 return lhs.base < rhs.base; 198 if (lhs.type != rhs.type) { 199 return lhs.type < rhs.type; 201 return lhs 219 operator ()(const EscapedArrayClobberKey& lhs, const EscapedArrayClobberKey& rhs) const argument [all...] |
H A D | global_value_numbering.h | 152 bool operator()(const ArrayLocation& lhs, const ArrayLocation& rhs) const { argument 153 if (lhs.base != rhs.base) { 154 return lhs.base < rhs.base; 156 return lhs.index < rhs.index;
|
H A D | mir_analysis.cc | 1319 bool operator()(const MapEntry& lhs, const MapEntry& rhs) const { argument 1320 if (lhs.target_method_idx != rhs.target_method_idx) { 1321 return lhs.target_method_idx < rhs.target_method_idx; 1323 if (lhs.invoke_type != rhs.invoke_type) { 1324 return lhs.invoke_type < rhs.invoke_type; 1326 if (lhs.vtable_idx != rhs.vtable_idx) { 1327 return lhs.vtable_idx < rhs.vtable_idx; 1329 if (lhs.devirt_target != rhs.devirt_target) { 1330 if (lhs.devirt_target == nullptr) { 1336 return devirt_cmp(*lhs [all...] |
/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 | utf.cc | 138 const uint16_t lhs = GetLeadingUtf16Char(pair); local 141 if (lhs != rhs) { 142 return lhs > rhs ? 1 : -1;
|
H A D | indirect_reference_table.h | 255 bool inline operator==(const IrtIterator& lhs, const IrtIterator& rhs) { argument 256 return lhs.equals(rhs); 259 bool inline operator!=(const IrtIterator& lhs, const IrtIterator& rhs) { argument 260 return !lhs.equals(rhs);
|
H A D | safe_map.h | 124 bool operator==(const SafeMap<K, V, Comparator, Allocator>& lhs, argument 126 return lhs.Equals(rhs); 130 bool operator!=(const SafeMap<K, V, Comparator, Allocator>& lhs, argument 132 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 | 64 inline bool RegType::AssignableFrom(const RegType& lhs, const RegType& rhs, bool strict) { argument 65 if (lhs.Equals(rhs)) { 68 if (lhs.IsBoolean()) { 70 } else if (lhs.IsByte()) { 72 } else if (lhs.IsShort()) { 74 } else if (lhs.IsChar()) { 76 } else if (lhs.IsInteger()) { 78 } else if (lhs.IsFloat()) { 80 } else if (lhs.IsLongLo()) { 82 } else if (lhs [all...] |
/art/compiler/ |
H A D | compiled_method.h | 287 friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs); 288 friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs); 291 inline bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs) { argument 292 return lhs.literal_offset_ == rhs.literal_offset_ && 293 lhs.patch_type_ == rhs.patch_type_ && 294 lhs.target_dex_file_ == rhs.target_dex_file_ && 295 lhs.cmp1_ == rhs.cmp1_ && 296 lhs.cmp2_ == rhs.cmp2_; 299 inline bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs) { argument 300 return (lhs [all...] |
H A D | cfi_test.h | 128 static bool CompareByAddress(const std::string& lhs, const std::string& rhs) { argument 129 EXPECT_EQ(lhs[10], ':'); 131 return strncmp(lhs.c_str(), rhs.c_str(), 10) < 0;
|
/art/compiler/optimizing/ |
H A D | boolean_simplifier.cc | 70 HInstruction* lhs = cond->InputAt(0); local 73 return new (allocator) HNotEqual(lhs, rhs); 75 return new (allocator) HEqual(lhs, rhs); 77 return new (allocator) HGreaterThanOrEqual(lhs, rhs); 79 return new (allocator) HGreaterThan(lhs, rhs); 81 return new (allocator) HLessThanOrEqual(lhs, rhs); 84 return new (allocator) HLessThan(lhs, rhs);
|
H A D | code_generator_mips64.cc | 1058 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1072 __ Andi(dst, lhs, rhs_imm); 1074 __ And(dst, lhs, rhs_reg); 1077 __ Ori(dst, lhs, rhs_imm); 1079 __ Or(dst, lhs, rhs_reg); 1082 __ Xori(dst, lhs, rhs_imm); 1084 __ Xor(dst, lhs, rhs_reg); 1088 __ Addiu(dst, lhs, rhs_imm); 1090 __ Addu(dst, lhs, rhs_reg); 1093 __ Daddiu(dst, lhs, rhs_im 1116 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 1165 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1688 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1733 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1841 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 1852 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 1975 GpuRegister lhs = condition->GetLocations()->InAt(0).AsRegister<GpuRegister>(); local 2617 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local 2628 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 2890 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); local [all...] |
/art/compiler/utils/ |
H A D | array_ref.h | 170 bool operator==(const ArrayRef<T>& lhs, const ArrayRef<T>& rhs) { argument 171 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 175 bool operator!=(const ArrayRef<T>& lhs, const ArrayRef<T>& rhs) { argument 176 return !(lhs == rhs);
|
H A D | test_dex_file_builder.h | 263 bool operator()(const FieldKey& lhs, const FieldKey& rhs) const { argument 264 if (lhs.class_descriptor != rhs.class_descriptor) { 265 return lhs.class_descriptor < rhs.class_descriptor; 267 if (lhs.name != rhs.name) { 268 return lhs.name < rhs.name; 270 return lhs.type < rhs.type; 280 bool operator()(const ProtoKey& lhs, const ProtoKey& rhs) const { argument 281 if (lhs.return_type != rhs.return_type) { 282 return lhs.return_type < rhs.return_type; 284 size_t min_args = std::min(lhs 300 operator ()(const MethodKey& lhs, const MethodKey& rhs) const argument [all...] |
H A D | swap_space.h | 47 inline bool operator==(const SpaceChunk& lhs, const SpaceChunk& rhs) { argument 48 return (lhs.size == rhs.size) && (lhs.ptr == rhs.ptr); 86 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) { argument 87 if (lhs.first != rhs.first) { 88 return lhs.first < rhs.first; 90 return lhs.second->Start() < rhs.second->Start();
|
/art/runtime/base/ |
H A D | logging.h | 120 UNLIKELY(!(_values.lhs OP _values.rhs)); /* empty */) \ 123 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " 196 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { } 197 LHS lhs; member in struct:art::EagerEvaluator 203 static inline EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { argument 204 return EagerEvaluator<LHS, RHS>(lhs, rhs); 213 : lhs(reinterpret_cast<const void*>(l)), \ 215 const void* lhs; \
|
H A D | arena_containers.h | 180 friend bool operator==(const ArenaAllocatorAdapter<U>& lhs, 185 inline bool operator==(const ArenaAllocatorAdapter<T>& lhs, argument 187 return lhs.arena_allocator_ == rhs.arena_allocator_; 191 inline bool operator!=(const ArenaAllocatorAdapter<T>& lhs, argument 193 return !(lhs == rhs);
|
H A D | scoped_arena_containers.h | 177 friend bool operator==(const ScopedArenaAllocatorAdapter<U>& lhs, 182 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs, argument 184 return lhs.arena_stack_ == rhs.arena_stack_; 188 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs, argument 190 return !(lhs == rhs);
|
H A D | variant_map.h | 387 bool operator()(const detail::VariantMapKeyRaw* lhs, argument 389 if (lhs == nullptr) { 390 return lhs != rhs; 393 return lhs->Compare(rhs);
|
H A D | bit_utils.h | 287 friend bool operator==(const BitIteratorBase<U, I>& lhs, const BitIteratorBase<U, I>& rhs); 291 bool operator==(const BitIteratorBase<T, Iter>& lhs, const BitIteratorBase<T, Iter>& rhs) { argument 292 return lhs.bits_ == rhs.bits_; 296 bool operator!=(const BitIteratorBase<T, Iter>& lhs, const BitIteratorBase<T, Iter>& rhs) { argument 297 return !(lhs == rhs);
|
/art/runtime/jdwp/ |
H A D | jdwp_main.cc | 639 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs) { argument 640 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && 641 lhs.class_id == rhs.class_id && lhs.type_tag == rhs.type_tag; 644 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { argument 645 return !(lhs == rhs); 648 bool operator==(const JdwpOptions& lhs, const JdwpOptions& rhs) { argument 649 if (&lhs == &rhs) { 653 return lhs [all...] |
/art/cmdline/ |
H A D | cmdline_parser_test.cc | 32 bool operator==(const TestProfilerOptions& lhs, const TestProfilerOptions& rhs) { argument 33 return lhs.enabled_ == rhs.enabled_ && 34 lhs.output_file_name_ == rhs.output_file_name_ && 35 lhs.period_s_ == rhs.period_s_ && 36 lhs.duration_s_ == rhs.duration_s_ && 37 lhs.interval_us_ == rhs.interval_us_ && 38 UsuallyEquals(lhs.backoff_coefficient_, rhs.backoff_coefficient_) && 39 UsuallyEquals(lhs.start_immediately_, rhs.start_immediately_) && 40 UsuallyEquals(lhs.top_k_threshold_, rhs.top_k_threshold_) && 41 UsuallyEquals(lhs [all...] |
/art/runtime/mirror/ |
H A D | string.cc | 225 String* lhs = this; local 226 if (lhs == rhs) { 235 int32_t lhsCount = lhs->GetLength(); 239 const uint16_t* lhsChars = lhs->GetValue();
|