Searched refs:version_str (Results 1 – 1 of 1) sorted by relevance
76 uint32_t GetOsVersion(const char* version_str) { in GetOsVersion() argument85 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in GetOsVersion()92 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion()93 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in GetOsVersion()94 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in GetOsVersion()100 char version_str[PROPERTY_VALUE_MAX]; in GetOsVersion() local101 property_get(kPlatformVersionProp, version_str, "" /* default */); in GetOsVersion()102 return GetOsVersion(version_str); in GetOsVersion()