Home
last modified time | relevance | path

Searched refs:version_str (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/base/
Dversion.cc25 bool ParseVersionNumbers(const std::string& version_str, in ParseVersionNumbers() argument
28 SplitString(version_str, '.', &numbers); in ParseVersionNumbers()
88 Version::Version(const std::string& version_str) { in Version() argument
90 if (!ParseVersionNumbers(version_str, &parsed)) in Version()
110 bool Version::IsOlderThan(const std::string& version_str) const { in IsOlderThan()
111 Version proposed_ver(version_str); in IsOlderThan()
168 std::string version_str; in GetString() local
171 version_str.append(IntToString(components_[i])); in GetString()
172 version_str.append("."); in GetString()
174 version_str.append(IntToString(components_[count - 1])); in GetString()
[all …]
Dversion.h29 explicit Version(const std::string& version_str);
44 bool IsOlderThan(const std::string& version_str) const;
/external/chromium/base/
Dversion.cc20 Version* Version::GetVersionFromString(const std::string& version_str) { in GetVersionFromString() argument
22 if (vers->InitFromString(version_str)) { in GetVersionFromString()
68 std::string version_str; in GetString() local
71 version_str.append(base::IntToString(components_[i])); in GetString()
72 version_str.append("."); in GetString()
74 version_str.append(base::IntToString(components_[count - 1])); in GetString()
75 return version_str; in GetString()
78 bool Version::InitFromString(const std::string& version_str) { in InitFromString() argument
81 base::SplitString(version_str, '.', &numbers); in InitFromString()
Dversion.h31 static Version* GetVersionFromString(const std::string& version_str);
47 bool InitFromString(const std::string& version_str);
/external/chromium_org/chrome/browser/lifetime/
Dapplication_lifetime_win.cc69 std::string version_str; in ActivateDesktopHelper() local
72 if (!env->GetVar(chrome::kChromeVersionEnvVar, &version_str)) in ActivateDesktopHelper()
73 version_str.clear(); in ActivateDesktopHelper()
84 if (!version_str.empty()) in ActivateDesktopHelper()
85 path = path.AppendASCII(version_str); in ActivateDesktopHelper()
/external/chromium_org/v8/test/cctest/
Dtest-version.cc56 static v8::internal::EmbeddedVector<char, 128> version_str; in CheckVersion() local
61 Version::GetString(version_str); in CheckVersion()
62 CHECK_EQ(expected_version_string, version_str.start()); in CheckVersion()
69 Version::GetString(version_str); in CheckVersion()
70 CHECK_EQ(expected_version_string, version_str.start()); in CheckVersion()
/external/v8/test/cctest/
Dtest-version.cc56 static v8::internal::EmbeddedVector<char, 128> version_str; in CheckVersion() local
61 Version::GetString(version_str); in CheckVersion()
62 CHECK_EQ(expected_version_string, version_str.start()); in CheckVersion()
69 Version::GetString(version_str); in CheckVersion()
70 CHECK_EQ(expected_version_string, version_str.start()); in CheckVersion()
/external/chromium_org/chrome/browser/first_run/
Dupgrade_util_win.cc72 const std::string& version_str) { in GetMetroRelauncherPath() argument
78 if (!version_str.empty()) in GetMetroRelauncherPath()
79 path = path.AppendASCII(version_str); in GetMetroRelauncherPath()
118 std::string version_str; in RelaunchChromeHelper() local
121 if (env->GetVar(chrome::kChromeVersionEnvVar, &version_str)) in RelaunchChromeHelper()
124 version_str.clear(); in RelaunchChromeHelper()
170 base::string16 path(GetMetroRelauncherPath(chrome_exe, version_str).value()); in RelaunchChromeHelper()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dversionparsing.cc34 bool ParseVersionString(const std::string& version_str, in ParseVersionString() argument
39 size_t dot_pos = version_str.find('.', pos); in ParseVersionString()
48 version[i] = atoi(version_str.substr(pos, n).c_str()); in ParseVersionString()
Dversionparsing.h40 bool ParseVersionString(const std::string& version_str,
/external/chromium_org/chrome/installer/util/
Dcompat_checks.cc19 std::wstring version_str; in GetSEPVersion() local
20 key.ReadValue(L"ProductVersion", &version_str); in GetSEPVersion()
21 return version_str; in GetSEPVersion()
Dinstall_util.cc224 string16 version_str; in GetChromeVersion() local
226 result = key.ReadValue(google_update::kRegVersionField, &version_str); in GetChromeVersion()
229 if (result == ERROR_SUCCESS && !version_str.empty()) { in GetChromeVersion()
231 << version_str; in GetChromeVersion()
232 *version = Version(WideToASCII(version_str)); in GetChromeVersion()
249 string16 version_str; in GetCriticalUpdateVersion() local
252 &version_str); in GetCriticalUpdateVersion()
255 if (result == ERROR_SUCCESS && !version_str.empty()) { in GetCriticalUpdateVersion()
257 << " found " << version_str; in GetCriticalUpdateVersion()
258 *version = Version(WideToASCII(version_str)); in GetCriticalUpdateVersion()
Dinstallation_state.cc60 std::wstring version_str; in Initialize() local
62 &version_str) == ERROR_SUCCESS) { in Initialize()
63 version_.reset(new Version(WideToASCII(version_str))); in Initialize()
72 &version_str) == ERROR_SUCCESS) { in Initialize()
73 old_version_.reset(new Version(WideToASCII(version_str))); in Initialize()
Dgoogle_update_util.cc54 string16 version_str; in GetGoogleUpdateSetupExe() local
56 (update_key.ReadValue(kRegGoogleUpdateVersion, &version_str) == in GetGoogleUpdateSetupExe()
58 return base::FilePath(path_str).DirName().Append(version_str). in GetGoogleUpdateSetupExe()
/external/libvpx/libvpx/build/make/
Dversion.sh41 version_str="${changelog_version}${git_version_id}"
42 bare_version=${version_str#v}
/external/chromium_org/chrome/browser/net/
Dssl_config_service_manager_pref.cc85 uint16 SSLProtocolVersionFromString(const std::string& version_str) { in SSLProtocolVersionFromString() argument
87 if (version_str == "ssl3") { in SSLProtocolVersionFromString()
89 } else if (version_str == "tls1") { in SSLProtocolVersionFromString()
91 } else if (version_str == "tls1.1") { in SSLProtocolVersionFromString()
93 } else if (version_str == "tls1.2") { in SSLProtocolVersionFromString()
/external/skia/tools/
Dfind_mac_sdk.py18 def parse_version(version_str): argument
20 return map(int, re.findall(r'(\d+)', version_str))
/external/chromium_org/tools/valgrind/
Dcommon.py120 version_str = platform.uname()[0].split('-')[1]
125 version_str = platform.version()
129 parts = version_str.split('.')
/external/chromium_org/build/mac/
Dfind_sdk.py21 def parse_version(version_str): argument
23 return map(int, re.findall(r'(\d+)', version_str))
/external/qemu/hw/
Dsmbios.h52 uint8_t version_str; member
65 uint8_t version_str; member
/external/chromium_org/content/browser/gpu/
Dgpu_data_manager_impl_private.cc74 std::string version_str = base::SysInfo::OperatingSystemVersion(); in GetGpuBlacklistHistogramValueWin() local
75 size_t pos = version_str.find_first_not_of("0123456789."); in GetGpuBlacklistHistogramValueWin()
77 version_str = version_str.substr(0, pos); in GetGpuBlacklistHistogramValueWin()
78 Version os_version(version_str); in GetGpuBlacklistHistogramValueWin()
/external/chromium_org/gpu/command_buffer/service/
Dfeature_info.cc227 const char* version_str = in InitializeFeatures() local
229 if (version_str) { in InitializeFeatures()
230 std::string lstr(StringToLowerASCII(std::string(version_str))); in InitializeFeatures()
/external/chromium_org/extensions/common/
Dextension.cc588 std::string version_str; in LoadVersion() local
589 if (!manifest_->GetString(keys::kVersion, &version_str)) { in LoadVersion()
593 version_.reset(new Version(version_str)); in LoadVersion()
/external/chromium/chrome/browser/ui/gtk/
Dcertificate_viewer.cc338 std::string version_str; in FillTreeStoreWithCertFields() local
341 version_str = l10n_util::GetStringFUTF8(IDS_CERT_DETAILS_VERSION_FORMAT, in FillTreeStoreWithCertFields()
349 FIELDS_VALUE, version_str.c_str(), in FillTreeStoreWithCertFields()
/external/chromium_org/chrome/browser/ui/gtk/
Dcertificate_viewer_gtk.cc352 std::string version_str; in FillTreeStoreWithCertFields() local
355 version_str = l10n_util::GetStringFUTF8(IDS_CERT_DETAILS_VERSION_FORMAT, in FillTreeStoreWithCertFields()
363 FIELDS_VALUE, version_str.c_str(), in FillTreeStoreWithCertFields()

12