| /arkcompiler/ets_frontend/es2panda/parser/program/ |
| D | program.cpp | 32 Program::Program(Program &&other) in Program() argument 33 : allocator_(std::move(other.allocator_)), in Program() 34 binder_(other.binder_), in Program() 35 ast_(other.ast_), in Program() 36 sourceCode_(other.sourceCode_), in Program() 37 sourceFile_(other.sourceFile_), in Program() 38 recordName_(other.recordName_), in Program() 39 formatedRecordName_(other.formatedRecordName_), in Program() 40 kind_(other.kind_), in Program() 41 extension_(other.extension_), in Program() [all …]
|
| /arkcompiler/runtime_core/irtoc/lang/ |
| D | regmap.rb | 37 def +(other) argument 38 if other.is_a? Regmap 39 Regmap.new(@data.merge(other.data), direct: true) 40 elsif other.is_a? Hash 41 Regmap.new(@data.merge(other), direct: true) 43 raise "Unsupported type: #{other.class}" 47 def -(other) argument 48 if other.is_a? Regmap 49 Regmap.new(@data.select { |k, _| !other.data.key?(k) }, direct: true) 50 elsif other.is_a? Hash [all …]
|
| D | regmask.rb | 87 def +(other) argument 88 if other.is_a? RegMask 89 self.class.from_value(@regmap, @value | other.value) 90 elsif other.is_a? Regmap 91 other_value = other.data.values.inject(0) { |res, x| res | (1 << x) } 93 elsif other.is_a? Integer 94 self.class.from_value(@regmap, @value | (1 << other)) 95 elsif other.is_a? Symbol 97 value = @regmap[other] 98 raise "Register '#{other}' is not found in regmap" unless value [all …]
|
| /arkcompiler/runtime_core/runtime/mem/ |
| D | allocator_adapter.h | 34 using other = AllocatorAdapter<U, AllocScopeT>; member 46 AllocatorAdapter(const AllocatorAdapter<U, AllocScopeT> &other) : allocator_(other.allocator_) in AllocatorAdapter() argument 52 AllocatorAdapter(AllocatorAdapter &&other) noexcept in AllocatorAdapter() argument 54 allocator_ = other.allocator_; in AllocatorAdapter() 55 other.allocator_ = nullptr; in AllocatorAdapter() 58 AllocatorAdapter &operator=(AllocatorAdapter &&other) noexcept 60 allocator_ = other.allocator_; 61 other.allocator_ = nullptr; 87 using other = AllocatorAdapter<U, AllocScopeT>; member 99 AllocatorAdapter(const AllocatorAdapter<U, AllocScopeT> &other) : allocator_(other.allocator_) in AllocatorAdapter() argument [all …]
|
| D | runslots_allocator_stl_adapter.h | 35 using other = RunSlotsAllocatorAdapter<U, AllocConfigT, LockConfigT>; member 46 RunSlotsAllocatorAdapter(const RunSlotsAllocatorAdapter<U, AllocConfigT, LockConfigT> &other) in RunSlotsAllocatorAdapter() argument 47 : allocator_(other.allocator_) in RunSlotsAllocatorAdapter() 74 using other = RunSlotsAllocatorAdapter<U, AllocConfigT, LockConfigT>; member 83 RunSlotsAllocatorAdapter(const RunSlotsAllocatorAdapter<U, AllocConfigT, LockConfigT> &other) in RunSlotsAllocatorAdapter() argument 84 : allocator_(other.allocator_) in RunSlotsAllocatorAdapter() 89 RunSlotsAllocatorAdapter(RunSlotsAllocatorAdapter &&other) noexcept in RunSlotsAllocatorAdapter() argument 91 allocator_ = other.allocator_; in RunSlotsAllocatorAdapter() 92 other.allocator_ = nullptr; in RunSlotsAllocatorAdapter() 94 RunSlotsAllocatorAdapter &operator=(RunSlotsAllocatorAdapter &&other) noexcept [all …]
|
| /arkcompiler/runtime_core/verification/util/ |
| D | int_set.h | 34 IntSet(const IntSet &other) : repr_ {other.repr_->Clone()} {}; in IntSet() argument 35 IntSet &operator=(const IntSet &other) 37 repr_ = other.repr_->Clone(); 99 IntSet<T, THRESHOLD> operator&(const IntSet<T, THRESHOLD2> &other) const 101 …return other.SwitchOnRepr([this](const auto &other_repr) { return repr_->Intersect(other_repr); }); 105 IntSet<T, THRESHOLD> &operator&=(const IntSet<T, THRESHOLD2> &other) 108 if (repr_->Type() == ReprType::LARGE && other.repr_->Type() == ReprType::SMALL) { 109 *this = other & *this; 112 …other.SwitchOnRepr([this](const auto &other_repr) { return repr_->IntersectInPlace(other_repr); }); 121 IntSet<T, THRESHOLD> operator|(const IntSet<T, THRESHOLD2> &other) const [all …]
|
| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | acc_vregister-inl.h | 32 ALWAYS_INLINE inline AccVRegisterT(const AccVRegister &other) in AccVRegisterT() argument 34 SetValue(other.GetValue()); in AccVRegisterT() 35 SetTag(other.GetTag()); in AccVRegisterT() 77 ALWAYS_INLINE inline void Move(const StaticVRegisterRef &other) in Move() argument 79 this->payload_->SetValue(other.GetValue()); in Move() 80 this->payload_->SetTag(other.GetTag()); in Move() 83 ALWAYS_INLINE inline void Move(const DynamicVRegisterRef &other) in Move() argument 85 this->payload_->SetValue(other.GetValue()); in Move() 94 ALWAYS_INLINE inline AccVRegisterTRef &operator=(const AccVRegisterTRef &other) 96 this->payload_->SetValue(other.GetValue()); [all …]
|
| D | vregister.h | 251 ALWAYS_INLINE inline void MovePrimitive(const T &other) in MovePrimitive() argument 253 ASSERT(!other.HasObject()); in MovePrimitive() 254 static_cast<T *>(this)->MovePrimitive(other); in MovePrimitive() 257 ALWAYS_INLINE inline void MoveReference(const T &other) in MoveReference() argument 259 ASSERT(other.HasObject()); in MoveReference() 260 static_cast<T *>(this)->MoveReference(other); in MoveReference() 263 ALWAYS_INLINE inline void Move(const T &other) in Move() argument 265 static_cast<T *>(this)->Move(other); in Move() 416 ALWAYS_INLINE inline StaticVRegisterRef &operator=(const StaticVRegisterRef &other) 418 *payload_ = *other.payload_; [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | slots.h | 82 bool operator<(const ObjectSlot &other) const 84 return slotAddress_ < other.slotAddress_; 86 bool operator<=(const ObjectSlot &other) const 88 return slotAddress_ <= other.slotAddress_; 90 bool operator>(const ObjectSlot &other) const 92 return slotAddress_ > other.slotAddress_; 94 bool operator>=(const ObjectSlot &other) const 96 return slotAddress_ >= other.slotAddress_; 98 bool operator==(const ObjectSlot &other) const 100 return slotAddress_ == other.slotAddress_; [all …]
|
| D | chunk_allocator.h | 36 using other = ChunkAllocator<U>; member 45 ChunkAllocator(const ChunkAllocator<U> &other) : chunk_(other.chunk_) in ChunkAllocator() argument 53 ChunkAllocator(ChunkAllocator &&other) noexcept in ChunkAllocator() argument 55 chunk_ = other.chunk_; in ChunkAllocator() 56 other.chunk_ = nullptr; in ChunkAllocator() 58 ChunkAllocator &operator=(ChunkAllocator &&other) noexcept 60 chunk_ = other.chunk_; 61 other.chunk_ = nullptr; 107 bool operator==(ChunkAllocator const &other) const 109 return chunk_ == other.chunk_; [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | mem_range.h | 48 bool IsIntersect(const MemRange &other) const in IsIntersect() argument 50 return ((end_address_ >= other.start_address_) && (end_address_ <= other.end_address_)) || in IsIntersect() 51 … ((start_address_ >= other.start_address_) && (start_address_ <= other.end_address_)) || in IsIntersect() 52 ((start_address_ < other.start_address_) && (end_address_ > other.end_address_)); in IsIntersect() 55 bool Contains(const MemRange &other) const in Contains() argument 57 return start_address_ <= other.start_address_ && end_address_ >= other.end_address_; in Contains()
|
| D | arena_allocator_stl_adapter.h | 36 using other = ArenaAllocatorAdapter<U, use_oom_handler>; member 45 …locatorAdapter(const ArenaAllocatorAdapter<U, use_oom_handler> &other) : allocator_(other.allocato… in ArenaAllocatorAdapter() argument 74 using other = ArenaAllocatorAdapter<U, use_oom_handler>; member 83 …locatorAdapter(const ArenaAllocatorAdapter<U, use_oom_handler> &other) : allocator_(other.allocato… in ArenaAllocatorAdapter() argument 88 ArenaAllocatorAdapter(ArenaAllocatorAdapter &&other) noexcept in ArenaAllocatorAdapter() argument 90 allocator_ = other.allocator_; in ArenaAllocatorAdapter() 91 other.allocator_ = nullptr; in ArenaAllocatorAdapter() 93 ArenaAllocatorAdapter &operator=(ArenaAllocatorAdapter &&other) noexcept 95 allocator_ = other.allocator_; 96 other.allocator_ = nullptr;
|
| D | object_pointer.h | 81 ALWAYS_INLINE bool operator==(const ObjectPointer &other) const noexcept 83 return object_ == other.object_; 86 ALWAYS_INLINE bool operator!=(const ObjectPointer &other) const noexcept 88 return object_ != other.object_; 91 ALWAYS_INLINE bool operator==(Object *other) const noexcept 93 return ToObjectPtr(object_) == other; 96 ALWAYS_INLINE bool operator!=(Object *other) const noexcept 98 return ToObjectPtr(object_) != other;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | call_signature.h | 85 CallSignature(CallSignature const &other) in CallSignature() argument 87 name_ = other.name_; in CallSignature() 88 paramCounter_ = other.paramCounter_; in CallSignature() 89 order_ = other.order_; in CallSignature() 90 id_ = other.id_; in CallSignature() 91 returnType_ = other.returnType_; in CallSignature() 92 constructor_ = other.constructor_; in CallSignature() 93 if (paramCounter_ > 0 && other.paramsType_ != nullptr) { in CallSignature() 96 (*paramsType_)[i] = other.GetParametersType()[i]; in CallSignature() 99 kind_ = other.kind_; in CallSignature() [all …]
|
| D | type.h | 215 bool operator ==(const GateType &other) const 217 return type_ == other.type_; 220 bool operator !=(const GateType &other) const 222 return type_ != other.type_; 225 bool operator <(const GateType &other) const 227 return type_ < other.type_; 230 bool operator <=(const GateType &other) const 232 return type_ <= other.type_; 235 bool operator >(const GateType &other) const 237 return type_ > other.type_; [all …]
|
| D | circuit_optimizer.h | 43 ValueLattice Meet(const ValueLattice &other); 44 bool operator==(const ValueLattice &other) const; 45 bool operator!=(const ValueLattice &other) const; 46 bool operator<(const ValueLattice &other) const; 47 bool operator>(const ValueLattice &other) const; 48 bool operator<=(const ValueLattice &other) const; 49 bool operator>=(const ValueLattice &other) const; 50 [[nodiscard]] ValueLattice Implies(const ValueLattice &other) const; 65 bool operator==(const ReachabilityLattice &other) const; 66 bool operator!=(const ReachabilityLattice &other) const; [all …]
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | bit_vector.h | 62 BitReference &operator=(const BitReference &other) 64 if (&other != this) { 65 *this = bool(other); 70 BitReference &operator=(BitReference &&other) noexcept 72 *this = bool(other); 80 bool operator==(const BitReference &other) const 82 return bool(*this) == bool(other); 84 bool operator<(const BitReference &other) const 86 return !bool(*this) && bool(other); 110 bool operator==(const BitVectorIterator<_IsConst> &other) const [all …]
|
| D | regmask.h | 179 constexpr Self operator&(Self other) const 181 return Self(GetValue() & other.GetValue()); 184 constexpr Self operator|(Self other) const 186 return Self(GetValue() | other.GetValue()); 189 constexpr Self operator^(Self other) const 191 return Self(GetValue() ^ other.GetValue()); 194 constexpr Self operator&=(Self other) 196 value_ &= other.GetValue(); 200 constexpr Self operator|=(Self other) 202 value_ |= other.GetValue(); [all …]
|
| D | small_vector.h | 235 SmallVector(const SmallVector &other) : allocator_(other.allocator_) in SmallVector() argument 237 if (other.IsStatic()) { in SmallVector() 239 buffer_.size = other.buffer_.size; in SmallVector() 243 new (&buffer_.data[i]) T(other.buffer_.data[i]); in SmallVector() 247 new (&vector_) VectorType(other.vector_); in SmallVector() 251 SmallVector(SmallVector &&other) noexcept : allocator_(other.allocator_) in SmallVector() argument 253 if (other.IsStatic()) { in SmallVector() 255 buffer_.size = other.buffer_.size; in SmallVector() 259 new (&buffer_.data[i]) T(std::move(other.buffer_.data[i])); in SmallVector() 263 new (&vector_) VectorType(std::move(other.vector_)); in SmallVector() [all …]
|
| D | list.h | 146 List(List &&other) noexcept in List() argument 148 head_ = other.head_; in List() 149 other.head_ = nullptr; in List() 154 List &operator=(List &&other) noexcept 156 head_ = other.head_; 157 other.head_ = nullptr; 289 void Swap(List &other) noexcept in Swap() argument 291 std::swap(head_.next_, other.head_.next_); in Swap() 299 * Transfers all elements from other list into place after position. 301 void Splice(ConstIterator position, List &other) in Splice() argument [all …]
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | test_frame.h | 37 TestFrame(const TestFrame &other) // NOLINT(bugprone-copy-constructor-init) in TestFrame() argument 40 method_(other.method_), in TestFrame() 41 bytecodeOffset_(other.bytecodeOffset_) in TestFrame() 45 TestFrame &operator=(const TestFrame &other) 47 if (&other == this) { 52 method_ = other.method_; 53 bytecodeOffset_ = other.bytecodeOffset_;
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | signature.h | 33 …SignatureInfo(const SignatureInfo *other, ArenaAllocator *allocator) : params(allocator->Adapter()) in SignatureInfo() argument 35 for (auto *it : other->params) { in SignatureInfo() 39 minArgCount = other->minArgCount; in SignatureInfo() 41 if (other->restVar) { in SignatureInfo() 42 restVar = other->restVar->Copy(allocator, other->restVar->Declaration()); in SignatureInfo() 118 void Identical(TypeRelation *relation, Signature *other);
|
| D | signature.cpp | 76 void Signature::Identical(TypeRelation *relation, Signature *other) in Identical() argument 78 if (signatureInfo_->minArgCount != other->MinArgCount() || in Identical() 79 signatureInfo_->params.size() != other->Params().size()) { in Identical() 84 relation->IsIdenticalTo(returnType_, other->ReturnType()); in Identical() 88 … relation->IsIdenticalTo(signatureInfo_->params[i]->TsType(), other->Params()[i]->TsType()); in Identical() 94 if (signatureInfo_->restVar && other->RestVar()) { in Identical() 95 relation->IsIdenticalTo(signatureInfo_->restVar->TsType(), other->RestVar()->TsType()); in Identical() 96 …} else if ((signatureInfo_->restVar && !other->RestVar()) || (!signatureInfo_->restVar && other->R… in Identical()
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | card_table.h | 52 bool operator==(CardPtrIterator other) const 54 return card_ == other.card_; 57 bool operator!=(CardPtrIterator other) const 59 return !(*this == other); 98 CardTable(const CardTable &other) = delete; 99 CardTable &operator=(const CardTable &other) = delete; 100 CardTable(CardTable &&other) = delete; 101 CardTable &operator=(CardTable &&other) = delete;
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | mem.h | 188 MapPtr(MapPtr &&other) noexcept in MapPtr() argument 190 ptr_ = other.ptr_; in MapPtr() 191 page_offset_ = other.page_offset_; in MapPtr() 192 size_ = other.size_; in MapPtr() 193 deleter_ = other.deleter_; in MapPtr() 194 other.ptr_ = nullptr; in MapPtr() 195 other.deleter_ = nullptr; in MapPtr() 198 MapPtr &operator=(MapPtr &&other) noexcept 200 ptr_ = other.ptr_; 201 page_offset_ = other.page_offset_; [all …]
|