Home
last modified time | relevance | path

Searched refs:nextIndex (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_list.cpp173 int nextIndex = GetElement(dataIndex + NEXT_PTR_OFFSET).GetInt(); in FindLastIndexByElement() local
176 while (nextIndex != ELEMENTS_START_INDEX) { in FindLastIndexByElement()
177 dataIndex = nextIndex; in FindLastIndexByElement()
182 nextIndex = GetElement(nextIndex + NEXT_PTR_OFFSET).GetInt(); in FindLastIndexByElement()
192 int nextIndex = GetElement(dataIndex + NEXT_PTR_OFFSET).GetInt(); in FindDataIndexByNodeIndex() local
194 while (nextIndex != ELEMENTS_START_INDEX) { in FindDataIndexByNodeIndex()
195 dataIndex = nextIndex; in FindDataIndexByNodeIndex()
199 nextIndex = GetElement(nextIndex in FindDataIndexByNodeIndex()
209 int nextIndex = ELEMENTS_START_INDEX; MapNodeIndexToDataIndex() local
[all...]
H A Djs_regexp_iterator.cpp91 // 2. Let nextIndex be ! AdvanceStringIndex(S, thisIndex, fullUnicode). in Next()
92 // 3. Perform ? Set(R, "lastIndex", ?(nextIndex), true). in Next()
96 uint32_t nextIndex = static_cast<uint32_t>( in Next() local
98 BuiltinsRegExp::SetLastIndex(thread, regexp, JSTaggedValue(nextIndex), isFastPath); in Next()
/arkcompiler/ets_runtime/ecmascript/patch/
H A Dquick_fix_manager.cpp278 size_t nextIndex = 0; // index of "(". in ParseStackInfo() local
283 nextIndex = stackInfo.find("(", lineIndex + 1); in ParseStackInfo()
285 nextIndex - firstIndex - methodNameOffsetToFirstIndex - 1); in ParseStackInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dbytecode_circuit_builder.cpp91 auto nextIndex = bcIndex + 1; // 1: next pc in CollectRegionInfo() local
95 regionsInfo_.InsertSplit(nextIndex); in CollectRegionInfo()
99 regionsInfo_.InsertHead(nextIndex); in CollectRegionInfo()
105 auto nextIndex = bcIndex + 1; // 1: next pc in CollectRegionInfo() local
106 regionsInfo_.InsertHead(nextIndex); in CollectRegionInfo()
H A Dcircuit_builder.cpp691 void CircuitBuilder::SetNextIndexOfArrayIterator(GateRef glue, GateRef iter, GateRef nextIndex) in SetNextIndexOfArrayIterator() argument
694 Store(VariableType::INT32(), glue, iter, offset, nextIndex); in SetNextIndexOfArrayIterator() local
H A Dstub_builder-inl.h1822 inline void StubBuilder::SetNextIndexOfArrayIterator(GateRef glue, GateRef iter, GateRef nextIndex) in SetNextIndexOfArrayIterator() argument
1824 env_->GetBuilder()->SetNextIndexOfArrayIterator(glue, iter, nextIndex); in SetNextIndexOfArrayIterator()
H A Dcircuit_builder.h319 void SetNextIndexOfArrayIterator(GateRef glue, GateRef iter, GateRef nextIndex);
H A Dstub_builder.h885 void SetNextIndexOfArrayIterator(GateRef glue, GateRef iter, GateRef nextIndex);
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_regexp.cpp723 // c. Let nextIndex be AdvanceStringIndex(S, thisIndex, fullUnicode). in RegExpMatch()
724 // d. Let setStatus be Set(rx, "lastIndex", nextIndex, true). in RegExpMatch()
725 JSTaggedValue nextIndex = JSTaggedValue(AdvanceStringIndex(string, lastIndex, fullUnicode)); in RegExpMatch() local
726 SetLastIndex(thread, regexp, nextIndex, isFastPath); in RegExpMatch()
1136 // c. Let nextIndex be AdvanceStringIndex(S, thisIndex, fullUnicode). in ReplaceInternal()
1137 uint32_t nextIndex = static_cast<uint32_t>(AdvanceStringIndex(inputStr, thisIndex, fullUnicode)); in ReplaceInternal() local
1138 nextIndexHandle.Update(JSTaggedValue(nextIndex)); in ReplaceInternal()
1139 // d. Let setStatus be Set(rx, "lastIndex", nextIndex, true). in ReplaceInternal()

Completed in 25 milliseconds