Home
last modified time | relevance | path

Searched refs:argsLength (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp129 const uint32_t argsLength = argList->GetLength(); in FunctionPrototypeApply() local
130 …CallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in FunctionPrototypeApply()
132 info->SetCallArg(argsLength, argList); in FunctionPrototypeApply()
136 const uint32_t argsLength = static_cast<uint32_t>(argumentsList.second); in FunctionPrototypeApply() local
137 …CallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in FunctionPrototypeApply()
139 info->SetCallArg(argsLength, argumentsList.first); in FunctionPrototypeApply()
160 uint32_t argsLength = 0; in FunctionPrototypeBind() local
162 argsLength = argv->GetArgsNumber() - 1; in FunctionPrototypeBind()
167 JSHandle<TaggedArray> argsArray = factory->NewTaggedArray(argsLength); in FunctionPrototypeBind()
168 for (uint32_t index = 0; index < argsLength; ++index) { in FunctionPrototypeBind()
[all …]
Dbuiltins_reflect.cpp43 const uint32_t argsLength = args->GetLength(); in ReflectApply() local
46 EcmaInterpreter::NewRuntimeCallInfo(thread, target, thisArgument, undefined, argsLength); in ReflectApply()
48 info->SetCallArg(argsLength, args); in ReflectApply()
78 const uint32_t argsLength = args->GetLength(); in ReflectConstruct() local
80 …Info *info = EcmaInterpreter::NewRuntimeCallInfo(thread, target, undefined, newTarget, argsLength); in ReflectConstruct()
82 info->SetCallArg(argsLength, args); in ReflectConstruct()
Dbuiltins_promise_job.cpp56 const uint32_t argsLength = 1; in PromiseReactionJob() local
59 EcmaInterpreter::NewRuntimeCallInfo(thread, call, undefined, undefined, argsLength); in PromiseReactionJob()
73 EcmaInterpreter::NewRuntimeCallInfo(thread, handler, undefined, undefined, argsLength); in PromiseReactionJob()
108 …const uint32_t argsLength = 2; // 2: «resolvingFunctions.[[Resolve]], resolvingFunctions.[[Reject]… in PromiseResolveThenableJob() local
110 …allInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, then, thenable, undefined, argsLength); in PromiseResolveThenableJob()
Dbuiltins_map.cpp183 const uint32_t argsLength = 3; in ForEach() local
194 thread, func, thisArg, undefined, argsLength); in ForEach()
317 const uint32_t argsLength = 2; // 2: key and value pair in AddEntriesFromIterable() local
320 …rpreter::NewRuntimeCallInfo(thread, adder, JSHandle<JSTaggedValue>(target), undefined, argsLength); in AddEntriesFromIterable()
Dbuiltins_array.cpp230 const uint32_t argsLength = 2; // 2: «nextValue, k» in From() local
232 … EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
299 const uint32_t argsLength = 2; // 2: «kValue, k» in From() local
301 … EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
710 const uint32_t argsLength = 3; // 3: «kValue, k, O» in Every() local
719 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Every()
895 const uint32_t argsLength = 3; // 3: «kValue, k, O» in Filter() local
905 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Filter()
968 const uint32_t argsLength = 3; // 3: «kValue, k, O» in Find() local
971 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Find()
[all …]
Dbuiltins_typedarray.cpp225 const uint32_t argsLength = 2; in From() local
233 … EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
280 const uint32_t argsLength = 2; in From() local
292 … EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength); in From()
524 const uint32_t argsLength = 3; in Every() local
533 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in Every()
711 const uint32_t argsLength = 3; in ForEach() local
719 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()
939 const uint32_t argsLength = 3; in Map() local
947 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackfnHandle, thisArgHandle, undefined, argsLength); in Map()
[all …]
Dbuiltins_set.cpp208 const uint32_t argsLength = 3; in ForEach() local
218 thread, func, thisArg, undefined, argsLength); in ForEach()
Dbuiltins_string.cpp862 const uint32_t argsLength = 2; in Replace() local
865 … EcmaInterpreter::NewRuntimeCallInfo(thread, replaceMethod, searchTag, undefined, argsLength); in Replace()
900 const uint32_t argsLength = 3; // 3: «matched, pos, and string» in Replace() local
902 … EcmaInterpreter::NewRuntimeCallInfo(thread, replaceTag, undefined, undefined, argsLength); in Replace()
986 const size_t argsLength = 2; in ReplaceAll() local
989 … EcmaInterpreter::NewRuntimeCallInfo(thread, replaceMethod, searchTag, undefined, argsLength); in ReplaceAll()
1029 const uint32_t argsLength = 3; // 3: «matched, pos, and string» in ReplaceAll() local
1031 … EcmaInterpreter::NewRuntimeCallInfo(thread, replaceTag, undefined, undefined, argsLength); in ReplaceAll()
1377 const uint32_t argsLength = 2; in Split() local
1380 … EcmaInterpreter::NewRuntimeCallInfo(thread, splitter, seperatorTag, undefined, argsLength); in Split()
Dbuiltins_object.cpp786 const uint32_t argsLength = argv->GetArgsNumber(); in ToLocaleString() local
788 …Info *info = EcmaInterpreter::NewRuntimeCallInfo(thread, undefined, object, undefined, argsLength); in ToLocaleString()
790 info->SetCallArg(argsLength, 0, argv, 0); in ToLocaleString()
/arkcompiler/ets_runtime/ecmascript/jobs/
Dpending_job.h47 const uint32_t argsLength = argv->GetLength(); in ExecutePendingJob() local
49 …allInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, job, undefined, undefined, argsLength); in ExecutePendingJob()
51 info->SetCallArg(argsLength, argv); in ExecutePendingJob()
/arkcompiler/ets_runtime/ecmascript/
Decma_runtime_call_info.h152 inline void SetCallArg(uint32_t argsLength, const JSHandle<TaggedArray> args) in SetCallArg()
154 for (uint32_t i = 0; i < argsLength; i++) { in SetCallArg()
159 inline void SetCallArg(uint32_t argsLength, const TaggedArray* args) in SetCallArg()
161 for (uint32_t i = 0; i < argsLength; i++) { in SetCallArg()
166 …inline void SetCallArg(uint32_t argsLength, uint32_t startIndex, const EcmaRuntimeCallInfo* argv, … in SetCallArg()
168 for (uint32_t i = startIndex; i < argsLength; i++) { in SetCallArg()
Djs_proxy.cpp135 const uint32_t argsLength = 2; // 2: target and proto in SetPrototype() local
137 …lInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in SetPrototype()
300 const uint32_t argsLength = 2; // 2: target and key in GetOwnProperty() local
302 …lInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in GetOwnProperty()
399 const uint32_t argsLength = 3; // 3: target, key and desc in DefineOwnProperty() local
401 …lInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in DefineOwnProperty()
487 const uint32_t argsLength = 2; // 2: target and key in HasProperty() local
489 …lInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in HasProperty()
560 const uint32_t argsLength = 3; // 3: «target, P, Receiver» in GetProperty() local
562 …lInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerTag, undefined, argsLength); in GetProperty()
[all …]
Djs_stable_array.cpp317 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleFindIndexOfStable() local
325 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleFindIndexOfStable()
354 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleFindLastIndexOfStable() local
362 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleFindLastIndexOfStable()
389 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleEveryOfStable() local
398 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleEveryOfStable()
410 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleEveryOfStable()
436 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleforEachOfStable() local
448 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleforEachOfStable()
461 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in HandleforEachOfStable()
[all …]
Djs_function.cpp560 const uint32_t argsLength = info->GetArgsNumber() + boundLength; in ConstructInternal() local
563 … EcmaInterpreter::NewRuntimeCallInfo(thread, target, undefined, newTargetMutable, argsLength); in ConstructInternal()
566 runtimeInfo->SetCallArg(argsLength, 0, info, 0); in ConstructInternal()
570 runtimeInfo->SetCallArg(argsLength, boundLength, info, 0); in ConstructInternal()
Dtagged_tree.h144 const uint32_t argsLength = 2; in EntryCompare() local
147 … EcmaInterpreter::NewRuntimeCallInfo(thread, compareFn, thisArgHandle, undefined, argsLength); in EntryCompare()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.cpp60 const uint32_t argsLength = 2; // 2: « name, val » in InternalizeJsonProperty() local
62 …fo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, receiver, objHandle, undefined, argsLength); in InternalizeJsonProperty()
Darray_helper.cpp208 const int32_t argsLength = 3; // 3: « element, sourceIndex, source » in FlattenIntoArray() local
211 … EcmaInterpreter::NewRuntimeCallInfo(thread, mapperFunctionHandle, thisArg, undefined, argsLength); in FlattenIntoArray()
Dtyped_array_helper.cpp603 const uint32_t argsLength = 2; in SortCompare() local
606 … EcmaInterpreter::NewRuntimeCallInfo(thread, callbackfnHandle, undefined, undefined, argsLength); in SortCompare()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_stubs.cpp907 GateRef argsLength = GetLengthOfTaggedArray(argList); in DECLARE_BUILTINS() local
909 res = JSCallDispatch(glue, thisValue, argsLength, 0, Circuit::NullGate(), in DECLARE_BUILTINS()
910 JSCallMode::CALL_THIS_ARGV_WITH_RETURN, { argsLength, argv, thisArg }); in DECLARE_BUILTINS()
926 GateRef argsLength = MakeArgListWithHole(glue, elements, length); in DECLARE_BUILTINS() local
928 res = JSCallDispatch(glue, thisValue, argsLength, 0, Circuit::NullGate(), in DECLARE_BUILTINS()
929 … JSCallMode::CALL_THIS_ARGV_WITH_RETURN, { argsLength, elementArgv, thisArg }); in DECLARE_BUILTINS()
935 GateRef argsLength = MakeArgListWithHole(glue, elements, length); in DECLARE_BUILTINS() local
937 res = JSCallDispatch(glue, thisValue, argsLength, 0, Circuit::NullGate(), in DECLARE_BUILTINS()
938 … JSCallMode::CALL_THIS_ARGV_WITH_RETURN, { argsLength, elementArgv, thisArg }); in DECLARE_BUILTINS()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_vector.cpp297 const uint32_t argsLength = NUM_MANDATORY_JSFUNC_ARGS; in ForEach() local
304 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ForEach()
325 const uint32_t argsLength = NUM_MANDATORY_JSFUNC_ARGS; in ReplaceAllElements() local
332 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ReplaceAllElements()
Djs_api_arraylist.cpp259 const int32_t argsLength = 3; in ReplaceAllElements() local
265 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ReplaceAllElements()
340 const int32_t argsLength = 3; in ForEach() local
346 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFn, thisArg, undefined, argsLength); in ForEach()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_queue.cpp165 const uint32_t argsLength = 3; in ForEach() local
167 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()
Dcontainers_treeset.cpp385 const uint32_t argsLength = 3; in ForEach() local
392 …CallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in ForEach()
Dcontainers_treemap.cpp434 const uint32_t argsLength = 3; in ForEach() local
443 …CallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in ForEach()
Dcontainers_linked_list.cpp560 const uint32_t argsLength = 3; // 3: «kValue, k, O» in ForEach() local
567 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()

12