Home
last modified time | relevance | path

Searched refs:argsLength (Results 1 - 25 of 40) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_function.cpp152 const uint32_t argsLength = argList->GetLength(); in FunctionPrototypeApplyInternal() local
153 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in FunctionPrototypeApplyInternal()
155 info->SetCallArg(argsLength, argList); in FunctionPrototypeApplyInternal()
159 const uint32_t argsLength = static_cast<uint32_t>(argumentsList.second); in FunctionPrototypeApplyInternal() local
160 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in FunctionPrototypeApplyInternal()
162 info->SetCallArg(argsLength, argumentsList.first); in FunctionPrototypeApplyInternal()
179 uint32_t argsLength = 0; in FunctionPrototypeBind() local
181 argsLength = argv->GetArgsNumber() - 1; in FunctionPrototypeBind()
186 JSHandle<TaggedArray> argsArray = factory->NewTaggedArray(argsLength); in FunctionPrototypeBind()
187 for (uint32_t index = 0; index < argsLength; in FunctionPrototypeBind()
323 uint32_t argsLength = 0; FunctionPrototypeCall() local
[all...]
H A Dbuiltins_reflect.cpp51 const uint32_t argsLength = args->GetLength(); in ReflectApplyInternal() local
54 EcmaInterpreter::NewRuntimeCallInfo(thread, target, thisArgument, undefined, argsLength); in ReflectApplyInternal()
56 info->SetCallArg(argsLength, args); in ReflectApplyInternal()
93 const uint32_t argsLength = args->GetLength(); in ReflectConstructInternal() local
95 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, target, undefined, newTarget, argsLength); in ReflectConstructInternal()
97 info->SetCallArg(argsLength, args); in ReflectConstructInternal()
H A Dbuiltins_promise_job.cpp50 const uint32_t argsLength = 1; in PromiseReactionJob() local
53 EcmaInterpreter::NewRuntimeCallInfo(thread, call, undefined, undefined, argsLength); in PromiseReactionJob()
67 EcmaInterpreter::NewRuntimeCallInfo(thread, handler, undefined, undefined, argsLength); in PromiseReactionJob()
102 const uint32_t argsLength = 2; // 2: «resolvingFunctions.[[Resolve]], resolvingFunctions.[[Reject]]» in PromiseResolveThenableJob() local
104 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, then, thenable, undefined, argsLength); in PromiseResolveThenableJob()
H A Dbuiltins_map.cpp181 const uint32_t argsLength = 3; in ForEach() local
192 thread, func, thisArg, undefined, argsLength); in ForEach()
315 const uint32_t argsLength = 2; // 2: key and value pair in AddEntriesFromIterable() local
318 EcmaInterpreter::NewRuntimeCallInfo(thread, adder, JSHandle<JSTaggedValue>(target), undefined, argsLength); in AddEntriesFromIterable()
H A Dbuiltins_shared_map.cpp175 const uint32_t argsLength = 3; in ForEach() local
185 thread, func, thisArg, undefined, argsLength); in ForEach()
310 const uint32_t argsLength = 2; // 2: key and value pair in AddEntriesFromIterable() local
313 EcmaInterpreter::NewRuntimeCallInfo(thread, adder, JSHandle<JSTaggedValue>(target), undefined, argsLength); in AddEntriesFromIterable()
H A Dbuiltins_shared_array.cpp211 const uint32_t argsLength = 2; // 2: «nextValue, k» in From() local
213 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
284 const uint32_t argsLength = 2; // 2: «kValue, k» in From() local
286 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
536 const uint32_t argsLength = 3; // 3: «kValue, k, O» in CheckElementForEvery() local
551 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in CheckElementForEvery()
683 const uint32_t argsLength = 3; // 3: «kValue, k, O» in Some() local
686 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Some()
824 const uint32_t argsLength = 3; // 3: «kValue, k, O» in FilterUnStableJSArray() local
836 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in FilterUnStableJSArray()
973 const uint32_t argsLength = 3; // 3: «kValue, k, O» Find() local
1045 const uint32_t argsLength = 3; // 3: «kValue, k, O» FindIndex() local
1117 const uint32_t argsLength = 3; // 3: «kValue, k, O» ForEach() local
1311 const uint32_t argsLength = 3; // 3: «kValue, k, O» Map() local
1497 const uint32_t argsLength = 4; // 4: «accumulator, kValue, k, O» ReduceUnStableJSArray() local
2101 const uint32_t argsLength = argv->GetArgsNumber(); ToString() local
[all...]
H A Dbuiltins_typedarray.cpp182 const uint32_t argsLength = 2; in FromUsingIteratorUndefinedValues() local
194 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in FromUsingIteratorUndefinedValues()
241 const uint32_t argsLength = 2; in ProcessFromNotUndefinedValues() local
249 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in ProcessFromNotUndefinedValues()
532 const uint32_t argsLength = 3; in Every() local
541 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Every()
803 const uint32_t argsLength = 3; in ForEach() local
811 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()
1039 const uint32_t argsLength = 3; in Map() local
1047 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackfnHandle, thisArgHandle, undefined, argsLength); in Map()
1594 const uint32_t argsLength = 3; // 3: «kValue, k, O» Some() local
1757 const uint32_t argsLength = 3; Subarray() local
[all...]
H A Dbuiltins_array.cpp252 const uint32_t argsLength = 2; // 2: «kValue, k» in From() local
254 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
297 const uint32_t argsLength = 2; // 2: «nextValue, k» in From() local
299 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
369 const uint32_t argsLength = 2; // 2: «kValue, k» in From() local
371 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
777 const uint32_t argsLength = 3; // 3: «kValue, k, O» in Every() local
786 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Every()
900 const uint32_t argsLength = 3; // 3: «kValue, k, O» in FilterUnStableJSArray() local
912 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in FilterUnStableJSArray()
1037 const uint32_t argsLength = 3; // 3: «kValue, k, O» Find() local
1104 const uint32_t argsLength = 3; // 3: «kValue, k, O» FindIndex() local
1172 const uint32_t argsLength = 3; // 3: «kValue, k, O» ForEach() local
1561 const uint32_t argsLength = 3; // 3: «kValue, k, O» MapUnStableJSArray() local
1715 const uint32_t argsLength = 4; // 4: «accumulator, kValue, k, O» ReduceUnStableJSArray() local
1931 const uint32_t argsLength = 4; // 4: «accumulator, kValue, k, O» ReduceRightInner() local
2337 const uint32_t argsLength = 3; // 3: «kValue, k, O» Some() local
3343 const uint32_t argsLength = 3; // 3: «kValue, k, O» FindLast() local
3425 const uint32_t argsLength = 3; // 3: «kValue, k, O» FindLastIndex() local
[all...]
H A Dbuiltins_set.cpp199 const uint32_t argsLength = 3; in ForEach() local
209 thread, func, thisArg, undefined, argsLength); in ForEach()
H A Dbuiltins_shared_typedarray.cpp209 const uint32_t argsLength = 2; in From() local
217 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
264 const uint32_t argsLength = 2; in From() local
276 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
510 const uint32_t argsLength = 3; in Every() local
519 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Every()
712 const uint32_t argsLength = 3; in ForEach() local
720 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()
945 const uint32_t argsLength = 3; in Map() local
953 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackfnHandle, thisArgHandle, undefined, argsLength); in Map()
1603 const uint32_t argsLength = 3; Subarray() local
[all...]
H A Dbuiltins_shared_set.cpp198 const uint32_t argsLength = 3; in ForEach() local
207 thread, func, thisArg, undefined, argsLength); in ForEach()
H A Dbuiltins_string.cpp1062 const uint32_t argsLength = 2; in Replace() local
1065 EcmaInterpreter::NewRuntimeCallInfo(thread, replaceMethod, searchTag, undefined, argsLength); in Replace()
1100 const uint32_t argsLength = 3; // 3: «matched, pos, and string» in Replace() local
1102 EcmaInterpreter::NewRuntimeCallInfo(thread, replaceTag, undefined, undefined, argsLength); in Replace()
1186 const size_t argsLength = 2; in ReplaceAll() local
1189 EcmaInterpreter::NewRuntimeCallInfo(thread, replaceMethod, searchTag, undefined, argsLength); in ReplaceAll()
1225 const uint32_t argsLength = 3; // 3: «matched, pos, and string» in ReplaceAll() local
1227 EcmaInterpreter::NewRuntimeCallInfo(thread, replaceTag, undefined, undefined, argsLength); in ReplaceAll()
1631 const uint32_t argsLength = 2; in Split() local
1634 EcmaInterpreter::NewRuntimeCallInfo(thread, splitter, seperatorTag, undefined, argsLength); in Split()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Decma_runtime_call_info.h152 inline void SetCallArg(uint32_t argsLength, const JSHandle<TaggedArray> args)
154 for (uint32_t i = 0; i < argsLength; i++) {
159 inline void SetCallArg(uint32_t argsLength, const TaggedArray* args)
161 for (uint32_t i = 0; i < argsLength; i++) {
166 inline void SetCallArg(uint32_t argsLength, uint32_t startIndex, const EcmaRuntimeCallInfo* argv, int32_t offset)
168 for (uint32_t i = startIndex; i < argsLength; i++) {
H A Djs_proxy.cpp135 const uint32_t argsLength = 2; // 2: target and proto in SetPrototype() local
137 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in SetPrototype()
303 const uint32_t argsLength = 2; // 2: target and key in GetOwnProperty() local
305 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in GetOwnProperty()
398 const uint32_t argsLength = 3; // 3: target, key and desc in DefineOwnProperty() local
400 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in DefineOwnProperty()
481 const uint32_t argsLength = 2; // 2: target and key in HasProperty() local
483 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in HasProperty()
543 const uint32_t argsLength = 3; // 3: «target, P, Receiver» in GetProperty() local
545 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in GetProperty()
615 const uint32_t argsLength = 4; // 4: «target, P, V, Receiver» SetProperty() local
679 const uint32_t argsLength = 2; // 2: target and key DeleteProperty() local
969 const uint32_t argsLength = 3; // 3: «target, thisArgument, argArray» CallInternal() local
1028 const uint32_t argsLength = 3; // 3: «target, argArray, newTarget » ConstructInternal() local
[all...]
H A Djs_stable_array.cpp589 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleFindIndexOfStable() local
605 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleFindIndexOfStable()
631 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleFindLastIndexOfStable() local
647 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleFindLastIndexOfStable()
675 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleEveryOfStable() local
683 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleEveryOfStable()
695 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleEveryOfStable()
720 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleSomeOfStable() local
728 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleSomeOfStable()
737 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleSomeOfStable()
764 const int32_t argsLength = 3; // 3: ?kValue, k, O? HandleforEachOfStable() local
[all...]
H A Dtagged_tree.cpp361 const uint32_t argsLength = 2; in EntryCompare() local
364 EcmaInterpreter::NewRuntimeCallInfo(thread, compareFn, thisArgHandle, undefined, argsLength); in EntryCompare()
374 info = EcmaInterpreter::NewRuntimeCallInfo(thread, compareFn, thisArgHandle, undefined, argsLength); in EntryCompare()
/arkcompiler/ets_runtime/ecmascript/jobs/
H A Dpending_job.h48 const uint32_t argsLength = argv->GetLength(); in ExecutePendingJob() local
50 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, job, undefined, undefined, argsLength); in ExecutePendingJob()
52 info->SetCallArg(argsLength, argv); in ExecutePendingJob()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_Method.cpp54 size_t argsLength = args->GetLength(); in TypeAPIMethodInvokeImplementation() local
55 if (methArgsCount - firstRealArg != argsLength) { in TypeAPIMethodInvokeImplementation()
59 for (size_t i = 0; i < argsLength; i++) { in TypeAPIMethodInvokeImplementation()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_function_stub_builder.cpp75 GateRef argsLength = GetLengthOfTaggedArray(argList); in PrototypeApply() local
78 callArgs.callThisArgvWithReturnArgs = { argsLength, argv, thisArg }; in PrototypeApply()
79 CallStubBuilder callBuilder(this, glue, thisValue, argsLength, 0, nullptr, Circuit::NullGate(), in PrototypeApply()
97 GateRef argsLength = MakeArgListWithHole(glue, elements, length); in PrototypeApply() local
100 callArgs.callThisArgvWithReturnArgs = { argsLength, elementArgv, thisArg }; in PrototypeApply()
101 CallStubBuilder callBuilder(this, glue, thisValue, argsLength, 0, nullptr, Circuit::NullGate(), in PrototypeApply()
109 GateRef argsLength = MakeArgListWithHole(glue, elements, length); in PrototypeApply() local
112 callArgs.callThisArgvWithReturnArgs = { argsLength, elementArgv, thisArg }; in PrototypeApply()
113 CallStubBuilder callBuilder(this, glue, thisValue, argsLength, 0, nullptr, Circuit::NullGate(), in PrototypeApply()
156 DEFVARIABLE(argsLength, VariableTyp in PrototypeBind()
236 GateRef argsLength = Int32Sub(TruncInt64ToInt32(numArgs), Int32(1)); // 1: thisArg PrototypeCall() local
387 GateRef argsLength = GetLengthOfTaggedArray(argv); MakeArgListWithHole() local
[all...]
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi.cpp157 const uint32_t argsLength = 3; \
159 ecmascript::EcmaInterpreter::NewRuntimeCallInfo(thread, func, undefined, func, argsLength); \
183 const uint32_t argsLength = 3; \
185 ecmascript::EcmaInterpreter::NewRuntimeCallInfo(thread, func, undefined, func, argsLength); \
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_vector.cpp295 const uint32_t argsLength = NUM_MANDATORY_JSFUNC_ARGS; in ForEach() local
302 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ForEach()
323 const uint32_t argsLength = NUM_MANDATORY_JSFUNC_ARGS; in ReplaceAllElements() local
330 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ReplaceAllElements()
H A Djs_api_arraylist.cpp267 const int32_t argsLength = 3; in ReplaceAllElements() local
273 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ReplaceAllElements()
357 const int32_t argsLength = 3; in ForEach() local
363 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ForEach()
/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_queue.cpp162 const uint32_t argsLength = 3; in ForEach() local
164 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()
H A Dcontainers_treeset.cpp367 const uint32_t argsLength = 3; in ForEach() local
374 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in ForEach()
/arkcompiler/ets_runtime/ecmascript/base/
H A Darray_helper.cpp332 const int32_t argsLength = 3; // 3: « element, sourceIndex, source » in FlattenIntoArray() local
335 EcmaInterpreter::NewRuntimeCallInfo(thread, mapperFunctionHandle, thisArg, undefined, argsLength); in FlattenIntoArray()

Completed in 33 milliseconds

12