/arkcompiler/ets_runtime/test/aottest/proxy/ |
D | proxy.ts | 24 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/ |
D | spreadoperator.js | 97 apply: function (target, thisArg, argumentsList) { argument 98 return target(...argumentsList);;
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_reflect.cpp | 36 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()
|
D | builtins_function.cpp | 122 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/ |
D | builtins_reflect_test.cpp | 110 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/ |
D | new_object_stub_builder.h | 52 void NewArgumentsObj(Variable *result, Label *exit, GateRef argumentsList, GateRef numArgs);
|
D | common_stubs.cpp | 284 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()
|
D | new_object_stub_builder.cpp | 239 GateRef argumentsList, GateRef numArgs) in NewArgumentsObj() argument 255 SetElementsArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), argumentsList); in NewArgumentsObj()
|
D | interpreter_stub.cpp | 269 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/ |
D | runtime_stubs-inl.h | 1806 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()
|
D | runtime_stubs.h | 635 … const JSHandle<TaggedArray> &argumentsList);
|