Lines Matching refs:release
514 def _syscmd_ver(system='', release='', version='', argument
529 return system,release,version
549 return system,release,version
555 system,release,version = m.groups()
557 if release[-1] == '.':
558 release = release[:-1]
564 return system,release,version
656 def win32_ver(release='', version='', csd='', ptype=''): argument
660 return release, version, csd, ptype
670 release = (_WIN32_CLIENT_RELEASES.get((maj, min)) or
672 release)
686 release = (_WIN32_SERVER_RELEASES.get((maj, min)) or
688 release)
701 return release, version, csd, ptype
749 release = '%i.%i.%i' %(major, minor, patch)
751 release = '%s.%i.%i' % (_bcd2str(major),minor,patch)
759 return release,versioninfo,machine
772 release = pl['ProductVersion']
779 return release,versioninfo,machine
782 def mac_ver(release='',versioninfo=('','',''),machine=''): argument
805 return release,versioninfo,machine
818 def java_ver(release='',vendor='',vminfo=('','',''),osinfo=('','','')): argument
834 return release,vendor,vminfo,osinfo
837 release = _java_getprop('java.version', release)
849 return release, vendor, vminfo, osinfo
853 def system_alias(system,release,version): argument
865 return 'MacOS X Server',system+release,version
869 if release < '5':
871 return system,release,version
873 l = string.split(release,'.')
882 release = string.join(l,'.')
883 if release < '6':
903 return system,release,version
1173 system,node,release,version,machine = os.uname()
1177 if no_os_uname or not filter(None, (system, node, release, version, machine)):
1182 release = ''
1191 release,version,csd,ptype = win32_ver()
1192 if release and version:
1210 system,release,version = _syscmd_ver(system)
1215 elif system == 'Microsoft' and release == 'Windows':
1222 release = 'Vista'
1224 release = ''
1237 release,vendor,vminfo,osinfo = java_ver()
1246 if not release or release == '0':
1247 release = version
1269 if release == 'unknown':
1270 release = ''
1279 if system == 'Microsoft' and release == 'Windows':
1281 release = 'Vista'
1283 _uname_cache = system,node,release,version,machine,processor
1307 def release(): function
1585 system,node,release,version,machine,processor = uname()
1589 system,release,version = system_alias(system,release,version)
1595 platform = _platform(system,release)
1597 platform = _platform(system,release,version,csd)
1603 platform = _platform(system,release,machine,processor,
1609 platform = _platform(system,release,machine,processor,
1616 platform = _platform(system,release,version)
1618 platform = _platform(system,release,version,
1625 platform = _platform(system,release)
1627 platform = _platform(system,release,machine)
1632 platform = _platform(system,release)
1635 platform = _platform(system,release,machine,processor,bits,linkage)