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