/art/compiler/dex/ |
D | reg_storage_eq.h | 28 inline bool operator==(const RegStorage& lhs, const RegStorage& rhs) { 29 return lhs.ExactlyEquals(rhs); 32 inline bool operator!=(const RegStorage& lhs, const RegStorage& rhs) { 33 return lhs.NotExactlyEquals(rhs);
|
D | global_value_numbering.h | 118 bool operator()(const FieldReference& lhs, const FieldReference& rhs) const { in operator() 119 if (lhs.field_idx != rhs.field_idx) { in operator() 120 return lhs.field_idx < rhs.field_idx; in operator() 123 DCHECK(lhs.dex_file != rhs.dex_file || lhs.type == rhs.type); in operator() 124 return lhs.dex_file < rhs.dex_file; in operator() 146 bool operator()(const ArrayLocation& lhs, const ArrayLocation& rhs) const { in operator() 147 if (lhs.base != rhs.base) { in operator() 148 return lhs.base < rhs.base; in operator() 150 return lhs.index < rhs.index; in operator()
|
D | local_value_numbering.h | 150 bool operator()(const RangeCheckKey& lhs, const RangeCheckKey& rhs) const { in operator() 151 if (lhs.array != rhs.array) { in operator() 152 return lhs.array < rhs.array; in operator() 154 return lhs.index < rhs.index; in operator() 178 bool operator()(const EscapedIFieldClobberKey& lhs, const EscapedIFieldClobberKey& rhs) const { in operator() 180 if (lhs.base != rhs.base) { in operator() 181 return lhs.base < rhs.base; in operator() 186 if (lhs.type != rhs.type) { in operator() 187 return lhs.type < rhs.type; in operator() 189 return lhs.field_id < rhs.field_id; in operator() [all …]
|
D | mir_analysis.cc | 1200 bool operator()(const MapEntry& lhs, const MapEntry& rhs) const { in DoCacheMethodLoweringInfo() 1201 if (lhs.target_method_idx != rhs.target_method_idx) { in DoCacheMethodLoweringInfo() 1202 return lhs.target_method_idx < rhs.target_method_idx; in DoCacheMethodLoweringInfo() 1204 if (lhs.invoke_type != rhs.invoke_type) { in DoCacheMethodLoweringInfo() 1205 return lhs.invoke_type < rhs.invoke_type; in DoCacheMethodLoweringInfo() 1207 if (lhs.devirt_target != rhs.devirt_target) { in DoCacheMethodLoweringInfo() 1208 if (lhs.devirt_target == nullptr) { in DoCacheMethodLoweringInfo() 1214 return devirt_cmp(*lhs.devirt_target, *rhs.devirt_target); in DoCacheMethodLoweringInfo()
|
D | mir_optimization.cc | 999 bool operator()(const MapEntry& lhs, const MapEntry& rhs) const { in EliminateClassInitChecksGate() 1000 if (lhs.declaring_class_idx != rhs.declaring_class_idx) { in EliminateClassInitChecksGate() 1001 return lhs.declaring_class_idx < rhs.declaring_class_idx; in EliminateClassInitChecksGate() 1003 return lhs.declaring_dex_file < rhs.declaring_dex_file; in EliminateClassInitChecksGate()
|
/art/runtime/ |
D | class_reference.h | 30 inline bool operator<(const ClassReference& lhs, const ClassReference& rhs) { 31 if (lhs.second < rhs.second) { 33 } else if (lhs.second > rhs.second) { 36 return (lhs.first < rhs.first);
|
D | indirect_reference_table.h | 263 bool inline operator==(const IrtIterator& lhs, const IrtIterator& rhs) { 264 return lhs.equals(rhs); 267 bool inline operator!=(const IrtIterator& lhs, const IrtIterator& rhs) { 268 return !lhs.equals(rhs);
|
D | safe_map.h | 123 bool operator==(const SafeMap<K, V, Comparator, Allocator>& lhs, 125 return lhs.Equals(rhs); 129 bool operator!=(const SafeMap<K, V, Comparator, Allocator>& lhs, 131 return !(lhs == rhs);
|
/art/test/083-compiler-regressions/src/ |
D | ZeroTests.java | 42 private static long longDiv(long lhs, long rhs) { in longDiv() argument 43 return lhs / rhs; in longDiv() 46 private static long longMod(long lhs, long rhs) { in longMod() argument 47 return lhs % rhs; in longMod()
|
D | Main.java | 9674 private static void causeNPE1(LVNTests lhs, LVNTests rhs) { in causeNPE1() argument 9675 LVNTests link1 = lhs.link; in causeNPE1() 9677 LVNTests link2 = lhs.link; in causeNPE1() 9693 private static void causeNPE2(LVNTests lhs, LVNTests rhs) { in causeNPE2() argument 9694 LVNTests link1 = lhs.link; in causeNPE2() 9696 LVNTests link2 = lhs.link; in causeNPE2()
|
/art/runtime/base/ |
D | logging.h | 38 UNLIKELY(!(_values.lhs OP _values.rhs)); /* empty */) \ 41 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " 154 EagerEvaluator(LHS lhs, RHS rhs) : lhs(lhs), rhs(rhs) { } in EagerEvaluator() 155 LHS lhs; member 166 EagerEvaluator(T1 lhs, T2 rhs) \ 167 : lhs(reinterpret_cast<const void*>(lhs)), \ 169 const void* lhs; \ 186 EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { in MakeEagerEvaluator() argument 187 return EagerEvaluator<LHS, RHS>(lhs, rhs); in MakeEagerEvaluator()
|
D | mutex.cc | 70 static bool ComputeRelativeTimeSpec(timespec* result_ts, const timespec& lhs, const timespec& rhs) { in ComputeRelativeTimeSpec() argument 72 result_ts->tv_sec = lhs.tv_sec - rhs.tv_sec; in ComputeRelativeTimeSpec() 73 result_ts->tv_nsec = lhs.tv_nsec - rhs.tv_nsec; in ComputeRelativeTimeSpec()
|
/art/compiler/ |
D | oat_writer.h | 309 bool operator()(const CompiledMethod* lhs, const CompiledMethod* rhs) const { in operator() 310 if (lhs->GetQuickCode() != rhs->GetQuickCode()) { in operator() 311 return lhs->GetQuickCode() < rhs->GetQuickCode(); in operator() 314 if (UNLIKELY(&lhs->GetMappingTable() != &rhs->GetMappingTable())) { in operator() 315 return &lhs->GetMappingTable() < &rhs->GetMappingTable(); in operator() 317 if (UNLIKELY(&lhs->GetVmapTable() != &rhs->GetVmapTable())) { in operator() 318 return &lhs->GetVmapTable() < &rhs->GetVmapTable(); in operator() 320 if (UNLIKELY(&lhs->GetGcMap() != &rhs->GetGcMap())) { in operator() 321 return &lhs->GetGcMap() < &rhs->GetGcMap(); in operator()
|
/art/compiler/utils/ |
D | swap_space.h | 48 inline bool operator==(const SpaceChunk& lhs, const SpaceChunk& rhs) { 49 return (lhs.size == rhs.size) && (lhs.ptr == rhs.ptr); 87 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) { in operator() 88 if (lhs.first != rhs.first) { in operator() 89 return lhs.first < rhs.first; in operator() 91 return lhs.second->Start() < rhs.second->Start(); in operator()
|
D | scoped_arena_containers.h | 168 friend bool operator==(const ScopedArenaAllocatorAdapter<U>& lhs, 173 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs, 175 return lhs.arena_stack_ == rhs.arena_stack_; 179 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs, 181 return !(lhs == rhs);
|
D | arena_containers.h | 183 friend bool operator==(const ArenaAllocatorAdapter<U>& lhs, 188 inline bool operator==(const ArenaAllocatorAdapter<T>& lhs, 190 return lhs.arena_allocator_ == rhs.arena_allocator_; 194 inline bool operator!=(const ArenaAllocatorAdapter<T>& lhs, 196 return !(lhs == rhs);
|
/art/runtime/verifier/ |
D | reg_type.cc | 709 static bool AssignableFrom(RegType& lhs, RegType& rhs, bool strict) in AssignableFrom() argument 711 if (lhs.Equals(rhs)) { in AssignableFrom() 714 if (lhs.IsBoolean()) { in AssignableFrom() 716 } else if (lhs.IsByte()) { in AssignableFrom() 718 } else if (lhs.IsShort()) { in AssignableFrom() 720 } else if (lhs.IsChar()) { in AssignableFrom() 722 } else if (lhs.IsInteger()) { in AssignableFrom() 724 } else if (lhs.IsFloat()) { in AssignableFrom() 726 } else if (lhs.IsLongLo()) { in AssignableFrom() 728 } else if (lhs.IsDoubleLo()) { in AssignableFrom() [all …]
|
/art/runtime/mirror/ |
D | string.cc | 203 String* lhs = this; in CompareTo() local 204 if (lhs == rhs) { in CompareTo() 213 int32_t lhsCount = lhs->GetLength(); in CompareTo() 217 const uint16_t* lhsChars = lhs->GetCharArray()->GetData() + lhs->GetOffset(); in CompareTo()
|
/art/runtime/jdwp/ |
D | jdwp_main.cc | 608 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator ==() argument 609 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && in operator ==() 610 lhs.class_id == rhs.class_id && lhs.type_tag == rhs.type_tag; in operator ==() 613 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator !=() argument 614 return !(lhs == rhs); in operator !=()
|
D | jdwp.h | 89 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs); 90 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs);
|
/art/compiler/optimizing/ |
D | code_generator_x86_64.cc | 403 Location lhs = if_instr->GetLocations()->InAt(0); in VisitIf() local 404 if (lhs.IsRegister()) { in VisitIf() 405 __ cmpl(lhs.AsX86_64().AsCpuRegister(), Immediate(0)); in VisitIf() 407 __ cmpl(Address(CpuRegister(RSP), lhs.GetStackIndex()), Immediate(0)); in VisitIf() 411 Location lhs = condition->GetLocations()->InAt(0); in VisitIf() local 414 __ cmpl(lhs.AsX86_64().AsCpuRegister(), rhs.AsX86_64().AsCpuRegister()); in VisitIf() 416 __ cmpl(lhs.AsX86_64().AsCpuRegister(), in VisitIf() 419 __ cmpl(lhs.AsX86_64().AsCpuRegister(), Address(CpuRegister(RSP), rhs.GetStackIndex())); in VisitIf()
|
D | code_generator_x86.cc | 522 Location lhs = if_instr->GetLocations()->InAt(0); in VisitIf() local 523 if (lhs.IsRegister()) { in VisitIf() 524 __ cmpl(lhs.AsX86().AsCpuRegister(), Immediate(0)); in VisitIf() 526 __ cmpl(Address(ESP, lhs.GetStackIndex()), Immediate(0)); in VisitIf() 530 Location lhs = condition->GetLocations()->InAt(0); in VisitIf() local 534 __ cmpl(lhs.AsX86().AsCpuRegister(), rhs.AsX86().AsCpuRegister()); in VisitIf() 538 __ cmpl(lhs.AsX86().AsCpuRegister(), imm); in VisitIf() 540 __ cmpl(lhs.AsX86().AsCpuRegister(), Address(ESP, rhs.GetStackIndex())); in VisitIf()
|