Home
last modified time | relevance | path

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

12345678910>>...59

/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_typeduarray_methods.j266 {{.item.objectType}}.of({{.item.create}}(1), {{.item.create}}(2)),
77 const isPositive = array.every((x: {{.item.type}}) => x > {{.item.create}}(0))
78 const isNegative = array.every((x: {{.item.type}}) => x < {{.item.create}}(0))
80 …lToIndexPlus1 = array.every((x: {{.item.type}}, index: number) => x == {{.item.create}}(index + 1))
81 …ValueEqualToIndex = array.every((x: {{.item.type}}, index: number) => x == {{.item.create}}(index))
88 return x + {{.item.create}}(index) == rhs
110 {{.item.objectType}}.of({{.item.create}}(1), {{.item.create}}(2)),
114 {{.item.objectType}}.of({{.item.create}}(0), {{.item.create}}(1)),
123 const hasPositivesSome = array.some((x: {{.item.type}}) => x > {{.item.create}}(0))
124 …tsWithValueEqIndex = array.some((x: {{.item.type}}, index: number) => x == {{.item.create}}(index))
[all …]
Dtest_core_typedarray_methods.j296 typedArray[0] = {{.item.create}}(1);
97 typedArray[1] = {{.item.create}}(2);
98 typedArray[2] = {{.item.create}}(3);
99 typedArray[3] = {{.item.create}}(4);
100 typedArray[4] = {{.item.create}}(5);
153 {{.item.create}}(1),
154 {{.item.create}}(2),
155 {{.item.create}}(3),
156 {{.item.create}}(4),
157 {{.item.create}}(5)];
[all …]
Dtest_core_typeduarray_ctors.j224 failures += check(createDefault(),"Create default empty {{.item.objectType}}");
25 …failures += check(createEmptyWithLength(),"Create default empty {{.item.objectType}} from length");
26 …failures += check(createNonEmptyWithLength(),"Create default non empty {{.item.objectType}} from l…
27 …failures += check(createtypedUArrayWithWrongLength(),"Create default non empty {{.item.objectType}…
28 …failures += check(createEmptyWithIterable(),"Create default empty {{.item.objectType}} from Iterab…
29 …failures += check(createNonEmptyWithIterable(),"Create default non empty {{.item.objectType}} from…
31 … failures += check(createtypedUArrayWithArrayLike(),"Create {{.item.objectType}} with ArrayLike");
33 …failures += check(createTAFromEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from e…
34 …failures += check(createTAFromEmptyArrayBufferOneParamNoOffset(),"Create default empty {{.item.obj…
35 …failures += check(createTAFromEmptyArrayBufferOneOffsetWithWrongNumber(),"Create default empty {{.…
[all …]
Dtest_core_typeduarray_function2.j281 {{.item.create}}(10),
82 {{.item.create}}(20),
83 {{.item.create}}(30),
84 {{.item.create}}(40),
85 {{.item.create}}(50),
86 {{.item.create}}(60)
145 {{.item.create}}(10),
146 {{.item.create}}(20),
147 {{.item.create}}(30),
148 {{.item.create}}(40),
[all …]
Dtest_core_typeduarray_slicing.j259 {{.item.create}}(10),
60 {{.item.create}}(20),
61 {{.item.create}}(30),
62 {{.item.create}}(40),
63 {{.item.create}}(50),
64 {{.item.create}}(60),
124 {{.item.create}}(10),
125 {{.item.create}}(20),
126 {{.item.create}}(30),
127 {{.item.create}}(40),
[all …]
Dtest_core_typedarray_ctors.j223 failures += check(createDefault(),"Create default empty {{.item.objectType}}");
24 …failures += check(createEmptyWithLength(),"Create default empty {{.item.objectType}} from length");
25 …failures += check(createNonEmptyWithLength(),"Create default non empty {{.item.objectType}} from l…
26 …failures += check(createtypedArrayWithWrongLength(),"Create default non empty {{.item.objectType}}…
27 …failures += check(createEmptyWithIterable(),"Create default empty {{.item.objectType}} from Iterab…
28 …failures += check(createNonEmptyWithIterable(),"Create default non empty {{.item.objectType}} from…
31 failures += check(createtypedArrayWithArrayLike(),"Create {{.item.objectType}} with ArrayLike");
33 …failures += check(createTAFromEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from e…
34 …failures += check(createTAFromEmptyArrayBufferOneParamNoOffset(),"Create default empty {{.item.obj…
35 …failures += check(createTAFromEmptyArrayBufferOneOffsetWithWrongNumber(),"Create default empty {{.…
[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/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/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/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/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": "r1",
16 "LazyForEach#create#component": "s1",
17 "LazyForEach#create#source": "t1",
18 "LazyForEach#create#itemGenFunction": "u1",
19 "LazyForEach#create#itemIdFunc": "v1",
28 "create:29:29": "create",
/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 //aot: [trace] aot call builtin: Object.create, caller function name:func_main_0@builtinObjectObject
35 print(Object.create(proto, {
37 value: "new create",
42 }).name); //: new create
44 …//aot: [trace] aot inline builtin: Object.create, caller function name:func_main_0@builtinObjectOb…
45 Object.create(undefined);
/arkcompiler/toolchain/tooling/base/
Dpt_params.cpp19 std::unique_ptr<EnableParams> EnableParams::Create(const PtJson &params) in Create() function in panda::ecmascript::tooling::EnableParams
50 LOG_DEBUGGER(ERROR) << "EnableParams::Create " << error; in Create()
57 std::unique_ptr<EvaluateOnCallFrameParams> EvaluateOnCallFrameParams::Create(const PtJson &params) in Create() function in panda::ecmascript::tooling::EvaluateOnCallFrameParams
123 LOG_DEBUGGER(ERROR) << "EvaluateOnCallFrameParams::Create " << error; in Create()
129 std::unique_ptr<ContinueToLocationParams> ContinueToLocationParams::Create(const PtJson &params) in Create() function in panda::ecmascript::tooling::ContinueToLocationParams
138 std::unique_ptr<Location> location = Location::Create(*position); in Create()
157 LOG_DEBUGGER(ERROR) << "ContinueToLocationParams::Create " << error; in Create()
165 std::unique_ptr<GetPossibleBreakpointsParams> GetPossibleBreakpointsParams::Create(const PtJson &pa… in Create() function in panda::ecmascript::tooling::GetPossibleBreakpointsParams
174 std::unique_ptr<Location> location = Location::Create(*start); in Create()
186 std::unique_ptr<Location> location = Location::Create(*end); in Create()
[all …]
/arkcompiler/runtime_core/static_core/assembler/
Dannotation.cpp26 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U1>(scVal.GetValue<uint8_… in InitScalarValue()
30 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U8>(scVal.GetValue<uint8_… in InitScalarValue()
34 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U16>(scVal.GetValue<uint1… in InitScalarValue()
38 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U32>(scVal.GetValue<uint3… in InitScalarValue()
42 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U64>(scVal.GetValue<uint6… in InitScalarValue()
46 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I8>(scVal.GetValue<int8_t… in InitScalarValue()
50 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I16>(scVal.GetValue<int16… in InitScalarValue()
54 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I32>(scVal.GetValue<int32… in InitScalarValue()
58 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I64>(scVal.GetValue<int64… in InitScalarValue()
62 …copyVal = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::F32>(scVal.GetValue<float… in InitScalarValue()
[all …]
/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/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.yaml20 create: "",
31 create: "",
41 create: "",
52 create: "new BigInt",
63 create: "",
74 create: "",
85 create: "",
Dlist.std_core_typedarrays_function1.yaml20 create: "",
31 create: "",
42 create: "",
54 create: "",
66 create: "",
78 create: "",
90 create: "new BigInt",
/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/plugins/ets/runtime/types/
Dets_sync_primitives.cpp23 EtsMutex *EtsMutex::Create(EtsCoroutine *coro) in Create() function in ark::ets::EtsMutex
26 … auto hMutex = EtsHandle<EtsMutex>(coro, EtsMutex::FromEtsObject(EtsObject::Create(coro, klass))); in Create()
27 auto *waitersList = EtsWaitersList::Create(coro); in Create()
60 EtsEvent *EtsEvent::Create(EtsCoroutine *coro) in Create() function in ark::ets::EtsEvent
63 … auto hEvent = EtsHandle<EtsEvent>(coro, EtsEvent::FromEtsObject(EtsObject::Create(coro, klass))); in Create()
64 auto *waitersList = EtsWaitersList::Create(coro); in Create()
94 EtsCondVar *EtsCondVar::Create(EtsCoroutine *coro) in Create() function in ark::ets::EtsCondVar
98 … auto hCondVar = EtsHandle<EtsCondVar>(coro, EtsCondVar::FromEtsObject(EtsObject::Create(klass))); in Create()
99 auto *waitersList = EtsWaitersList::Create(coro); in Create()
/arkcompiler/ets_frontend/arkguard/src/utils/
DMemoryDottingDefine.ts17 CREATE_AST = 'ArkObfuscator(createAst: Create AST)',
19 CREATE_PRINTER = 'ArkObfuscator(writeObfuscationResult: Create Printer)',
23 CREATE_CHECKER = 'RenameIdentifierTransformer(renameTransformer: Create checker)',
25 OBFUSCATE_NAMES = 'RenameIdentifierTransformer(renameTransformer: Create obfuscated names)',

12345678910>>...59