Home
last modified time | relevance | path

Searched full:create (Results 1 – 25 of 1293) sorted by relevance

12345678910>>...52

/arkcompiler/toolchain/tooling/test/
Ddebugger_params_test.cpp76 objectData = ContinueToLocationParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
81 objectData = ContinueToLocationParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
86 objectData = ContinueToLocationParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
91 objectData = ContinueToLocationParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
96 objectData = ContinueToLocationParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
112 objectData = SetBreakpointsActiveParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
117 objectData = SetBreakpointsActiveParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
122 objectData = SetBreakpointsActiveParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
127 objectData = SetBreakpointsActiveParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
139 objectData = SetSkipAllPausesParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
[all …]
Dpt_params_test.cpp57 std::unique_ptr<EnableParams> result = EnableParams::Create(*ptJson); in HWTEST_F_L0()
71 std::unique_ptr<EvaluateOnCallFrameParams> result = EvaluateOnCallFrameParams::Create(*ptJson); in HWTEST_F_L0()
84 …std::unique_ptr<GetPossibleBreakpointsParams> result = GetPossibleBreakpointsParams::Create(*ptJso… in HWTEST_F_L0()
88 …std::unique_ptr<GetPossibleBreakpointsParams> result1 = GetPossibleBreakpointsParams::Create(*ptJs… in HWTEST_F_L0()
98 std::unique_ptr<ResumeParams> result = ResumeParams::Create(*ptJson); in HWTEST_F_L0()
100 std::unique_ptr<ResumeParams> result1 = ResumeParams::Create(*ptJson1); in HWTEST_F_L0()
113 std::unique_ptr<SetBlackboxPatternsParams> result = SetBlackboxPatternsParams::Create(*ptJson); in HWTEST_F_L0()
130 std::unique_ptr<StepIntoParams> result = StepIntoParams::Create(*ptJson); in HWTEST_F_L0()
132 std::unique_ptr<StepIntoParams> result1 = StepIntoParams::Create(*ptJson1); in HWTEST_F_L0()
149 std::unique_ptr<StepOverParams> result = StepOverParams::Create(*ptJson); in HWTEST_F_L0()
[all …]
Ddebugger_types_test.cpp76 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
81 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
86 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
91 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
96 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
101 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
106 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
113 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
119 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
125 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/templates/
Dtemplate.erb17 <%if @create["func"]%>
22 <%if @create["type"]%>.record R {}<%end%>
23 <%if @create["const_arr"]%><%array = @create["const_arr"]%>.array array <%="#{array["type"]}"%> 4 {…
24 <%if @create["obj"] || @create["ctor"]%>
26 <%if @create["static"]%>i64 field0 <static><%end%>
30 <%if @create["static"]%>i64[] field4 <static><%end%>
32 <%if @create["static"]%>
55 <%if @create["virt"]%>
66 <%if @create["obj"]%>
71 <%if @create["virt"]%>
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dconstructor_test.cpp38 // For this - need create additional Free-method for each of them. in ~ConstructorTest()
39 // Or create and destroy main MasmHolder user - encoder. in ~ConstructorTest()
41 // Also it is possible to create id for allocators or some another in ~ConstructorTest()
46 encoder = Encoder::Create(GetAllocator(), Arch::AARCH32, false); in ~ConstructorTest()
51 encoder = Encoder::Create(GetAllocator(), Arch::AARCH64, false); in ~ConstructorTest()
56 encoder = Encoder::Create(GetAllocator(), Arch::X86, false); in ~ConstructorTest()
63 encoder = Encoder::Create(GetAllocator(), Arch::X86_64, false); in ~ConstructorTest()
112 encoder = Encoder::Create(GetAllocator(), Arch::AARCH32, false); in TEST_F()
122 encoder = Encoder::Create(GetAllocator(), Arch::AARCH64, false); in TEST_F()
132 encoder = Encoder::Create(GetAllocator(), Arch::X86, false); in TEST_F()
[all …]
/arkcompiler/runtime_core/compiler/tests/
Dconstructor_test.cpp36 // For this - need create additional Free-method for each of them. in ~ConstructorTest()
37 // Or create and destroy main MasmHolder user - encoder. in ~ConstructorTest()
39 // Also it is possible to create id for allocators or some another in ~ConstructorTest()
44 encoder = Encoder::Create(GetAllocator(), Arch::AARCH32, false); in ~ConstructorTest()
49 encoder = Encoder::Create(GetAllocator(), Arch::AARCH64, false); in ~ConstructorTest()
54 encoder = Encoder::Create(GetAllocator(), Arch::X86, false); in ~ConstructorTest()
61 encoder = Encoder::Create(GetAllocator(), Arch::X86_64, false); in ~ConstructorTest()
107 encoder = Encoder::Create(GetAllocator(), Arch::AARCH32, false); in TEST_F()
117 encoder = Encoder::Create(GetAllocator(), Arch::AARCH64, false); in TEST_F()
127 encoder = Encoder::Create(GetAllocator(), Arch::X86, false); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/tests/taskmanager/
Dtask_scheduler_test.cpp55 queue->AddTask(Task::Create({queue->GetTaskType(), queue->GetVMType(), mode}, in CreateTaskProducerThread()
115 auto *tm = TaskScheduler::Create(THREADS_COUNT); in TEST_F()
127 // Create TaskScheduler in TEST_F()
129 auto *tm = TaskScheduler::Create(THREADS_COUNT); in TEST_F()
130 // Create and register 2 queues in TEST_F()
140 gcQueue->AddTask(Task::Create(GC_STATIC_VM_BACKGROUND_PROPERTIES, [&counters]() { in TEST_F()
146 jitQueue->AddTask(Task::Create(JIT_STATIC_VM_BACKGROUND_PROPERTIES, [&counters]() { in TEST_F()
165 // Create TaskScheduler in TEST_F()
167 auto *tm = TaskScheduler::Create(THREADS_COUNT); in TEST_F()
168 // Create and register 2 queues in TEST_F()
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/namecache_removecomments/
DnamecacheTest6_expected_cache.txt15 "LazyForEach#create#id": "p1",
16 "LazyForEach#create#component": "q1",
17 "LazyForEach#create#source": "r1",
18 "LazyForEach#create#itemGenFunction": "s1",
19 "LazyForEach#create#itemIdFunc": "t1",
28 "create:29:29": "create",
/arkcompiler/toolchain/tooling/base/
Dpt_params.cpp19 std::unique_ptr<EnableParams> EnableParams::Create(const PtJson &params) in Create() function in panda::ecmascript::tooling::EnableParams
34 LOG_DEBUGGER(ERROR) << "EnableParams::Create " << error; in Create()
41 std::unique_ptr<EvaluateOnCallFrameParams> EvaluateOnCallFrameParams::Create(const PtJson &params) in Create() function in panda::ecmascript::tooling::EvaluateOnCallFrameParams
107 LOG_DEBUGGER(ERROR) << "EvaluateOnCallFrameParams::Create " << error; in Create()
113 std::unique_ptr<ContinueToLocationParams> ContinueToLocationParams::Create(const PtJson &params) in Create() function in panda::ecmascript::tooling::ContinueToLocationParams
122 std::unique_ptr<Location> location = Location::Create(*position); in Create()
141 LOG_DEBUGGER(ERROR) << "ContinueToLocationParams::Create " << error; in Create()
149 std::unique_ptr<GetPossibleBreakpointsParams> GetPossibleBreakpointsParams::Create(const PtJson &pa… in Create() function in panda::ecmascript::tooling::GetPossibleBreakpointsParams
158 std::unique_ptr<Location> location = Location::Create(*start); in Create()
170 std::unique_ptr<Location> location = Location::Create(*end); in Create()
[all …]
Dpt_params.h41 static std::unique_ptr<ContinueToLocationParams> Create(const PtJson &params);
65 static std::unique_ptr<EnableParams> Create(const PtJson &params);
89 static std::unique_ptr<EvaluateOnCallFrameParams> Create(const PtJson &params);
120 static std::unique_ptr<GetPossibleBreakpointsParams> Create(const PtJson &params);
164 static std::unique_ptr<GetScriptSourceParams> Create(const PtJson &params);
183 static std::unique_ptr<RemoveBreakpointParams> Create(const PtJson &params);
202 static std::unique_ptr<RemoveBreakpointsByUrlParams> Create(const PtJson &params);
226 static std::unique_ptr<ResumeParams> Create(const PtJson &params);
250 static std::unique_ptr<SetAsyncCallStackDepthParams> Create(const PtJson &params);
268 static std::unique_ptr<SetBlackboxPatternsParams> Create(const PtJson &params);
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/object/Object/
DbuiltinObjectObject.ts31 let proto = {name: "create"};
32 //aot: [trace] aot inline builtin: Object.create, caller function name:func_main_0@builtinObjectObj…
33 print(Object.create(proto).name); //: create
34 print(Object.create(proto, {
36 value: "new create",
41 }).name); //: new create
43 …//aot: [trace] aot inline builtin: Object.create, caller function name:func_main_0@builtinObjectOb…
44 Object.create(undefined);
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_dictionary_test.cpp36 …* @tc.desc: Call "NameDictionary::Create" function Create a name dictionary.then, check whether th…
44 JSHandle<NameDictionary> nameDict = NameDictionary::Create(thread, numOfElement); in HWTEST_F_L0()
50 …* @tc.desc: Create a name dictionary, set a key value pair to the dictionary.The key is a string t…
61 JSHandle<NameDictionary> dictJShandle(NameDictionary::Create(thread, numOfElement)); in HWTEST_F_L0()
66 // create key and values in HWTEST_F_L0()
99 …* @tc.desc: Create a name dictionary, set a key value pair to the dictionary.The key is a string t…
108 JSHandle<NameDictionary> dictHandle(NameDictionary::Create(thread, numOfElement)); in HWTEST_F_L0()
110 // create key and values in HWTEST_F_L0()
130 …* @tc.desc: Create a name dictionary, set a key value pair to the dictionary.The key is a string t…
139 … JSMutableHandle<NameDictionary> dictHandle(thread, NameDictionary::Create(thread, numOfElement)); in HWTEST_F_L0()
[all …]
Dtemplate_map_test.cpp29 …* @tc.desc: Create a TemplateMap through calling Create function with numberOfElements. Check whet…
43 JSHandle<TemplateMap> templateMap = TemplateMap::Create(thread, numElementsTempMap); in HWTEST_F_L0()
58 …* @tc.desc: Create a TemplateMap, call Insert function with the TemplateMap, a key(JSArray) and a …
68 JSHandle<TemplateMap> templateMap = TemplateMap::Create(thread); in HWTEST_F_L0()
96 …* @tc.desc: Create a TemplateMap, let it call IncreaseEntries function, check whether the value re…
105 JSHandle<TemplateMap> templateMap = TemplateMap::Create(thread); in HWTEST_F_L0()
114 …* @tc.desc: Create a TemplateMap, let it call IncreaseEntries function and IncreaseHoleEntriesCoun…
124 JSHandle<TemplateMap> templateMap = TemplateMap::Create(thread); in HWTEST_F_L0()
144 JSHandle<TemplateMap> templateMap = TemplateMap::Create(thread); in HWTEST_F_L0()
159 …* @tc.desc: Create a source TemplateMap, change it through calling IncreaseEntries/IncreaseHoleEnt…
[all …]
/arkcompiler/runtime_core/assembler/
Dannotation.cpp25 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U1>(sc_val.GetValue<uint… in InitScalarValue()
29 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U8>(sc_val.GetValue<uint… in InitScalarValue()
34 … std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U16>(sc_val.GetValue<uint16_t>())); in InitScalarValue()
39 … std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U32>(sc_val.GetValue<uint32_t>())); in InitScalarValue()
44 … std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U64>(sc_val.GetValue<uint64_t>())); in InitScalarValue()
48 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I8>(sc_val.GetValue<int8… in InitScalarValue()
52 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I16>(sc_val.GetValue<int… in InitScalarValue()
56 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I32>(sc_val.GetValue<int… in InitScalarValue()
60 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I64>(sc_val.GetValue<int… in InitScalarValue()
64 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::F32>(sc_val.GetValue<flo… in InitScalarValue()
[all …]
/arkcompiler/runtime_core/static_core/assembler/
Dannotation.cpp25 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U1>(scVal.GetValue<uint8_… in InitScalarValue()
29 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U8>(scVal.GetValue<uint8_… in InitScalarValue()
33 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U16>(scVal.GetValue<uint1… in InitScalarValue()
37 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U32>(scVal.GetValue<uint3… in InitScalarValue()
41 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U64>(scVal.GetValue<uint6… in InitScalarValue()
45 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I8>(scVal.GetValue<int8_t… in InitScalarValue()
49 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I16>(scVal.GetValue<int16… in InitScalarValue()
53 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I32>(scVal.GetValue<int32… in InitScalarValue()
57 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I64>(scVal.GetValue<int64… in InitScalarValue()
61 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::F32>(scVal.GetValue<float… in InitScalarValue()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_object_test.cpp47 Runtime::Create(options_); in EtsObjectTest()
149 obj = EtsObject::Create(klass); in TEST_F()
158 EtsObject *obj = EtsObject::Create(klass1); in TEST_F()
168 EtsObject *obj1 = EtsObject::Create(klass1); in TEST_F()
169 EtsObject *obj2 = EtsObject::Create(klass2); in TEST_F()
182 EtsObject *barObj = EtsObject::Create(barKlass); in TEST_F()
183 EtsObject *fooObj1 = EtsObject::Create(fooKlass); in TEST_F()
184 EtsObject *fooObj2 = EtsObject::Create(fooKlass); in TEST_F()
208 EtsObject *barObj = EtsObject::Create(barKlass); in TEST_F()
209 EtsObject *fooObj1 = EtsObject::Create(fooKlass); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_typedarrays_instance.yaml19 create: "",
29 create: "",
38 create: "",
47 create: "new BigInt",
57 create: "",
67 create: "",
77 create: "",
Dlist.std_core_typedarrays_function1.yaml19 create: "",
29 create: "",
39 create: "",
50 create: "",
61 create: "",
72 create: "",
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_object.cpp22 EtsObject *EtsObject::Create(EtsCoroutine *etsCoroutine, EtsClass *klass) in Create() function in ark::ets::EtsObject
25 return static_cast<EtsObject *>(ObjectHeader::Create(etsCoroutine, klass->GetRuntimeClass())); in Create()
29 EtsObject *EtsObject::Create(EtsClass *klass) in Create() function in ark::ets::EtsObject
31 return Create(EtsCoroutine::GetCurrent(), klass); in Create()
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/generator/
Dgenerator.rb23 def initialize(instr, create) argument
25 @create = create
63 def concat_args(instr, create) argument
65 if create['ctor']
79 iops[0].insert = 'v4' if create['virt']
127 @command, create_list = @creator.create(instr, @command)
/arkcompiler/runtime_core/static_core/docs/coroutines/
Dcoro_seq.plantuml3 "Runtime::Initialize" -> CoroutineManager: Create
6 CoroutineManager -> "Coroutine: main": Create
10 CoroutineManager -> "Coroutine: foo": Create
/arkcompiler/ets_runtime/test/sharedtest/sharedarray/
Dexpect_output.txt59 Start Test create
63 Create from sendable undefined element list success. arr: ,,1
142 Create with without initialValue failed. err: BusinessError: Parameter error.Not enough parameters.…
143 Create with negative length failed. err: BusinessError: Parameter error.Invalid array length., code…
144 Create huge sendableArrayWith initialValue success.
145 Create with exceed max length failed. err: BusinessError: Parameter error.Invalid array length., co…
204 arrayFrozenTest static [create]. arr: A,A,A
216 Create from normal set: foo,bar,baz
217 Create from shared set: foo,bar,baz
220 create from sharedMap with non-sendable array failed. err: BusinessError: Parameter error.Only acce…
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dmonitor_test.cpp36 // We need to create a runtime instance to be able to create strings. in MonitorTest()
39 Runtime::Create(options_); in MonitorTest()
67 auto header = ObjectHeader::Create(cls); in TEST_F()
78 auto header = ObjectHeader::Create(cls); in TEST_F()
93 auto header1 = ObjectHeader::Create(cls); in TEST_F()
94 auto header2 = ObjectHeader::Create(cls); in TEST_F()
113 auto header = ObjectHeader::Create(cls); in TEST_F()
129 auto header = ObjectHeader::Create(cls); in TEST_F()
143 auto header = ObjectHeader::Create(cls); in TEST_F()
162 auto header1 = ObjectHeader::Create(cls); in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dproto_change_details_test.cpp100 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0()
127 …* @tc.desc: Create a weakvector object with a length of ten,Call the "pushback" function to set th…
129 … "add" function to add a jshclass object. The added jshclass object will create and get weakref and
143 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0()
158 …* @tc.desc: Create a weakvector object with a length of ten,Call the "pushback" function to set th…
160 …is case call the "add" function to add a jshclass object. The added jshclass object will create and
174 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0()
191 …* @tc.desc: Create a weakvector object with a length of ten,Call the "pushback" function to set th…
194 …* jshclass object will create and get weakref and return the location of the added objec…
207 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_coroutine.cpp48 auto etsNapiEnv = PandaEtsNapiEnv::Create(this, allocator); in Initialize()
50 LOG(FATAL, RUNTIME) << "Cannot create PandaEtsNapiEnv: " << etsNapiEnv.Error(); in Initialize()
145 return EtsBoxPrimitive<EtsBoolean>::Create(this, returnValue.GetAs<EtsBoolean>()); in GetReturnValueAsObject()
147 return EtsBoxPrimitive<EtsByte>::Create(this, returnValue.GetAs<EtsByte>()); in GetReturnValueAsObject()
149 return EtsBoxPrimitive<EtsShort>::Create(this, returnValue.GetAs<EtsShort>()); in GetReturnValueAsObject()
151 return EtsBoxPrimitive<EtsChar>::Create(this, returnValue.GetAs<EtsChar>()); in GetReturnValueAsObject()
153 return EtsBoxPrimitive<EtsInt>::Create(this, returnValue.GetAs<EtsInt>()); in GetReturnValueAsObject()
155 return EtsBoxPrimitive<EtsFloat>::Create(this, returnValue.GetAs<EtsFloat>()); in GetReturnValueAsObject()
157 return EtsBoxPrimitive<EtsDouble>::Create(this, returnValue.GetAs<EtsDouble>()); in GetReturnValueAsObject()
159 return EtsBoxPrimitive<EtsLong>::Create(this, returnValue.GetAs<EtsLong>()); in GetReturnValueAsObject()

12345678910>>...52