Home
last modified time | relevance | path

Searched refs:other (Results 76 – 100 of 287) sorted by relevance

12345678910>>...12

/art/libartbase/base/
Dbit_string.h78 bool operator==(const BitStringChar& other) const {
79 return data_ == other.data_;
83 bool operator!=(const BitStringChar& other) const {
84 return !(*this == other);
238 bool operator==(const BitString& other) const {
239 return storage_ == other.storage_;
243 bool operator!=(const BitString& other) const {
244 return !(*this == other);
Dbit_struct.h136 BitStructField& operator=(const BitStructField& other) {
138 return *this = static_cast<T>(other);
141 BitStructField(const BitStructField& other) { in BitStructField()
142 Assign(*this, static_cast<T>(other)); in BitStructField()
267 name& operator=(const name& other) { _ = other._; return *this; } /* NOLINT */ \
268 name(const name& other) : _(other._) {} \
Dscoped_arena_containers.h112 typedef ScopedArenaAllocatorAdapter<U> other; typedef
123 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() argument
124 : DebugStackReference(other), in ScopedArenaAllocatorAdapter()
125 DebugStackIndirectTopRef(other), in ScopedArenaAllocatorAdapter()
126 ArenaAllocatorAdapterKind(other), in ScopedArenaAllocatorAdapter()
127 arena_stack_(other.arena_stack_) { in ScopedArenaAllocatorAdapter()
155 typedef ScopedArenaAllocatorAdapter<U> other; typedef
166 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() argument
167 : DebugStackReference(other), in ScopedArenaAllocatorAdapter()
168 DebugStackIndirectTopRef(other), in ScopedArenaAllocatorAdapter()
[all …]
Dbit_vector-inl.h28 inline bool BitVector::IndexIterator::operator==(const IndexIterator& other) const {
29 DCHECK(bit_storage_ == other.bit_storage_);
30 DCHECK_EQ(storage_size_, other.storage_size_);
31 return bit_index_ == other.bit_index_;
Dstl_util.h174 bool operator==(const ZipLeftIter<IterLeft, IterRight>& other) const {
175 return left_iter_ == other.left_iter_;
177 bool operator!=(const ZipLeftIter<IterLeft, IterRight>& other) const {
178 return !(*this == other);
202 bool operator==(const CountIter& other) const {
203 return count_ == other.count_;
205 bool operator!=(const CountIter& other) const {
206 return !(*this == other);
Darena_containers.h137 typedef ArenaAllocatorAdapter<U> other; typedef
146 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter() argument
147 : ArenaAllocatorAdapterKind(other), in ArenaAllocatorAdapter()
148 allocator_(other.allocator_) { in ArenaAllocatorAdapter()
174 typedef ArenaAllocatorAdapter<U> other; typedef
182 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter() argument
183 : ArenaAllocatorAdapterKind(other), in ArenaAllocatorAdapter()
184 allocator_(other.allocator_) { in ArenaAllocatorAdapter()
Dstride_iterator.h41 bool operator==(const StrideIterator& other) const {
42 DCHECK_EQ(stride_, other.stride_);
43 return ptr_ == other.ptr_;
46 bool operator!=(const StrideIterator& other) const {
47 return !(*this == other);
Dbit_struct_test.cc307 NestedStruct other{}; in TEST() local
308 other.mixed_upper = mixed_all_1s; in TEST()
309 other.mixed_lower = mixed_all_1s; in TEST()
312 xyz.mixed_lower = other.mixed_lower; in TEST()
319 NestedStruct other{}; in TEST() local
320 other.mixed_upper = mixed_all_1s; in TEST()
321 other.mixed_lower = mixed_all_1s; in TEST()
324 xyz.mixed_upper = other.mixed_upper; in TEST()
/art/libartbase/base/unix_file/
Dfd_file.cc189 FdFile::FdFile(FdFile&& other) noexcept in FdFile() argument
190 : guard_state_(other.guard_state_), in FdFile()
191 fd_(other.fd_), in FdFile()
192 file_path_(std::move(other.file_path_)), in FdFile()
193 read_only_mode_(other.read_only_mode_) { in FdFile()
196 android_fdsan_exchange_owner_tag(fd_, GetFdFileOwnerTag(&other), GetFdFileOwnerTag(this)); in FdFile()
199 other.guard_state_ = GuardState::kClosed; in FdFile()
200 other.fd_ = -1; in FdFile()
203 FdFile& FdFile::operator=(FdFile&& other) noexcept { in operator =() argument
204 if (this == &other) { in operator =()
[all …]
/art/compiler/optimizing/
Dgvn.cc53 ValueSet(ScopedArenaAllocator* allocator, const ValueSet& other) in ValueSet() argument
55 num_buckets_(other.IdealBucketCount()), in ValueSet()
60 PopulateFromInternal(other); in ValueSet()
64 void PopulateFrom(const ValueSet& other) { in PopulateFrom() argument
65 if (this == &other) { in PopulateFrom()
68 PopulateFromInternal(other); in PopulateFrom()
75 bool CanHoldCopyOf(const ValueSet& other, bool exact_match) { in CanHoldCopyOf() argument
77 return other.IdealBucketCount() == num_buckets_; in CanHoldCopyOf()
79 return other.IdealBucketCount() <= num_buckets_; in CanHoldCopyOf()
161 void PopulateFromInternal(const ValueSet& other) { in PopulateFromInternal() argument
[all …]
Dloop_optimization.h103 bool operator<(const ArrayReference& other) const {
105 (base < other.base) ||
106 (base == other.base &&
107 (offset < other.offset || (offset == other.offset &&
108 (type < other.type ||
109 (type == other.type &&
110 (lhs < other.lhs ||
111 (lhs == other.lhs &&
112 is_string_char_at < other.is_string_char_at)))))));
Dnodes.cc889 bool HLoopInformation::IsIn(const HLoopInformation& other) const { in IsIn()
890 return other.blocks_.IsBitSet(header_->GetBlockId()); in IsIn()
938 bool HBasicBlock::Dominates(HBasicBlock* other) const { in Dominates()
941 HBasicBlock* current = other; in Dominates()
1280 void HInstruction::ReplaceWith(HInstruction* other) { in ReplaceWith() argument
1281 DCHECK(other != nullptr); in ReplaceWith()
1283 auto fixup_end = other->uses_.empty() ? other->uses_.begin() : ++other->uses_.begin(); in ReplaceWith()
1284 other->uses_.splice_after(other->uses_.before_begin(), uses_); in ReplaceWith()
1285 other->FixUpUserRecordsAfterUseInsertion(fixup_end); in ReplaceWith()
1289 other->env_uses_.empty() ? other->env_uses_.begin() : ++other->env_uses_.begin(); in ReplaceWith()
[all …]
Dlocations.h97 Location(const Location& other) = default;
99 Location& operator=(const Location& other) = default;
313 bool Equals(Location other) const { in Equals() argument
314 return value_ == other.value_; in Equals()
317 bool Contains(Location other) const { in Contains() argument
318 if (Equals(other)) { in Contains()
321 return ToLow().Equals(other) || ToHigh().Equals(other); in Contains()
326 bool OverlapsWith(Location other) const { in OverlapsWith() argument
328 bool overlap = Contains(other) || other.Contains(*this); in OverlapsWith()
332 if ((IsPair() && other.IsPair()) || (IsDoubleStackSlot() && other.IsDoubleStackSlot())) { in OverlapsWith()
[all …]
/art/runtime/
Dimt_conflict_table.h45 ImtConflictTable(ImtConflictTable* other, in ImtConflictTable() argument
49 const size_t count = other->NumEntries(pointer_size); in ImtConflictTable()
51 SetInterfaceMethod(i, pointer_size, other->GetInterfaceMethod(i, pointer_size)); in ImtConflictTable()
52 SetImplementationMethod(i, pointer_size, other->GetImplementationMethod(i, pointer_size)); in ImtConflictTable()
93 bool Equals(ImtConflictTable* other, PointerSize pointer_size) const { in Equals() argument
95 if (num != other->NumEntries(pointer_size)) { in Equals()
99 if (GetInterfaceMethod(i, pointer_size) != other->GetInterfaceMethod(i, pointer_size) || in Equals()
101 other->GetImplementationMethod(i, pointer_size)) { in Equals()
Dplugin.cc33 Plugin::Plugin(const Plugin& other) : library_(other.library_), dlopen_handle_(nullptr) { in Plugin() argument
34 CHECK(!other.IsLoaded()) << "Should not copy loaded plugins."; in Plugin()
/art/tools/class2greylist/src/com/android/class2greylist/
DPackageAndClassName.java53 PackageAndClassName other = (PackageAndClassName) obj; in equals() local
54 return Objects.equals(packageName, other.packageName) && Objects.equals(className, in equals()
55 other.className); in equals()
DApiComponents.java307 ApiComponents other = (ApiComponents) obj; in equals() local
308 return mPackageAndClassName.equals(other.mPackageAndClassName) && mMemberName.equals( in equals()
309 other.mMemberName) && mMethodParameterTypes.equals(other.mMethodParameterTypes); in equals()
323 public boolean equalsIgnoringParam(ApiComponents other) { in equalsIgnoringParam() argument
324 return mPackageAndClassName.equals(other.mPackageAndClassName) && in equalsIgnoringParam()
325 mMemberName.equals(other.mMemberName); in equalsIgnoringParam()
/art/test/2011-stack-walk-concurrent-instrument/
Dstack_walk_concurrent.cc83 Thread* other = Runtime::Current()->GetThreadList()->SuspendThreadByPeer( in Java_Main_waitAndDeopt() local
86 CHECK(other != nullptr); in Java_Main_waitAndDeopt()
88 Runtime::Current()->GetInstrumentation()->InstrumentThreadStack(other); in Java_Main_waitAndDeopt()
90 …bool updated = other->ModifySuspendCount(Thread::Current(), -1, nullptr, SuspendReason::kInternal); in Java_Main_waitAndDeopt()
/art/openjdkjvmti/
Dti_redefine.h129 ClassRedefinition& operator=(ClassRedefinition&& other) {
130 driver_ = other.driver_;
131 klass_ = other.klass_;
132 dex_file_ = std::move(other.dex_file_);
133 class_sig_ = std::move(other.class_sig_);
134 original_dex_file_ = other.original_dex_file_;
135 other.driver_ = nullptr;
140 ClassRedefinition(ClassRedefinition&& other) in ClassRedefinition() argument
141 : driver_(other.driver_), in ClassRedefinition()
142 klass_(other.klass_), in ClassRedefinition()
[all …]
Dti_breakpoint.h59 bool operator==(const Breakpoint& other) const {
60 return method_ == other.method_ && location_ == other.location_;
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DReachability.java78 public boolean notWeakerThan(Reachability other) { in notWeakerThan() argument
79 return ordinal() <= other.ordinal(); in notWeakerThan()
/art/cmdline/
Dtoken_range.h174 bool operator==(const TokenRange& other) const {
175 if (this == &other) {
179 if (Size() != other.Size()) {
183 return std::equal(begin(), end(), other.begin());
193 bool StartsWith(const TokenRange& other) const { in StartsWith()
194 if (this == &other) { in StartsWith()
198 if (Size() < other.Size()) { in StartsWith()
202 auto& smaller = Size() < other.Size() ? *this : other; in StartsWith()
203 auto& greater = Size() < other.Size() ? other : *this; in StartsWith()
/art/test/1942-suspend-raw-monitor-exit/
Dexpected.txt7 Let other thread release the raw monitor.
10 other thread doesn't hold lock!
/art/runtime/gc/accounting/
Dspace_bitmap.h221 void CopyView(SpaceBitmap& other) { in CopyView() argument
222 bitmap_begin_ = other.bitmap_begin_; in CopyView()
223 bitmap_size_ = other.bitmap_size_; in CopyView()
224 heap_begin_ = other.heap_begin_; in CopyView()
225 heap_limit_ = other.heap_limit_; in CopyView()
226 name_ = other.name_; in CopyView()
/art/test/2005-pause-all-redefine-multithreaded/
Dinfo.txt3 Tests that using the structural redefinition while pausing all other (main thread-group) threads
5 other threads are suspended, thus making them look initialized.

12345678910>>...12