Home
last modified time | relevance | path

Searched refs:arrayFunc (Results 1 – 7 of 7) 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_runtime/ecmascript/
Djs_array.cpp76 JSHandle<JSFunction> arrayFunc(env->GetArrayFunction()); in ArrayCreate() local
77 JSHandle<JSObject> obj = factory->NewJSObjectByConstructor(arrayFunc, newTarget); in ArrayCreate()
352 JSHandle<JSFunction> arrayFunc(env->GetArrayFunction()); in CreateArrayFromList() local
353 JSHandle<JSObject> obj = factory->NewJSObjectByConstructor(arrayFunc); in CreateArrayFromList()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_mcr_lowering.cpp127 JSHandle<JSFunction> arrayFunc(tsManager_->GetEcmaVM()->GetGlobalEnv()->GetArrayFunction()); in NewJSArrayLiteral() local
128 JSTaggedValue protoOrHClass = arrayFunc->GetProtoOrHClass(); in NewJSArrayLiteral()
Dnew_object_stub_builder.cpp513 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in CreateEmptyArray() local
514 …auto hclass = Load(VariableType::JS_POINTER(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFF… in CreateEmptyArray()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_typed_array_test.cpp1462 JSHandle<JSFunction> arrayFunc = JSHandle<JSFunction>(env->GetInt8ArrayFunction()); in HWTEST_F_L0() local
1466 …TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*arrayFunc), 6); // 6 : arguments leng… in HWTEST_F_L0()
1467 ecmaRuntimeCallInfo->SetFunction(JSTaggedValue(*arrayFunc)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_stubs.cpp1106 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in DECLARE_BUILTINS() local
1107 Branch(Equal(arrayFunc, newTarget), &fastGetHclass, &slowPath); in DECLARE_BUILTINS()