Home
last modified time | relevance | path

Searched full:other (Results 1 – 25 of 1168) sorted by relevance

12345678910>>...47

/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.cpp32 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/static_core/irtoc/lang/
Dregmap.rb37 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 …]
Dregmask.rb88 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/static_core/plugins/ets/stdlib/std/core/
DShort.sts145 * 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 …]
DInt.sts145 * 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 …]
DLong.sts145 * 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 …]
DByte.sts146 * 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 …]
DFloat.sts192 * 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 …]
DBoolean.sts213 * @param other object to be checked against
218 public equals(other: NullishType): boolean {
219 if (__runtimeIsSameReference(this, other)) {
223 if (!(other instanceof Boolean)) {
227 return this.value == (other as Boolean).value
255 * Compares this instance to other Boolean object
260 * @param other Boolean object to compare with
264 public override compareTo(other: Boolean): int {
265 return this.$_hashCode() - other.$_hashCode();
298 * @param other provided instance
[all …]
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dacc_vregister-inl.h33 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 …]
Dvregister.h242 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/
Dslots.h101 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 …]
Dchunk_allocator.h36 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/
Dmem_range.h48 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()
Darena_allocator_stl_adapter.h36 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;
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dmem_range.h46 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/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dsparse_datainfo.h35 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/static_core/runtime/mem/
Dallocator_adapter.h38 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/
Ddefine-class-member-as-undefined-in-other-class_0.sts24 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/static_core/libpandabase/utils/
Dbit_vector.h63 BitReference &operator=(const BitReference &other)
65 if (&other != this) {
66 *this = bool(other);
71 BitReference &operator=(BitReference &&other) noexcept
73 *this = bool(other);
81 bool operator==(const BitReference &other) const
83 return bool(*this) == bool(other);
85 bool operator<(const BitReference &other) const
87 return !bool(*this) && bool(other);
119 bool operator==(const BitVectorIterator<IS_CONST_OTHER> &other) const
[all …]
Dregmask.h184 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) const
196 return Self(GetValue() ^ other.GetValue());
199 constexpr Self operator&=(Self other)
201 value_ &= other.GetValue();
205 constexpr Self operator|=(Self other)
207 value_ |= other.GetValue();
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/base/
Dbit_set.h132 void CopyFrom(const BitSet &other) in CopyFrom() argument
134 ASSERT(wordCount_ == other.wordCount_); in CopyFrom()
135 wordCount_ = other.wordCount_; in CopyFrom()
137 data_.inlineWord_ = other.data_.inlineWord_; in CopyFrom()
141 data_.words_[i] = other.data_.words_[i]; in CopyFrom()
145 void CopyDataFrom(const BitSet &other) in CopyDataFrom() argument
147 ASSERT(wordCount_ >= other.wordCount_); in CopyDataFrom()
148 if (!other.UseWords()) { in CopyDataFrom()
150 data_.words_[0] = other.data_.inlineWord_; in CopyDataFrom()
152 data_.inlineWord_ = other.data_.inlineWord_; in CopyDataFrom()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dregmask.h179 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 …]
/arkcompiler/runtime_core/static_core/runtime/profilesaver/
Dprofile_dump_info.h71 int Compare(const ExtractedResolvedClasses &other) const in Compare()
73 if (panda_file_checksum_ != other.panda_file_checksum_) { in Compare()
74 return static_cast<int>(panda_file_checksum_ - other.panda_file_checksum_); in Compare()
76 return panda_file_location_.compare(other.panda_file_location_); in Compare()
138 bool MergeWith(const ProfileDumpInfo &other);
224 bool operator==(const MethodWrapper &other) const
226 return methodId == other.methodId;
229 bool operator<(const MethodWrapper &other) const
231 return methodId < other.methodId;
239 bool operator==(const ClassWrapper &other) const
[all …]
/arkcompiler/runtime_core/static_core/runtime/include/tooling/
Dpt_thread.h30 bool operator==(const PtThread &other) const
32 return managedThread_ == other.managedThread_;
35 bool operator!=(const PtThread &other) const
37 return !(*this == other);
40 bool operator<(const PtThread &other) const
42 return managedThread_ < other.managedThread_;

12345678910>>...47