/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);
|
/art/runtime/arch/arm/ |
H A D | registers_arm.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument 29 if (rhs >= R0 && rhs <= PC) { 30 os << kRegisterNames[rhs]; 32 os << "Register[" << static_cast<int>(rhs) << "]"; 37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { argument 38 if (rhs >= S0 && rhs < kNumberOfSRegisters) { 39 os << "s" << static_cast<int>(rhs); 41 os << "SRegister[" << static_cast<int>(rhs) << "]"; [all...] |
/art/runtime/arch/arm64/ |
H A D | registers_arm64.cc | 38 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument 39 if (rhs >= X0 && rhs <= XZR) { 40 os << kRegisterNames[rhs]; 42 os << "XRegister[" << static_cast<int>(rhs) << "]"; 47 std::ostream& operator<<(std::ostream& os, const WRegister& rhs) { argument 48 if (rhs >= W0 && rhs <= WZR) { 49 os << kWRegisterNames[rhs]; 51 os << "WRegister[" << static_cast<int>(rhs) << "]"; 56 operator <<(std::ostream& os, const DRegister& rhs) argument 65 operator <<(std::ostream& os, const SRegister& rhs) argument [all...] |
/art/runtime/arch/mips/ |
H A D | registers_mips.cc | 30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument 31 if (rhs >= ZERO && rhs <= RA) { 32 os << kRegisterNames[rhs]; 34 os << "Register[" << static_cast<int>(rhs) << "]"; 39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { argument 40 if (rhs >= F0 && rhs < kNumberOfFRegisters) { 41 os << "f" << static_cast<int>(rhs); 43 os << "FRegister[" << static_cast<int>(rhs) << "]"; [all...] |
/art/runtime/arch/x86/ |
H A D | registers_x86.cc | 27 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument 28 if (rhs >= EAX && rhs <= EDI) { 29 os << kRegisterNames[rhs]; 31 os << "Register[" << static_cast<int>(rhs) << "]";
|
/art/runtime/arch/x86_64/ |
H A D | registers_x86_64.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument 29 if (rhs >= RAX && rhs <= R15) { 30 os << kRegisterNames[rhs]; 32 os << "Register[" << static_cast<int>(rhs) << "]"; 37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) { argument 38 if (rhs >= XMM0 && rhs <= XMM15) { 39 os << "xmm" << static_cast<int>(rhs); 41 os << "Register[" << static_cast<int>(rhs) << "]"; [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 | indirect_reference_table.h | 121 std::ostream& operator<<(std::ostream& os, const IndirectRefKind& rhs); 225 bool equals(const IrtIterator& rhs) const { 226 return (i_ == rhs.i_ && table_ == rhs.table_); 244 bool inline operator==(const IrtIterator& lhs, const IrtIterator& rhs) { argument 245 return lhs.equals(rhs); 248 bool inline operator!=(const IrtIterator& lhs, const IrtIterator& rhs) { argument 249 return !lhs.equals(rhs);
|
H A D | safe_map.h | 51 Self& operator=(const Self& rhs) { argument 52 map_ = rhs.map_; 114 bool Equals(const Self& rhs) const { 115 return map_ == rhs.map_; 124 const SafeMap<K, V, Comparator, Allocator>& rhs) { 125 return lhs.Equals(rhs); 130 const SafeMap<K, V, Comparator, Allocator>& rhs) { 131 return !(lhs == rhs); 123 operator ==(const SafeMap<K, V, Comparator, Allocator>& lhs, const SafeMap<K, V, Comparator, Allocator>& rhs) argument 129 operator !=(const SafeMap<K, V, Comparator, Allocator>& lhs, const SafeMap<K, V, Comparator, Allocator>& rhs) argument
|
H A D | common_runtime_test.cc | 383 std::ostream& operator<<(std::ostream& os, const std::vector<T>& rhs) { argument 384 os << ::art::ToString(rhs);
|
/art/compiler/utils/arm/ |
H A D | assembler_arm.cc | 38 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument 39 if (rhs >= R0 && rhs <= PC) { 40 os << kRegisterNames[rhs]; 42 os << "Register[" << static_cast<int>(rhs) << "]"; 48 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { argument 49 if (rhs >= S0 && rhs < kNumberOfSRegisters) { 50 os << "s" << static_cast<int>(rhs); 52 os << "SRegister[" << static_cast<int>(rhs) << "]"; 58 operator <<(std::ostream& os, const DRegister& rhs) argument 67 operator <<(std::ostream& os, const Condition& rhs) argument [all...] |
/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/base/ |
H A D | hex_dump.h | 48 inline std::ostream& operator<<(std::ostream& os, const HexDump& rhs) { argument 49 rhs.Dump(os);
|
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 156 RHS rhs; member in struct:art::EagerEvaluator 166 EagerEvaluator(T1 lhs, T2 rhs) \ 168 rhs(reinterpret_cast<const void*>(rhs)) { } \ 170 const void* rhs; \ 186 MakeEagerEvaluator(LHS lhs, RHS rhs) argument 249 operator <<(std::ostream& os, const Dumpable<T>& rhs) argument 271 operator <<(std::ostream& os, const ConstDumpable<T>& 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/utils/ |
H A D | arena_containers.h | 184 const ArenaAllocatorAdapter<U>& rhs); 189 const ArenaAllocatorAdapter<T>& rhs) { 190 return lhs.arena_allocator_ == rhs.arena_allocator_; 195 const ArenaAllocatorAdapter<T>& rhs) { 196 return !(lhs == rhs); 188 operator ==(const ArenaAllocatorAdapter<T>& lhs, const ArenaAllocatorAdapter<T>& rhs) argument 194 operator !=(const ArenaAllocatorAdapter<T>& lhs, const ArenaAllocatorAdapter<T>& rhs) argument
|
H A D | scoped_arena_containers.h | 169 const ScopedArenaAllocatorAdapter<U>& rhs); 174 const ScopedArenaAllocatorAdapter<T>& rhs) { 175 return lhs.arena_stack_ == rhs.arena_stack_; 180 const ScopedArenaAllocatorAdapter<T>& rhs) { 181 return !(lhs == rhs); 173 operator ==(const ScopedArenaAllocatorAdapter<T>& lhs, const ScopedArenaAllocatorAdapter<T>& rhs) argument 179 operator !=(const ScopedArenaAllocatorAdapter<T>& lhs, const ScopedArenaAllocatorAdapter<T>& rhs) argument
|
/art/runtime/jdwp/ |
H A D | object_registry.cc | 26 std::ostream& operator<<(std::ostream& os, const ObjectRegistryEntry& rhs) { argument 27 os << "ObjectRegistryEntry[" << rhs.jni_reference_type 28 << ",reference=" << rhs.jni_reference 29 << ",count=" << rhs.reference_count 30 << ",id=" << rhs.id << "]";
|
H A D | jdwp_main.cc | 601 std::ostream& operator<<(std::ostream& os, const JdwpLocation& rhs) { argument 603 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) 604 << "@" << StringPrintf("%#" PRIx64, rhs.dex_pc) << " " << rhs.type_tag << "]"; 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 613 operator !=(const JdwpLocation& lhs, const JdwpLocation& rhs) argument [all...] |
/art/runtime/interpreter/ |
H A D | interpreter.cc | 67 String* rhs = reinterpret_cast<Object*>(args[0])->AsString(); local 68 CHECK(rhs != NULL); 69 result->SetI(receiver->AsString()->CompareTo(rhs));
|
/art/runtime/mirror/ |
H A D | string.cc | 201 int32_t String::CompareTo(String* rhs) { argument 204 if (lhs == rhs) { 214 int32_t rhsCount = rhs->GetLength(); 218 const uint16_t* rhsChars = rhs->GetCharArray()->GetData() + rhs->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)) { 715 return rhs.IsBooleanTypes(); 717 return rhs.IsByteTypes(); 719 return rhs.IsShortTypes(); 721 return rhs.IsCharTypes(); 723 return rhs.IsIntegralTypes(); 725 return rhs.IsFloatTypes(); 727 return rhs.IsLongTypes(); 729 return rhs 733 << lhs << "' := '" << rhs << "'"; local 1011 operator <<(std::ostream& os, const RegType& rhs) argument [all...] |
/art/compiler/optimizing/ |
H A D | code_generator_x86.cc | 531 Location rhs = condition->GetLocations()->InAt(1); local 533 if (rhs.IsRegister()) { 534 __ cmpl(lhs.AsX86().AsCpuRegister(), rhs.AsX86().AsCpuRegister()); 535 } else if (rhs.IsConstant()) { 536 HIntConstant* instruction = rhs.GetConstant()->AsIntConstant(); 540 __ cmpl(lhs.AsX86().AsCpuRegister(), Address(ESP, rhs.GetStackIndex()));
|
H A D | code_generator_x86_64.cc | 412 Location rhs = condition->GetLocations()->InAt(1); local 413 if (rhs.IsRegister()) { 414 __ cmpl(lhs.AsX86_64().AsCpuRegister(), rhs.AsX86_64().AsCpuRegister()); 415 } else if (rhs.IsConstant()) { 417 Immediate(rhs.GetConstant()->AsIntConstant()->GetValue())); 419 __ cmpl(lhs.AsX86_64().AsCpuRegister(), Address(CpuRegister(RSP), rhs.GetStackIndex()));
|
/art/disassembler/ |
H A D | disassembler_arm.cc | 169 std::ostream& operator<<(std::ostream& os, const ShiftedImmediate& rhs) { argument 170 os << "#" << rhs.value; 178 std::ostream& operator<<(std::ostream& os, const RegisterList& rhs) { argument 179 if (rhs.register_list == 0) { 186 if ((rhs.register_list & (1 << i)) != 0) { 219 std::ostream& operator<<(std::ostream& os, const FpRegister& rhs) { argument 220 return os << ((rhs.size != 0) ? "d" : "s") << rhs.r; 229 std::ostream& operator<<(std::ostream& os, const FpRegisterRange& rhs) { argument 230 os << "{" << rhs [all...] |