Searched refs:matchPos (Results 1 – 3 of 3) sorted by relevance
189 size_t matchPos = text.find(mSpace); in output() local190 if (matchPos != std::string::npos) { in output()191 std::string newText = text.substr(0, matchPos); in output()192 size_t startPos = matchPos + spaceLength; in output()193 while ((matchPos = text.find(mSpace, startPos)) in output()195 newText.append(text.substr(startPos, matchPos - startPos)); in output()196 startPos = matchPos + spaceLength; in output()
225 size_t matchPos; in SplitString() local226 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in SplitString()227 components->push_back(s.substr(startPos, matchPos - startPos)); in SplitString()228 startPos = matchPos + 1; in SplitString()
35 size_t matchPos; in SplitString() local36 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in SplitString()37 components.push_back(s.substr(startPos, matchPos - startPos)); in SplitString()38 startPos = matchPos + 1; in SplitString()