Home
last modified time | relevance | path

Searched refs:matchPos (Results 1 – 3 of 3) sorted by relevance

/system/tools/hidl/utils/
DFormatter.cpp189 size_t matchPos = text.find(mSpace); in output() local
190 if (matchPos != std::string::npos) { in output()
191 std::string newText = text.substr(0, matchPos); in output()
192 size_t startPos = matchPos + spaceLength; in output()
193 while ((matchPos = text.find(mSpace, startPos)) in output()
195 newText.append(text.substr(startPos, matchPos - startPos)); in output()
196 startPos = matchPos + spaceLength; in output()
DStringHelper.cpp225 size_t matchPos; in SplitString() local
226 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()
/system/libvintf/
Dparse_string.cpp35 size_t matchPos; 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()