Searched refs:osname (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Lib/distutils/ |
D | util.py | 59 (osname, host, release, version, machine) = os.uname() 63 osname = osname.lower().replace('/', '') 67 if osname[:5] == "linux": 71 return "%s-%s" % (osname, machine) 72 elif osname[:5] == "sunos": 74 osname = "solaris" 82 elif osname[:3] == "aix": 85 elif osname[:6] == "cygwin": 86 osname = "cygwin" 91 elif osname[:6] == "darwin": [all …]
|
D | ccompiler.py | 937 def get_default_compiler(osname=None, platform=None): argument 947 if osname is None: 948 osname = os.name 953 re.match(pattern, osname) is not None:
|
/third_party/ltp/testcases/kernel/syscalls/sysctl/ |
D | sysctl01.c | 40 char osname[BUFSIZ]; in verify_sysctl() local 44 memset(osname, 0, BUFSIZ); in verify_sysctl() 49 .oldval = osname, in verify_sysctl() 59 if (strcmp(osname, tc->cmp_str)) { in verify_sysctl() 61 osname, tc->cmp_str); in verify_sysctl()
|
D | sysctl04.c | 26 static char osname[BUFSIZ]; variable 36 {{CTL_KERN, KERN_OSREV}, 0, osname, &length, ENOTDIR}, 37 {{CTL_KERN, KERN_OSREV}, CTL_MAXNAME + 1, osname, &length, ENOTDIR}, 39 {{CTL_KERN, KERN_VERSION}, 2, osname, (void *) -1, EFAULT},
|
D | sysctl03.c | 46 char *osname = "Linux"; in verify_sysctl() local 51 .newval = osname, in verify_sysctl() 52 .newlen = sizeof(osname), in verify_sysctl()
|
/third_party/python/Lib/ |
D | sysconfig.py | 709 osname, host, release, version, machine = os.uname() 713 osname = osname.lower().replace('/', '') 717 if osname[:5] == "linux": 722 elif osname[:5] == "sunos": 724 osname = "solaris" 732 elif osname[:3] == "aix": 735 elif osname[:6] == "cygwin": 736 osname = "cygwin" 742 elif osname[:6] == "darwin": 744 osname, release, machine = _osx_support.get_platform_osx( [all …]
|
D | _osx_support.py | 499 def get_platform_osx(_config_vars, osname, release, machine): argument 515 osname = "macosx" 574 return (osname, release, machine)
|
/third_party/python/Doc/distutils/ |
D | apiref.rst | 352 .. function:: get_default_compiler(osname, platform) 356 *osname* should be one of the standard Python OS names (i.e. the ones returned
|
/third_party/python/patches/ |
D | cpython_mingw_v3.10.2.patch | 675 @@ -948,6 +948,8 @@ def get_default_compiler(osname=None, platform=None): 676 osname = os.name 683 re.match(pattern, osname) is not None:
|