/illumos-gate/usr/src/tools/onbld/Checks/ |
H A D | CStyle.py | 33 import sys namespace 36 def cstyle(fh, filename=None, output=sys.stderr, **opts):
|
H A D | JStyle.py | 33 import sys namespace 37 def jstyle(fh, filename=None, output=sys.stderr, **opts):
|
H A D | ManLint.py | 33 import sys namespace 36 def manlint(fh, filename=None, output=sys.stderr, **opts):
|
H A D | Cddl.py | 33 import sys, CmtBlk namespace 49 def cddlchk(fh, filename=None, lenient=False, verbose=False, output=sys.stderr):
|
H A D | Keywords.py | 34 import re, sys namespace 47 output=sys.stderr):
|
H A D | Mapfile.py | 41 import re, sys, CmtBlk namespace 45 def mapfilechk(fh, filename=None, verbose=False, output=sys.stderr):
|
H A D | CmtBlk.py | 32 import re, sys namespace 54 lenient=False, verbose=False, output=sys.stderr):
|
H A D | Comments.py | 37 import re, sys namespace 48 def comchk(comments, check_db=True, output=sys.stderr):
|
H A D | Copyright.py | 31 import time, re, sys namespace 42 def copyright(fh, filename=None, output=sys.stderr):
|
H A D | HdrChk.py | 70 import re, os, sys namespace 156 def hdrchk(fh, filename=None, lenient=False, output=sys.stderr):
|
H A D | SpellCheck.py | 26 import re, sys namespace 271 def spellcheck(fh, filename=None, output=sys.stderr, **opts):
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | copyrightchk.py | 31 import sys, os namespace 33 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "lib", 34 "python%d.%d" % sys.version_info[:2])) 37 sys.path.insert(2, os.path.join(os.path.dirname(__file__), '..')) 42 for filename in sys.argv[1:]: 46 sys.stderr.write("failed to open '%s': %s\n" % 50 ret |= copyright(fin, output=sys.stdout) 53 sys.exit(ret)
|
H A D | hdrchk.py | 31 import sys, os, getopt namespace 33 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "lib", 34 "python%d.%d" % sys.version_info[:2])) 37 sys.path.insert(2, os.path.join(os.path.dirname(__file__), '..')) 42 progname = os.path.split(sys.argv[0])[1] 45 sys.stderr.writelines(msg) 49 opts, args = getopt.getopt(sys.argv[1:], 'a') 52 sys.exit(2) 64 sys.stderr.write("failed to open '%s': %s\n" % 67 ret |= hdrchk(fh, lenient=lenient, output=sys [all...] |
H A D | cddlchk.py | 31 import sys, os, getopt, fnmatch namespace 33 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "lib", 34 "python%d.%d" % sys.version_info[:2])) 37 sys.path.insert(2, os.path.join(os.path.dirname(__file__), '..')) 52 sys.stderr.write('Failed to open exception list: ' 54 sys.exit(2) 83 progname = os.path.split(sys.argv[0])[1] 84 sys.stderr.write('''Usage: %s [-av] [-x exceptions] paths... 89 sys.exit(2) 96 sys [all...] |
H A D | hg-active.py | 29 import sys, os namespace 31 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "lib", 32 "python%d.%d" % sys.version_info[:2])) 35 sys.path.insert(2, os.path.join(os.path.dirname(__file__), "..")) 42 sys.stderr.write("Error: %s\n" % versionerror) 43 sys.exit(1) 52 sys.stderr.write("usage: %s [-p parent] -w workspace\n" % 54 sys.exit(2) 61 sys.stderr.write(str(e) + '\n') 82 sys [all...] |
H A D | mapfilechk.py | 31 import sys, os, getopt, fnmatch namespace 33 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "lib", 34 "python%d.%d" % sys.version_info[:2])) 37 sys.path.insert(2, os.path.join(os.path.dirname(__file__), '..')) 52 sys.stderr.write('Failed to open exception list: ' 54 sys.exit(2) 83 progname = os.path.split(sys.argv[0])[1] 84 sys.stderr.write('''Usage: %s [-v] [-x exceptions] paths... 88 sys.exit(2) 95 sys [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | tick.c | 19 #include <sys/types.h> 46 float lap, use, sys; local 53 sys = (tx.proc_system_time - systm)/60.; 54 printf("Elapsed %.2f CPU %.2f (user %.2f, sys %.2f)\n", 55 lap, use+sys, use, sys);
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioError.h | 53 int sys; // system error code member in class:AudioError 56 code(val), sys(0) 57 { if (code == AUDIO_UNIXERROR) sys = errno; } 59 code((audioerror_t)val), sys(0) 60 { if (code == AUDIO_UNIXERROR) sys = errno; } 63 { code = val.code; sys = val.sys; return (*this); } 71 { return ((code == e.code) && (sys == e.sys)); } 73 { return ((code != e.code) || (sys ! [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | strerror.c | 89 static int sys; local 91 if (!sys) 110 sys = -1; 118 sys = (s = strerror(1)) && strcmp(s, t) ? 1 : -1; 123 if (sys > 0)
|
/illumos-gate/usr/src/cmd/pyzfs/ |
H A D | pyzfs.py | 36 import sys namespace 50 if len(sys.argv) < 2: 51 sys.exit(_("missing subcommand argument")) 53 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:])) 59 subcmd = sys.argv[1] 64 sys.exit(_("invalid subcommand")) 70 sys.exit(1) 74 import sys namespace 77 sys.exit(1) 80 import sys namespace [all...] |
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | holds.py | 29 import sys namespace 55 (options, args) = parser.parse_args(sys.argv[2:])
|
H A D | userspace.py | 29 import sys namespace 147 if sys.argv[1] == "userspace": 156 u = _("%s [-niHp] [-o field[,...]] [-sS field] ... \n") % sys.argv[1] 183 (options, args) = parser.parse_args(sys.argv[2:])
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | in.talkd.c | 51 #include <sys/ioctl.h> 52 #include <sys/time.h> 53 #include <sys/systeminfo.h> 54 #include <sys/wait.h> 128 char *sys; local 134 if ((sys = strerror(errno)) == (char *)NULL) 135 sys = "Unknown error"; 142 sys, errno);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | gename.c | 36 char sys[NAMESIZE]; member in struct:__anon47 46 * sys -> system name 53 gename(pre, sys, grade, file) 54 char pre, *sys, grade, *file; 59 DEBUG(9, "%s, ", sys); 61 if (*sys == '\0') { 62 sys = Myname; 63 DEBUG(9, "null sys -> %s\n", sys); 65 n = sysseq(sys); [all...] |
H A D | gtcfile.c | 50 char sys[NAMESIZE+5]; local 71 n = retseq(csave[i].sys); 73 SYSNSIZE, csave[i].sys, csave[i].grade, n); 80 (void) sprintf(sys, "/%c", csave[i].grade); 81 (void) strcat(csave[i].sys, sys); 86 wfcommit(csave[i].file, cmfile, csave[i].sys); 99 * gtcfile - copy into file the name of the saved C file for system sys 108 gtcfile(file, sys) 109 char *file, *sys; [all...] |