Searched refs:sys (Results 76 - 100 of 1478) sorted by relevance

1234567891011>>

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Datexit.py10 import sys namespace
26 exc_info = sys.exc_info()
29 print >> sys.stderr, "Error in atexit._run_exitfuncs:"
31 exc_info = sys.exc_info()
49 if hasattr(sys, "exitfunc"):
51 register(sys.exitfunc)
52 sys.exitfunc = _run_exitfuncs
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Dfixheader.py5 import sys namespace
8 args = sys.argv[1:]
16 sys.stderr.write('%s: can\'t open: %s\n' % (filename, str(msg)))
21 sys.stderr.write('%s does not begin with C comment\n' % filename)
26 sys.stderr.write('%s: can\'t write: %s\n' % (filename, str(msg)))
28 sys.stderr.write('Processing %s ...\n' % filename)
34 sys.stdout = f
H A Dgoogle.py3 import sys, webbrowser namespace
6 args = sys.argv[1:]
8 print "Usage: %s querystring" % sys.argv[0]
H A Dhotshotmain.py11 Any arguments after the filename are used as sys.argv for the filename.
14 import sys namespace
24 sys.path.insert(0, os.path.dirname(filename))
25 sys.argv = [filename] + args
32 # to force output to stderr is to reassign sys.stdout temporarily
33 save_stdout = sys.stdout
34 sys.stdout = sys.stderr
36 sys.stdout = save_stdout
55 sys
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
H A Dthroughput.py15 import sys, time namespace
24 if len(sys.argv) < 2:
26 if sys.argv[1] == '-s':
28 elif sys.argv[1] == '-c':
35 sys.stdout = sys.stderr
38 sys.exit(2)
42 if len(sys.argv) > 2:
43 port = eval(sys.argv[2])
63 if len(sys
[all...]
H A Dechosvr.py7 import sys namespace
16 if len(sys.argv) > 1:
17 port = int(eval(sys.argv[1]))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
H A Dtest_main.py2 import sys namespace
18 save_stdin = sys.stdin
19 save_stdout = sys.stdout
20 save_stderr = sys.stderr
21 sys.stdin = in_capture
22 sys.stdout = out_capture
23 sys.stderr = err_capture
27 sys.stdin = save_stdin
28 sys.stdout = save_stdout
29 sys
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
H A Dscript.py10 import os, time, sys, getopt namespace
25 opts, args = getopt.getopt(sys.argv[1:], 'ap')
27 print '%s: %s' % (sys.argv[0], msg)
28 sys.exit(2)
38 sys.stdout.write('Script started, file is %s\n' % filename)
42 sys.stdout.write('Script done, file is %s\n' % filename)
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/
H A Dmm_camera_sock.h34 #include <sys/socket.h>
35 #include <sys/uio.h>
36 #include <sys/un.h>
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
H A Dmm_camera_sock.h34 #include <sys/socket.h>
35 #include <sys/uio.h>
36 #include <sys/un.h>
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/
H A Dstddef.h37 #include <sys/cdefs.h>
38 #include <sys/_null.h>
39 #include <sys/_types.h>
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_dictcomps.py38 import sys namespace
44 if verbose and hasattr(sys, "gettotalrefcount"):
50 counts[i] = sys.gettotalrefcount()
H A Dtest_genexps.py266 import sys namespace
272 if verbose and hasattr(sys, "gettotalrefcount"):
278 counts[i] = sys.gettotalrefcount()
H A Dtest_setcomps.py135 import sys namespace
141 if verbose and hasattr(sys, "gettotalrefcount"):
147 counts[i] = sys.gettotalrefcount()
H A Dtest_bsddb3.py6 import sys namespace
23 if 'verbose' in sys.argv:
25 sys.argv.remove('verbose')
27 if 'silent' in sys.argv: # take care of old flag, just in case
29 sys.argv.remove('silent')
52 sys.__stdout__.write(' test_bsddb3 still working, be patient...\n')
53 sys.__stdout__.flush()
65 print >>sys.stderr, db.DB_VERSION_STRING
66 print >>sys.stderr, 'Test path prefix: ', test_all.get_test_path_prefix()
H A Dtest_frozen.py5 import sys namespace
36 del sys.modules['__hello__']
37 del sys.modules['__phello__']
38 del sys.modules['__phello__.spam']
H A Dtest_pdb.py5 import sys namespace
19 self.real_stdin = sys.stdin
20 sys.stdin = _FakeInput(self.input)
23 sys.stdin = self.real_stdin
235 ... import pdb, sys; inst = pdb.Pdb()
237 ... inst.botframe = sys._getframe() # hackery to get the right botframe
261 -> inst.botframe = sys._getframe() # hackery to get the right botframe
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
H A Dfseek.c46 #include <sys/EfiCdefs.h>
48 #include <sys/types.h>
49 #include <sys/stat.h>
H A Dremove.c46 #include <sys/EfiCdefs.h>
48 #include <sys/types.h>
49 #include <sys/stat.h>
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/
H A D_timespec.h30 * from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp
37 #include <sys/_types.h>
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
H A Dsscanf.c31 #include <sys/cdefs.h>
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
H A Ddisklabel.h57 #include <nbinclude/sys/bootblock.h>
59 #include <sys/bootblock.h>
64 #include <nbinclude/sys/dkbad.h>
66 #include <sys/dkbad.h>
/device/linaro/bootloader/edk2/StdLib/Include/sys/
H A Dfilio.h51 #include <sys/ioccom.h>
/device/linaro/bootloader/edk2/StdLib/LibC/Main/Arm/
H A Dint_endianness.h61 #include <sys/endian.h>
/device/linaro/bootloader/edk2/StdLib/LibC/Main/Ipf/
H A Dflt_rounds.c6 #include <sys/EfiCdefs.h>

Completed in 303 milliseconds

1234567891011>>