/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Size.java | 94 public Size plus(Size other) { in plus() argument 96 return other; in plus() 97 } else if (other.isZero()) { in plus() 100 return new Size(mJavaSize + other.mJavaSize, in plus() 101 mRegisteredNativeSize + other.mRegisteredNativeSize); in plus() 121 @Override public boolean equals(Object other) { in equals() argument 122 if (other instanceof Size) { in equals() 123 Size s = (Size)other; in equals() 129 @Override public int compareTo(Size other) { in compareTo() argument 131 other.mJavaSize + other.mRegisteredNativeSize); in compareTo()
|
D | Value.java | 235 public abstract boolean equals(Object other); in equals() argument 258 @Override public boolean equals(Object other) { in equals() argument 259 if (other instanceof BooleanValue) { in equals() 260 BooleanValue value = (BooleanValue)other; in equals() 293 @Override public boolean equals(Object other) { in equals() argument 294 if (other instanceof ByteValue) { in equals() 295 ByteValue value = (ByteValue)other; in equals() 328 @Override public boolean equals(Object other) { in equals() argument 329 if (other instanceof CharValue) { in equals() 330 CharValue value = (CharValue)other; in equals() [all …]
|
/art/libartbase/base/ |
D | debug_stack.h | 59 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) noexcept 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 …]
|
D | hash_set.h | 56 HashSetIterator(const HashSetIterator<OtherElem, OtherHashSetType>& other) in HashSetIterator() argument 57 : index_(other.index_), hash_set_(other.hash_set_) {} in HashSetIterator() 62 bool operator==(const HashSetIterator& other) const { 63 return hash_set_ == other.hash_set_ && this->index_ == other.index_; 66 bool operator!=(const HashSetIterator& other) const { 67 return !(*this == other); 245 HashSet(const HashSet& other) in HashSet() argument 246 : allocfn_(other.allocfn_), in HashSet() 247 hashfn_(other.hashfn_), in HashSet() 248 emptyfn_(other.emptyfn_), in HashSet() [all …]
|
D | bit_vector.h | 64 bool operator==(const IndexIterator& other) const; 66 bool operator!=(const IndexIterator& other) const { 67 return !(*this == other); 116 BitVector(const BitVector& other) = delete; 117 BitVector& operator=(const BitVector& other) = delete; 119 BitVector(BitVector&& other) noexcept in BitVector() argument 120 : storage_(other.storage_), in BitVector() 121 storage_size_(other.storage_size_), in BitVector() 122 allocator_(other.allocator_), in BitVector() 123 expandable_(other.expandable_) { in BitVector() [all …]
|
D | hiddenapi_flags.h | 261 bool operator==(const ApiList& other) const { return dex_flags_ == other.dex_flags_; } 262 bool operator!=(const ApiList& other) const { return !(*this == other); } 263 bool operator<(const ApiList& other) const { return dex_flags_ < other.dex_flags_; } 264 bool operator>(const ApiList& other) const { return dex_flags_ > other.dex_flags_; } 267 bool CanCombineWith(const ApiList& other) const { in CanCombineWith() argument 269 const Value val2 = other.GetValue(); in CanCombineWith() 274 ApiList operator|(const ApiList& other) { 276 const uint32_t domain_apis = GetDomainApis() | other.GetDomainApis(); 281 const Value val2 = other.GetValue(); 295 const ApiList& operator|=(const ApiList& other) { [all …]
|
/art/compiler/utils/arm/ |
D | managed_register_arm.cc | 25 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/test/utils/python/testgen/ |
D | mixins.py | 94 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/test/1934-jvmti-signal-thread/ |
D | expected-stdout.txt | 2 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/ |
D | Test1904.java | 60 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/ |
D | Test1902.java | 60 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/tools/checker/file_format/c1visualizer/ |
D | struct.py | 45 def __eq__(self, other): argument 46 return (isinstance(other, self.__class__) 47 and self.passes == other.passes 48 and self.instruction_set_features == other.instruction_set_features 49 and self.read_barrier_type == other.read_barrier_type) 70 def __eq__(self, other): argument 71 return (isinstance(other, self.__class__) 72 and self.name == other.name 73 and self.body == other.body)
|
/art/openjdkjvmti/ |
D | jvmti_allocator.h | 55 using other = JvmtiAllocator<U>; member 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 using other = JvmtiAllocator<U>; member 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/libdexfile/dex/ |
D | dex_file_types.h | 44 bool operator==(const DexIndex& other) const { 45 return index_ == other.index_; 47 bool operator!=(const DexIndex& other) const { 48 return index_ != other.index_; 50 bool operator<(const DexIndex& other) const { 51 return index_ < other.index_; 53 bool operator<=(const DexIndex& other) const { 54 return index_ <= other.index_; 56 bool operator>(const DexIndex& other) const { 57 return index_ > other.index_; [all …]
|
/art/tools/checker/file_format/checker/ |
D | struct.py | 35 def __eq__(self, other): argument 36 return isinstance(other, self.__class__) and self.test_cases == other.test_cases 63 def __eq__(self, other): argument 64 return (isinstance(other, self.__class__) 65 and self.name == other.name 66 and self.statements == other.statements) 121 def __eq__(self, other): argument 122 return (isinstance(other, self.__class__) 123 and self.variant == other.variant 124 and self.expressions == other.expressions) [all …]
|
/art/compiler/optimizing/ |
D | instruction_simplifier_x86_shared.cc | 69 HInstruction* other = nullptr; in TryGenerateResetLeastSetBit() local 74 other = right; in TryGenerateResetLeastSetBit() 77 other = left; in TryGenerateResetLeastSetBit() 82 type, HInstruction::kAnd, other, instruction->GetDexPc()); in TryGenerateResetLeastSetBit() 103 HInstruction* other = nullptr; in TryGenerateMaskUptoLeastSetBit() local 107 other = right; in TryGenerateMaskUptoLeastSetBit() 110 other = left; in TryGenerateMaskUptoLeastSetBit() 115 type, HInstruction::kXor, other, instruction->GetDexPc()); in TryGenerateMaskUptoLeastSetBit() 124 bool AreLeastSetBitInputs(HInstruction* to_test, HInstruction* other) { in AreLeastSetBitInputs() argument 128 return cst != nullptr && cst->IsMinusOne() && other == add->GetLeastConstantLeft(); in AreLeastSetBitInputs() [all …]
|
/art/test/305-other-fault-handler/ |
D | Android.bp | 3 // Build rules for ART run-test `305-other-fault-handler`. 16 name: "art-run-test-305-other-fault-handler", 21 ":art-run-test-305-other-fault-handler-expected-stdout", 22 ":art-run-test-305-other-fault-handler-expected-stderr", 28 name: "art-run-test-305-other-fault-handler-expected-stdout", 29 out: ["art-run-test-305-other-fault-handler-expected-stdout.txt"], 36 name: "art-run-test-305-other-fault-handler-expected-stderr", 37 out: ["art-run-test-305-other-fault-handler-expected-stderr.txt"],
|
/art/test/684-checker-simd-dotprod/src/ |
D | Main.java | 17 import other.TestByte; 18 import other.TestCharShort; 19 import other.TestVarious; 20 import other.TestFloatDouble;
|
/art/compiler/utils/x86/ |
D | managed_register_x86.cc | 62 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/ |
D | managed_register_x86_64.cc | 57 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/test/1954-pop-frame-jit/src/art/ |
D | Breakpoint.java | 40 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/1916-get-set-current-frame/src/art/ |
D | Breakpoint.java | 40 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/ |
D | Breakpoint.java | 40 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/1925-self-frame-pop/src/art/ |
D | Breakpoint.java | 40 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/993-breakpoints/src/art/ |
D | Breakpoint.java | 40 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()
|