Searched refs:version_str (Results 1 – 1 of 1) sorted by relevance
221 uint32_t getOsVersion(const char* version_str) { in getOsVersion() argument229 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion()235 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in getOsVersion()236 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in getOsVersion()237 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in getOsVersion()