Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 111) sorted by relevance

12345

/art/runtime/arch/arm64/
Dregisters_arm64.cc38 std::ostream& operator<<(std::ostream& os, const XRegister& rhs) { in operator <<() argument
39 if (rhs >= X0 && rhs < kNumberOfXRegisters) { in operator <<()
40 os << kRegisterNames[rhs]; in operator <<()
42 os << "XRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
47 std::ostream& operator<<(std::ostream& os, const WRegister& rhs) { in operator <<() argument
48 if (rhs >= W0 && rhs < kNumberOfWRegisters) { in operator <<()
49 os << kWRegisterNames[rhs]; in operator <<()
51 os << "WRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
56 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument
57 if (rhs >= D0 && rhs < kNumberOfDRegisters) { in operator <<()
[all …]
Dregisters_arm64.h71 std::ostream& operator<<(std::ostream& os, const XRegister& rhs);
111 std::ostream& operator<<(std::ostream& os, const WRegister& rhs);
150 std::ostream& operator<<(std::ostream& os, const DRegister& rhs);
189 std::ostream& operator<<(std::ostream& os, const SRegister& rhs);
/art/runtime/arch/x86_64/
Dregisters_x86_64.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
29 if (rhs >= RAX && rhs <= R15) { in operator <<()
30 os << kRegisterNames[rhs]; in operator <<()
32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) { in operator <<() argument
38 if (rhs >= XMM0 && rhs <= XMM15) { in operator <<()
39 os << "xmm" << static_cast<int>(rhs); in operator <<()
41 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/runtime/arch/mips/
Dregisters_mips.cc30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
31 if (rhs >= ZERO && rhs <= RA) { in operator <<()
32 os << kRegisterNames[rhs]; in operator <<()
34 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { in operator <<() argument
40 if (rhs >= F0 && rhs < kNumberOfFRegisters) { in operator <<()
41 os << "f" << static_cast<int>(rhs); in operator <<()
43 os << "FRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/runtime/arch/mips64/
Dregisters_mips64.cc31 std::ostream& operator<<(std::ostream& os, const GpuRegister& rhs) { in operator <<() argument
32 if (rhs >= ZERO && rhs < kNumberOfGpuRegisters) { in operator <<()
33 os << kRegisterNames[rhs]; in operator <<()
35 os << "GpuRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
40 std::ostream& operator<<(std::ostream& os, const FpuRegister& rhs) { in operator <<() argument
41 if (rhs >= F0 && rhs < kNumberOfFpuRegisters) { in operator <<()
42 os << "f" << static_cast<int>(rhs); in operator <<()
44 os << "FpuRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/runtime/arch/arm/
Dregisters_arm.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
29 if (rhs >= R0 && rhs <= PC) { in operator <<()
30 os << kRegisterNames[rhs]; in operator <<()
32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { in operator <<() argument
38 if (rhs >= S0 && rhs < kNumberOfSRegisters) { in operator <<()
39 os << "s" << static_cast<int>(rhs); in operator <<()
41 os << "SRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/runtime/verifier/
Dreg_type-inl.h64 inline bool RegType::AssignableFrom(const RegType& lhs, const RegType& rhs, bool strict) { in AssignableFrom() argument
65 if (lhs.Equals(rhs)) { in AssignableFrom()
69 return rhs.IsBooleanTypes(); in AssignableFrom()
71 return rhs.IsByteTypes(); in AssignableFrom()
73 return rhs.IsShortTypes(); in AssignableFrom()
75 return rhs.IsCharTypes(); in AssignableFrom()
77 return rhs.IsIntegralTypes(); in AssignableFrom()
79 return rhs.IsFloatTypes(); in AssignableFrom()
81 return rhs.IsLongTypes(); in AssignableFrom()
83 return rhs.IsDoubleTypes(); in AssignableFrom()
[all …]
/art/runtime/
Ddex_file-inl.h60 inline bool Signature::operator==(const Signature& rhs) const {
62 return rhs.dex_file_ == nullptr;
64 if (rhs.dex_file_ == nullptr) {
67 if (dex_file_ == rhs.dex_file_) {
68 return proto_id_ == rhs.proto_id_;
77 rhs.dex_file_->StringDataAndUtf16LengthByIdx(rhs.proto_id_->shorty_idx_,
87 rhs.dex_file_->GetTypeId(rhs.proto_id_->return_type_idx_);
89 rhs.dex_file_, rhs_return_type_id.descriptor_idx_)) {
95 const DexFile::TypeList* rhs_params = rhs.dex_file_->GetProtoParameters(*rhs.proto_id_);
104 rhs.dex_file_->GetTypeId(rhs_params->GetTypeItem(i).type_idx_);
[all …]
Dmapping_table.h96 bool operator==(const DexToPcIterator& rhs) const {
97 CHECK(table_ == rhs.table_);
98 return element_ == rhs.element_;
100 bool operator!=(const DexToPcIterator& rhs) const {
101 CHECK(table_ == rhs.table_);
102 return element_ != rhs.element_;
173 bool operator==(const PcToDexIterator& rhs) const {
174 CHECK(table_ == rhs.table_);
175 return element_ == rhs.element_;
177 bool operator!=(const PcToDexIterator& rhs) const {
[all …]
Dclass_reference.h30 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);
Dindirect_reference_table.h121 std::ostream& operator<<(std::ostream& os, const IndirectRefKind& rhs);
245 bool equals(const IrtIterator& rhs) const { in equals() argument
246 return (i_ == rhs.i_ && table_ == rhs.table_); in equals()
255 bool inline operator==(const IrtIterator& lhs, const IrtIterator& rhs) {
256 return lhs.equals(rhs);
259 bool inline operator!=(const IrtIterator& lhs, const IrtIterator& rhs) {
260 return !lhs.equals(rhs);
Dsafe_map.h52 Self& operator=(const Self& rhs) {
53 map_ = rhs.map_;
115 bool Equals(const Self& rhs) const { in Equals() argument
116 return map_ == rhs.map_; in Equals()
125 const SafeMap<K, V, Comparator, Allocator>& rhs) {
126 return lhs.Equals(rhs);
131 const SafeMap<K, V, Comparator, Allocator>& rhs) {
132 return !(lhs == rhs);
/art/runtime/arch/x86/
Dregisters_x86.cc27 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
28 if (rhs >= EAX && rhs <= EDI) { in operator <<()
29 os << kRegisterNames[rhs]; in operator <<()
31 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/compiler/
Dcompiled_method.h52 bool operator==(const CompiledCode& rhs) const;
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) {
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) {
[all …]
Doutput_stream.cc21 std::ostream& operator<<(std::ostream& os, const Whence& rhs) { in operator <<() argument
22 switch (rhs) { in operator <<()
/art/compiler/dex/
Dreg_storage_eq.h28 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);
Dlocal_value_numbering.h162 bool operator()(const RangeCheckKey& lhs, const RangeCheckKey& rhs) const { in operator()
163 if (lhs.array != rhs.array) { in operator()
164 return lhs.array < rhs.array; in operator()
166 return lhs.index < rhs.index; in operator()
190 bool operator()(const EscapedIFieldClobberKey& lhs, const EscapedIFieldClobberKey& rhs) const { in operator()
192 if (lhs.base != rhs.base) { in operator()
193 return lhs.base < rhs.base; in operator()
198 if (lhs.type != rhs.type) { in operator()
199 return lhs.type < rhs.type; in operator()
201 return lhs.field_id < rhs.field_id; in operator()
[all …]
Dcompiler_enums.h31 std::ostream& operator<<(std::ostream& os, const RegisterClass& rhs);
41 std::ostream& operator<<(std::ostream& os, const BitsUsed& rhs);
88 std::ostream& operator<<(std::ostream& os, const RegLocationType& rhs);
121 std::ostream& operator<<(std::ostream& os, const LIRPseudoOpcode& rhs);
372 std::ostream& operator<<(std::ostream& os, const BlockListType& rhs);
378 std::ostream& operator<<(std::ostream& os, const AssemblerStatus& rhs);
433 std::ostream& operator<<(std::ostream& os, const OpKind& rhs);
629 std::ostream& operator<<(std::ostream& os, const OpFeatureFlags& rhs);
/art/runtime/jdwp/
Djdwp_main.cc632 std::ostream& operator<<(std::ostream& os, const JdwpLocation& rhs) { in operator <<() argument
634 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) in operator <<()
635 << "@" << StringPrintf("%#" PRIx64, rhs.dex_pc) << " " << rhs.type_tag << "]"; in operator <<()
639 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator ==() argument
640 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && in operator ==()
641 lhs.class_id == rhs.class_id && lhs.type_tag == rhs.type_tag; in operator ==()
644 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator !=() argument
645 return !(lhs == rhs); in operator !=()
648 bool operator==(const JdwpOptions& lhs, const JdwpOptions& rhs) { in operator ==() argument
649 if (&lhs == &rhs) { in operator ==()
[all …]
/art/test/083-compiler-regressions/src/
DZeroTests.java42 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()
/art/compiler/utils/
Dtest_dex_file_builder.h263 bool operator()(const FieldKey& lhs, const FieldKey& rhs) const { in operator()
264 if (lhs.class_descriptor != rhs.class_descriptor) { in operator()
265 return lhs.class_descriptor < rhs.class_descriptor; in operator()
267 if (lhs.name != rhs.name) { in operator()
268 return lhs.name < rhs.name; in operator()
270 return lhs.type < rhs.type; in operator()
280 bool operator()(const ProtoKey& lhs, const ProtoKey& rhs) const { in operator()
281 if (lhs.return_type != rhs.return_type) { in operator()
282 return lhs.return_type < rhs.return_type; in operator()
284 size_t min_args = std::min(lhs.args.size(), rhs.args.size()); in operator()
[all …]
Dswap_space.h47 inline bool operator==(const SpaceChunk& lhs, const SpaceChunk& rhs) {
48 return (lhs.size == rhs.size) && (lhs.ptr == rhs.ptr);
86 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) { in operator()
87 if (lhs.first != rhs.first) { in operator()
88 return lhs.first < rhs.first; in operator()
90 return lhs.second->Start() < rhs.second->Start(); in operator()
/art/compiler/optimizing/
Dboolean_simplifier.cc71 HInstruction* rhs = cond->InputAt(1); in GetOppositeCondition() local
73 return new (allocator) HNotEqual(lhs, rhs); in GetOppositeCondition()
75 return new (allocator) HEqual(lhs, rhs); in GetOppositeCondition()
77 return new (allocator) HGreaterThanOrEqual(lhs, rhs); in GetOppositeCondition()
79 return new (allocator) HGreaterThan(lhs, rhs); in GetOppositeCondition()
81 return new (allocator) HLessThanOrEqual(lhs, rhs); in GetOppositeCondition()
84 return new (allocator) HLessThan(lhs, rhs); in GetOppositeCondition()
/art/runtime/base/
Dlogging.h120 UNLIKELY(!(_values.lhs OP _values.rhs)); /* empty */) \
123 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") "
196 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { } in EagerEvaluator()
198 RHS rhs; member
203 static inline EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { in MakeEagerEvaluator() argument
204 return EagerEvaluator<LHS, RHS>(lhs, rhs); in MakeEagerEvaluator()
214 rhs(reinterpret_cast<const void*>(r)) { } \
216 const void* rhs; \
/art/cmdline/
Dcmdline_parser_test.cc32 bool operator==(const TestProfilerOptions& lhs, const TestProfilerOptions& rhs) { in operator ==() argument
33 return lhs.enabled_ == rhs.enabled_ && in operator ==()
34 lhs.output_file_name_ == rhs.output_file_name_ && in operator ==()
35 lhs.period_s_ == rhs.period_s_ && in operator ==()
36 lhs.duration_s_ == rhs.duration_s_ && in operator ==()
37 lhs.interval_us_ == rhs.interval_us_ && in operator ==()
38 UsuallyEquals(lhs.backoff_coefficient_, rhs.backoff_coefficient_) && in operator ==()
39 UsuallyEquals(lhs.start_immediately_, rhs.start_immediately_) && in operator ==()
40 UsuallyEquals(lhs.top_k_threshold_, rhs.top_k_threshold_) && in operator ==()
41 UsuallyEquals(lhs.top_k_change_threshold_, rhs.top_k_change_threshold_) && in operator ==()
[all …]

12345