/external/chromium_org/third_party/markdown/ |
__version__.py | 34 # version_info should conform to PEP 386 38 version_info = (2, 3, 1, 'final', 0) variable 41 " Returns a PEP 386-compliant version number from version_info. " 42 assert len(version_info) == 5 43 assert version_info[3] in ('alpha', 'beta', 'rc', 'final') 45 parts = 2 if version_info[2] == 0 else 3 46 main = '.'.join(map(str, version_info[:parts])) 49 if version_info[3] == 'alpha' and version_info[4] == 0: 52 elif version_info[3] != 'final' [all...] |
/external/chromium_org/tools/telemetry/telemetry/ |
__init__.py | 10 if sys.version_info < (2, 7):
|
/cts/suite/audio_quality/test_description/conf/ |
check_conf.py | 22 if(sys.version_info < (2,6,0)): 23 print "Wrong Python version ", sys.version_info
|
/external/chromium_org/base/ |
file_version_info_unittest.cc | 62 scoped_ptr<FileVersionInfo> version_info( 66 EXPECT_EQ(kExpectedValues[i][j++], version_info->company_name()); 67 EXPECT_EQ(kExpectedValues[i][j++], version_info->company_short_name()); 68 EXPECT_EQ(kExpectedValues[i][j++], version_info->product_name()); 69 EXPECT_EQ(kExpectedValues[i][j++], version_info->product_short_name()); 70 EXPECT_EQ(kExpectedValues[i][j++], version_info->internal_name()); 71 EXPECT_EQ(kExpectedValues[i][j++], version_info->product_version()); 72 EXPECT_EQ(kExpectedValues[i][j++], version_info->private_build()); 73 EXPECT_EQ(kExpectedValues[i][j++], version_info->special_build()); 74 EXPECT_EQ(kExpectedValues[i][j++], version_info->comments()) [all...] |
/external/chromium_org/base/win/ |
windows_version.cc | 40 OSVERSIONINFOEX version_info = { sizeof version_info }; local 41 ::GetVersionEx(reinterpret_cast<OSVERSIONINFO*>(&version_info)); 42 version_number_.major = version_info.dwMajorVersion; 43 version_number_.minor = version_info.dwMinorVersion; 44 version_number_.build = version_info.dwBuildNumber; 71 service_pack_.major = version_info.wServicePackMajor; 72 service_pack_.minor = version_info.wServicePackMinor; 87 if (version_info.dwMajorVersion == 6) { 92 get_product_info(version_info.dwMajorVersion, version_info.dwMinorVersion [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
local_device_info_provider_impl.cc | 69 const chrome::VersionInfo& version_info) { 90 if (!version_info.is_valid()) { 95 user_agent += version_info.Version(); 96 user_agent += " (" + version_info.LastChange() + ")"; 97 if (!version_info.IsOfficialBuild()) { 101 " channel(" + ChannelToString(version_info.GetChannel()) + ")"; 140 chrome::VersionInfo version_info; local 145 version_info.CreateVersionString(), 146 MakeUserAgentForSyncApi(version_info),
|
/external/chromium_org/chrome_elf/ |
thunk_getter.cc | 59 OSVERSIONINFOEX version_info = {sizeof(version_info)}; local 60 GetVersionEx(reinterpret_cast<OSVERSIONINFO*>(&version_info)); 61 version_number_.major = version_info.dwMajorVersion; 62 version_number_.minor = version_info.dwMinorVersion; 63 version_number_.build = version_info.dwBuildNumber; 68 if (version_ == VERSION_XP_SP2 && version_info.wServicePackMajor < 2) 94 service_pack_.major = version_info.wServicePackMajor; 95 service_pack_.minor = version_info.wServicePackMinor;
|
/external/chromium_org/chrome/browser/profiles/ |
chrome_version_service.cc | 37 chrome::VersionInfo version_info; local 42 std::string version = version_info.Version();
|
/external/chromium_org/chrome/browser/policy/ |
device_management_service_configuration.cc | 33 chrome::VersionInfo version_info; local 35 version_info.Name().c_str(), 36 version_info.Version().c_str(), 37 version_info.LastChange().c_str());
|
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/ |
environment_data_collection.cc | 43 chrome::VersionInfo version_info; local 44 if (version_info.is_valid()) { 47 std::string version(version_info.Version()); 51 if (!version_info.IsOfficialBuild())
|
/external/chromium_org/chrome/browser/safe_browsing/ |
protocol_manager_helper.cc | 33 chrome::VersionInfo version_info; local 34 if (!version_info.is_valid() || version_info.Version().empty()) 37 return version_info.Version();
|
/external/chromium_org/third_party/markupsafe/ |
_compat.py | 13 PY2 = sys.version_info[0] == 2
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
db.py | 41 absolute_import = (sys.version_info[0] >= 3) namespace
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/ |
__init__.py | 31 v = _xmlplus.version_info
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
db.py | 41 absolute_import = (sys.version_info[0] >= 3) namespace
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/ |
__init__.py | 31 v = _xmlplus.version_info
|
/external/chromium_org/chrome/service/net/ |
service_url_request_context_getter.cc | 82 chrome::VersionInfo version_info; local 83 if (!version_info.is_valid()) { 87 if (!version_info.IsOfficialBuild()) 91 version_info.Version().c_str(), 92 version_info.LastChange().c_str(),
|
/external/chromium_org/content/shell/app/ |
webkit_test_platform_support_win.cc | 82 OSVERSIONINFO version_info = {0}; local 83 version_info.dwOSVersionInfoSize = sizeof(version_info); 84 ::GetVersionEx(&version_info); 85 bool is_vista_or_later = (version_info.dwMajorVersion >= 6);
|
/external/llvm/utils/lit/lit/ |
TestingConfig.py | 4 OldPy = sys.version_info[0] == 2 and sys.version_info[1] < 7
|
/external/chromium_org/chrome/service/cloud_print/ |
cloud_print_service_helpers_unittest.cc | 56 chrome::VersionInfo version_info; local 59 version_info.CreateVersionString().c_str(), 71 chrome::VersionInfo version_info; local 85 version_info.CreateVersionString().c_str(),
|
/external/chromium_org/chrome/common/ |
service_process_util.cc | 80 chrome::VersionInfo version_info; 81 if (!version_info.is_valid()) { 87 Version running_version(version_info.Version()); 126 chrome::VersionInfo version_info; local 127 DCHECK(version_info.is_valid()); 128 versioned_str.append(version_info.Version()); 244 chrome::VersionInfo version_info; local 245 if (!version_info.is_valid()) { 249 if (version_info.Version().length() >= kMaxVersionStringLength) { 251 version_info.Version().length() << "which is longer than" < [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
version_ui.cc | 48 chrome::VersionInfo version_info; local 49 html_source->AddString("version", version_info.Version()); 54 html_source->AddString("os_type", version_info.OSType()); 80 html_source->AddString("cl", version_info.LastChange()); 82 version_info.IsOfficialBuild() ? IDS_ABOUT_VERSION_OFFICIAL :
|
/external/chromium_org/build/util/ |
lastchange.py | 172 version_info = (FetchSVNRevision(directory, svn_url_regex) or 175 if not version_info: 178 version_info = VersionInfo(None, revision) 180 version_info = VersionInfo(None, None) 181 return version_info 276 version_info = FetchVersionInfo(opts.default_lastchange, src_dir) 278 if version_info.revision == None: 279 version_info.revision = '0' 282 print version_info.revision 284 contents = "LASTCHANGE=%s\n" % version_info.revisio [all...] |
/external/chromium_org/chrome/browser/ |
memory_details_win.cc | 126 chrome::VersionInfo version_info; local 127 if (version_info.is_valid()) 128 info.version = base::ASCIIToWide(version_info.Version()); 141 scoped_ptr<FileVersionInfo> version_info( 143 if (version_info != NULL) { 144 info.version = version_info->product_version(); 145 info.product_name = version_info->product_name();
|
/external/chromium_org/chrome/browser/search_engines/ |
ui_thread_search_terms_data.cc | 180 chrome::VersionInfo version_info; local 181 if (version_info.is_valid()) { 182 std::string version(version_info.Name() + " " + version_info.Version()); 183 if (version_info.IsOfficialBuild()) 185 version += " " + version_info.OSType(); 186 std::string modifier(version_info.GetVersionStringModifier());
|