Searched refs:startPos (Results 1 – 2 of 2) sorted by relevance
253 size_t startPos = 0; in SplitString() local255 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in SplitString()256 components->push_back(s.substr(startPos, matchPos - startPos)); in SplitString()257 startPos = matchPos + 1; in SplitString()260 if (startPos <= s.length()) { in SplitString()261 components->push_back(s.substr(startPos)); in SplitString()
37 size_t startPos = 0; in SplitString() local39 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in SplitString()40 components.push_back(s.substr(startPos, matchPos - startPos)); in SplitString()41 startPos = matchPos + 1; in SplitString()44 if (startPos <= s.length()) { in SplitString()45 components.push_back(s.substr(startPos)); in SplitString()