Searched refs:startPos (Results 1 – 2 of 2) sorted by relevance
216 size_t startPos = 0; in SplitString() local218 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in SplitString()219 components->push_back(s.substr(startPos, matchPos - startPos)); in SplitString()220 startPos = matchPos + 1; in SplitString()223 if (startPos <= s.length()) { in SplitString()224 components->push_back(s.substr(startPos)); in SplitString()
34 size_t startPos = 0; 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()41 if (startPos <= s.length()) { in SplitString()42 components.push_back(s.substr(startPos)); in SplitString()