Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/
DEfiRom.c291 stdout, in main()
303 fprintf (stdout, "ERROR: Failed to open output file %s\n", mOptions.OutFileName); in main()
314 fprintf (stdout, "Processing EFI file %s\n", FList->FileName); in main()
320 fprintf (stdout, "Processing binary file %s\n", FList->FileName); in main()
325 fprintf (stdout, "ERROR: File not specified as EFI or binary: %s\n", FList->FileName); in main()
330 fprintf (stdout, " Output size = 0x%X\n", Size); in main()
344 stdout, in main()
448 fprintf (stdout, "ERROR: Failed to open input file %s\n", InFile->FileName); in ProcessBinFile()
458 fprintf (stdout, " File size = 0x%X\n", FileSize); in ProcessBinFile()
464 fprintf (stdout, "ERROR: Memory allocation failed\n"); in ProcessBinFile()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpdb.py61 def __init__(self, completekey='tab', stdin=None, stdout=None, skip=None): argument
63 cmd.Cmd.__init__(self, completekey, stdin, stdout)
64 if stdout:
147 print >>self.stdout, '--Call--'
189 print >>self.stdout, '--Return--'
202 print >>self.stdout, exc_type_name + ':', _saferepr(exc_value)
227 save_stdout = sys.stdout
232 sys.stdout = self.stdout
236 sys.stdout = save_stdout
244 print >>self.stdout, '***', exc_type_name + ':', v
[all …]
Dcmd.py79 def __init__(self, completekey='tab', stdin=None, stdout=None): argument
95 if stdout is not None:
96 self.stdout = stdout
98 self.stdout = sys.stdout
122 self.stdout.write(str(self.intro)+"\n")
134 self.stdout.write(self.prompt)
135 self.stdout.flush()
238 self.stdout.write('*** Unknown syntax: %s\n'%line)
303 self.stdout.write("%s\n"%str(doc))
307 self.stdout.write("%s\n"%str(self.nohelp % (arg,)))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_subprocess.py102 stdout=sys.stdout)
119 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
120 self.addCleanup(p.stdout.close)
135 self.assertEqual(p.stdout, None)
140 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
141 self.addCleanup(p.stdout.close)
202 stdout=subprocess.PIPE)
203 self.addCleanup(p.stdout.close)
204 self.assertEqual(p.stdout.read(), "orange")
212 stdout=d)
[all …]
Dtest_ssl.py32 sys.stdout.write(prefix + exc_format)
95 sys.stdout.write("\n RAND_status is %d (%s)\n"
112 sys.stdout.write("\n" + pprint.pformat(p) + "\n")
313 … sys.stdout.write("\nNeeded %d calls to do_handshake() to establish session.\n" % count)
333 sys.stdout.write("\nVerified certificate for svn.python.org:443 is\n%s\n" % pem)
351 sys.stdout.write("\nCipher with %r is %r\n" %
353 sys.stdout.write("Certificate is:\n%s\n" %
387 sys.stdout.write(" client cert is " + pprint.pformat(cert) + "\n")
390 sys.stdout.write(" cert binary is " + str(len(cert_binary)) + " bytes\n")
393 sys.stdout.write(" server: connection cipher is now " + str(cipher) + "\n")
[all …]
Dtest_threading.py331 stdout=subprocess.PIPE,
333 self.addCleanup(p.stdout.close)
335 stdout, stderr = p.communicate()
357 stdout=subprocess.PIPE,
359 self.addCleanup(p.stdout.close)
361 stdout, stderr = p.communicate()
362 self.assertEqual(stdout.strip(),
430 p = subprocess.Popen([sys.executable, "-c", script], stdout=subprocess.PIPE)
432 data = p.stdout.read().replace('\r', '')
433 p.stdout.close()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DEfiUtilityMsgs.c487 fprintf (stdout, "%s", Line); in PrintMessage()
492 fprintf (stdout, ": %s ", Text); in PrintMessage()
499 fprintf (stdout, ": %s", Line2); in PrintMessage()
502 fprintf (stdout, "\n"); in PrintMessage()
679 fprintf (stdout, "* Testing without setting utility name\n");
680 fprintf (stdout, "** Test debug message not printed\n");
682 fprintf (stdout, "** Test warning with two strings and two args\n");
684 fprintf (stdout, "** Test error with two strings and two args\n");
686 fprintf (stdout, "** Test parser warning with nothing\n");
688 fprintf (stdout, "** Test parser error with nothing\n");
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DEfiUtilityMsgs.c454 fprintf (stdout, "%04d-%02d-%02d %02d:%02d:%02d", in PrintMessage()
475 fprintf (stdout, "%s...\n", mUtilityName); in PrintMessage()
508 fprintf (stdout, "%s", Line); in PrintMessage()
513 fprintf (stdout, ": %s", Text); in PrintMessage()
515 fprintf (stdout, "\n"); in PrintMessage()
522 fprintf (stdout, " %s\n", Line2); in PrintMessage()
552 fprintf (stdout, "%s\n", Line); in PrintSimpleMessage()
829 fprintf (stdout, "* Testing without setting utility name\n");
830 fprintf (stdout, "** Test debug message not printed\n");
832 fprintf (stdout, "** Test warning with two strings and two args\n");
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dfcache.c86 fprintf(stdout,"\nrule ");
88 fprintf(stdout,"%c",*qstr);
92 if (*qstr == 'i') fprintf(stdout," First[");
93 if (*qstr == 'o') fprintf(stdout," Follow[");
95 fprintf(stdout,"%s]",qstr);
96 if (q->incomplete) fprintf(stdout," *** incomplete ***");
97 fprintf(stdout,"\n");
98 MR_dumpTokenSet(stdout,1,q->fset);
113 fprintf(stdout,"\n\nDump of First/Follow Cache\n"); in DumpFcache()
122 fprintf(stdout,"\nEnd dump of First/Follow Cache\n"); in DumpFcache()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiCompress/
DEfiCompressMain.c163 fprintf (stdout, "\nCompressed %d files, %d succeed!\n", ActionCount, SuccessCount); in main()
206 fprintf (stdout, " ERROR: CompressType %s not supported!\n", (*argv)+2); in ParseCommandLine()
219 fprintf (stdout, " ERROR: malloc failed!\n"); in ParseCommandLine()
244 …fprintf (stdout, " ERROR: Compress OutFileName not specified with InFileName: %s!\n", (*Action)->… in ParseCommandLine()
274 fprintf (stdout, "%s --> %s\n", InFileName, OutFileName); in ProcessFile()
277 fprintf (stdout, " ERROR: Can't open output file %s for write!\n", OutFileName); in ProcessFile()
282 fprintf (stdout, " ERROR: Can't open input file %s for read!\n", InFileName); in ProcessFile()
296 fprintf (stdout, " ERROR: Can't allocate memory!\n"); in ProcessFile()
301 fprintf (stdout, " ERROR: Can't read from source!\n"); in ProcessFile()
316 fprintf (stdout, " Error: Compress failed: %x!\n", Status); in ProcessFile()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/
DEfiRom.c1193 …fprintf (stdout, "%s Version %d.%d %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERS… in Version()
1220 fprintf (stdout, "Usage: %s -f VendorId -i DeviceId [options] [file name<s>] \n\n", UTILITY_NAME); in Usage()
1225 fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n"); in Usage()
1230 fprintf (stdout, "Options:\n"); in Usage()
1231 fprintf (stdout, " -o FileName, --output FileName\n\ in Usage()
1233 fprintf (stdout, " -e EfiFileName\n\ in Usage()
1235 fprintf (stdout, " -ec EfiFileName\n\ in Usage()
1237 fprintf (stdout, " -b BinFileName\n\ in Usage()
1239 fprintf (stdout, " -l ClassCode\n\ in Usage()
1241 fprintf (stdout, " -r Rev Hex Revision in the PCI data structure header.\n"); in Usage()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
DGenCrc32.c52 …fprintf (stdout, "%s Version %d.%d %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERS… in Version()
78 fprintf (stdout, "Usage: GenCrc32 -e|-d [options] <input_file>\n\n"); in Usage()
83 fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n"); in Usage()
88 fprintf (stdout, "optional arguments:\n"); in Usage()
89 fprintf (stdout, " -h, --help Show this help message and exit\n"); in Usage()
90 fprintf (stdout, " --version Show program's version number and exit\n"); in Usage()
91 fprintf (stdout, " --debug [DEBUG] Output DEBUG statements, where DEBUG_LEVEL is 0 (min)\n\ in Usage()
93 fprintf (stdout, " -v, --verbose Print informational statements\n"); in Usage()
94 fprintf (stdout, " -q, --quiet Returns the exit code, error messages will be\n\ in Usage()
96 fprintf (stdout, " -s, --silent Returns only the exit code; informational and error\n\ in Usage()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_core.py36 self.old_stdout = sys.stdout
41 sys.stdout = self.old_stdout
72 sys.stdout = StringIO.StringIO()
81 output = sys.stdout.getvalue()
89 with captured_stdout() as stdout:
91 stdout.seek(0)
92 self.assertEqual(stdout.read(), 'bar\n')
96 with captured_stdout() as stdout:
100 stdout.seek(0)
102 self.assertEqual(stdout.readlines()[0], wanted)
Dtest_filelist.py67 with captured_stdout() as stdout:
69 stdout.seek(0)
70 self.assertEqual(stdout.read(), '')
74 with captured_stdout() as stdout:
76 stdout.seek(0)
77 self.assertEqual(stdout.read(), 'xxx\n')
Dtest_ccompiler.py43 with captured_stdout() as stdout:
45 stdout.seek(0)
46 self.assertEqual(stdout.read(), '')
50 with captured_stdout() as stdout:
52 stdout.seek(0)
53 self.assertEqual(stdout.read(), 'xxx\n')
Dtest_cmd.py109 with captured_stdout() as stdout:
111 stdout.seek(0)
112 self.assertEqual(stdout.read(), '')
116 with captured_stdout() as stdout:
118 stdout.seek(0)
119 self.assertEqual(stdout.read(), 'xxx\n')
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFv.c61 …fprintf (stdout, "%s Version %d.%d %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERS… in Version()
88 fprintf (stdout, "\nUsage: %s [options]\n\n", UTILITY_NAME); in Usage()
93 fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n"); in Usage()
98 fprintf (stdout, "Options:\n"); in Usage()
99 fprintf (stdout, " -o FileName, --outputfile FileName\n\ in Usage()
101 fprintf (stdout, " -i FileName, --inputfile FileName\n\ in Usage()
104 fprintf (stdout, " -b BlockSize, --blocksize BlockSize\n\ in Usage()
107 fprintf (stdout, " -n NumberBlock, --numberblock NumberBlock\n\ in Usage()
110 fprintf (stdout, " -f FfsFile, --ffsfile FfsFile\n\ in Usage()
113 fprintf (stdout, " -s FileTakenSize, --filetakensize FileTakenSize\n\ in Usage()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcmd.py79 def __init__(self, completekey='tab', stdin=None, stdout=None): argument
95 if stdout is not None:
96 self.stdout = stdout
98 self.stdout = sys.stdout
122 self.stdout.write(str(self.intro)+"\n")
134 self.stdout.write(self.prompt)
135 self.stdout.flush()
240 self.stdout.write('*** Unknown syntax: %s\n'%line)
306 self.stdout.write("%s\n"%str(doc))
310 self.stdout.write("%s\n"%str(self.nohelp % (arg,)))
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/
Dcreate-release.py35 p = subprocess.Popen(args=args, stdout=subprocess.PIPE)
36 stdout = p.stdout.read()
40 return stdout
61 stdout = run_and_capture_output(args=('git', 'log',
66 mo = regex.search(stdout)
70 version = stdout.split(None, 3)[1]
77 stdout = run_and_capture_output(args=('svn', 'info'))
79 return stdout
171 sys.stdout.flush()
172 p = subprocess.Popen(args=args, stdout=build_log, stderr=build_log)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
Drpythond.py38 stdout = sys.stdout
40 sys.stdout = sys.stderr = fakefile = StringIO.StringIO()
49 sys.stdout = stdout
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DDLexer.h154 /* MR1 */ /* MR23 */ printMessage(stdout, "\ntoken name=%s",parser->parserTokenName(tk)); in nextTokenType()
156 /* MR1 */ /* MR23 */ printMessage(stdout, "\ntoken nnumber=%d",tk); in nextTokenType()
158 /* MR1 */ /* MR23 */ printMessage(stdout, " lextext=(%s) mode=%d", in nextTokenType()
163 /* MR1 */ /* MR23 */ printMessage(stdout, " char=empty"); in nextTokenType()
166 /* MR1 */ /* MR23 */ printMessage(stdout, " char=newline"); in nextTokenType()
168 /* MR1 */ /* MR23 */ printMessage(stdout, " char=(%c)",ch); in nextTokenType()
171 /* MR1 */ /* MR23 */ printMessage(stdout, " %s\n", in nextTokenType()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dmd5sum.py30 out = sys.stdout
43 def printsum(filename, out=sys.stdout):
55 def printsumfp(fp, filename, out=sys.stdout):
69 def main(args = sys.argv[1:], out=sys.stdout):
90 sys.exit(main(sys.argv[1:], sys.stdout))
Dpatchcheck.py20 sys.stdout.write(message + ' ... ')
21 sys.stdout.flush()
47 st = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE)
51 return [x.decode().rstrip() for x in st.stdout]
54 for x in st.stdout if x[0] in 'AM')
57 st.stdout.close()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dputs.c81 FLOCKFILE(stdout); in puts()
82 r = __sfvwrite(stdout, &uio); in puts()
83 FUNLOCKFILE(stdout); in puts()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
DGenFfs.c85 …fprintf (stdout, "%s Version %d.%d %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERS… in Version()
112 fprintf (stdout, "\nUsage: %s [options]\n\n", UTILITY_NAME); in Usage()
117 fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n"); in Usage()
122 fprintf (stdout, "Options:\n"); in Usage()
123 fprintf (stdout, " -o FileName, --outputfile FileName\n\ in Usage()
125 fprintf (stdout, " -t Type, --filetype Type\n\ in Usage()
135 fprintf (stdout, " -g FileGuid, --fileguid FileGuid\n\ in Usage()
138 fprintf (stdout, " -x, --fixed Indicates that the file may not be moved\n\ in Usage()
140 fprintf (stdout, " -s, --checksum Indicates to calculate file checksum.\n"); in Usage()
141 fprintf (stdout, " -a FileAlign, --align FileAlign\n\ in Usage()
[all …]

12345678910>>...14