Searched defs:os (Results 1 - 25 of 224) sorted by relevance

123456789

/pkg/src/util/log-scripts/
H A Dconfig.py10 # or http://www.opensolaris.org/os/licensing.
27 import os namespace
H A Dan2_ip.py10 # or http://www.opensolaris.org/os/licensing.
30 import os namespace
37 ip_files = [ i for i in ip_files if os.path.exists(i) ]
/pkg/src/tests/api/
H A Dtestutils.py10 # or http://www.opensolaris.org/os/licensing.
26 import os namespace
30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
H A Dt_solver.py10 # or http://www.opensolaris.org/os/licensing.
33 import os namespace
H A Dt_bootenv.py10 # or http://www.opensolaris.org/os/licensing.
31 import os namespace
72 del os.environ["PKG_NO_LIVE_ROOT"]
H A Dt_client.py11 # or http://www.opensolaris.org/os/licensing.
33 import os namespace
/pkg/src/tests/cli/
H A Dtestutils.py10 # or http://www.opensolaris.org/os/licensing.
26 import os namespace
30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
H A Dt_pkg_version.py10 # or http://www.opensolaris.org/os/licensing.
31 import os namespace
H A Dt_pkg_modified.py10 # or http://www.opensolaris.org/os/licensing.
30 import os namespace
50 mfpath = os.path.join(api_inst.img.imgdir, "modified")
51 nmtime = os.stat(mfpath).st_mtime
63 mfpath = os.path.join(api_inst.img.imgdir, "modified")
67 omtime = os.stat(mfpath).st_mtime
190 os.remove(os.path.join(pub.meta_root, "last_refreshed"))
H A Dt_pkg_property.py10 # or http://www.opensolaris.org/os/licensing.
32 import os namespace
H A Dt_pkg_rebuild_index.py10 # or http://www.opensolaris.org/os/licensing.
30 import os namespace
/pkg/src/tests/testsuite/
H A Dtestutils.py10 # or http://www.opensolaris.org/os/licensing.
26 import os namespace
30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
/pkg/src/modules/
H A Dpkgtarfile.py10 # or http://www.opensolaris.org/os/licensing.
27 import os namespace
71 os.path.join(path, tarinfo.linkname)
77 upperdirs = os.path.dirname(os.path.join(path, filename))
79 if upperdirs and not os.path.exists(upperdirs):
90 os.makedirs(upperdirs, stat.S_IRWXU)
94 self._extract_member(tarinfo, os.path.join(
H A Dsyscallat.py10 # or http://www.opensolaris.org/os/licensing.
28 import os namespace
46 raise OSError(ffi.errno, os.strerror(ffi.errno), path)
63 raise OSError(ffi.errno, os.strerror(ffi.errno), path)
81 raise OSError(ffi.errno, os.strerror(ffi.errno), old)
96 raise OSError(ffi.errno, os.strerror(ffi.errno), path)
H A Dp5i.py10 # or http://www.opensolaris.org/os/licensing.
27 import os namespace
69 location = os.path.abspath(location)
H A Dpspawn.py10 # or http://www.opensolaris.org/os/licensing.
28 import os namespace
35 raise OSError(rc, os.strerror(rc))
/pkg/src/modules/portable/
H A Dutil.py10 # or http://www.opensolaris.org/os/licensing.
25 import os namespace
33 if os.name == 'posix':
35 elif os.name == 'mac':
38 elif os.name == 'nt':
75 release = os.uname()[2]
77 # Windows has no os.uname, and platform.release
/pkg/src/modules/lint/
H A Dconfig.py11 # or http://www.opensolaris.org/os/licensing.
30 import os namespace
89 [os.path.expanduser("~/.pkglintrc")])
/pkg/src/tests/
H A Dcertgenerator.py10 # or http://www.opensolaris.org/os/licensing.
27 import os namespace
35 self.base_dir = os.path.abspath(base_dir)
38 self.cnf_file = os.path.join(self.base_dir, "openssl.cnf")
43 fh = open(os.path.join(self.base_dir, "index"), "w")
46 fh = open(os.path.join(self.base_dir, "serial"), "w")
58 self.keys_dir = os.path.join(self.base_dir, self.keys_loc)
59 self.cs_dir = os.path.join(self.base_dir, self.cs_loc)
60 self.chain_certs_dir = os.path.join(self.base_dir,
62 self.raw_trust_anchor_dir = os
[all...]
H A Dpkg5testenv.py10 # or http://www.opensolaris.org/os/licensing.
26 import os namespace
73 cmddir, cmdname = os.path.split(sys.argv[0])
74 cmddir = os.path.realpath(cmddir)
76 if "ROOT" in os.environ:
77 pkg_path = os.environ["ROOT"]
88 pkg_path = os.path.realpath(pkg_path)
89 proto_area = os.path.realpath(proto_area)
91 pkgs = os.path.join(pkg_path, "usr/lib/python{0}/vendor-packages".format(
93 bins = os
[all...]
/pkg/src/modules/file_layout/
H A Dlayout.py10 # or http://www.opensolaris.org/os/licensing.
61 import os namespace
87 return os.path.join(hashval[0:2], hashval[2:8], hashval)
91 return os.path.basename(path)
100 return os.path.join(hashval[0:2], hashval)
104 return os.path.basename(path)
/pkg/src/modules/flavor/
H A Dhardlink.py10 # or http://www.opensolaris.org/os/licensing.
27 import os namespace
35 base_names = [os.path.basename(path)]
36 paths = [os.path.dirname(path)]
H A Dscript.py10 # or http://www.opensolaris.org/os/licensing.
27 import os namespace
54 base_names = [os.path.basename(path)]
55 paths = [os.path.dirname(path)]
94 if not os.path.isabs(p):
100 p = os.path.join("/usr", p[1:])
/pkg/src/modules/actions/
H A Dhardlink.py10 # or http://www.opensolaris.org/os/licensing.
34 import os namespace
54 # both need to be passed through os.path.normpath to ensure
59 target = os.path.normpath(
60 os.path.join(os.path.split(path)[0], target))
62 target = os.path.normpath(target)[1:]
75 if not os.path.exists(os.path.dirname(path)):
76 self.makedirs(os
[all...]
/pkg/src/modules/client/
H A Dfirmware.py10 # or http://www.opensolaris.org/os/licensing.
27 import os.path namespace
56 args = [os.path.join(firmware_dir, which)]

Completed in 423 milliseconds

123456789