Home
last modified time | relevance | path

Searched refs:startIdx (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter_assembly.h52 static uint32_t GetNumArgs(JSTaggedType *sp, uint32_t restIdx, uint32_t &startIdx);
Dinterpreter.h71 static inline uint32_t GetNumArgs(JSTaggedType *sp, uint32_t restIdx, uint32_t &startIdx);
Dslow_runtime_stub.h110 …alue GetUnmapedArgs(JSThread *thread, JSTaggedType *sp, uint32_t actualNumArgs, uint32_t startIdx);
111 …gedValue CopyRestArgs(JSThread *thread, JSTaggedType *sp, uint32_t restNumArgs, uint32_t startIdx);
Dslow_runtime_stub.cpp757 uint32_t startIdx) in GetUnmapedArgs() argument
761 return RuntimeStubs::RuntimeGetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in GetUnmapedArgs()
764 …timeStub::CopyRestArgs(JSThread *thread, JSTaggedType *sp, uint32_t restNumArgs, uint32_t startIdx) in CopyRestArgs() argument
768 return RuntimeStubs::RuntimeCopyRestArgs(thread, sp, restNumArgs, startIdx); in CopyRestArgs()
Dinterpreter-inl.h1589 uint32_t startIdx = 0; in RunInternal() local
1590 uint32_t actualNumArgs = GetNumArgs(sp, 0, startIdx); in RunInternal()
1593 JSTaggedValue res = SlowRuntimeStub::GetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in RunInternal()
5717 uint32_t startIdx = 0; in RunInternal() local
5718 uint32_t restNumArgs = GetNumArgs(sp, restIdx, startIdx); in RunInternal()
5721 JSTaggedValue res = SlowRuntimeStub::CopyRestArgs(thread, sp, restNumArgs, startIdx); in RunInternal()
5731 uint32_t startIdx = 0; in RunInternal() local
5732 uint32_t restNumArgs = GetNumArgs(sp, restIdx, startIdx); in RunInternal()
5735 JSTaggedValue res = SlowRuntimeStub::CopyRestArgs(thread, sp, restNumArgs, startIdx); in RunInternal()
7294 uint32_t EcmaInterpreter::GetNumArgs(JSTaggedType *sp, uint32_t restIdx, uint32_t &startIdx) in GetNumArgs() argument
[all …]
Dinterpreter_assembly.cpp632 uint32_t startIdx = 0; in HandleGetunmappedargs() local
633 uint32_t actualNumArgs = GetNumArgs(sp, 0, startIdx); in HandleGetunmappedargs()
636 JSTaggedValue res = SlowRuntimeStub::GetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in HandleGetunmappedargs()
2151 uint32_t startIdx = 0; in HandleCopyrestargsImm8() local
2152 uint32_t restNumArgs = GetNumArgs(sp, restIdx, startIdx); in HandleCopyrestargsImm8()
2154 JSTaggedValue res = SlowRuntimeStub::CopyRestArgs(thread, sp, restNumArgs, startIdx); in HandleCopyrestargsImm8()
3316 uint32_t startIdx = 0; in HandleWideCopyrestargsPrefImm16() local
3317 uint32_t restNumArgs = GetNumArgs(sp, restIdx, startIdx); in HandleWideCopyrestargsPrefImm16()
3320 JSTaggedValue res = SlowRuntimeStub::CopyRestArgs(thread, sp, restNumArgs, startIdx); in HandleWideCopyrestargsPrefImm16()
7551 uint32_t InterpreterAssembly::GetNumArgs(JSTaggedType *sp, uint32_t restIdx, uint32_t &startIdx) in GetNumArgs() argument
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.h51 …void NewArgumentsList(Variable *result, Label *exit, GateRef sp, GateRef startIdx, GateRef numArgs…
Dnew_object_stub_builder.cpp206 GateRef sp, GateRef startIdx, GateRef numArgs) in NewArgumentsList() argument
227 GateRef idx = ZExtInt32ToPtr(Int32Add(startIdx, *i)); in NewArgumentsList()
Dinterpreter_stub-inl.h465 GateRef startIdx = Int32Add(Int32Add(numVregs, copyArgs), restIdx); in GetStartIdxAndNumArgs() local
482 …GateRef ret = Int64Or(Int64LSL(ZExtInt32ToInt64(startIdx), Int64(32)), ZExtInt32ToInt64(*numArgs)); in GetStartIdxAndNumArgs()
Dcommon_stubs.cpp293 GateRef startIdx = Int32(0); in GenerateCircuit() local
296 newBuilder.NewArgumentsList(&argumentsList, &afterArgumentsList, args, startIdx, actualArgc); in GenerateCircuit()
Dinterpreter_stub.cpp274 GateRef startIdx = TruncInt64ToInt32(Int64LSR(startIdxAndNumArgs, Int64(32))); in DECLARE_ASM_HANDLER() local
284 newBuilder.NewArgumentsList(&argumentsList, &afterArgumentsList, sp, startIdx, numArgs); in DECLARE_ASM_HANDLER()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dassembler_aarch64.cpp505 int startIdx = -1; in TrySequenceOfOnes() local
515 startIdx = shift; in TrySequenceOfOnes()
521 if (startIdx == -1 || endIdx == -1) { in TrySequenceOfOnes()
532 if (startIdx > endIdx) { in TrySequenceOfOnes()
533 std::swap(startIdx, endIdx); in TrySequenceOfOnes()
544 if ((shift < startIdx || endIdx < shift) && himm != outside) { in TrySequenceOfOnes()
551 } else if (shift > startIdx && shift < endIdx && himm != inside) { in TrySequenceOfOnes()
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp198 std::string::size_type startIdx = 0; in ParseUnicodeEscapeString() local
203 std::string::size_type index = data.find(unicodeStr, startIdx); in ParseUnicodeEscapeString()
208 std::string tmpStr = data.substr(startIdx, index - 1 - startIdx) + in ParseUnicodeEscapeString()
211 startIdx = index + unicodeEscapeSymbolLen; in ParseUnicodeEscapeString()
213 std::string tmpStr = data.substr(startIdx, index - startIdx); in ParseUnicodeEscapeString()
218 startIdx = index + unicodeEscapeSymbolLen + unicodeCharacterLen; in ParseUnicodeEscapeString()
221 if (startIdx != len) { in ParseUnicodeEscapeString()
222 std::string tmpStr = data.substr(startIdx); in ParseUnicodeEscapeString()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsamples_record.cpp297 size_t startIdx = findIdx; in FindSampleAndFinetune() local
308 FinetuneTimeDeltas(startIdx, startNapiTime, startSampleTime, false); in FindSampleAndFinetune()
310 if (startIdx + 1 == endIdx) { in FindSampleAndFinetune()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.h592 uint32_t startIdx);
594 uint32_t startIdx);
Druntime_stubs.cpp1589 uint32_t startIdx = 0; in DEF_RUNTIME_STUBS() local
1591 uint32_t actualNumArgs = InterpreterAssembly::GetNumArgs(sp, 0, startIdx); in DEF_RUNTIME_STUBS()
1592 return RuntimeGetUnmapedArgs(thread, sp, actualNumArgs, startIdx).GetRawData(); in DEF_RUNTIME_STUBS()
1600 uint32_t startIdx = 0; in DEF_RUNTIME_STUBS() local
1601 uint32_t restNumArgs = InterpreterAssembly::GetNumArgs(sp, restIdx.GetInt(), startIdx); in DEF_RUNTIME_STUBS()
1602 return RuntimeCopyRestArgs(thread, sp, restNumArgs, startIdx).GetRawData(); in DEF_RUNTIME_STUBS()
Druntime_stubs-inl.h1803 uint32_t startIdx) in RuntimeGetUnmapedArgs() argument
1809 … JSTaggedValue(sp[startIdx + i])); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in RuntimeGetUnmapedArgs()
1815 uint32_t startIdx) in RuntimeCopyRestArgs() argument
1823 element.Update(JSTaggedValue(sp[startIdx + i])); in RuntimeCopyRestArgs()