Searched refs:nextDollarIndex (Results 1 - 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_string.cpp | 1391 int32_t nextDollarIndex = EcmaStringAccessor::IndexOf(ecmaVm, replacementFlat, dollarString); in GetSubstitution() local 1392 if (nextDollarIndex < 0) { in GetSubstitution() 1397 if (nextDollarIndex > 0) { in GetSubstitution() 1398 stringBuilder = EcmaStringAccessor(replacementFlat).ToU16String(nextDollarIndex); in GetSubstitution() 1405 int peekIndex = nextDollarIndex + 1; in GetSubstitution() 1462 nextDollarIndex = EcmaStringAccessor::IndexOf(ecmaVm, replacementFlat, dollarString, continueFromIndex); in GetSubstitution() 1463 if (nextDollarIndex < 0) { in GetSubstitution() 1479 if (nextDollarIndex > continueFromIndex) { in GetSubstitution() 1481 ecmaVm, replacementFlat, continueFromIndex, nextDollarIndex - continueFromIndex); in GetSubstitution()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_string_stub_builder.cpp | 1502 GateRef nextDollarIndex = StringIndexOf(replaceStringInfoGate, dollarStringInfoGate, Int32(-1));
in GetSubstitution() local 1503 BRANCH(Int32LessThan(nextDollarIndex, Int32(0)), ¬Found, &slowPath);
in GetSubstitution()
|
Completed in 12 milliseconds