Home
last modified time | relevance | path

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

12345678910>>...58

/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.cpp31 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/
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/libabckit/include/cpp/headers/
Dutils.h125 * @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 …]
Dstatic_isa.h37 * @param other
39 StaticIsa(const StaticIsa &other) = delete;
43 * @param other
45 StaticIsa &operator=(const StaticIsa &other) = delete;
49 * @param other
51 StaticIsa(StaticIsa &&other) = delete;
55 * @param other
57 StaticIsa &operator=(StaticIsa &&other) = delete;
/arkcompiler/ets_frontend/ets2panda/lsp/src/refactors/
Drefactor_types.cpp21 Refactor::Refactor(const Refactor &other) in Refactor() argument
23 kinds_.insert(kinds_.end(), other.kinds_.begin(), other.kinds_.end()); in Refactor()
26 Refactor &Refactor::operator=(const Refactor &other) in operator =() argument
28 kinds_.insert(kinds_.end(), other.kinds_.begin(), other.kinds_.end()); in operator =()
32 Refactor &Refactor::operator=(Refactor &&other) in operator =() argument
34 kinds_.insert(kinds_.end(), other.kinds_.begin(), other.kinds_.end()); in operator =()
38 Refactor::Refactor(Refactor &&other) in Refactor() argument
40 kinds_.insert(kinds_.end(), other.kinds_.begin(), other.kinds_.end()); in Refactor()
/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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DInt.ets210 * Compares this instance to other Int object
215 * @param other Int object to compare with
219 public override compareTo(other: Int): int {
220 return this.value - other.unboxed();
250 equals(other: NullishType): boolean {
251 if (this === other) {
255 if (!(other instanceof Int)) {
259 return this.value == (other as Int).value
265 * @param other Right hand side of the addition
269 public add(other: Int): Int {
[all …]
DShort.ets210 * Compares this instance to other Short object
215 * @param other Short object to compare with
219 public override compareTo(other: Short): int {
220 return (this.value - other.unboxed()) as int;
253 * @param other object to be checked against
258 public equals(other: NullishType): boolean {
259 if (this === other) {
263 if (!(other instanceof Short)) {
267 return this.value == (other as Short).value
273 * @param other Right hand side of the addition
[all …]
DLong.ets210 * Compares this instance to other Long object
215 * @param other Long object to compare with
219 public override compareTo(other: Long): int {
220 return (this.value - other.unboxed()).toInt();
280 * @param other object to be checked against
285 public equals(other: NullishType): boolean {
286 if (this === other) {
290 if (!(other instanceof Long)) {
294 return this.value == (other as Long).value
300 * @param other Right hand side of the addition
[all …]
DByte.ets210 * Compares this instance to other Byte object
215 * @param other Byte object to compare with
219 public override compareTo(other: Byte): int {
220 return (this.value - other.unboxed()) as int;
277 * @param other object to be checked against
282 public equals(other: NullishType): boolean {
283 if (this === other) {
287 if (!(other instanceof Byte)) {
291 return this.value == (other as Byte).value
297 * @param other Right hand side of the addition
[all …]
/arkcompiler/ets_frontend/ets2panda/ir/
Dtyped.h64 Typed(Typed const &other) : T(static_cast<T const &>(other)) {} in Typed() argument
66 void CopyTo(AstNode *other) const override in CopyTo() argument
68 auto otherImpl = static_cast<Typed<T> *>(other); in CopyTo()
70 T::CopyTo(other); in CopyTo()
86 void CopyTo(AstNode *other) const override in CopyTo() argument
88 Typed<AstNode>::CopyTo(other); in CopyTo()
95 …TypedAstNode(TypedAstNode const &other) : Typed<AstNode>(static_cast<Typed<AstNode> const &>(other in TypedAstNode() argument
114 …nnotatedAstNode(AnnotatedAstNode const &other) : Annotated<AstNode>(static_cast<Annotated<AstNode>… in AnnotatedAstNode() argument
127 void CopyTo(AstNode *other) const override in CopyTo() argument
129 Typed<Statement>::CopyTo(other); in CopyTo()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dslots.h106 bool operator<(const ObjectSlot &other) const
108 return slotAddress_ < other.slotAddress_;
110 bool operator<=(const ObjectSlot &other) const
112 return slotAddress_ <= other.slotAddress_;
114 bool operator>(const ObjectSlot &other) const
116 return slotAddress_ > other.slotAddress_;
118 bool operator>=(const ObjectSlot &other) const
120 return slotAddress_ >= other.slotAddress_;
122 bool operator==(const ObjectSlot &other) const
124 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/ets_frontend/ets2panda/test/runtime/ets/
DGenericBridges_03.ets17 compare(other: T): int;
21 compareTo(other: T): int;
25 abstract compareFrom(other: T): int;
33 override compareTo(other: V) {
34 return this.v - other.v;
37 override compareFrom(other: V) {
38 return other.v - this.v;
41 override compare(other: V) {
42 return 2 * other.v - this.v;
/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/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()
/arkcompiler/ets_frontend/ets2panda/lsp/include/
Dclass_hierarchy_item.h37 ClassHierarchyItem(const ClassHierarchyItem &other) = default;
38 ClassHierarchyItem(ClassHierarchyItem &&other) = default;
39 ClassHierarchyItem &operator=(const ClassHierarchyItem &other) = default;
40 ClassHierarchyItem &operator=(ClassHierarchyItem &&other) = default;
65 ClassPropertyItem(const ClassPropertyItem &other) = default;
66 ClassPropertyItem(ClassPropertyItem &&other) = default;
67 ClassPropertyItem &operator=(const ClassPropertyItem &other) = default;
68 ClassPropertyItem &operator=(ClassPropertyItem &&other) = default;
101 ClassMethodItem(const ClassMethodItem &other) = default;
102 ClassMethodItem(ClassMethodItem &&other) = default;
[all …]
/arkcompiler/runtime_core/libabckit/include/cpp/headers/js/
Dimport_descriptor.h39 * @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;
/arkcompiler/runtime_core/libabckit/include/cpp/headers/arkts/
Dnamespace.h40 * @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;
Dimport_descriptor.h41 * @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;
Dfield.h36 * @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/plugins/ets/tests/ets_func_tests/std/core/
DIntlPluralRulesTest.ets33 runSelectTest("en", 2, "other")
34 runSelectTest("en", 0, "other")
44 runSelectTest("fr", 2, "other")
47 runSelectTest("zh", 1, "other")
48 runSelectTest("zh", 100, "other")
49 runSelectTest("zh", 0, "other")
51 runSelectTest("ja", 1, "other")
52 runSelectTest("ja", 5, "other")
55 runSelectTest(fakeLocale, 2, "other")
99 runTestWithOptions("en", 2, { type: "cardinal" }, "other")
[all …]
/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/plugins/ets/runtime/libani_helpers/
Dani_signature_builder.cpp59 Type::Type(const Type &other) : impl_(other.impl_ ? std::make_unique<Type::Impl>(*other.impl_) : nu… in Type() argument
62 Type &Type::operator=(const Type &other) in operator =() argument
64 if (this != &other) { in operator =()
65 impl_ = other.impl_ ? std::make_unique<Type::Impl>(*other.impl_) : nullptr; in operator =()
70 Type::Type(Type &&other) : impl_(std::move(other.impl_)) {} in Type() argument
72 Type &Type::operator=(Type &&other) in operator =() argument
74 if (this != &other) { in operator =()
75 impl_ = std::move(other.impl_); in operator =()
104 Module::Module(const Module &other) : impl_(other.impl_ ? std::make_unique<Module::Impl>(*other.imp… in Module() argument
107 Module &Module::operator=(const Module &other) in operator =() argument
[all …]

12345678910>>...58