Home
last modified time | relevance | path

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

/system/tools/hidl/utils/include/hidl-util/
DFQName.h247 __attribute__((warn_unused_result)) bool parseVersion(const std::string& majorStr,
249 __attribute__((warn_unused_result)) static bool parseVersion(const std::string& majorStr,
253 __attribute__((warn_unused_result)) static bool parseVersion(const std::string& v,
/system/tools/hidl/utils/
DFQName.cpp36 CHECK(parseVersion(version, &majorVer, &minorVer)); in FQName()
192 if (!parseVersion(major.string(), minor.string(), &mMajor, &mMinor)) goto fail; in setTo()
268 bool FQName::parseVersion(const std::string& majorStr, const std::string& minorStr, in parseVersion() function in android::FQName
278 bool FQName::parseVersion(const std::string& v, size_t* majorVer, size_t* minorVer) { in parseVersion() function in android::FQName
286 return parseVersion(vs[0], vs[1], majorVer, minorVer); in parseVersion()
290 return parseVersion(v, &mMajor, &mMinor); in setVersion()
297 bool FQName::parseVersion(const std::string& majorStr, const std::string& minorStr) { in parseVersion() function in android::FQName
298 return parseVersion(majorStr, minorStr, &mMajor, &mMinor); in parseVersion()