Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 2 of 2) sorted by relevance

/system/tools/hidl/host_utils/
DStringHelper.cpp253 size_t startPos = 0; in SplitString() local
255 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()
/system/libvintf/
Dparse_string.cpp37 size_t startPos = 0; in SplitString() local
39 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()