Home
last modified time | relevance | path

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

/system/tools/hidl/host_utils/
DStringHelper.cpp216 size_t startPos = 0; in SplitString() local
218 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in SplitString()
219 components->push_back(s.substr(startPos, matchPos - startPos)); in SplitString()
220 startPos = matchPos + 1; in SplitString()
223 if (startPos <= s.length()) { in SplitString()
224 components->push_back(s.substr(startPos)); in SplitString()
/system/libvintf/
Dparse_string.cpp34 size_t startPos = 0; in SplitString() local
36 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()