Home
last modified time | relevance | path

Searched refs:sys (Results 1 – 25 of 56) sorted by relevance

123

/xen/tools/xentrace/
A Dxentrace_format7 import re, sys, string, signal, struct, os, getopt
10 print >> sys.stderr, \
11 "Usage: " + sys.argv[0] + """ defs-file
33 sys.exit(1)
52 if not m: print >> sys.stderr, "Bad format file" ; sys.exit(1)
66 if len(sys.argv) < 2:
70 opts, arg = getopt.getopt(sys.argv[1:], "c:" )
88 sys.exit(1)
125 line = sys.stdin.read(struct.calcsize(HDRREC))
149 line = sys.stdin.read(struct.calcsize(D1REC))
[all …]
/xen/tools/misc/
A Dxencov_split3 import sys, os, os.path as path, struct, errno
12 if sys.byteorder == 'little':
69 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 1)
91 sys.exit(main())
93 print >>sys.stderr, "Error:", e
94 sys.exit(1)
96 sys.exit(1)
A Dxensymoops11 import re, sys
31 line = sys.stdin.readline()
46 print >> sys.stderr, """Usage: %s path-to-asm < oops-msg
51 """ % sys.argv[0]
52 sys.exit()
56 if len(sys.argv) != 2:
63 asm_file = open(sys.argv[1])
A Dxencons8 import errno, os, signal, socket, struct, sys
55 sys.exit(0)
58 sys.exit(0)
89 if len(sys.argv) != 3:
90 print sys.argv[0] + " <host> <port>"
91 sys.exit(1)
92 connect(str(sys.argv[1]),int(sys.argv[2]))
A Dxenpvnetboot13 import sys
206 parser.print_help(sys.stderr)
207 sys.exit(1)
210 fd = sys.stdout.fileno()
232 sys.exit(1)
238 print >> sys.stderr, str(err)
240 sys.exit(1)
252 print >> sys.stderr, str(err)
259 sys.exit(1)
284 sys.exit(1)
[all …]
A Dxencov.c46 struct xen_sysctl sys; in cov_read() local
51 if (cov_sysctl(XEN_SYSCTL_COVERAGE_get_size, &sys, NULL, 0) < 0) in cov_read()
53 total_len = sys.u.coverage_op.size; in cov_read()
64 if (cov_sysctl(XEN_SYSCTL_COVERAGE_read, &sys, HYPERCALL_BUFFER(p), in cov_read()
87 struct xen_sysctl sys; in cov_reset() local
89 if (cov_sysctl(XEN_SYSCTL_COVERAGE_reset, &sys, NULL, 0) < 0) in cov_reset()
/xen/tools/ocaml/libs/xentoollog/
A Dgenlevels.py5 import sys
93 s += "%s" % " ".join(sys.argv)
98 if len(sys.argv) < 3:
99 print("Usage: genlevels.py <mli> <ml> <c-inc>", file=sys.stderr)
100 sys.exit(1)
104 _mli = sys.argv[1]
108 _ml = sys.argv[2]
112 _cinc = sys.argv[3]
/xen/xen/tools/
A Dgen-cpuid.py4 import sys, os, re
6 if sys.version_info < (3, 0):
53 this = sys.modules[__name__]
450 return sys.stdin
452 return sys.stdout
454 return sys.stderr
477 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 1)
505 sys.exit(main())
510 sys.exit(1)
513 sys.exit(e.code)
[all …]
A Dcompat-build-header.py3 import re,sys
23 for line in sys.stdin.readlines():
A Dcompat-build-source.py3 import re,sys
26 for line in sys.stdin.readlines():
/xen/tools/python/scripts/
A Dverify-stream-v28 import sys
39 print(msg, file = sys.stderr)
107 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 1)
144 sys.exit(main())
146 sys.exit(e.code)
148 sys.exit(2)
A Dconvert-legacy-stream10 import sys
52 print(msg, file = sys.stderr)
636 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 1)
678 parser.print_help(sys.stderr)
705 sys.exit(main())
707 sys.exit(e.code)
709 sys.exit(1)
/xen/tools/include/xen-external/
A DREADME8 bsd-sys-queue.h
12 svn co -r 221843 svn://svn.freebsd.org/base/head/sys/sys/
22 bsd-sys-queue-h-seddery
/xen/m4/
A Dpython_version.m43 `$PYTHON -c 'import sys; sys.exit(eval("sys.version_info < ($1, $2)"))'`
/xen/tools/include/xen-foreign/
A Dmkheader.py3 import sys, re;
7 arch = sys.argv[1];
8 outfile = sys.argv[2];
9 infiles = sys.argv[3:];
133 """ % (arch, sys.argv[0], fileid, fileid)
A Dmkchecker.py3 import sys;
7 outfile = sys.argv[1];
8 archs = sys.argv[2:];
/xen/tools/pygrub/src/
A Dpygrub652 sys.exit(1)
790 sys.exit(1)
794 sys.exit(1)
826 sys.exit()
841 sys.exit(1)
854 sys.exit(1)
859 sys.exit(1)
886 sys.exit(0)
927 sys.exit(0)
965 sys.stdout.flush()
[all …]
A DGrubConf.py17 import os, sys
471 if len(sys.argv) < 3:
473 if sys.argv[1] == "grub":
474 g = GrubConfigFile(sys.argv[2])
475 elif sys.argv[1] == "grub2":
476 g = Grub2ConfigFile(sys.argv[2])
478 raise RuntimeError("Unknown config type %s" % sys.argv[1])
A DLiloConf.py7 import sys, re, os
175 if len(sys.argv) < 2:
177 g = LiloConfigFile(sys.argv[1])
A DExtLinuxConf.py15 import sys, re, os
212 if len(sys.argv) < 2:
214 g = ExtLinuxConfigFile(sys.argv[1])
/xen/tools/include/
A DMakefile24 ln -sf ../xen-sys/$(XEN_OS) xen/sys
58 $(INSTALL_DIR) $(DESTDIR)$(includedir)/xen/sys
72 $(INSTALL_DATA) xen/sys/*.h $(DESTDIR)$(includedir)/xen/sys
/xen/tools/libs/toolcore/
A DMakefile18 …toolcore_list.h: $(XEN_INCLUDE)/xen-external/bsd-sys-queue-h-seddery $(XEN_INCLUDE)/xen-external/b…
/xen/tools/libxl/
A Dgentest.py6 import sys
90 if len(sys.argv) < 3:
91 print("Usage: gentest.py <idl> <implementation>", file=sys.stderr)
92 sys.exit(1)
96 (builtins,types) = idl.parse(sys.argv[1])
98 impl = sys.argv[2]
/xen/stubdom/
A Dnewlib.patch84 Index: newlib/libc/include/sys/config.h
86 RCS file: /cvs/src/src/newlib/libc/include/sys/config.h,v
89 --- newlib/libc/include/sys/config.h 15 Mar 2007 21:32:12 -0000 1.47
90 +++ newlib/libc/include/sys/config.h 8 Nov 2007 16:32:44 -0000
623 --- newlib/libc/include/sys/_types.h.orig 2008-08-07 15:22:44.925008000 +0100
624 +++ newlib/libc/include/sys/_types.h 2008-08-07 15:22:50.824044000 +0100
626 #include <sys/lock.h>
639 +++ ./newlib/libc/include/sys/config.h 2008-08-07 14:44:13.508154000 +0100
667 +++ ./newlib/libc/include/sys/unistd.h 2008-08-07 15:09:51.210370000 +0100
681 --- ./newlib/libc/include/sys/stat.h.orig 2008-08-07 16:08:50.495116000 +0100
[all …]
/xen/tools/ocaml/libs/xl/
A Dgenwrap.py5 import sys,os
520 s += "%s" % " ".join(sys.argv)
525 if len(sys.argv) < 4:
526 print("Usage: genwrap.py <idl> <mli> <ml> <c-inc>", file=sys.stderr)
527 sys.exit(1)
529 (_,types) = idl.parse(sys.argv[1])
543 _ml = sys.argv[3]
547 _mli = sys.argv[2]
551 _cinc = sys.argv[4]

Completed in 36 milliseconds

123