Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h281 size_t findEndPos = 0; in GetSpecifiedLine() local
283 findEndPos = srcStr.find('\n', prePos); in GetSpecifiedLine()
285 findEndPos = srcStr.find("\\n", prePos); in GetSpecifiedLine()
287 if (findEndPos == std::string::npos) { in GetSpecifiedLine()
290 ASSERT(findEndPos > prePos); in GetSpecifiedLine()
291 return srcStr.substr(prePos, findEndPos - prePos); in GetSpecifiedLine()