Searched refs:arrayFunc (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | typed_array_helper_test.cpp | 57 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/ |
D | builtins_atomics_test.cpp | 93 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/ |
D | js_array.cpp | 76 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/ |
D | ntype_mcr_lowering.cpp | 127 JSHandle<JSFunction> arrayFunc(tsManager_->GetEcmaVM()->GetGlobalEnv()->GetArrayFunction()); in NewJSArrayLiteral() local 128 JSTaggedValue protoOrHClass = arrayFunc->GetProtoOrHClass(); in NewJSArrayLiteral()
|
D | new_object_stub_builder.cpp | 513 …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/ |
D | js_typed_array_test.cpp | 1462 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/ |
D | builtins_stubs.cpp | 1106 …auto arrayFunc = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::ARRAY_FUNCTIO… in DECLARE_BUILTINS() local 1107 Branch(Equal(arrayFunc, newTarget), &fastGetHclass, &slowPath); in DECLARE_BUILTINS()
|