Searched defs:startPos (Results 1 - 4 of 4) sorted by relevance

/system/tools/hidl/utils/
H A DFormatter.cpp192 size_t startPos = matchPos + spaceLength; local
193 while ((matchPos = text.find(mSpace, startPos))
195 newText.append(text.substr(startPos, matchPos - startPos));
196 startPos = matchPos + spaceLength;
198 newText.append(text.substr(startPos));
H A DStringHelper.cpp224 size_t startPos = 0; local
226 while ((matchPos = s.find(c, startPos)) != std::string::npos) {
227 components->push_back(s.substr(startPos, matchPos - startPos));
228 startPos = matchPos + 1;
231 if (startPos <= s.length()) {
232 components->push_back(s.substr(startPos));
/system/libvintf/
H A Dparse_string.cpp34 size_t startPos = 0; local
36 while ((matchPos = s.find(c, startPos)) != std::string::npos) {
37 components.push_back(s.substr(startPos, matchPos - startPos));
38 startPos = matchPos + 1;
41 if (startPos <= s.length()) {
42 components.push_back(s.substr(startPos));
/system/tools/hidl/
H A DCoordinator.cpp254 size_t startPos = 0; local
256 while ((dotPos = packageSuffix.find('.', startPos)) != std::string::npos) {
257 packagePath.append(packageSuffix.substr(startPos, dotPos - startPos));
260 startPos = dotPos + 1;
262 CHECK_LT(startPos + 1, packageSuffix.length());
263 packagePath.append(packageSuffix.substr(startPos));

Completed in 348 milliseconds