Home
last modified time | relevance | path

Searched refs:argumentsList (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/test/aottest/proxy/
Dproxy.ts24 apply: function(target:any, thisArg:any, argumentsList:any[]) {
25 print(`Calculate sum: ${argumentsList}`);
27 return target(argumentsList[0], argumentsList[1]) * 10;
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/
Dspreadoperator.js97 apply: function (target, thisArg, argumentsList) { argument
98 return target(...argumentsList);;
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_reflect.cpp36 JSHandle<JSTaggedValue> argumentsList = GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in ReflectApply() local
37 JSHandle<JSTaggedValue> argOrAbrupt = JSObject::CreateListFromArrayLike(thread, argumentsList); in ReflectApply()
73 JSHandle<JSTaggedValue> argumentsList = GetCallArg(argv, 1); in ReflectConstruct() local
74 JSHandle<JSTaggedValue> argOrAbrupt = JSObject::CreateListFromArrayLike(thread, argumentsList); in ReflectConstruct()
Dbuiltins_function.cpp122 std::pair<TaggedArray*, size_t> argumentsList = BuildArgumentsListFast(thread, arrayObj); in FunctionPrototypeApply() local
123 if (!argumentsList.first) { in FunctionPrototypeApply()
136 const uint32_t argsLength = static_cast<uint32_t>(argumentsList.second); in FunctionPrototypeApply()
139 info->SetCallArg(argsLength, argumentsList.first); in FunctionPrototypeApply()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_reflect_test.cpp110 JSHandle<JSObject> argumentsList(JSArray::ArrayCreate(thread, JSTaggedNumber(2))); in HWTEST_F_L0() local
112 …JSArray::DefineOwnProperty(thread, argumentsList, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)… in HWTEST_F_L0()
115 …JSArray::DefineOwnProperty(thread, argumentsList, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)… in HWTEST_F_L0()
122 ecmaRuntimeCallInfo->SetCallArg(2, JSTaggedValue(*argumentsList)); in HWTEST_F_L0()
145 JSHandle<JSObject> argumentsList(JSArray::ArrayCreate(thread, JSTaggedNumber(1))); in HWTEST_F_L0() local
148 …JSArray::DefineOwnProperty(thread, argumentsList, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)… in HWTEST_F_L0()
154 ecmaRuntimeCallInfo->SetCallArg(1, JSTaggedValue(*argumentsList)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.h52 void NewArgumentsObj(Variable *result, Label *exit, GateRef argumentsList, GateRef numArgs);
Dcommon_stubs.cpp284 DEFVARIABLE(argumentsList, VariableType::JS_ANY(), Hole()); in GenerateCircuit()
296 newBuilder.NewArgumentsList(&argumentsList, &afterArgumentsList, args, startIdx, actualArgc); in GenerateCircuit()
298 Branch(TaggedIsException(*argumentsList), &exit, &newArgumentsObj); in GenerateCircuit()
300 newBuilder.NewArgumentsObj(&argumentsObj, &exit, *argumentsList, actualArgc); in GenerateCircuit()
Dnew_object_stub_builder.cpp239 GateRef argumentsList, GateRef numArgs) in NewArgumentsObj() argument
255 SetElementsArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), argumentsList); in NewArgumentsObj()
Dinterpreter_stub.cpp269 DEFVARIABLE(argumentsList, VariableType::JS_ANY(), Hole()); in DECLARE_ASM_HANDLER()
284 newBuilder.NewArgumentsList(&argumentsList, &afterArgumentsList, sp, startIdx, numArgs); in DECLARE_ASM_HANDLER()
286 Branch(TaggedIsException(*argumentsList), &slowPath, &newArgumentsObj); in DECLARE_ASM_HANDLER()
289 newBuilder.NewArgumentsObj(&argumentsObj, &afterArgumentsObj, *argumentsList, numArgs); in DECLARE_ASM_HANDLER()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h1806 JSHandle<TaggedArray> argumentsList = factory->NewTaggedArray(actualNumArgs); in RuntimeGetUnmapedArgs() local
1808 argumentsList->Set(thread, i, in RuntimeGetUnmapedArgs()
1811 return RuntimeGetUnmapedJSArgumentObj(thread, argumentsList); in RuntimeGetUnmapedArgs()
2188 …JSHandle<TaggedArray> argumentsList = factory->NewTaggedArray(actualNumArgs - NUM_MANDATORY_JSFUNC… in RuntimeOptGetUnmapedArgs() local
2196 argumentsList->Set(thread, idx++, args); in RuntimeOptGetUnmapedArgs()
2198 return RuntimeGetUnmapedJSArgumentObj(thread, argumentsList); in RuntimeOptGetUnmapedArgs()
2201 …Stubs::RuntimeGetUnmapedJSArgumentObj(JSThread *thread, const JSHandle<TaggedArray> &argumentsList) in RuntimeGetUnmapedJSArgumentObj() argument
2206 uint32_t len = argumentsList->GetLength(); in RuntimeGetUnmapedJSArgumentObj()
2219 obj->SetElements(thread, argumentsList.GetTaggedValue()); in RuntimeGetUnmapedJSArgumentObj()
Druntime_stubs.h635 … const JSHandle<TaggedArray> &argumentsList);