Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 240) sorted by relevance

12345678910

/art/libdexfile/dex/
Ddex_file_types.h42 bool operator==(const StringIndex& other) const {
43 return index_ == other.index_;
45 bool operator!=(const StringIndex& other) const {
46 return index_ != other.index_;
48 bool operator<(const StringIndex& other) const {
49 return index_ < other.index_;
51 bool operator<=(const StringIndex& other) const {
52 return index_ <= other.index_;
54 bool operator>(const StringIndex& other) const {
55 return index_ > other.index_;
[all …]
/art/compiler/utils/mips/
Dmanaged_register_mips.cc24 bool MipsManagedRegister::Overlaps(const MipsManagedRegister& other) const { in Overlaps()
25 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps()
27 CHECK(other.IsValidManagedRegister()); in Overlaps()
28 if (Equals(other)) return true; in Overlaps()
32 return MipsManagedRegister::FromCoreRegister(low).Overlaps(other) || in Overlaps()
33 MipsManagedRegister::FromCoreRegister(high).Overlaps(other); in Overlaps()
36 if (other.IsDRegister()) return Equals(other); in Overlaps()
37 if (other.IsFRegister()) { in Overlaps()
40 FRegister other_freg = other.AsFRegister(); in Overlaps()
45 if (other.IsRegisterPair() || other.IsOverlappingDRegister()) { in Overlaps()
[all …]
/art/libartbase/base/
Ddebug_stack.h59 DebugStackReferenceImpl(const DebugStackReferenceImpl& other) = default;
60 DebugStackReferenceImpl& operator=(const DebugStackReferenceImpl& other) = default;
68 DebugStackIndirectTopRefImpl(const DebugStackIndirectTopRefImpl& other) = default;
69 DebugStackIndirectTopRefImpl& operator=(const DebugStackIndirectTopRefImpl& other) = default;
95 DebugStackReferenceImpl(const DebugStackReferenceImpl& other) in DebugStackReferenceImpl() argument
96 : counter_(other.counter_), ref_count_(counter_->IncrementRefCount()) { in DebugStackReferenceImpl()
98 DebugStackReferenceImpl(DebugStackReferenceImpl&& other) in DebugStackReferenceImpl() argument
99 : counter_(other.counter_), ref_count_(other.ref_count_) { in DebugStackReferenceImpl()
100 other.counter_ = nullptr; in DebugStackReferenceImpl()
102 DebugStackReferenceImpl& operator=(const DebugStackReferenceImpl& other) {
[all …]
Dhash_set.h76 bool operator==(const BaseIterator& other) const {
77 return hash_set_ == other.hash_set_ && this->index_ == other.index_;
80 bool operator!=(const BaseIterator& other) const {
81 return !(*this == other);
173 HashSet(const HashSet& other) noexcept in HashSet() argument
174 : allocfn_(other.allocfn_), in HashSet()
175 hashfn_(other.hashfn_), in HashSet()
176 emptyfn_(other.emptyfn_), in HashSet()
177 pred_(other.pred_), in HashSet()
178 num_elements_(other.num_elements_), in HashSet()
[all …]
Dbit_vector.h52 bool operator==(const IndexIterator& other) const;
54 bool operator!=(const IndexIterator& other) const {
55 return !(*this == other);
104 BitVector(const BitVector& other) = delete;
105 BitVector& operator=(const BitVector& other) = delete;
107 BitVector(BitVector&& other) in BitVector() argument
108 : storage_(other.storage_), in BitVector()
109 storage_size_(other.storage_size_), in BitVector()
110 allocator_(other.allocator_), in BitVector()
111 expandable_(other.expandable_) { in BitVector()
[all …]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DValue.java229 public abstract boolean equals(Object other); in equals() argument
248 @Override public boolean equals(Object other) { in equals() argument
249 if (other instanceof BooleanValue) { in equals()
250 BooleanValue value = (BooleanValue)other; in equals()
279 @Override public boolean equals(Object other) { in equals() argument
280 if (other instanceof ByteValue) { in equals()
281 ByteValue value = (ByteValue)other; in equals()
310 @Override public boolean equals(Object other) { in equals() argument
311 if (other instanceof CharValue) { in equals()
312 CharValue value = (CharValue)other; in equals()
[all …]
DSize.java91 public Size plus(Size other) { in plus() argument
93 return other; in plus()
94 } else if (other.isZero()) { in plus()
97 return new Size(mJavaSize + other.mJavaSize, in plus()
98 mRegisteredNativeSize + other.mRegisteredNativeSize); in plus()
113 @Override public boolean equals(Object other) { in equals() argument
114 if (other instanceof Size) { in equals()
115 Size s = (Size)other; in equals()
/art/compiler/utils/arm/
Dmanaged_register_arm.cc25 bool ArmManagedRegister::Overlaps(const ArmManagedRegister& other) const { in Overlaps()
26 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps()
27 if (Equals(other)) return true; in Overlaps()
31 return ArmManagedRegister::FromCoreRegister(low).Overlaps(other) || in Overlaps()
32 ArmManagedRegister::FromCoreRegister(high).Overlaps(other); in Overlaps()
35 if (other.IsDRegister()) return Equals(other); in Overlaps()
36 if (other.IsSRegister()) { in Overlaps()
39 SRegister other_sreg = other.AsSRegister(); in Overlaps()
44 if (other.IsRegisterPair() || other.IsOverlappingDRegister()) { in Overlaps()
45 return other.Overlaps(*this); in Overlaps()
/art/compiler/utils/mips64/
Dmanaged_register_mips64.cc24 bool Mips64ManagedRegister::Overlaps(const Mips64ManagedRegister& other) const { in Overlaps()
25 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps()
27 CHECK(other.IsValidManagedRegister()); in Overlaps()
28 if (Equals(other)) return true; in Overlaps()
29 if (IsFpuRegister() && other.IsVectorRegister()) { in Overlaps()
30 return (AsFpuRegister() == other.AsOverlappingFpuRegister()); in Overlaps()
31 } else if (IsVectorRegister() && other.IsFpuRegister()) { in Overlaps()
32 return (AsVectorRegister() == other.AsOverlappingVectorRegister()); in Overlaps()
/art/test/utils/python/testgen/
Dmixins.py94 def __lt__(self, other): argument
95 return self.get_name() < other.get_name()
97 def __gt__(self, other): argument
98 return self.get_name() > other.get_name()
100 def __eq__(self, other): argument
101 return self.get_name() == other.get_name()
103 def __le__(self, other): argument
104 return self.get_name() <= other.get_name()
106 def __ge__(self, other): argument
107 return self.get_name() >= other.get_name()
[all …]
/art/compiler/optimizing/
Dscheduler.cc54 static bool MayHaveReorderingDependency(SideEffects node, SideEffects other) { in MayHaveReorderingDependency() argument
56 if (node.MayDependOn(other)) { in MayHaveReorderingDependency()
61 if (other.MayDependOn(node)) { in MayHaveReorderingDependency()
66 if (node.DoesAnyWrite() && other.DoesAnyWrite()) { in MayHaveReorderingDependency()
82 const HInstruction* other) const { in ArrayAccessMayAlias()
85 size_t other_heap_loc = ArrayAccessHeapLocation(other->InputAt(0), other->InputAt(1)); in ArrayAccessMayAlias()
164 const HInstruction* other) const { in FieldAccessMayAlias()
168 if ((IsInstanceFieldAccess(node) && IsStaticFieldAccess(other)) || in FieldAccessMayAlias()
169 (IsStaticFieldAccess(node) && IsInstanceFieldAccess(other))) { in FieldAccessMayAlias()
174 if (IsUnresolvedFieldAccess(node) || IsUnresolvedFieldAccess(other)) { in FieldAccessMayAlias()
[all …]
/art/test/1934-jvmti-signal-thread/
Dexpected.txt2 interrupting other thread before starting
5 stopping other thread before starting
8 Interrupting other thread recurring
11 stopping other thread recurring
14 Interrupting other thread spinning
17 stopping other thread spinning
20 interrupting other thread waiting
23 stopping other thread waiting
26 stopping other thread
/art/test/1904-double-suspend/src/art/
DTest1904.java60 Thread other = new Thread(new OtherThread(), "TARGET THREAD"); in run() local
62 other.start(); in run()
66 Suspension.suspend(other); in run()
68 waitForSuspension(other); in run()
78 Suspension.suspend(other); in run()
84 Suspension.resume(other); in run()
96 other.join(1000); in run()
98 if (other.isAlive()) { in run()
/art/test/1902-suspend/src/art/
DTest1902.java60 Thread other = new Thread(new OtherThread(), "TARGET THREAD"); in run() local
62 other.start(); in run()
75 Suspension.resume(other); in run()
82 Suspension.suspend(other); in run()
84 waitForSuspension(other); in run()
93 Suspension.resume(other); in run()
105 other.join(1000); in run()
107 if (other.isAlive()) { in run()
/art/openjdkjvmti/
Djvmti_allocator.h55 typedef JvmtiAllocator<U> other; typedef
62 JvmtiAllocator(const JvmtiAllocator<U>& other) in JvmtiAllocator() argument
63 : env_(other.env_) {} in JvmtiAllocator()
65 JvmtiAllocator(const JvmtiAllocator& other) = default;
66 JvmtiAllocator& operator=(const JvmtiAllocator& other) = default;
92 typedef JvmtiAllocator<U> other; typedef
99 JvmtiAllocator(const JvmtiAllocator<U>& other) in JvmtiAllocator() argument
100 : env_(other.env_) {} in JvmtiAllocator()
102 JvmtiAllocator(const JvmtiAllocator& other) = default;
103 JvmtiAllocator& operator=(const JvmtiAllocator& other) = default;
[all …]
/art/compiler/utils/
Dmanaged_register.h53 constexpr ManagedRegister(const ManagedRegister& other) = default;
55 ManagedRegister& operator=(const ManagedRegister& other) = default;
65 constexpr bool Equals(const ManagedRegister& other) const { in Equals() argument
66 return id_ == other.id_; in Equals()
95 ManagedRegisterSpill(const ManagedRegister& other, uint32_t size, uint32_t spill_offset) in ManagedRegisterSpill() argument
96 : ManagedRegister(other), size_(size), spill_offset_(spill_offset) { } in ManagedRegisterSpill()
98 explicit ManagedRegisterSpill(const ManagedRegister& other) in ManagedRegisterSpill() argument
99 : ManagedRegister(other), size_(-1), spill_offset_(-1) { } in ManagedRegisterSpill()
101 ManagedRegisterSpill(const ManagedRegister& other, int32_t size) in ManagedRegisterSpill() argument
102 : ManagedRegister(other), size_(size), spill_offset_(-1) { } in ManagedRegisterSpill()
Dswap_space.h122 typedef SwapAllocator<U> other; typedef
128 SwapAllocator(const SwapAllocator<U>& other) in SwapAllocator() argument
129 : swap_space_(other.swap_space_) {} in SwapAllocator()
131 SwapAllocator(const SwapAllocator& other) = default;
132 SwapAllocator& operator=(const SwapAllocator& other) = default;
158 typedef SwapAllocator<U> other; typedef
164 SwapAllocator(const SwapAllocator<U>& other) in SwapAllocator() argument
165 : swap_space_(other.swap_space_) {} in SwapAllocator()
167 SwapAllocator(const SwapAllocator& other) = default;
168 SwapAllocator& operator=(const SwapAllocator& other) = default;
[all …]
/art/tools/checker/file_format/c1visualizer/
Dstruct.py33 def __eq__(self, other): argument
34 return isinstance(other, self.__class__) \
35 and self.passes == other.passes
57 def __eq__(self, other): argument
58 return isinstance(other, self.__class__) \
59 and self.name == other.name \
60 and self.body == other.body
/art/tools/checker/file_format/checker/
Dstruct.py32 def __eq__(self, other): argument
33 return isinstance(other, self.__class__) \
34 and self.testCases == other.testCases
68 def __eq__(self, other): argument
69 return isinstance(other, self.__class__) \
70 and self.name == other.name \
71 and self.assertions == other.assertions
112 def __eq__(self, other): argument
113 return isinstance(other, self.__class__) \
114 and self.variant == other.variant \
[all …]
/art/compiler/utils/x86/
Dmanaged_register_x86.cc62 bool X86ManagedRegister::Overlaps(const X86ManagedRegister& other) const { in Overlaps()
63 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps()
65 CHECK(other.IsValidManagedRegister()); in Overlaps()
66 if (Equals(other)) return true; in Overlaps()
70 return X86ManagedRegister::FromCpuRegister(low).Overlaps(other) || in Overlaps()
71 X86ManagedRegister::FromCpuRegister(high).Overlaps(other); in Overlaps()
73 if (other.IsRegisterPair()) { in Overlaps()
74 return other.Overlaps(*this); in Overlaps()
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64.cc57 bool X86_64ManagedRegister::Overlaps(const X86_64ManagedRegister& other) const { in Overlaps()
58 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps()
60 CHECK(other.IsValidManagedRegister()); in Overlaps()
61 if (Equals(other)) return true; in Overlaps()
65 return X86_64ManagedRegister::FromCpuRegister(low).Overlaps(other) || in Overlaps()
66 X86_64ManagedRegister::FromCpuRegister(high).Overlaps(other); in Overlaps()
68 if (other.IsRegisterPair()) { in Overlaps()
69 return other.Overlaps(*this); in Overlaps()
/art/runtime/ti/
Dagent.cc177 Agent::Agent(Agent&& other) in Agent() argument
182 *this = std::move(other); in Agent()
185 Agent& Agent::operator=(Agent&& other) { in operator =() argument
186 if (this != &other) { in operator =()
190 name_ = std::move(other.name_); in operator =()
191 dlopen_handle_ = other.dlopen_handle_; in operator =()
192 onload_ = other.onload_; in operator =()
193 onattach_ = other.onattach_; in operator =()
194 onunload_ = other.onunload_; in operator =()
195 other.dlopen_handle_ = nullptr; in operator =()
[all …]
/art/test/1927-exception-event/src/art/
DBreakpoint.java40 public boolean equals(Object other) { in equals() argument
41 return (other instanceof BP) && in equals()
42 method.equals(((BP)other).method) && in equals()
43 location == ((BP)other).location; in equals()
129 public boolean equals(Object other) { in equals() argument
130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals()
131 ((LineNumber)other).location == location; in equals()
134 public int compareTo(LineNumber other) { in compareTo() argument
135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo()
139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
/art/test/1928-exception-event-exception/src/art/
DBreakpoint.java40 public boolean equals(Object other) { in equals() argument
41 return (other instanceof BP) && in equals()
42 method.equals(((BP)other).method) && in equals()
43 location == ((BP)other).location; in equals()
129 public boolean equals(Object other) { in equals() argument
130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals()
131 ((LineNumber)other).location == location; in equals()
134 public int compareTo(LineNumber other) { in compareTo() argument
135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo()
139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
/art/test/1917-get-stack-frame/src/art/
DBreakpoint.java40 public boolean equals(Object other) { in equals() argument
41 return (other instanceof BP) && in equals()
42 method.equals(((BP)other).method) && in equals()
43 location == ((BP)other).location; in equals()
129 public boolean equals(Object other) { in equals() argument
130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals()
131 ((LineNumber)other).location == location; in equals()
134 public int compareTo(LineNumber other) { in compareTo() argument
135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo()
139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()

12345678910