Home
last modified time | relevance | path

Searched refs:arrayFunc (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
Dtyped_array_helper_test.cpp57 JSHandle<JSFunction> arrayFunc; in CreateTypedArrayCallInfo() local
60 arrayFunc = JSHandle<JSFunction>(env->GetBigInt64ArrayFunction()); in CreateTypedArrayCallInfo()
64 arrayFunc = JSHandle<JSFunction>(env->GetBigUint64ArrayFunction()); in CreateTypedArrayCallInfo()
68 arrayFunc = JSHandle<JSFunction>(env->GetFloat32ArrayFunction()); in CreateTypedArrayCallInfo()
72 arrayFunc = JSHandle<JSFunction>(env->GetFloat64ArrayFunction()); in CreateTypedArrayCallInfo()
76 arrayFunc = JSHandle<JSFunction>(env->GetInt16ArrayFunction()); in CreateTypedArrayCallInfo()
80 arrayFunc = JSHandle<JSFunction>(env->GetInt32ArrayFunction()); in CreateTypedArrayCallInfo()
84 arrayFunc = JSHandle<JSFunction>(env->GetInt8ArrayFunction()); in CreateTypedArrayCallInfo()
88 arrayFunc = JSHandle<JSFunction>(env->GetUint16ArrayFunction()); in CreateTypedArrayCallInfo()
92 arrayFunc = JSHandle<JSFunction>(env->GetUint32ArrayFunction()); in CreateTypedArrayCallInfo()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_atomics_test.cpp93 JSHandle<JSFunction> arrayFunc; in CreateTypedArray() local
97 arrayFunc = JSHandle<JSFunction>(env->GetBigInt64ArrayFunction()); in CreateTypedArray()
98 …ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*arrayFunc), 6); in CreateTypedArray()
99 ecmaRuntimeCallInfo1->SetFunction(JSTaggedValue(*arrayFunc)); in CreateTypedArray()
109 arrayFunc = JSHandle<JSFunction>(env->GetBigUint64ArrayFunction()); in CreateTypedArray()
110 …ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*arrayFunc), 6); in CreateTypedArray()
111 ecmaRuntimeCallInfo1->SetFunction(JSTaggedValue(*arrayFunc)); in CreateTypedArray()
121 arrayFunc = JSHandle<JSFunction>(env->GetInt16ArrayFunction()); in CreateTypedArray()
122 …ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*arrayFunc), 6); in CreateTypedArray()
123 ecmaRuntimeCallInfo1->SetFunction(JSTaggedValue(*arrayFunc)); in CreateTypedArray()
[all …]
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/
Dtypes.ts138 function arrayFunc<T extends object>(array: Array<T>): Array<string> {
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dtypes.ts138 function arrayFunc<T extends object>(array: Array<T>): Array<string> {
/arkcompiler/ets_runtime/ecmascript/
Djs_array.cpp91 JSHandle<JSFunction> arrayFunc(env->GetArrayFunction()); in ArrayCreate() local
92 JSHandle<JSObject> obj = factory->NewJSObjectByConstructor(arrayFunc, newTarget); in ArrayCreate()
371 JSHandle<JSFunction> arrayFunc(env->GetArrayFunction()); in CreateArrayFromList() local
372 JSHandle<JSObject> obj = factory->NewJSObjectByConstructor(arrayFunc); in CreateArrayFromList()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp148 JSHandle<JSFunction> arrayFunc(tsManager_->GetEcmaVM()->GetGlobalEnv()->GetArrayFunction()); in NewJSArrayLiteral() local
149 JSTaggedValue protoOrHClass = arrayFunc->GetProtoOrHClass(); in NewJSArrayLiteral()
Dnew_object_stub_builder.cpp1199 auto arrayFunc = in LoadArrayHClassSlowPath() local
1201 … ret = Load(VariableType::JS_POINTER(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFFSET)); in LoadArrayHClassSlowPath()
1253 …GateRef arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNC… in CreateEmptyArray() local
1254 …GateRef hclass = Load(VariableType::JS_POINTER(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_… in CreateEmptyArray()
Dtyped_hcr_lowering.cpp2194 GateRef arrayFunc = in LowerArrayConstructorCheck() local
2196 check = builder_.Equal(arrayFunc, newTarget); in LowerArrayConstructorCheck()
Dinterpreter_stub.cpp380 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in DECLARE_ASM_HANDLER() local
381 …GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLAS… in DECLARE_ASM_HANDLER()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.cpp89 … auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, in Concat() local
91 GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, in Concat()
1484 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in NewArray() local
1485 …GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLAS… in NewArray()
1667 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in From() local
1668 …GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLAS… in From()
1766 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in Splice() local
1767 …GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLAS… in Splice()
Dbuiltins_stubs.cpp590 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in DECLARE_BUILTINS() local
591 Branch(Equal(arrayFunc, newTarget), &fastGetHclass, &slowPath2); in DECLARE_BUILTINS()
Dbuiltins_object_stub_builder.cpp154 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in CreateArrayFromList() local
156 …GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLAS… in CreateArrayFromList()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h94 JSHandle<JSFunction> arrayFunc(env_->GetArrayFunction()); in Launch()
95 …ayClass_ = JSHandle<JSHClass>(thread_, JSFunction::GetOrCreateInitialJSHClass(thread_, arrayFunc)); in Launch()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_typed_array_test.cpp1463 JSHandle<JSFunction> arrayFunc = JSHandle<JSFunction>(env->GetInt8ArrayFunction()); in HWTEST_F_L0() local
1467 …TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*arrayFunc), 6); // 6 : arguments leng… in HWTEST_F_L0()
1468 ecmaRuntimeCallInfo->SetFunction(JSTaggedValue(*arrayFunc)); in HWTEST_F_L0()