/third_party/python/Lib/test/support/ |
H A D | __init__.py | 187 # _original_stdout is meant to hold stdout at the time regrtest began. 188 # This may be "the real" stdout, or IDLE's emulation of stdout, or whatever. 189 # The point is to have some flavor of stdout the user can actually see. 191 def record_original_stdout(stdout): 193 _original_stdout = stdout 196 return _original_stdout or sys.stdout 695 """Capture the output of sys.stdout: 697 with captured_stdout() as stdout: 699 self.assertEqual(stdout [all...] |
/third_party/python/Lib/asyncio/ |
H A D | base_events.py | 83 return '<stdout>' 499 stdin, stdout, stderr, bufsize, 1618 def _log_subprocess(self, msg, stdin, stdout, stderr): 1622 if stdout is not None and stderr == subprocess.STDOUT: 1623 info.append(f'stdout=stderr={_format_pipe(stdout)}') 1625 if stdout is not None: 1626 info.append(f'stdout={_format_pipe(stdout)}') 1633 stdout [all...] |
/third_party/python/Lib/ |
H A D | pdb.py | 211 def __init__(self, completekey='tab', stdin=None, stdout=None, skip=None, 214 cmd.Cmd.__init__(self, completekey, stdin, stdout) 216 if stdout: 443 save_stdout = sys.stdout 448 sys.stdout = self.stdout 452 sys.stdout = save_stdout 526 print(msg, file=self.stdout) 529 print('***', msg, file=self.stdout) 1179 p = Pdb(self.completekey, self.stdin, self.stdout) [all...] |
H A D | base64.py | 578 sys.stdout = sys.stderr 591 func(f, sys.stdout.buffer) 593 func(sys.stdin.buffer, sys.stdout.buffer)
|
/third_party/python/Lib/test/ |
H A D | test_embed.py | 98 stdout=subprocess.PIPE, 111 print(f"stdout:\n{out}") 233 "stdout: {out_encoding}:{errors}", 239 "stdout: {out_encoding}:ignore", 245 "stdout: iso8859-1:{errors}", 251 "stdout: iso8859-1:replace", 600 sys.stdout.buffer.write(data) 601 sys.stdout.buffer.flush() 608 stdout=subprocess.PIPE, 612 f"stdout [all...] |
H A D | test_builtin.py | 802 savestdout = sys.stdout 803 sys.stdout = None # Whatever that cannot flush() 810 sys.stdout = savestdout 932 self.assertTrue(getattr(sys, 'stdout') is sys.stdout) 943 self.assertTrue(hasattr(sys, 'stdout')) 1441 savestdout = sys.stdout # Eats the echo 1444 sys.stdout = BitBucket() 1450 # sys.stdout must be a regular file for triggering 1451 sys.stdout [all...] |
/third_party/alsa-utils/topology/ |
H A D | topology.c | 172 fd = fileno(stdout); in save() 198 if (fd != fileno(stdout)) { in save() 207 if (fd != fileno(stdout)) in save() 522 fprintf(stderr, _("Invalid mix of verbose level and output to stdout.\n")); in main()
|
/third_party/node/lib/internal/test_runner/ |
H A D | utils.js | 112 ['stdout', process.stdout], 123 const kDefaultReporter = process.stdout.isTTY ? 'spec' : 'tap'; 124 const kDefaultDestination = 'stdout'; 345 const availableWidth = (process.stdout.columns || Infinity) - prefix.length;
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | common.py | 655 "uname", stdout=subprocess.PIPE, stderr=subprocess.STDOUT 657 stdout = out.communicate()[0].decode("utf-8") 658 return "CYGWIN" in str(stdout)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | common.py | 649 "uname", stdout=subprocess.PIPE, stderr=subprocess.STDOUT 651 stdout = out.communicate()[0].decode("utf-8") 652 return "CYGWIN" in str(stdout)
|
/third_party/lz4/programs/ |
H A D | lz4cli.c | 70 #define DISPLAYOUT(...) fprintf(stdout, __VA_ARGS__) 149 DISPLAY( "--[no-]sparse : sparse mode (default:enabled on file, disabled on stdout)\n"); in usage_advanced() 181 DISPLAY( " - if stdout is not the console, then [output] = stdout \n"); in usage_longhelp() 182 DISPLAY( " - if stdout is console : \n"); in usage_longhelp() 192 DISPLAY( "stdin, stdout and the console : \n"); in usage_longhelp() 369 /* '-' means stdin/stdout */ in main() 390 if ((!strcmp(argument, "--stdout")) in main() 391 || (!strcmp(argument, "--to-stdout"))) { forceStdout=1; output_filename=stdoutmark; continue; } in main() 491 /* Force stdout, eve in main() [all...] |
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest.py | 178 # Handle faulthandler timeout, capture stdout+stderr, XML serialization 200 orig_stdout = sys.stdout 207 sys.stdout = stream 219 sys.stdout = orig_stdout
|
/third_party/skia/infra/bots/recipe_modules/flavor/ |
H A D | android.py | 413 stdout=subprocess.PIPE, stderr=subprocess.PIPE) 416 (stdout, stderr) = process.communicate() 417 print(stdout) 563 'shell', 'cat', path, stdout=self.m.raw_io.output(), 565 return rv.stdout.decode('utf-8').rstrip() if rv and rv.stdout else None
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsresize.c | 266 fprintf(stdout, PERR_PREFIX, eo); in perr_printf() 268 vfprintf(stdout, fmt, ap); in perr_printf() 270 fprintf(stdout, ": %s\n", strerror(eo)); in perr_printf() 271 fflush(stdout); in perr_printf() 280 fprintf(stdout, NERR_PREFIX); in err_printf() 282 vfprintf(stdout, fmt, ap); in err_printf() 284 fflush(stdout); in err_printf() 299 fprintf(stdout, NERR_PREFIX); in err_exit() 301 vfprintf(stdout, fmt, ap); in err_exit() 303 fflush(stdout); in err_exit() [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngstest.c | 676 fflush(stdout); in allocbuffer() 709 fflush(stdout); in checkbuffer() 716 fflush(stdout); in checkbuffer() 728 fflush(stdout); in logerror() 3011 fflush(stdout); in read_file() 3477 /* stdout may not be line-buffered if it is piped to a file, so: */ in test_one_file() 3478 fflush(stdout); in test_one_file() 3576 fflush(stdout); in main() 3588 fflush(stdout); in main() 3601 fflush(stdout); in main() [all...] |
/third_party/elfutils/tests/ |
H A D | dwfl-bug-fd-leak.c | 99 (void) __fsetlocking (stdout, FSETLOCKING_BYCALLER); in main()
|
H A D | dwfl-report-offline-memory.c | 52 (void) __fsetlocking (stdout, FSETLOCKING_BYCALLER); in main()
|
/third_party/ffmpeg/libavformat/ |
H A D | md5proto.c | 80 if (fwrite(buf, 1, sizeof(buf), stdout) < sizeof(buf)) in md5_close()
|
/third_party/gn/examples/ios/build/config/ios/scripts/ |
H A D | find_app_identifier_prefix.py | 100 help='path to the result; - means stdout') 112 sys.stdout.write(json.dumps(substitutions))
|
/third_party/ffmpeg/tools/ |
H A D | ffeval.c | 47 "-o OUTFILE set OUTFILE as output file, stdout if omitted\n" in usage() 105 outfilename = "stdout"; in main() 106 outfile = stdout; in main()
|
H A D | seek_print.c | 35 fprintf(ret ? stderr : stdout, in usage()
|
/third_party/curl/docs/examples/ |
H A D | ftp-wildcard.c | 150 written = fwrite(buff, size, nmemb, stdout); in write_it()
|
/third_party/icu/icu4c/source/tools/gencmn/ |
H A D | gencmn.c | 70 FILE *where = argc < 0 ? stderr : stdout; in main()
|
/third_party/icu/icu4c/source/samples/case/ |
H A D | case.cpp | 35 out = u_finit(stdout, NULL, NULL); in main() 37 fprintf(stderr, "Could not initialize (finit()) over stdout! \n"); in main()
|
/third_party/FreeBSD/sbin/fsck_msdosfs/ |
H A D | main.c | 154 fflush(stdout); in ask()
|