Searched refs:platform (Results 1 - 15 of 15) sorted by relevance

/pkg/src/modules/portable/
H A Dutil.py26 import platform namespace
49 psl = platform.system().lower()
55 return 'linux_{0}'.format(platform.dist()[0])
57 # Workaround for python bug 1082, on Vista, platform.system()
59 prl = platform.release().lower()
77 # Windows has no os.uname, and platform.release
79 release = platform.version()
81 release = platform.release()
H A D__init__.py43 # attributes of the underlying platform not available through
45 # ISAs of a given platform.
179 the intention is to deal with platform specifics, such as
187 This is intended to hide platform-specific details about splitting
200 non-platform-specific component. For example, on Windows,
205 often leads to ambiguity in cross-platform code)."""
255 # dependency on dtracestubs from platform/i86pc/kernel/amd64/unix
258 import platform namespace
263 distro = platform.dist()[0].lower()
H A Dos_unix.py38 import platform namespace
64 return platform.uname()[5]
70 return platform.uname()[4]
/pkg/src/tests/
H A Dpkg5testenv.py29 import platform namespace
55 osname = platform.uname()[0].lower()
58 proc = platform.processor()
60 proc = "linux_" + platform.machine()
H A Drun.py190 import platform namespace
206 osname = platform.uname()[0].lower()
209 arch = platform.processor()
211 arch = "linux_" + platform.machine()
H A Dpkg5unittest.py58 import platform namespace
/pkg/src/modules/
H A Dlockfile.py30 import platform namespace
236 platform.node(), lock_ts, "\n"))
251 return "\n".join((str(os.getpid()), platform.node(), lock_ts, "\n"))
H A Dmisc.py41 import platform namespace
263 VERSION, portable.util.get_canonical_os_name(), platform.machine(),
264 portable.util.get_os_release(), platform.version())
2985 # If platform doesn't support RLIMIT_DATA, just ignore it.
H A Dindexer.py29 import platform namespace
/pkg/src/tests/cli/
H A Dt_pkg_initinstall.py35 import platform namespace
H A Dt_pkg_install.py36 import platform namespace
1131 "System attributes unsupported on this platform.")
10452 add dir group=bin mode=0755 owner=root path=boot/platform \
10454 add link path=boot/platform target=../platform variant.foo=one
11419 if platform.processor() == "sparc":
/pkg/doc/
H A DMakefile57 multi-platform.txt \
/pkg/src/
H A Dsetup.py29 import platform namespace
64 osname = platform.uname()[0].lower()
67 arch = platform.processor()
70 arch = "linux_" + platform.machine()
107 py_version = '.'.join(platform.python_version_tuple()[:2])
1603 # These are set to real values based on the platform, down below
1753 # All others use OpenSSL and cross-platform arch module
/pkg/src/modules/client/
H A Dimageconfig.py30 import platform namespace
441 self.variants["variant.arch"] = platform.processor()
H A Dimage.py35 import platform namespace
1068 variants.get("variant.arch", platform.processor())
1134 for p in ["platform/i86pc/amd64/boot_archive",
1135 "platform/i86pc/boot_archive",
1136 "platform/sun4u/boot_archive",
1137 "platform/sun4v/boot_archive"]:

Completed in 414 milliseconds