Searched refs:patPos (Results 1 – 2 of 2) sorted by relevance
51 auto patPos = str.find(pat, curPos); in SplitStringToVec() local52 if (patPos == std::string::npos) { in SplitStringToVec()55 result.emplace_back(str.substr(curPos, patPos - curPos)); in SplitStringToVec()56 curPos = patPos + patSize; in SplitStringToVec()
138 auto patPos = str.find(pat, curPos); in SplitStringToVec() local139 if (patPos == std::string::npos) { in SplitStringToVec()142 result.emplace_back(str.substr(curPos, patPos - curPos)); in SplitStringToVec()143 curPos = patPos + patSize; in SplitStringToVec()