| /arkcompiler/ets_frontend/es2panda/parser/program/ |
| D | program.cpp | 31 Program::Program(Program &&other) in Program() argument 32 : allocator_(std::move(other.allocator_)), in Program() 33 binder_(other.binder_), in Program() 34 ast_(other.ast_), in Program() 35 sourceCode_(other.sourceCode_), in Program() 36 sourceFile_(other.sourceFile_), in Program() 37 recordName_(other.recordName_), in Program() 38 formatedRecordName_(other.formatedRecordName_), in Program() 39 kind_(other.kind_), in Program() 40 extension_(other.extension_), in Program() [all …]
|
| /arkcompiler/runtime_core/static_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 | 88 def +(other) argument 89 if other.is_a? RegMask 90 self.class.from_value(@regmap, @value | other.value) 91 elsif other.is_a? Regmap 92 other_value = other.data.values.inject(0) { |res, x| res | (1 << x) } 94 elsif other.is_a? Integer 95 self.class.from_value(@regmap, @value | (1 << other)) 96 elsif other.is_a? Symbol 98 value = @regmap[other] 99 raise "Register '#{other}' is not found in regmap" unless value [all …]
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/ |
| D | utils.h | 125 * @param other 127 IErrorHandler(const IErrorHandler &other) = default; 131 * @param other 134 IErrorHandler &operator=(const IErrorHandler &other) = default; 138 * @param other 140 IErrorHandler(IErrorHandler &&other) = default; 144 * @param other 147 IErrorHandler &operator=(IErrorHandler &&other) = default; 171 * @param other 173 DefaultErrorHandler(const DefaultErrorHandler &other) = default; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Short.sts | 145 * Compares this instance to other Short object 150 * @param other Short object to compare with 154 public override compareTo(other: Short): int { 155 return (this.value - other.unboxed()) as int; 188 * @param other object to be checked against 193 public equals(other: NullishType): boolean { 194 if (__runtimeIsSameReference(this, other)) { 198 if (!(other instanceof Short)) { 202 return this.value == (other as Short).value 208 * @param other Right hand side of the addition [all …]
|
| D | Int.sts | 145 * Compares this instance to other Int object 150 * @param other Int object to compare with 154 public override compareTo(other: Int): int { 155 return this.value - other.unboxed(); 185 equals(other: NullishType): boolean { 186 if (__runtimeIsSameReference(this, other)) { 190 if (!(other instanceof Int)) { 194 return this.value == (other as Int).value 200 * @param other Right hand side of the addition 204 public add(other: Int): Int { [all …]
|
| D | Long.sts | 145 * Compares this instance to other Long object 150 * @param other Long object to compare with 154 public override compareTo(other: Long): int { 155 return (this.value - other.unboxed()) as int; 215 * @param other object to be checked against 220 public equals(other: NullishType): boolean { 221 if (__runtimeIsSameReference(this, other)) { 225 if (!(other instanceof Long)) { 229 return this.value == (other as Long).value 235 * @param other Right hand side of the addition [all …]
|
| D | Byte.sts | 146 * Compares this instance to other Byte object 151 * @param other Byte object to compare with 155 public override compareTo(other: Byte): int { 156 return (this.value - other.unboxed()) as int; 213 * @param other object to be checked against 218 public equals(other: NullishType): boolean { 219 if (__runtimeIsSameReference(this, other)) { 223 if (!(other instanceof Byte)) { 227 return this.value == (other as Byte).value 233 * @param other Right hand side of the addition [all …]
|
| D | Float.sts | 192 * Compares this instance to other Float object 197 * @param other Float object to compare with 201 public override compareTo(other: Float): int { 202 return (this.value - other.unboxed()) as int; 260 * @param other object to be checked against 265 public equals(other: NullishType): boolean { 266 if (__runtimeIsSameReference(this, other)) { 270 if (!(other instanceof Float)) { 274 return this.value == (other as Float).value 362 * @param other Right hand side of the addition [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | acc_vregister-inl.h | 33 ALWAYS_INLINE inline AccVRegisterT(const AccVRegister &other) in AccVRegisterT() argument 35 SetValue(other.GetValue()); in AccVRegisterT() 36 SetTag(other.GetTag()); in AccVRegisterT() 79 ALWAYS_INLINE inline void Move(const StaticVRegisterRef &other) in Move() argument 81 this->payload_->SetValue(other.GetValue()); in Move() 82 this->payload_->SetTag(other.GetTag()); in Move() 85 ALWAYS_INLINE inline void Move(const DynamicVRegisterRef &other) in Move() argument 87 this->payload_->SetValue(other.GetValue()); in Move() 97 ALWAYS_INLINE inline AccVRegisterTRef &operator=(const AccVRegisterTRef &other) 99 this->payload_->SetValue(other.GetValue()); [all …]
|
| D | vregister.h | 242 ALWAYS_INLINE inline void MovePrimitive(const T &other) in MovePrimitive() argument 244 ASSERT(!other.HasObject()); in MovePrimitive() 245 static_cast<T *>(this)->MovePrimitive(other); in MovePrimitive() 248 ALWAYS_INLINE inline void MoveReference(const T &other) in MoveReference() argument 250 ASSERT(other.HasObject()); in MoveReference() 251 static_cast<T *>(this)->MoveReference(other); in MoveReference() 254 ALWAYS_INLINE inline void Move(const T &other) in Move() argument 256 static_cast<T *>(this)->Move(other); in Move() 407 ALWAYS_INLINE inline StaticVRegisterRef &operator=(const StaticVRegisterRef &other) 409 *payload_ = *other.payload_; [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | slots.h | 101 bool operator<(const ObjectSlot &other) const 103 return slotAddress_ < other.slotAddress_; 105 bool operator<=(const ObjectSlot &other) const 107 return slotAddress_ <= other.slotAddress_; 109 bool operator>(const ObjectSlot &other) const 111 return slotAddress_ > other.slotAddress_; 113 bool operator>=(const ObjectSlot &other) const 115 return slotAddress_ >= other.slotAddress_; 117 bool operator==(const ObjectSlot &other) const 119 return slotAddress_ == other.slotAddress_; [all …]
|
| D | chunk_allocator.h | 36 using other = ChunkAllocator<U>; member 45 explicit 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()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | mem_range.h | 46 bool IsIntersect(const MemRange &other) const in IsIntersect() argument 48 return ((endAddress_ >= other.startAddress_) && (endAddress_ <= other.endAddress_)) || in IsIntersect() 49 ((startAddress_ >= other.startAddress_) && (startAddress_ <= other.endAddress_)) || in IsIntersect() 50 ((startAddress_ < other.startAddress_) && (endAddress_ > other.endAddress_)); in IsIntersect() 53 bool Contains(const MemRange &other) const in Contains() argument 55 return startAddress_ <= other.startAddress_ && endAddress_ >= other.endAddress_; in Contains()
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/js/ |
| D | import_descriptor.h | 39 * @param other - Core API ImportDescriptor 41 explicit ImportDescriptor(const core::ImportDescriptor &other); 45 * @param other 47 ImportDescriptor(const ImportDescriptor &other) = default; 51 * @param other 54 ImportDescriptor &operator=(const ImportDescriptor &other) = default; 58 * @param other 60 ImportDescriptor(ImportDescriptor &&other) = default; 64 * @param other 67 ImportDescriptor &operator=(ImportDescriptor &&other) = default;
|
| D | export_descriptor.h | 45 * @param other 47 ExportDescriptor(const ExportDescriptor &other) = default; 51 * @param other 54 ExportDescriptor &operator=(const ExportDescriptor &other) = default; 58 * @param other 60 ExportDescriptor(ExportDescriptor &&other) = default; 64 * @param other 67 ExportDescriptor &operator=(ExportDescriptor &&other) = default;
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/arkts/ |
| D | import_descriptor.h | 41 * @param other - Core API ImportDescriptor 43 explicit ImportDescriptor(const core::ImportDescriptor &other); 47 * @param other 49 ImportDescriptor(const ImportDescriptor &other) = default; 53 * @param other 56 ImportDescriptor &operator=(const ImportDescriptor &other) = default; 60 * @param other 62 ImportDescriptor(ImportDescriptor &&other) = default; 66 * @param other 69 ImportDescriptor &operator=(ImportDescriptor &&other) = default;
|
| D | namespace.h | 40 * @param other - Core API Namespace 42 explicit Namespace(const core::Namespace &other); 46 * @param other 48 Namespace(const Namespace &other) = default; 51 * @param other 54 Namespace &operator=(const Namespace &other) = default; 58 * @param other 60 Namespace(Namespace &&other) = default; 63 * @param other 66 Namespace &operator=(Namespace &&other) = default;
|
| D | export_descriptor.h | 47 * @param other 49 ExportDescriptor(const ExportDescriptor &other) = default; 53 * @param other 56 ExportDescriptor &operator=(const ExportDescriptor &other) = default; 60 * @param other 62 ExportDescriptor(ExportDescriptor &&other) = default; 66 * @param other 69 ExportDescriptor &operator=(ExportDescriptor &&other) = default;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | sparse_datainfo.h | 35 SparseDataInfo(const SparseDataInfo &other, const MapleAllocator &alloc) in SparseDataInfo() argument 37 info(other.info, allocator), in SparseDataInfo() 38 maxRegNum(other.maxRegNum) in SparseDataInfo() 42 SparseDataInfo(const SparseDataInfo &other) in SparseDataInfo() argument 43 : allocator(other.allocator), in SparseDataInfo() 44 info(other.info, allocator), in SparseDataInfo() 45 maxRegNum(other.maxRegNum) in SparseDataInfo() 57 SparseDataInfo &operator=(const SparseDataInfo &other) 59 if (this == &other) { 62 allocator = other.GetAllocator(); [all …]
|
| /arkcompiler/runtime_core/libabckit/src/include_v2/cpp/headers/arkts/ |
| D | field.h | 36 * @param other 38 Field(const Field &other) = default; 42 * @param other 45 Field &operator=(const Field &other) = default; 49 * @param other 51 Field(Field &&other) = default; 55 * @param other 58 Field &operator=(Field &&other) = default;
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | allocator_adapter.h | 38 using other = AllocatorAdapter<U, ALLOC_SCOPE_T>; member 51 AllocatorAdapter(const AllocatorAdapter<U, ALLOC_SCOPE_T> &other) : allocator_(other.allocator_) in AllocatorAdapter() argument 57 AllocatorAdapter(AllocatorAdapter &&other) noexcept = default; 58 AllocatorAdapter &operator=(AllocatorAdapter &&other) noexcept = default; 86 using other = AllocatorAdapter<U, ALLOC_SCOPE_T>; member 98 AllocatorAdapter(const AllocatorAdapter<U, ALLOC_SCOPE_T> &other) : allocator_(other.allocator_) in AllocatorAdapter() argument 104 AllocatorAdapter(AllocatorAdapter &&other) noexcept = default; 105 AllocatorAdapter &operator=(AllocatorAdapter &&other) noexcept = default; 140 bool operator==(const AllocatorAdapter<U> &other) const 142 return this->allocator_ == other.allocator_; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/03.types/References_Types/Type_undefined/define/ |
| D | define-class-member-as-undefined-in-other-class_0.sts | 24 class Other { 29 other ?: Other; 40 result += check(test.other.n === undefined); // Expected CTE here 41 result += check(test.other?.n === undefined); 42 result += check(test.other!.n === undefined);
|
| /arkcompiler/runtime_core/libabckit/src/include_v2/cpp/headers/core/ |
| D | field.h | 43 * @param other 45 Field(const Field &other) = default; 49 * @param other 52 Field &operator=(const Field &other) = default; 56 * @param other 58 Field(Field &&other) = default; 62 * @param other 65 Field &operator=(Field &&other) = default;
|