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()
208 size_t startPos = 0; in SplitString() local210 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in SplitString()211 components->push_back(s.substr(startPos, matchPos - startPos)); in SplitString()212 startPos = matchPos + 1; in SplitString()215 if (startPos <= s.length()) { in SplitString()216 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()
268 size_t startPos = 0; in getPackagePath() local270 while ((dotPos = packageSuffix.find('.', startPos)) != std::string::npos) { in getPackagePath()271 packagePath.append(packageSuffix.substr(startPos, dotPos - startPos)); in getPackagePath()274 startPos = dotPos + 1; in getPackagePath()276 CHECK_LT(startPos + 1, packageSuffix.length()); in getPackagePath()277 packagePath.append(packageSuffix.substr(startPos)); in getPackagePath()