Home
last modified time | relevance | path

Searched refs:numArgs (Results 1 - 25 of 196) sorted by relevance

12345678

/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dinterpreter.cpp23 // | numArgs | |
39 uint32_t numArgs, StackCheck needCheckStack) in NewRuntimeCallInfoBase()
44 UNLIKELY(thread->DoStackOverflowCheck(newSp - numArgs - NUM_MANDATORY_JSFUNC_ARGS))) { in NewRuntimeCallInfoBase()
48 for (uint32_t i = 0; i < numArgs; i++) { in NewRuntimeCallInfoBase()
54 *(--newSp) = numArgs + NUM_MANDATORY_JSFUNC_ARGS; in NewRuntimeCallInfoBase()
70 uint32_t numArgs, StackCheck needCheckStack) in NewRuntimeCallInfo()
73 numArgs, needCheckStack); in NewRuntimeCallInfo()
78 JSHandle<JSTaggedValue> newTarget, uint32_t numArgs, StackCheck needCheckStack) in NewRuntimeCallInfo()
81 numArgs, needCheckStack); in NewRuntimeCallInfo()
85 int numArgs, StackChec in ReBuildRuntimeCallInfo()
37 NewRuntimeCallInfoBase( JSThread *thread, JSTaggedType func, JSTaggedType thisObj, JSTaggedType newTarget, uint32_t numArgs, StackCheck needCheckStack) NewRuntimeCallInfoBase() argument
68 NewRuntimeCallInfo( JSThread *thread, JSTaggedValue func, JSTaggedValue thisObj, JSTaggedValue newTarget, uint32_t numArgs, StackCheck needCheckStack) NewRuntimeCallInfo() argument
76 NewRuntimeCallInfo( JSThread *thread, JSHandle<JSTaggedValue> func, JSHandle<JSTaggedValue> thisObj, JSHandle<JSTaggedValue> newTarget, uint32_t numArgs, StackCheck needCheckStack) NewRuntimeCallInfo() argument
84 ReBuildRuntimeCallInfo(JSThread *thread, EcmaRuntimeCallInfo* info, int numArgs, StackCheck needCheckStack) ReBuildRuntimeCallInfo() argument
[all...]
H A Dinterpreter.h48 uint32_t numArgs, StackCheck needCheckStack = StackCheck::YES);
51 JSHandle<JSTaggedValue> newTarget, uint32_t numArgs, StackCheck needCheckStack = StackCheck::YES);
53 JSThread *thread, EcmaRuntimeCallInfo* info, int numArgs, StackCheck needCheckStack = StackCheck::YES);
88 uint32_t numArgs, StackCheck needCheckStack = StackCheck::YES);
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_stubs.cpp58 GateRef numArgs = PtrArgument(static_cast<size_t>(BuiltinsArgs::NUMARGS)); \
60 GenerateCircuitImpl(glue, nativeCode, func, newTarget, thisValue, numArgs); \
63 GateRef newTarget, GateRef thisValue, GateRef numArgs)
74 GateRef numArgs = PtrArgument(static_cast<size_t>(BuiltinsArgs::NUMARGS)); \
76 GenerateCircuitImpl(glue, nativeCode, func, newTarget, thisValue, numArgs); \
79 GateRef newTarget, GateRef thisValue, GateRef numArgs)
89 GateRef numArgs = PtrArgument(static_cast<size_t>(BuiltinsArgs::NUMARGS)); \
90 GenerateCircuitImpl(glue, nativeCode, func, newTarget, thisValue, numArgs); \
93 GateRef newTarget, GateRef thisValue, GateRef numArgs)
158 GateRef BuiltinsStubBuilder::GetArgFromArgv(GateRef index, GateRef numArgs, boo argument
183 CallSlowPath(GateRef nativeCode, GateRef glue, GateRef thisValue, GateRef numArgs, GateRef func, GateRef newTarget) CallSlowPath() argument
[all...]
H A Dcontainers_stub_builder.cpp24 GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) in ContainersCommonFuncCall()
67 BRANCH(Int64GreaterThanOrEqual(IntPtr(0), numArgs), &callbackUndefined, &callbackNotUndefined); in ContainersCommonFuncCall()
75 callbackFnHandle = GetCallArg0(numArgs); in ContainersCommonFuncCall()
83 BRANCH(Int64GreaterThanOrEqual(IntPtr(1), numArgs), &thisArgUndefined, &thisArgNotUndefined); in ContainersCommonFuncCall()
87 thisArg = GetCallArg1(numArgs); in ContainersCommonFuncCall()
146 GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) in QueueCommonFuncCall()
190 BRANCH(Int64GreaterThanOrEqual(IntPtr(0), numArgs), &callbackUndefined, &callbackNotUndefined); in QueueCommonFuncCall()
198 callbackFnHandle = GetCallArg0(numArgs); in QueueCommonFuncCall()
206 BRANCH(Int64GreaterThanOrEqual(IntPtr(1), numArgs), &thisArgUndefined, &thisArgNotUndefined); in QueueCommonFuncCall()
210 thisArg = GetCallArg1(numArgs); in QueueCommonFuncCall()
23 ContainersCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersCommonFuncCall() argument
145 QueueCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) QueueCommonFuncCall() argument
254 DequeCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) DequeCommonFuncCall() argument
366 ContainersLightWeightCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersLightWeightCall() argument
476 ContainersHashCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersHashCall() argument
613 ContainersLinkedListCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersLinkedListCall() argument
[all...]
H A Dbuiltins_typedarray_stub_builder.cpp434 void BuiltinsTypedArrayStubBuilder::Reverse(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, in Reverse() argument
502 void BuiltinsTypedArrayStubBuilder::LastIndexOf(GateRef glue, GateRef thisValue, GateRef numArgs, in LastIndexOf() argument
532 GateRef value = GetCallArg0(numArgs); in LastIndexOf()
538 BRANCH(Int64Equal(TruncPtrToInt32(numArgs), Int32(2)), &isTwoArg, &isOneArg); in LastIndexOf()
546 GateRef fromIndex = GetCallArg1(numArgs); in LastIndexOf()
611 void BuiltinsTypedArrayStubBuilder::IndexOf(GateRef glue, GateRef thisValue, GateRef numArgs, in IndexOf() argument
641 BRANCH(Int64Equal(numArgs, IntPtr(2)), &getFromIndex, &next); in IndexOf()
644 GateRef index = GetCallArg1(numArgs); in IndexOf()
663 GateRef target = GetCallArg0(numArgs); in IndexOf()
710 void BuiltinsTypedArrayStubBuilder::Find(GateRef glue, GateRef thisValue, GateRef numArgs, in Find() argument
787 Includes(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Includes() argument
878 CopyWithin(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) CopyWithin() argument
1011 ReduceRight(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ReduceRight() argument
1119 Reduce(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Reduce() argument
1228 Every(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Every() argument
1312 Some(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Some() argument
1403 Filter(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Filter() argument
1544 Slice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Slice() argument
1637 SubArray(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) SubArray() argument
1718 With(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) With() argument
1807 GetByteLength([[maybe_unused]] GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) GetByteLength() argument
2123 Sort( GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label* exit, Label* slowPath) Sort() argument
2145 GetByteOffset([[maybe_unused]] GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) GetByteOffset() argument
2171 Set(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Set() argument
2278 FindIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindIndex() argument
2361 Entries(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Entries() argument
2367 Keys(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Keys() argument
2373 Values(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Values() argument
2379 BuildArrayIterator(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath, IterationKind iteratorKind) BuildArrayIterator() argument
2400 FindLastIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindLastIndex() argument
2468 ToSorted(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToSorted() argument
2504 Of(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Of() argument
2616 Map(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Map() argument
2704 ToReversed(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToReversed() argument
3092 GenTypedArrayConstructor(GateRef glue, GateRef nativeCode, GateRef func, GateRef newTarget, GateRef thisValue, GateRef numArgs, GateRef constructorName, const DataViewType arrayType) GenTypedArrayConstructor() argument
3319 CreateFromArrayBuffer(Variable *result, GateRef glue, GateRef numArgs, Label *exit, Label *slowPath, const DataViewType arrayType) CreateFromArrayBuffer() argument
[all...]
H A Dbuiltins_number_stub_builder.h25 BuiltinsNumberStubBuilder(BuiltinsStubBuilder *parent, GateRef glue, GateRef thisValue, GateRef numArgs) in BuiltinsNumberStubBuilder() argument
26 : BuiltinsStubBuilder(parent), glue_(glue), thisValue_(thisValue), numArgs_(numArgs) {} in BuiltinsNumberStubBuilder()
H A Dbuiltins_reflect_stub_builder.h25 BuiltinsReflectStubBuilder(BuiltinsStubBuilder *parent, GateRef glue, GateRef thisValue, GateRef numArgs) in BuiltinsReflectStubBuilder() argument
26 : BuiltinsStubBuilder(parent), glue_(glue), thisValue_(thisValue), numArgs_(numArgs) {} in BuiltinsReflectStubBuilder()
H A Dbuiltins_stubs.h76 GateRef GetArgFromArgv(GateRef index, GateRef numArgs = Gate::InvalidGateRef, bool needCheck = false);
78 GateRef CallSlowPath(GateRef nativeCode, GateRef glue, GateRef thisValue, GateRef numArgs, GateRef func,
100 GateRef thisValue, GateRef numArgs); \
116 GateRef thisValue, GateRef numArgs); \
H A Dbuiltins_function_stub_builder.cpp27 GateRef numArgs, Variable* res, Label *exit, Label *slowPath) in PrototypeApply()
41 GateRef thisArg = GetCallArg0(numArgs); in PrototypeApply()
42 GateRef arrayObj = GetCallArg1(numArgs); in PrototypeApply()
125 GateRef numArgs, Variable* res, Label *exit, Label *slowPath) in PrototypeBind()
155 GateRef thisArg = GetCallArg0(numArgs); in PrototypeBind()
157 BRANCH(Int64GreaterThan(numArgs, Int64(1)), &numArgsMoreThan1, &createTaggedArray); in PrototypeBind()
160 argsLength = Int32Sub(TruncInt64ToInt32(numArgs), Int32(1)); in PrototypeBind()
166 GateRef argsArray = NewTaggedArrayFromArgs(glue, Int32(1), *argsLength, numArgs); in PrototypeBind()
178 GateRef numArgs, Variable* res, Label *exit, Label *slowPath) in PrototypeCall()
198 GateRef thisArg = GetCallArg0(numArgs); in PrototypeCall()
26 PrototypeApply(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) PrototypeApply() argument
124 PrototypeBind(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) PrototypeBind() argument
177 PrototypeCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) PrototypeCall() argument
425 NewTaggedArrayFromArgs(GateRef glue, GateRef startIndex, GateRef length, GateRef numArgs) NewTaggedArrayFromArgs() argument
[all...]
H A Dbuiltins_array_stub_builder.cpp47 void BuiltinsArrayStubBuilder::With(GateRef glue, GateRef thisValue, GateRef numArgs, in With() argument
70 GateRef index = GetCallArg0(numArgs); in With()
81 BRANCH(Int64Equal(numArgs, IntPtr(2)), &twoArg, &ifOneArg); in With()
84 value = GetCallArg1(numArgs); in With()
90 BRANCH(Int64Equal(numArgs, IntPtr(1)), &getIndex, slowPath); in With()
169 void BuiltinsArrayStubBuilder::Unshift(GateRef glue, GateRef thisValue, GateRef numArgs, in Unshift() argument
196 BRANCH(Int64GreaterThan(numArgs, IntPtr(0)), &numNotEqualZero, slowPath); in Unshift()
199 GateRef argLen = ZExtInt32ToInt64(ChangeIntPtrToInt32(numArgs)); in Unshift()
204 BRANCH(Int64LessThanOrEqual(numArgs, IntPtr(3)), &numLessThanOrEqualThree, slowPath); in Unshift()
218 GateRef moveTo = PtrAdd(arrayStart, PtrMul(numArgs, IntPt in Unshift()
285 Shift(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Shift() argument
400 Concat(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Concat() argument
534 Filter(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Filter() argument
697 Map(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Map() argument
830 ForEach([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, [[maybe_unused]] Variable *result, Label *exit, Label *slowPath) ForEach() argument
985 IndexOf([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) IndexOf() argument
1005 LastIndexOf([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) LastIndexOf() argument
1024 Pop(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Pop() argument
1120 Slice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Slice() argument
1356 Sort(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Sort() argument
1389 ToSorted(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToSorted() argument
1661 Reduce(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Reduce() argument
1808 Reverse(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Reverse() argument
1912 ToReversed(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable* result, Label* exit, Label* slowPath) ToReversed() argument
2091 Values(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Values() argument
2122 Find(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Find() argument
2206 FindIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindIndex() argument
2379 Push(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Push() argument
2558 Includes(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Includes() argument
2679 From(GateRef glue, [[maybe_unused]] GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) From() argument
2798 Fill(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Fill() argument
3041 Splice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Splice() argument
3267 ToSpliced(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToSpliced() argument
3485 CopyWithin(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) CopyWithin() argument
3701 Some(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Some() argument
3902 Every(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Every() argument
4091 ReduceRight(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ReduceRight() argument
4294 FindLastIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindLastIndex() argument
4486 FindLast(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindLast() argument
4743 GenArrayConstructor(GateRef glue, GateRef nativeCode, GateRef func, GateRef newTarget, GateRef thisValue, GateRef numArgs) GenArrayConstructor() argument
4875 FlatMap(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FlatMap() argument
5192 IsArray([[maybe_unused]] GateRef glue, [[maybe_unused]] GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) IsArray() argument
[all...]
H A Dcontainers_stub_builder.h61 void ContainersCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs,
64 void QueueCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs,
67 void DequeCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs,
70 void ContainersLightWeightCall(GateRef glue, GateRef thisValue, GateRef numArgs,
73 void ContainersHashCall(GateRef glue, GateRef thisValue, GateRef numArgs,
76 void ContainersLinkedListCall(GateRef glue, GateRef thisValue, GateRef numArgs,
H A Dbuiltins_function_stub_builder.h30 void method(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
47 GateRef NewTaggedArrayFromArgs(GateRef glue, GateRef startIndex, GateRef length, GateRef numArgs);
H A Dbuiltins_array_stub_builder.h36 void method(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath);
40 void Sort(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath);
46 GateRef newTarget, GateRef thisValue, GateRef numArgs);
H A Dbuiltins_string_stub_builder.cpp26 GateRef numArgs, Variable* res, Label *exit, Label *slowPath) in FromCharCode()
40 BRANCH(Int64Equal(IntPtr(0), numArgs), &lengthIsZero, &lengthNotZero); in FromCharCode()
47 BRANCH(Int64Equal(IntPtr(1), numArgs), &lengthIsOne, slowPath); in FromCharCode()
50 GateRef codePointTag = GetCallArg0(numArgs); in FromCharCode()
98 void BuiltinsStringStubBuilder::CharAt(GateRef glue, GateRef thisValue, GateRef numArgs, in CharAt() argument
131 BRANCH(Int64GreaterThanOrEqual(IntPtr(0), numArgs), &next, &posTagNotUndefined); in CharAt()
134 GateRef posTag = GetCallArg0(numArgs); in CharAt()
172 void BuiltinsStringStubBuilder::CharCodeAt(GateRef glue, GateRef thisValue, GateRef numArgs, in CharCodeAt() argument
181 CheckParamsAndGetPosition(glue, thisValue, numArgs, &pos, exit, slowPath, &posIsValid); in CharCodeAt()
246 void BuiltinsStringStubBuilder::CodePointAt(GateRef glue, GateRef thisValue, GateRef numArgs, in CodePointAt() argument
25 FromCharCode(GateRef glue, [[maybe_unused]] GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) FromCharCode() argument
281 CheckParamsAndGetPosition(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* pos, Label *exit, Label *slowPath, Label *posIsValid) CheckParamsAndGetPosition() argument
337 IndexOf(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) IndexOf() argument
436 Substring(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) Substring() argument
575 SubStr(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) SubStr() argument
817 Replace(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) Replace() argument
968 Slice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) Slice() argument
2111 Concat(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) Concat() argument
2195 ToLowerCase(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) ToLowerCase() argument
2416 LocaleCompare([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, [[maybe_unused]] Variable *res, [[maybe_unused]] Label *exit, Label *slowPath) LocaleCompare() argument
2468 GetStringIterator(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) GetStringIterator() argument
2498 StringIteratorNext(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) StringIteratorNext() argument
2764 StartsWith(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) StartsWith() argument
2878 EndsWith(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) EndsWith() argument
2994 TrimStart(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimStart() argument
3014 TrimEnd(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimEnd() argument
3034 TrimLeft(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimLeft() argument
3054 TrimRight(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimRight() argument
3074 PadStart(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) PadStart() argument
3202 PadEnd(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) PadEnd() argument
[all...]
H A Dbuiltins_typedarray_stub_builder.h59 GateRef newTarget, GateRef thisValue, GateRef numArgs, GateRef constructorName, const DataViewType arrayType);
66 void CreateFromArrayBuffer(Variable *result, GateRef glue, GateRef numArgs,
73 void method(GateRef glue, GateRef numArgs, GateRef end, Variable *result, Label *exit, Label *slowPath);
112 void BuildArrayIterator(GateRef glue, GateRef thisValue, GateRef numArgs,
H A Dbuiltins_dataview_stub_builder.cpp26 GateRef numArgs, [[maybe_unused]] Variable* res, Label *exit, Label *slowPath) in SetTypedValue()
36 GateRef indexTagged = GetCallArg0(numArgs); in SetTypedValue()
37 GateRef value = GetCallArg1(numArgs); in SetTypedValue()
58 littleEndianHandle = GetCallArg2(numArgs); in SetTypedValue()
103 GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
105 GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
107 GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
25 SetTypedValue(GateRef glue, GateRef thisValue, GateRef numArgs, [[maybe_unused]] Variable* res, Label *exit, Label *slowPath) SetTypedValue() argument
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/
H A Dcall_ets.cpp50 ALWAYS_INLINE bool CheckNumArgs(size_t numArgs) const;
87 auto const numArgs = protoReader_.GetMethod()->GetNumArgs() - !IS_STATIC; in ConvertArgs() local
88 auto const numNonRest = numArgs - protoReader_.GetMethod()->HasVarArgs(); in ConvertArgs()
89 auto etsBoxedArgs = ctx_->GetTempArgs<ArgValueBox>(numArgs); in ConvertArgs()
107 const auto restIdx = numArgs - 1; in ConvertArgs()
117 for (size_t i = 0; i < numArgs; ++i) { in ConvertArgs()
140 bool CallETSHandler::CheckNumArgs(size_t numArgs) const in CheckNumArgs()
144 ASSERT((hasRestParams && numArgs > 0) || !hasRestParams); in CheckNumArgs()
146 if ((hasRestParams && (numArgs - 1) > jsargv_.size()) || (!hasRestParams && numArgs ! in CheckNumArgs()
166 auto const numArgs = method->GetNumArgs() - (IS_STATIC ? 0 : 1); HandleImpl() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
H A Dbaseline_stub_builder.h228 DEFVARIABLE(numArgs, VariableType::INT32(), Int32(0)); in GetStartIdxAndNumArgs()
246 numArgs = TruncInt64ToInt32(Int64And(Int64LSR(callField, Int64(MethodLiteral::NumArgsBits::START_BIT)), in GetStartIdxAndNumArgs()
253 Int32Mul(Int32Add(Int32Add(numVregs, copyArgs), *numArgs), in GetStartIdxAndNumArgs()
258 numArgs = GetInt32OfTInt(Load(VariableType::JS_ANY(), fp, in GetStartIdxAndNumArgs()
267 Branch(Int32UnsignedGreaterThan(*numArgs, restIdx), &numArgsGreater, &numArgsNotGreater); in GetStartIdxAndNumArgs()
270 numArgs = Int32Sub(*numArgs, restIdx); in GetStartIdxAndNumArgs()
275 numArgs = Int32(0); in GetStartIdxAndNumArgs()
279 // 32: high 32 bits = startIdx, low 32 bits = numArgs in GetStartIdxAndNumArgs()
280 GateRef ret = Int64Or(Int64LSL(ZExtInt32ToInt64(startIdx), Int64(32)), ZExtInt32ToInt64(*numArgs)); in GetStartIdxAndNumArgs()
[all...]
H A Dbaseline_stubs-inl.h256 DEFVARIABLE(numArgs, VariableType::INT32(), Int32(0)); in GetStartIdxAndNumArgs()
274 numArgs = TruncInt64ToInt32(Int64And(Int64LSR(callField, Int64(MethodLiteral::NumArgsBits::START_BIT)), in GetStartIdxAndNumArgs()
281 Int32Mul(Int32Add(Int32Add(numVregs, copyArgs), *numArgs), in GetStartIdxAndNumArgs()
286 numArgs = GetInt32OfTInt(Load(VariableType::JS_ANY(), fp, IntPtr(static_cast<int64_t>(-sizeof(JSTaggedType))))); in GetStartIdxAndNumArgs()
294 Branch(Int32UnsignedGreaterThan(*numArgs, restIdx), &numArgsGreater, &numArgsNotGreater); in GetStartIdxAndNumArgs()
297 numArgs = Int32Sub(*numArgs, restIdx); in GetStartIdxAndNumArgs()
302 numArgs = Int32(0); in GetStartIdxAndNumArgs()
306 // 32: high 32 bits = startIdx, low 32 bits = numArgs in GetStartIdxAndNumArgs()
307 GateRef ret = Int64Or(Int64LSL(ZExtInt32ToInt64(startIdx), Int64(32)), ZExtInt32ToInt64(*numArgs)); in GetStartIdxAndNumArgs()
[all...]
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dmethod-inl.h114 uint32_t numArgs, in CompiledCodeExecute()
120 ASSERT(numArgs >= 2U); // NOTE(asoldatov): Adjust this check in CompiledCodeExecute()
121 uint64_t ret = InvokeCompiledCodeWithArgArrayDyn(reinterpret_cast<uint64_t *>(args), numArgs, currentFrame, in CompiledCodeExecute()
167 inline Value Method::InvokeCompiledCode(ManagedThread *thread, uint32_t numArgs, Value *args) in InvokeCompiledCode() argument
170 Span<Value> argsSpan(args, numArgs); in InvokeCompiledCode()
182 if (numArgs > 0) { in InvokeCompiledCode()
185 size_t capacity = numArgs * sizeof(int64_t); in InvokeCompiledCode()
190 for (uint32_t i = 0; i < numArgs; ++i) { in InvokeCompiledCode()
270 inline coretypes::TaggedValue Method::InvokeDyn(ManagedThread *thread, uint32_t numArgs, coretypes::TaggedValue *args) in InvokeDyn() argument
272 return InvokeDyn<InvokeHelperDynamic>(thread, numArgs, arg in InvokeDyn()
113 CompiledCodeExecute(ManagedThread *thread, Method *method, uint32_t numArgs, coretypes::TaggedValue *args) CompiledCodeExecute() argument
276 InvokeDyn(ManagedThread *thread, uint32_t numArgs, coretypes::TaggedValue *args) InvokeDyn() argument
336 EnterNativeMethodFrame(ManagedThread *thread, uint32_t numVregs, uint32_t numArgs, ValueT *args) EnterNativeMethodFrame() argument
[all...]
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferarraybufferconstructor_fuzzer/
H A Dbuiltinsarraybufferarraybufferconstructor_fuzzer.cpp35 EcmaRuntimeCallInfo *CreateEcmaRuntimeCallInfo(JSThread *thread, JSTaggedValue newTgt, uint32_t numArgs) in CreateEcmaRuntimeCallInfo() argument
42 EcmaInterpreter::NewRuntimeCallInfo(thread, undefined, callee, undefined, numArgs); in CreateEcmaRuntimeCallInfo()
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferisview_fuzzer/
H A Dbuiltinsarraybufferisview_fuzzer.cpp35 EcmaRuntimeCallInfo *CreateEcmaRuntimeCallInfo(JSThread *thread, JSTaggedValue newTgt, uint32_t numArgs) in CreateEcmaRuntimeCallInfo() argument
42 EcmaInterpreter::NewRuntimeCallInfo(thread, undefined, callee, undefined, numArgs); in CreateEcmaRuntimeCallInfo()
/arkcompiler/ets_runtime/test/fuzztest/containersprivatecommon_fuzzer/
H A Dcontainersprivatecommon_fuzzer.h38 static EcmaRuntimeCallInfo *CreateEcmaRuntimeCallInfo(JSThread *thread, uint32_t numArgs) in CreateEcmaRuntimeCallInfo() argument
45 EcmaInterpreter::NewRuntimeCallInfo(thread, undefined, callee, undefined, numArgs); in CreateEcmaRuntimeCallInfo()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Dreg_encoder.h169 auto numArgs = adapter->GetMethodTotalArgumentsCount(method); in GetNumArgsFromGraph() local
170 ASSERT(numArgs <= compiler::VIRTUAL_FRAME_SIZE); in GetNumArgsFromGraph()
171 return numArgs; in GetNumArgsFromGraph()
/arkcompiler/runtime_core/static_core/verification/util/
H A Dbit_vector.h554 size_t numArgs = sizeof...(Args);
555 auto getProcessedWord = [&op, &binop, numArgs, &args...](size_t idx) {
557 auto unop = [&n, numArgs, &op](Word val) { return op(val, n++, numArgs); };
600 return PowerOfOpThenFold([](Word val, size_t idx, size_t numArgs) { return (idx < numArgs - 1) ? val : ~val; },
646 size_t numArgs = sizeof...(Args);
647 auto getProcessedWord = [op, binop, numArgs, &args...](size_t idx) {
649 auto unop = [&n, numArgs, &op](Word val) { return op(val, n++, numArgs); };
[all...]

Completed in 22 milliseconds

12345678