Searched defs:lhs (Results 1 - 25 of 34) sorted by relevance

12

/art/compiler/dex/
H A Dreg_storage_eq.h28 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 Dglobal_value_numbering.h152 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 Dlocal_value_numbering.h162 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 Dmir_analysis.cc1319 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 Dclass_reference.h30 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 Dutf.cc138 const uint16_t lhs = GetLeadingUtf16Char(pair); local
141 if (lhs != rhs) {
142 return lhs > rhs ? 1 : -1;
H A Dindirect_reference_table.h255 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 Dsafe_map.h124 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 DZeroTests.java42 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 Dreg_type-inl.h64 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/test/137-cfi/src/
H A DMain.java149 public int compare(Main lhs, Main rhs) { argument
/art/compiler/
H A Dcfi_test.h128 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;
H A Dcompiled_method.h287 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...]
/art/compiler/optimizing/
H A Dboolean_simplifier.cc70 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 Dcodegen_test.cc640 int lhs[] = {1, 2, -1, 2, 0xabc}; local
643 for (size_t i = 0; i < arraysize(lhs); i++) {
662 HIntConstant* cst_lhs = graph->GetIntConstant(lhs[i]);
675 RunCodeOptimized(graph, hook_before_codegen, true, lhs[i] < rhs[i]);
685 int lhs[] = {1, 2, -1, 2, 0xabc}; local
689 for (size_t i = 0; i < arraysize(lhs); i++) {
717 HIntConstant* cst_lhs = graph->GetIntConstant(lhs[i]);
741 RunCodeOptimized(graph, hook_before_codegen, true, lhs[i] < rhs[i]);
H A Dgraph_checker.cc544 HInstruction* lhs = op->InputAt(0); local
546 if (PrimitiveKind(lhs->GetType()) != PrimitiveKind(rhs->GetType())) {
550 Primitive::PrettyDescriptor(lhs->GetType()),
554 if ((lhs->GetType() == Primitive::kPrimNot)) {
/art/runtime/base/
H A Darena_containers.h180 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 Dscoped_arena_containers.h177 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 Dbit_utils.h287 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/cmdline/
H A Dcmdline_parser_test.cc32 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/compiler/utils/
H A Darray_ref.h170 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 Dswap_space.h47 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();
H A Dtest_dex_file_builder.h263 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...]
/art/runtime/jdwp/
H A Djdwp_main.cc639 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/runtime/mirror/
H A Dstring.cc225 String* lhs = this; local
226 if (lhs == rhs) {
235 int32_t lhsCount = lhs->GetLength();
239 const uint16_t* lhsChars = lhs->GetValue();

Completed in 385 milliseconds

12