Home
last modified time | relevance | path

Searched refs:Clone (Results 1 – 25 of 50) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DgenericConstraintOnExtendedBuiltinTypes.ts23 Clone(): any;
35 this._from = from.Clone();
36 AssertType(this._from = from.Clone(), "any");
39 AssertType(from.Clone(), "any");
40 AssertType(from.Clone, "() => any");
DgenericConstraintOnExtendedBuiltinTypes2.ts23 Clone(): any;
34 this._from = from.Clone();
35 AssertType(this._from = from.Clone(), "any");
38 AssertType(from.Clone(), "any");
39 AssertType(from.Clone, "() => any");
DmappedTypes4.ts114 type Clone<T> = { alias
117 type M = Clone<Z>; // M should be { a: number }
122 let z1: Clone<Z>;
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.cpp263 Inst *Inst::Clone(const Graph *targetGraph) const in Clone() function in panda::compiler::Inst
284 Inst *SpillFillInst::Clone(const Graph *targetGraph) const in Clone() function in panda::compiler::SpillFillInst
286 auto clone = FixedInputsInst::Clone(targetGraph)->CastToSpillFill(); in Clone()
293 Inst *CompareInst::Clone(const Graph *targetGraph) const in Clone() function in panda::compiler::CompareInst
295 auto clone = FixedInputsInst::Clone(targetGraph); in Clone()
301 Inst *CmpInst::Clone(const Graph *targetGraph) const in Clone() function in panda::compiler::CmpInst
303 auto clone = FixedInputsInst::Clone(targetGraph); in Clone()
308 Inst *IfInst::Clone(const Graph *targetGraph) const in Clone() function in panda::compiler::IfInst
310 auto clone = FixedInputsInst::Clone(targetGraph); in Clone()
317 Inst *IntrinsicInst::Clone(const Graph *targetGraph) const in Clone() function in panda::compiler::IntrinsicInst
[all …]
Dinst.h951 virtual Inst *Clone(const Graph *targetGraph) const;
1664 Inst *Clone(const Graph *targetGraph) const override;
1677 Inst *FixedInputsInst<N>::Clone(const Graph *targetGraph) const in Clone() function
1679 auto clone = static_cast<FixedInputsInst *>(Inst::Clone(targetGraph)); in Clone()
1875 Inst *Clone(const Graph *targetGraph) const override;
1923 Inst *Clone(const Graph *targetGraph) const override in Clone() function
1925 auto clone = FixedInputsInst::Clone(targetGraph); in Clone()
1958 Inst *Clone(const Graph *targetGraph) const override in Clone() function
1960 auto clone = FixedInputsInst::Clone(targetGraph)->CastToCastAnyTypeValue(); in Clone()
1986 Inst *Clone(const Graph *targetGraph) const override in Clone() function
[all …]
Dgraph_cloner.h225 auto clone = block->Clone(target_graph); in CloneBlocksAndInstructions()
259 auto inst_clone = inst->Clone(target_graph); in CloneInstruction()
/arkcompiler/runtime_core/compiler/tests/
Dcompiler_inst_test.cpp142 auto constInst = inst->Clone(graph); in __anon1be7da800202()
145 constInst = inst->Clone(graph); in __anon1be7da800202()
148 constInst = inst->Clone(graph); in __anon1be7da800202()
151 constInst = inst->Clone(graph); in __anon1be7da800202()
180 EXPECT_EQ(parameterInst->Clone(graph)->GetOpcode(), Opcode::Parameter); in __anon1be7da800302()
350 EXPECT_EQ(compareInst->Clone(graph)->GetOpcode(), Opcode::Compare); in __anon1be7da800702()
387 EXPECT_EQ(spillFill->Clone(graph)->GetOpcode(), Opcode::SpillFill); in __anon1be7da800802()
418 EXPECT_NE(intrinsic_inst->Clone(graph), nullptr); in __anon1be7da800902()
490 EXPECT_EQ(save_state->Clone(graph)->GetOpcode(), Opcode::SaveState); in __anon1be7da800b02()
567 EXPECT_EQ(try_inst->Clone(graph)->GetOpcode(), Opcode::Try); in __anon1be7da800d02()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_plainarray.h28 static JSTaggedValue Clone(EcmaRuntimeCallInfo *argv);
Dcontainers_arraylist.h33 static JSTaggedValue Clone(EcmaRuntimeCallInfo *argv);
Dcontainers_linked_list.h33 static JSTaggedValue Clone(EcmaRuntimeCallInfo *argv);
Dcontainers_vector.h50 static JSTaggedValue Clone(EcmaRuntimeCallInfo *argv);
Dcontainers_plainarray.cpp104 JSTaggedValue ContainersPlainArray::Clone(EcmaRuntimeCallInfo *argv) in Clone() function in panda::ecmascript::containers::ContainersPlainArray
108 BUILTINS_API_TRACE(thread, PlainArray, Clone); in Clone()
121 JSAPIPlainArray::Clone(thread, JSHandle<JSAPIPlainArray>::Cast(self)); in Clone()
Dcontainers_linked_list.cpp216 JSTaggedValue ContainersLinkedList::Clone(EcmaRuntimeCallInfo *argv) in Clone() function in panda::ecmascript::containers::ContainersLinkedList
220 BUILTINS_API_TRACE(thread, LinkedList, Clone); in Clone()
234 JSHandle<JSAPILinkedList> newLinkedList = JSAPILinkedList::Clone(thread, jsAPILinkedList); in Clone()
Dcontainers_vector.cpp610 JSTaggedValue ContainersVector::Clone(EcmaRuntimeCallInfo *argv) in Clone() function in panda::ecmascript::containers::ContainersVector
614 BUILTINS_API_TRACE(thread, Vector, Clone); in Clone()
625 JSHandle<JSAPIVector> newVector = JSAPIVector::Clone(thread, JSHandle<JSAPIVector>::Cast(self)); in Clone()
Dcontainers_arraylist.cpp131 JSTaggedValue ContainersArrayList::Clone(EcmaRuntimeCallInfo *argv) in Clone() function in panda::ecmascript::containers::ContainersArrayList
134 BUILTINS_API_TRACE(argv->GetThread(), ArrayList, Clone); in Clone()
149 …JSHandle<JSAPIArrayList> newArrayList = JSAPIArrayList::Clone(thread, JSHandle<JSAPIArrayList>::Ca… in Clone()
/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.cpp176 JSHandle<JSHClass> JSHClass::Clone(const JSThread *thread, const JSHandle<JSHClass> &jshclass, in Clone() function in panda::ecmascript::JSHClass
201 return Clone(thread, jshclass, true); in CloneWithoutInlinedProperties()
225 JSHandle<JSHClass> newJsHClass = JSHClass::Clone(thread, jshclass); in SetPropertyOfObjHClass()
259 JSHandle<JSHClass> newJsHClass = JSHClass::Clone(thread, jshclass); in AddProperty()
304 JSHandle<JSHClass> newJsHClass = JSHClass::Clone(thread, jshclass); in TransitionExtension()
334 JSHandle<JSHClass> newJsHClass = JSHClass::Clone(thread, jshclass); in TransitionProto()
364 JSHandle<JSHClass> newJsHClass = JSHClass::Clone(thread, jshclass); in TransProtoWithoutLayout()
397 JSHandle<JSHClass> newProtoClass = JSHClass::Clone(thread, hclass); in ShouldUpdateProtoClass()
444 JSHandle<JSHClass> newHClass = JSHClass::Clone(thread, oldHClass); in TransitionForRepChange()
Druntime_call_id.h802 V(ArrayList, Clone) \
873 V(PlainArray, Clone) \
996 V(Vector, Clone) \
1039 V(LinkedList, Clone) \
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_linked_list.h34 static JSHandle<JSAPILinkedList> Clone(JSThread *thread, const JSHandle<JSAPILinkedList> &list);
Djs_api_plain_array.h36 …static JSHandle<JSAPIPlainArray> Clone(JSThread *thread, const JSHandle<JSAPIPlainArray> &plainArr…
Djs_api_vector.h93 static JSHandle<JSAPIVector> Clone(JSThread *thread, const JSHandle<JSAPIVector> &vector);
Djs_api_arraylist.h40 static JSHandle<JSAPIArrayList> Clone(JSThread *thread, const JSHandle<JSAPIArrayList> &obj);
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_hclass_test.cpp129 HWTEST_F_L0(JSHClassTest, Clone) in HWTEST_F_L0() argument
137 JSHandle<JSHClass> cloneClass = JSHClass::Clone(thread, objectClass, false); in HWTEST_F_L0()
148 cloneClass = JSHClass::Clone(thread, objectClass, true); in HWTEST_F_L0()
Djs_api_linked_list_test.cpp414 HWTEST_F_L0(JSAPILinkedListTest, Clone) in HWTEST_F_L0() argument
423 JSHandle<JSAPILinkedList> cloneList = JSAPILinkedList::Clone(thread, list); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_linked_list_test.cpp376 HWTEST_F_L0(ContainersLinkedListTest, Clone) in HWTEST_F_L0() argument
399 JSTaggedValue newlinkedList = ContainersLinkedList::Clone(callInfo1); in HWTEST_F_L0()
533 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersLinkedList, Clone); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp157 JSHandle<JSHClass> hclass = JSHClass::Clone(thread, oldHClass); in LowerNTypedCreateArrayWithBuffer()

12