Searched refs:file (Results 1 - 25 of 68) sorted by relevance

123

/pkg/src/tests/interactive/
H A Drunprintengine.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
52 print("bad option {0}".format(opt), file=sys.stderr)
57 file=sys.stderr) variable
63 print("too many arguments", file=sys.stderr)
70 print("---test_ttymode---", file=output_file)
71 print(("-" * 60), file=output_file)
74 print("---test_nottymode---", file
[all...]
H A Drunprogress.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
113 print("Error: {0}".format(e), file=sys.stderr)
/pkg/src/tests/
H A Dbaseline.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
54 """Add a result if we're generating the baseline file,
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
[all...]
H A Drun.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
64 "[-o regexp]".format(sys.argv[0]), file=sys.stderr)
66 "[-s regexp] [-o regexp]".format(sys.argv[0]), file=sys.stderr)
81 -t Generate timing info file
85 """, file=sys.stderr)
111 # Suppress ResourceWarning: unclosed file.
123 "verbose", "baseline-file", "onl
[all...]
/pkg/src/scripts/
H A Dpkg.depotd.sh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25 # Resolve a symbolic link to the true file location
27 file="$1"
28 while [ -h "$file" ]; do
29 ls=`ls -ld "$file"`
32 file="$link"
34 file
[all...]
H A Dpkg.sh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25 # Resolve a symbolic link to the true file location
27 file="$1"
28 while [ -h "$file" ]; do
29 ls=`ls -ld "$file"`
32 file="$link"
34 file
[all...]
H A Dpkgrecv.sh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25 # Resolve a symbolic link to the true file location
27 file="$1"
28 while [ -h "$file" ]; do
29 ls=`ls -ld "$file"`
32 file="$link"
34 file
[all...]
H A Dpkgsend.sh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25 # Resolve a symbolic link to the true file location
27 file="$1"
28 while [ -h "$file" ]; do
29 ls=`ls -ld "$file"`
32 file="$link"
34 file
[all...]
H A Dpkg.bat5 rem The contents of this file are subject to the terms of the
7 rem You may not use this file except in compliance with the License.
15 rem file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 rem application associated with the python file extension (.py)
H A Dpkg.depotd.bat5 rem The contents of this file are subject to the terms of the
7 rem You may not use this file except in compliance with the License.
15 rem file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 rem application associated with the python file extension (.py)
H A Dpkgrecv.bat5 rem The contents of this file are subject to the terms of the
7 rem You may not use this file except in compliance with the License.
15 rem file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 rem application associated with the python file extension (.py)
H A Dpkgsend.bat5 rem The contents of this file are subject to the terms of the
7 rem You may not use this file except in compliance with the License.
15 rem file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 rem application associated with the python file extension (.py)
/pkg/src/modules/bundle/
H A D__init__.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
47 """Raised when gid or uid lookup fails for a file during bundle
56 "name (file: {fname})".format(uid=uid, fname=fname))
59 "name (file: {fname})".format(gid=gid, fname=fname))
107 for file in b:
108 print(file.type, file
[all...]
H A DDirectoryBundle.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34 import pkg.actions.file namespace
119 # of known targets. Create file actions for known
125 return pkg.actions.file.FileAction(
/pkg/src/tests/api/
H A Dt_indexer.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
89 # Each file should be under the limit.
90 for file in os.listdir(ind._tmp_dir):
91 fs = os.stat(os.path.join(ind._tmp_dir, file))
99 # The first file is already opened by us, so it will fail the
105 # actually limit each file to 1 byte, but there should be at
106 # most one line in each file
[all...]
H A Dt_printengine.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
52 print(termdata, file=sio)
/pkg/src/util/log-scripts/
H A Dan_report.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
120 file=sys.stderr)
160 print(msg, file=summary_file)
166 print(msg, file=summary_file)
173 print(msg, file=summary_file)
179 print(msg, file=summary_file)
186 print(msg, file
[all...]
H A Dan_search.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
66 """.format(label=label, searchtype=searchtype), file=summary_file)
70 file=summary_file)
72 print("</table></div>", file=summary_file)
95 """.format(label=label, searchtype=searchtype), file=summary_file)
H A Dtranslate.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
40 print("Usage: {0} <in file> <out file>".format(sys.argv[0]))
48 ops = ["1p.png", "filelist", "catalog", "manifest", "search", "file"]
87 if op == "file":
94 print("{0} {1} {2} {3} {4}".format(ip, cc, d, op, opargs), file=outfile)
/pkg/src/util/publish/
H A Dpkgmogrify.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
46 print("pkgmogrify: {0}".format(errmsg), file=sys.stderr)
57 print("pkgmogrify: {0}".format(text), file=sys.stderr)
110 print("{0}".format(p), file=printfile)
125 print("{0}".format(l), file=outfile)
139 print(s, file=outfile)
141 print(s, file
[all...]
H A Dpkglint.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
72 " %prog [-b build_no] [-c cache_dir] [-f file]\n"
82 parser.add_option("-f", dest="config", metavar="file",
83 help=_("specify an alternative pkglintrc file"))
240 lint_logger.critical(_("Invalid file {file}: "
242 file
[all...]
/pkg/src/util/log-rotate/
H A Dturn-logs.sh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
69 logadm $LOGADM_EMAIL -s $CHUNKSIZE -t \$file.$datestr -c $logfile
/pkg/src/
H A Dsetup.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
383 # for localizable file package (regarding themes, install
446 # The apache-based depot includes an shtml file we add to the resource dir
820 for file in files:
821 if isinstance(file, six.string_types):
822 infile = file
824 os.path.basename(file))
969 file=sys.stderr) variable
[all...]
/pkg/doc/
H A DMakefile4 # The contents of this file are subject to the terms of the
6 # You may not use this file except in compliance with the License.
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
54 file-metadata.txt \
90 FILE_URL = file://$(PWD)/$(HTML_DIR)
/pkg/src/modules/
H A Dcfgfiles.py5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44 """ Solaris configuration file editor... make it easier to
95 file = open(self.filename)
97 for line in file:
102 line += next(file)
117 file.close()
144 """ set value of record in file, replacin
[all...]

Completed in 582 milliseconds

123