Searched refs:startPos (Results 1 – 4 of 4) sorted by relevance
192 size_t startPos = matchPos + spaceLength; in output() local193 while ((matchPos = text.find(mSpace, startPos)) in output()195 newText.append(text.substr(startPos, matchPos - startPos)); in output()196 startPos = matchPos + spaceLength; in output()198 newText.append(text.substr(startPos)); in output()
224 size_t startPos = 0; 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()231 if (startPos <= s.length()) { in SplitString()232 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()
254 size_t startPos = 0; in getPackagePath() local256 while ((dotPos = packageSuffix.find('.', startPos)) != std::string::npos) { in getPackagePath()257 packagePath.append(packageSuffix.substr(startPos, dotPos - startPos)); in getPackagePath()260 startPos = dotPos + 1; in getPackagePath()262 CHECK_LT(startPos + 1, packageSuffix.length()); in getPackagePath()263 packagePath.append(packageSuffix.substr(startPos)); in getPackagePath()