/pkg/src/tests/interactive/ |
H A D | runprintengine.py | 32 import sys namespace 43 opts, argv = getopt.getopt(sys.argv[1:], "tTl") 52 print("bad option {0}".format(opt), file=sys.stderr) 53 sys.exit(2) 57 file=sys.stderr) 58 sys.exit(2) 63 print("too many arguments", file=sys.stderr) 64 sys.exit(2) 66 output_file = sys.stdout 82 print(e, file=sys [all...] |
H A D | runprogress.py | 28 import sys namespace 40 opts, argv = getopt.getopt(sys.argv[1:], "f") 45 sys.exit(2) 77 sys.exit(2) 113 print("Error: {0}".format(e), file=sys.stderr) 114 sys.exit(1) 115 sys.exit(0)
|
/pkg/src/tests/api/ |
H A D | testutils.py | 27 import sys namespace 31 sys.path.insert(0, path_to_parent)
|
H A D | t_solver.py | 34 import sys namespace
|
/pkg/src/tests/cli/ |
H A D | testutils.py | 27 import sys namespace 31 sys.path.insert(0, path_to_parent)
|
H A D | t_pkg_terminal.py | 30 import sys namespace 47 cmdline = sys.executable + " " + self.pkg_cmdpath + " -R " + \ 50 cmdline = sys.executable + " " + self.pkg_cmdpath + " -R " + \ 60 cmdline = sys.executable + " " + self.pkg_cmdpath + " -R " + \ 74 self.runprog = sys.executable + " {0}/interactive/runprogress.py".format( 76 self.runprint = sys.executable + " {0}/interactive/runprintengine.py".format(
|
/pkg/src/tests/testsuite/ |
H A D | testutils.py | 27 import sys namespace 31 sys.path.insert(0, path_to_parent)
|
/pkg/src/tests/perf/ |
H A D | actionbench.py | 55 import sys namespace 56 sys.exit(0) 75 import sys namespace 76 sys.exit(0) 87 import sys namespace 88 sys.exit(0) 99 import sys namespace 100 sys.exit(0) 129 import sys namespace 130 sys 148 import sys namespace 242 import sys namespace [all...] |
H A D | fmribench.py | 39 import sys namespace 255 sys.exit(1)
|
H A D | manbench.py | 34 import sys namespace 48 dir group=sys mode=0755 owner=root path=usr/share 49 dir group=sys mode=0755 owner=root path=usr/lib/brand/native 51 file dfa894680b63cba4ea06698ece7786e4af08ebe9 group=sys mode=0444 opensolaris.zone=global owner=root path=var/svc/manifest/system/zones.xml pkg.size=2835 53 dir group=sys mode=0755 owner=root path=usr/share/lib/xml 54 file 27bd43e341d2d68d6715e9c74986dc96efdbba04 group=sys mode=0644 opensolaris.zone=global owner=root path=etc/zones/index pkg.size=1103 preserve=true 55 file a98845cf2047a2eea8df6283201cc19c66dd6bbd elfarch=i386 elfbits=32 elfhash=9320a13a81de97546aec93b7c508d9c6de6dcf0e group=sys mode=0755 owner=root path=usr/kernel/drv/zcons pkg.size=9220 59 file 795465bd69c3b4f23ef5699c9422dcadf31e4e4a group=sys mode=0444 opensolaris.zone=global owner=root path=var/svc/manifest/system/resource-mgmt.xml pkg.size=2888 63 dir group=sys mode=0755 opensolaris.zone=global owner=root path=etc 64 dir group=sys mod [all...] |
/pkg/src/tests/ |
H A D | baseline.py | 29 import sys namespace 85 print("", file=sys.stderr) 86 print(self.sep1, file=sys.stderr) 88 "match the baseline.", file=sys.stderr) 89 print(self.sep2, file=sys.stderr) 91 print("{0}: {1}".format(name, result), file=sys.stderr) 92 print(self.sep2, file=sys.stderr) 93 print("", file=sys.stderr) 104 print("ERROR: storing baseline:", file=sys.stderr) 106 self.__filename, msg), file=sys [all...] |
H A D | run.py | 31 import sys namespace 37 os.putenv('PYEXE', sys.executable) 40 cmd = [sys.executable, "run.py"] 41 cmd.extend(sys.argv[1:]) # Skip argv[0] 42 sys.exit(subprocess.call(cmd)) 50 sys.path.insert(0, ".") 64 "[-o regexp]".format(sys.argv[0]), file=sys.stderr) 66 "[-s regexp] [-o regexp]".format(sys.argv[0]), file=sys [all...] |
H A D | pkg5testenv.py | 28 import sys namespace 70 sys.exit(1) 73 cmddir, cmdname = os.path.split(sys.argv[0]) 92 sys.version[0:3])) 94 sys.path.insert(1, pkgs) 99 # in sys.path.
|
/pkg/src/util/log-scripts/ |
H A D | translate.py | 30 import sys namespace 39 if len(sys.argv) != 3: 40 print("Usage: {0} <in file> <out file>".format(sys.argv[0])) 41 sys.exit(2) 43 infile = open(sys.argv[1], "r") 44 outfile = open(sys.argv[2], "w")
|
H A D | an_first_timestamp.py | 35 import sys namespace 46 for l in fileinput.input(sys.argv[1:]): 56 sys.exit(0)
|
H A D | an2_ip.py | 29 import sys namespace 36 ip_files = [ "{0}-ip.dat".format(i) for i in sys.argv[2:] ]
|
/pkg/src/modules/bundle/ |
H A D | __init__.py | 40 import sys namespace 92 bmodule = sys.modules[bname] 102 b = make_bundle(sys.argv[1]) 105 sys.exit(1)
|
/pkg/src/util/publish/ |
H A D | pkgmogrify.py | 31 import sys namespace 46 print("pkgmogrify: {0}".format(errmsg), file=sys.stderr) 52 sys.exit(exitcode) 57 print("pkgmogrify: {0}".format(text), file=sys.stderr) 59 sys.exit(exitcode) 72 opts, pargs = getopt.getopt(sys.argv[1:], "ivD:I:O:P:?", ["help"]) 101 sys.exit(EXIT_OOPS) 105 printfile = sys.stdout 117 outfile = sys.stdout 170 sys [all...] |
H A D | update_file_layout.py | 33 import sys namespace 68 if len(sys.argv) != 2: 72 dir_loc = os.path.abspath(sys.argv[1]) 125 sys.exit(__ret)
|
/pkg/src/ |
H A D | depot.py | 77 import sys namespace 80 if sys.version_info[:2] >= (3, 4): 94 file=sys.stderr) 95 sys.exit(2) 151 sys.exit(retcode) 249 sys.exit(retcode) 301 opts, pargs = getopt.getopt(sys.argv[1:], "a:d:np:s:t:?", 309 sys.exit(0) 551 if os.isatty(sys.stdout.fileno()): 639 sys [all...] |
H A D | rad-invoke.py | 27 import sys namespace 58 sys.exit(1) 69 handler = _StreamHandler(sys.stdout) 86 opts, pargs = getopt.getopt(sys.argv[1:], 127 sys.exit(ret_json["status"])
|
/pkg/src/modules/flavor/ |
H A D | depthlimitedmf.py | 29 import sys namespace 30 if sys.version_info[0] == 3: 53 builtin (like sys).""" 58 if sys.version_info[0] == 2: 135 for fp in sys.path[1:] 210 if sys.version_info >= (2, 5): 280 # manipulates sys.modules directly to provide both os and 302 if name in sys.builtin_module_names or \ 349 if name in sys.builtin_module_names or name == "__future__": 386 run_paths = sys [all...] |
/pkg/src/modules/ |
H A D | liblist.h | 29 #include <sys/types.h>
|
H A D | nrlock.py | 25 import sys namespace 63 for tid, stack in sys._current_frames().items():
|
/pkg/src/modules/server/ |
H A D | query_parser.py | 27 import sys namespace 43 mod = sys.modules[QueryParser.__module__]
|