Home
last modified time | relevance | path

Searched refs:osname (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/distutils/
Dutil.py65 (osname, host, release, version, machine) = os.uname()
69 osname = string.lower(osname)
70 osname = string.replace(osname, '/', '')
74 if osname[:5] == "linux":
78 return "%s-%s" % (osname, machine)
79 elif osname[:5] == "sunos":
81 osname = "solaris"
89 elif osname[:4] == "irix": # could be "irix64"!
90 return "%s-%s" % (osname, release)
91 elif osname[:3] == "aix":
[all …]
Dccompiler.py907 def get_default_compiler(osname=None, platform=None): argument
918 if osname is None:
919 osname = os.name
924 re.match(pattern, osname) is not None:
/external/python/cpython2/Lib/
Dsysconfig.py577 osname, host, release, version, machine = os.uname()
581 osname = osname.lower().replace('/', '')
585 if osname[:5] == "linux":
589 return "%s-%s" % (osname, machine)
590 elif osname[:5] == "sunos":
592 osname = "solaris"
600 elif osname[:4] == "irix": # could be "irix64"!
601 return "%s-%s" % (osname, release)
602 elif osname[:3] == "aix":
603 return "%s-%s.%s" % (osname, version, release)
[all …]
D_osx_support.py429 def get_platform_osx(_config_vars, osname, release, machine): argument
445 osname = "macosx"
502 return (osname, release, machine)
Drexec.py250 osname = os.name
251 src = __import__(osname)
/external/python/cpython3/Lib/distutils/
Dutil.py58 (osname, host, release, version, machine) = os.uname()
62 osname = osname.lower().replace('/', '')
66 if osname[:5] == "linux":
70 return "%s-%s" % (osname, machine)
71 elif osname[:5] == "sunos":
73 osname = "solaris"
81 elif osname[:3] == "aix":
84 elif osname[:6] == "cygwin":
85 osname = "cygwin"
90 elif osname[:6] == "darwin":
[all …]
Dccompiler.py937 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:
/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl01.c40 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()
Dsysctl04.c26 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},
Dsysctl03.c46 char *osname = "Linux"; in verify_sysctl() local
51 .newval = osname, in verify_sysctl()
52 .newlen = sizeof(osname), in verify_sysctl()
/external/boringssl/src/util/
Dgenerate_build_files.py115 for ((osname, arch), asm_files) in asm_outputs:
116 if osname != 'linux':
119 makefile, '%s_%s_sources' % (osname, arch), asm_files)
133 for ((osname, arch), asm_files) in asm_outputs:
134 if osname != 'linux' or arch == 'ppc64le':
214 for ((osname, arch), asm_files) in asm_outputs:
216 out, 'crypto_sources_%s_%s' % (osname, arch), asm_files)
255 for ((osname, arch), asm_files) in asm_outputs:
257 out, 'crypto_sources_%s_%s' % (osname, arch), asm_files)
319 for ((osname, arch), asm_files) in asm_outputs:
[all …]
/external/python/cpython3/Lib/
Dsysconfig.py644 osname, host, release, version, machine = os.uname()
648 osname = osname.lower().replace('/', '')
652 if osname[:5] == "linux":
656 return "%s-%s" % (osname, machine)
657 elif osname[:5] == "sunos":
659 osname = "solaris"
667 elif osname[:3] == "aix":
670 elif osname[:6] == "cygwin":
671 osname = "cygwin"
677 elif osname[:6] == "darwin":
[all …]
D_osx_support.py500 def get_platform_osx(_config_vars, osname, release, machine): argument
516 osname = "macosx"
575 return (osname, release, machine)
/external/llvm-project/debuginfo-tests/llgdb-tests/
Dtest_debuginfo.pl34 $use_lldb = 1 if ($Config{osname} eq "darwin");
/external/llvm/utils/
Dtest_debuginfo.pl34 $use_lldb = 1 if ($Config{osname} eq "darwin");
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveEntry.java1360 final String osname = System.getProperty("os.name").toLowerCase(Locale.ENGLISH); in normalizeFileName() local
1362 if (osname != null) { in normalizeFileName()
1367 if (osname.startsWith("windows")) { in normalizeFileName()
1378 } else if (osname.contains("netware")) { in normalizeFileName()
/external/python/cpython2/Lib/plat-mac/
Dpimp.py67 osname, release, machine = longplatform.split('-')
70 if osname == 'darwin':
72 osname = 'darwin_apple'
74 osname = 'darwin_macpython'
80 url = DEFAULT_PIMPDATABASE_FMT % (PIMP_VERSION, status, pyvers, osname, rel, machine)
91 … url = DEFAULT_PIMPDATABASE_FMT % (PIMP_VERSION, status, pyvers, osname, release, machine)
/external/python/cpython3/Doc/distutils/
Dapiref.rst352 .. function:: get_default_compiler(osname, platform)
356 *osname* should be one of the standard Python OS names (i.e. the ones returned
/external/python/cpython2/Doc/distutils/
Dapiref.rst327 .. function:: get_default_compiler(osname, platform)
331 *osname* should be one of the standard Python OS names (i.e. the ones returned