/external/chromium_org/base/ |
D | version.cc | 25 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 …]
|
D | version.h | 29 explicit Version(const std::string& version_str); 44 bool IsOlderThan(const std::string& version_str) const;
|
/external/chromium/base/ |
D | version.cc | 20 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()
|
D | version.h | 31 static Version* GetVersionFromString(const std::string& version_str); 47 bool InitFromString(const std::string& version_str);
|
/external/chromium_org/chrome/browser/lifetime/ |
D | application_lifetime_win.cc | 69 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/ |
D | test-version.cc | 56 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/ |
D | test-version.cc | 56 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/ |
D | upgrade_util_win.cc | 72 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/ |
D | versionparsing.cc | 34 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()
|
D | versionparsing.h | 40 bool ParseVersionString(const std::string& version_str,
|
/external/chromium_org/chrome/installer/util/ |
D | compat_checks.cc | 19 std::wstring version_str; in GetSEPVersion() local 20 key.ReadValue(L"ProductVersion", &version_str); in GetSEPVersion() 21 return version_str; in GetSEPVersion()
|
D | install_util.cc | 224 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()
|
D | installation_state.cc | 60 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()
|
D | google_update_util.cc | 54 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/ |
D | version.sh | 41 version_str="${changelog_version}${git_version_id}" 42 bare_version=${version_str#v}
|
/external/chromium_org/chrome/browser/net/ |
D | ssl_config_service_manager_pref.cc | 85 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/ |
D | find_mac_sdk.py | 18 def parse_version(version_str): argument 20 return map(int, re.findall(r'(\d+)', version_str))
|
/external/chromium_org/tools/valgrind/ |
D | common.py | 120 version_str = platform.uname()[0].split('-')[1] 125 version_str = platform.version() 129 parts = version_str.split('.')
|
/external/chromium_org/build/mac/ |
D | find_sdk.py | 21 def parse_version(version_str): argument 23 return map(int, re.findall(r'(\d+)', version_str))
|
/external/qemu/hw/ |
D | smbios.h | 52 uint8_t version_str; member 65 uint8_t version_str; member
|
/external/chromium_org/content/browser/gpu/ |
D | gpu_data_manager_impl_private.cc | 74 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/ |
D | feature_info.cc | 227 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/ |
D | extension.cc | 588 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/ |
D | certificate_viewer.cc | 338 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/ |
D | certificate_viewer_gtk.cc | 352 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()
|