• Home
  • Raw
  • Download

Lines Matching refs:system

455 def _syscmd_ver(system='', release='', version='',  argument
470 return system, release, version
487 return system, release, version
493 system, release, version = m.groups()
502 return system, release, version
668 def system_alias(system, release, version): argument
677 if system == 'Rhapsody':
680 return 'MacOS X Server', system+release, version
682 elif system == 'SunOS':
686 return system, release, version
699 system = 'Solaris'
702 system = 'Solaris'
704 elif system == 'IRIX64':
708 system = 'IRIX'
714 elif system in ('win32', 'win16'):
716 system = 'Windows'
718 return system, release, version
945 system, node, release, version, machine = os.uname()
949 if no_os_uname or not list(filter(None, (system, node, release, version, machine))):
953 system = sys.platform
962 if system == 'win32':
982 system, release, version = _syscmd_ver(system)
985 if system == 'Microsoft Windows':
986 system = 'Windows'
987 elif system == 'Microsoft' and release == 'Windows':
992 system = 'Windows'
1000 if system in ('win32', 'win16'):
1002 if system == 'win32':
1006 system = 'Windows'
1008 elif system[:4] == 'java':
1010 system = 'Java'
1016 if system == 'OpenVMS':
1037 if system == 'unknown':
1038 system = ''
1051 if system == 'Microsoft' and release == 'Windows':
1052 system = 'Windows'
1055 _uname_cache = uname_result(system, node, release, version,
1061 def system(): function
1068 return uname().system
1359 system, node, release, version, machine, processor = uname()
1363 system, release, version = system_alias(system, release, version)
1365 if system == 'Windows':
1369 platform = _platform(system, release)
1371 platform = _platform(system, release, version, csd)
1373 elif system in ('Linux',):
1385 platform = _platform(system, release, machine, processor,
1391 platform = _platform(system, release, machine, processor,
1394 elif system == 'Java':
1398 platform = _platform(system, release, version)
1400 platform = _platform(system, release, version,
1404 elif system == 'MacOS':
1407 platform = _platform(system, release)
1409 platform = _platform(system, release, machine)
1414 platform = _platform(system, release)
1417 platform = _platform(system, release, machine,