/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfscmp.c | 90 fprintf(stdout, PERR_PREFIX, eo); in perr_printf() 92 vfprintf(stdout, fmt, ap); in perr_printf() 94 fprintf(stdout, ": %s", strerror(eo)); in perr_printf() 96 fprintf(stdout, "\n"); in perr_printf() 97 fflush(stdout); in perr_printf() 109 fprintf(stdout, NERR_PREFIX); in err_printf() 111 vfprintf(stdout, fmt, ap); in err_printf() 113 fflush(stdout); in err_printf() 128 fprintf(stdout, NERR_PREFIX); in err_exit() 130 vfprintf(stdout, fm in err_exit() [all...] |
/third_party/node/tools/ |
H A D | test.py | 127 if failure.output.stdout: 128 output += ["--- stdout ---"] 129 output += [failure.output.stdout.strip()] 282 sys.stdout.flush() 303 sys.stdout.write('\n') 306 sys.stdout.write('C') 307 sys.stdout.flush() 309 sys.stdout.write('T') 310 sys.stdout.flush() 312 sys.stdout [all...] |
/third_party/node/test/message/ |
H A D | eval_messages.js | 33 child.stdout.pipe(process.stdout); 34 child.stderr.pipe(process.stdout);
|
H A D | stdin_messages.js | 33 child.stdout.pipe(process.stdout); 34 child.stderr.pipe(process.stdout);
|
/third_party/node/test/parallel/ |
H A D | test-child-process-spawn-event.js | 20 subprocess.stdout.on('data', mustCallAfterSpawn()); 21 subprocess.stdout.on('end', mustCallAfterSpawn()); 22 subprocess.stdout.on('close', mustCallAfterSpawn());
|
H A D | test-child-process-flush-stdio.js | 18 p.stdout.read(); 28 p.stdout.on('readable', () => { 30 while ((buf = p.stdout.read()) !== null)
|
H A D | test-repl-syntax-error-handling.js | 45 child.stdout.setEncoding('utf8'); 47 child.stdout.on('data', function(c) { 50 child.stdout.on('end', function() {
|
/third_party/typescript/ |
H A D | compile_typescript.py | 23 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, 27 stdout, stderr = proc.communicate(timeout=120) 29 print(stdout.decode(), stderr.decode())
|
/third_party/skia/infra/bots/assets/node/ |
H A D | create.py | 23 p1 = subprocess.Popen(["curl", NODE_URL], stdout=subprocess.PIPE) 24 p2 = subprocess.Popen(["tar", "-C", target_dir, "-xJf" "-"], stdin=p1.stdout) 25 p1.stdout.close() # Allow p1 to receive a SIGPIPE if p2 exits.
|
/third_party/rust/crates/rustix/examples/ |
H A D | dup2_to_replace_stdio.rs | 1 //! This is an example of how to use `dup2` to replace the stdin and stdout 14 // Acquire `OwnedFd` instances for stdin and stdout. These APIs are `unsafe` in main() 16 // that stdin and stdout will be open or safe to use. It's ok here, because in main() 17 // we're directly inside `main`, so we know that stdin and stdout haven't in main() 19 let (mut stdin, mut stdout) = unsafe { (rustix::io::take_stdin(), rustix::io::take_stdout()) }; in main() 28 dup2(&writer, &mut stdout).unwrap(); in main() 31 // close them. Here, we want stdin and stdout to remain open for the rest in main() 34 forget(stdout); in main() 41 // Now we can print to "stdout" in the usual way, and it'll go to our pipe. in main() 45 // silly that we connected our stdout t in main() [all...] |
H A D | hello.rs | 14 // Safety: See [here] for the safety conditions for calling `stdout`. In in main() 15 // this example, the code is inside `main` itself so we know how `stdout` in main() 18 // [here]: https://docs.rs/rustix/*/rustix/io/fn.stdout.html#safety in main() 19 let stdout = unsafe { rustix::io::stdout() }; in main() 22 match rustix::io::write(&stdout, bytes) { in main()
|
/third_party/openssl/test/ |
H A D | bioprinttest.c | 325 return fprintf(stdout, "%*s# ", tap_level, "") + vfprintf(stdout, fmt, ap); in test_vprintf_stdout() 335 return fflush(stdout); in test_flush_stdout() 345 return fprintf(stdout, "%*s", tap_level, "") + vfprintf(stdout, fmt, ap); in test_vprintf_tapout() 355 return fflush(stdout); in test_flush_tapout()
|
/third_party/skia/tools/ |
H A D | convert-to-nia.cpp | 8 // This program converts an image from stdin (e.g. a JPEG, PNG, etc.) to stdout 64 fwrite(data, 1, 16, stdout); in write_nix_header() 78 fwrite(data, 1, 8, stdout); in write_nia_duration() 94 fwrite(buf, 1, n, stdout); in write_nie_pixels() 100 fwrite(buf, 1, n, stdout); in write_nie_pixels() 109 fwrite(data, 1, 4, stdout); in write_nia_padding() 123 fwrite(data, 1, 8, stdout); in write_nia_footer()
|
H A D | find_run_binary.py | 15 """Runs a program from the command line and returns stdout. 22 stdout from the program, as a single string. 28 stdout=subprocess.PIPE, 30 (stdout, stderr) = proc.communicate() 33 return stdout
|
/third_party/skia/tools/skqp/ |
H A D | cut_release.py | 33 sys.stdout.write(name + ' ') 34 sys.stdout.flush() 47 sys.stdout.write('\n') 164 sys.stdout.write(ASSETS + '/files.checksum\n') 165 sys.stdout.write(ASSETS + '/skqp/rendertests.txt\n') 166 sys.stdout.write(ASSETS + '/skqp/unittests.txt\n')
|
/third_party/vixl/tools/ |
H A D | clang_format.py | 48 is_output_redirected = not sys.stdout.isatty() 115 stdout = temp_file, stderr = subprocess.STDOUT) 123 stdout = subprocess.PIPE, stderr = subprocess.STDOUT) 128 stdin = p_diff.stdout, 129 stdout = subprocess.PIPE, stderr = subprocess.STDOUT) 139 subprocess.run(cmd_format, stdout=temp_file, stderr=subprocess.STDOUT)
|
/third_party/skia/infra/bots/recipe_modules/flavor/ |
H A D | ios.py | 66 stdout=self.m.raw_io.output()) 68 image_info.stdout.decode('utf-8').strip() if image_info.stdout else '') 165 stdout=self.m.raw_io.output(), 168 return rv.stdout.decode('utf-8').rstrip() if rv and rv.stdout else None
|
/third_party/libfuse/test/ |
H A D | util.py | 16 proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, 18 (stdout, _) = proc.communicate(30) 23 for line in stdout.split('\n'): 57 subprocess.call(cmd, stdout=subprocess.DEVNULL, 123 with subprocess.Popen(['which', 'fusermount3'], stdout=subprocess.PIPE,
|
/third_party/lz4/tests/ |
H A D | test-lz4-versions.py | 31 stdout=subprocess.PIPE, 44 stdout, stderr = git(['tag', '-l', 'r[0-9][0-9][0-9]']) 45 tags = stdout.decode('utf-8').split() 46 stdout, stderr = git(['tag', '-l', 'v[1-9].[0-9].[0-9]']) 47 tags += stdout.decode('utf-8').split()
|
/third_party/protobuf/conformance/ |
H A D | conformance_python.py | 47 sys.stdout = os.fdopen(sys.stdout.fileno(), 'wb', 0) 195 sys.stdout.write(struct.pack("<I", len(serialized_response))) 196 sys.stdout.write(serialized_response) 197 sys.stdout.flush()
|
/third_party/openssl/demos/cipher/ |
H A D | aesgcm.c | 85 BIO_dump_fp(stdout, gcm_pt, sizeof(gcm_pt)); in aes_gcm_encrypt() 119 BIO_dump_fp(stdout, outbuf, outlen); in aes_gcm_encrypt() 134 BIO_dump_fp(stdout, outtag, 16); in aes_gcm_encrypt() 161 BIO_dump_fp(stdout, gcm_ct, sizeof(gcm_ct)); in aes_gcm_decrypt() 191 BIO_dump_fp(stdout, outbuf, outlen); in aes_gcm_decrypt()
|
/third_party/python/Lib/test/ |
H A D | test_profile.py | 151 stdout = sys.stdout 153 sys.stdout = StringIO() 156 sys.stdout = stdout
|
/third_party/python/Lib/wsgiref/ |
H A D | simple_server.py | 140 stdout = StringIO() 141 print("Hello world!", file=stdout) 142 print(file=stdout) 145 print(k,'=',repr(v), file=stdout) 147 return [stdout.getvalue().encode("utf-8")]
|
/third_party/ninja/misc/ |
H A D | measure.py | 28 sys.stdout.flush() 33 subprocess.call(cmd, stdout=devnull, stderr=devnull) 37 sys.stdout.flush()
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | batch.hh | 61 fprintf (stdout, result == 0 ? "success\n" : "failure\n"); in batch_main() 62 fflush (stdout); in batch_main() 71 fprintf (stdout, "error: Operation failed. Probably a bug. File github issue.\n"); in batch_main()
|