/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_function.cpp | 129 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 …]
|
D | builtins_reflect.cpp | 43 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()
|
D | builtins_promise_job.cpp | 56 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()
|
D | builtins_map.cpp | 183 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()
|
D | builtins_array.cpp | 230 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 …]
|
D | builtins_typedarray.cpp | 225 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 …]
|
D | builtins_set.cpp | 208 const uint32_t argsLength = 3; in ForEach() local 218 thread, func, thisArg, undefined, argsLength); in ForEach()
|
D | builtins_string.cpp | 862 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()
|
D | builtins_object.cpp | 786 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/ |
D | pending_job.h | 47 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/ |
D | ecma_runtime_call_info.h | 152 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()
|
D | js_proxy.cpp | 135 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 …]
|
D | js_stable_array.cpp | 317 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 …]
|
D | js_function.cpp | 560 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()
|
D | tagged_tree.h | 144 const uint32_t argsLength = 2; in EntryCompare() local 147 … EcmaInterpreter::NewRuntimeCallInfo(thread, compareFn, thisArgHandle, undefined, argsLength); in EntryCompare()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_parser.cpp | 60 const uint32_t argsLength = 2; // 2: « name, val » in InternalizeJsonProperty() local 62 …fo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, receiver, objHandle, undefined, argsLength); in InternalizeJsonProperty()
|
D | array_helper.cpp | 208 const int32_t argsLength = 3; // 3: « element, sourceIndex, source » in FlattenIntoArray() local 211 … EcmaInterpreter::NewRuntimeCallInfo(thread, mapperFunctionHandle, thisArg, undefined, argsLength); in FlattenIntoArray()
|
D | typed_array_helper.cpp | 603 const uint32_t argsLength = 2; in SortCompare() local 606 … EcmaInterpreter::NewRuntimeCallInfo(thread, callbackfnHandle, undefined, undefined, argsLength); in SortCompare()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | builtins_stubs.cpp | 907 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/ |
D | js_api_vector.cpp | 297 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()
|
D | js_api_arraylist.cpp | 259 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/ |
D | containers_queue.cpp | 165 const uint32_t argsLength = 3; in ForEach() local 167 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()
|
D | containers_treeset.cpp | 385 const uint32_t argsLength = 3; in ForEach() local 392 …CallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in ForEach()
|
D | containers_treemap.cpp | 434 const uint32_t argsLength = 3; in ForEach() local 443 …CallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength); in ForEach()
|
D | containers_linked_list.cpp | 560 const uint32_t argsLength = 3; // 3: «kValue, k, O» in ForEach() local 567 …cmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength); in ForEach()
|