Home
last modified time | relevance | path

Searched refs:tailPos (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_string.cpp1118 // Let tailPos be pos + the number of code units in matched. in Replace()
1119 int32_t tailPos = pos + static_cast<int32_t>(EcmaStringAccessor(searchString).GetLength()); in Replace() local
1122 // substring of string starting at index tailPos. If pos is 0, in Replace()
1129 EcmaStringAccessor::FastSubString(ecmaVm, thisString, tailPos, thisLen - tailPos)); in Replace()
1244 // Let tailPos be pos + the number of code units in matched. in ReplaceAll()
1246 // replStr, and the trailing substring of string starting at index tailPos. in ReplaceAll()
1294 int tailPos, bool &canBeCompress) in ProcessDollarSingleQuote()
1297 if (tailPos < srcLength) { in ProcessDollarSingleQuote()
1298 EcmaString *suffix = EcmaStringAccessor::FastSubString(ecmaVm, srcString, tailPos, srcLengt in ProcessDollarSingleQuote()
1293 ProcessDollarSingleQuote(EcmaVM *ecmaVm, std::u16string &stringBuilder, const JSHandle<EcmaString> &srcString, int tailPos, bool &canBeCompress) ProcessDollarSingleQuote() argument
1389 int32_t tailPos = position + static_cast<int32_t>(EcmaStringAccessor(matched).GetLength()); GetSubstitution() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_string_stub_builder.cpp894 GateRef tailPos = Int32Add(pos, searchStringInfoGate.GetLength()); in Replace() local
898 GateRef suffixString = FastSubString(glue, thisValue, tailPos, in Replace()
899 Int32Sub(thisLen, tailPos), thisStringInfoGate); in Replace()

Completed in 9 milliseconds