/third_party/python/Tools/demo/ |
H A D | rpythond.py | 41 stdout = sys.stdout 43 sys.stdout = sys.stderr = fakefile = io.StringIO() 52 sys.stdout = stdout
|
/third_party/musl/src/stdio/ |
H A D | puts.c | 6 FLOCK(stdout); in puts() 7 r = -(fputs(s, stdout) < 0 || putc_unlocked('\n', stdout) < 0); in puts() 8 FUNLOCK(stdout); in puts()
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | puts.c | 6 FLOCK(stdout); in puts() 7 r = -(fputs(s, stdout) < 0 || putc_unlocked('\n', stdout) < 0); in puts() 8 FUNLOCK(stdout); in puts()
|
/third_party/python/Lib/ctypes/ |
H A D | util.py | 125 stdout=subprocess.PIPE, 131 trace = proc.stdout.read() 160 stdout=subprocess.PIPE, 165 data = proc.stdout.read() 182 stdout=subprocess.PIPE, 187 dump = proc.stdout.read() 213 stdout=subprocess.PIPE, 219 data = proc.stdout.read() 244 stdout=subprocess.PIPE, 250 for line in proc.stdout [all...] |
/third_party/ffmpeg/tools/ |
H A D | venc_data_dump.c | 41 fprintf(stdout, "frame %d\n", dc->decoder->frame_number - 1); in process_frame() 47 fprintf(stdout, "AVVideoEncParams %d\n", par->type); in process_frame() 48 fprintf(stdout, "qp %d\n", par->qp); in process_frame() 52 fprintf(stdout, "delta_qp[%d][%d] %"PRId32"\n", i, j, par->delta_qp[i][j]); in process_frame() 56 fprintf(stdout, "nb_blocks %d\n", par->nb_blocks); in process_frame() 60 fprintf(stdout, "block %d %d:%d %dx%d %"PRId32"\n", in process_frame()
|
/third_party/node/test/parallel/ |
H A D | test-http-chunk-problem.js | 17 res.pipe(process.stdout); 31 process.stdout.write(shasum.digest('hex')); 54 (err, stdout, stderr) => { 59 assert.strictEqual(stdout.slice(0, 40), 78 cat.stdout.on('data', (data) => { 82 cat.stdout.on('end', () => res.end());
|
H A D | test-cli-node-options.js | 104 const test = (type) => common.mustCall((err, stdout) => { 108 stdout = err.stack; 112 if (want.test(stdout)) return; 115 `${type}: for ${o}, failed to find ${want} in: <\n${stdout}\n>` 139 stdout: true, 147 collectStream(worker.stdout).then((stdout) => { 148 test(workerError, stdout);
|
H A D | test-child-process-execfile-maxbuf.js | 19 checkFactory('stdout') 28 common.mustSucceed((stdout, stderr) => { 29 assert.strictEqual(stdout.trim(), 'a'.repeat(1024 * 1024 - 1)); 42 common.mustSucceed((stdout, stderr) => { 43 assert.strictEqual(stdout.trim(), 'hello world'); 50 execFile('echo', ['hello world'], { maxBuffer: 5 }, checkFactory('stdout')); 60 checkFactory('stdout')); 77 checkFactory('stdout') 80 child.stdout.setEncoding('utf-8');
|
H A D | test-snapshot-weak-reference.js | 31 console.log(child.stdout.toString()); 51 const stdout = child.stdout.toString().trim(); 53 console.log(`[stdout]:\n${stdout}\n`);
|
/third_party/openssl/demos/pkey/ |
H A D | EVP_PKEY_EC_keygen.c | 69 fprintf(stdout, "Generating EC key\n\n"); in do_ec_keygen() 119 fprintf(stdout, "Curve name: %s\n", out_curvename); in get_key_values() 120 fprintf(stdout, "Public key:\n"); in get_key_values() 121 BIO_dump_indent_fp(stdout, out_pubkey, out_pubkey_len, 2); in get_key_values() 122 fprintf(stdout, "Private Key:\n"); in get_key_values() 123 BIO_dump_indent_fp(stdout, out_privkey, out_privkey_len, 2); in get_key_values()
|
/third_party/rust/crates/rustix/tests/termios/ |
H A D | isatty.rs | 30 assert_eq!(isatty(&std::io::stdout()), unsafe { in stdout_stderr_terminals() 31 libc::isatty(std::io::stdout().as_raw_fd()) != 0 in stdout_stderr_terminals() 39 isatty(&std::io::stdout()), in stdout_stderr_terminals() 40 tcgetwinsize(&std::io::stdout()).is_ok() in stdout_stderr_terminals() 61 rustix::io::stdout().as_raw_fd(), in stdio_descriptors() 62 std::io::stdout().as_raw_fd() in stdio_descriptors()
|
/third_party/node/deps/v8/tools/ |
H A D | adb-d8.py | 47 sys.stdout.write("Serving {}\r\n".format(os.path.relpath(filename))) 71 stdout=subprocess.PIPE 78 stdin=local_md5_sum_proc.stdout, 79 stdout=subprocess.PIPE, 94 ], stdout=sys.stdout if verbose else open(os.devnull, 'wb')) 118 if sys.stdout.isatty(): 129 def PrintUsage(file=sys.stdout): 134 def PrintHelp(file=sys.stdout): 179 PrintHelp(sys.stdout) [all...] |
H A D | predictable_wrapper.py | 41 def allocation_str(stdout): 42 for line in reversed((stdout or '').splitlines()): 54 if output.stdout: 56 print(output.stdout) 66 allocations = allocation_str(output.stdout)
|
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | portable-views.rs | 6 use std::io::{self, stdout}; 9 let stdout = stdout(); in main() 17 let metadata = stdout.as_filelike_view::<File>().metadata()?; in main() 20 println!("stdout is a file!"); in main() 22 println!("stdout is not a file!"); in main()
|
/third_party/rust/crates/libc/ |
H A D | build.rs | 131 let version = otry!(str::from_utf8(&output.stdout).ok()); in rustc_minor_nightly() 164 let stdout = String::from_utf8(output.stdout).ok(); in which_freebsd() 165 if stdout.is_none() { in which_freebsd() 168 let stdout = stdout.unwrap(); in which_freebsd() 170 match &stdout { in which_freebsd()
|
/third_party/protobuf/examples/ |
H A D | AddPerson.java | 16 PrintStream stdout) throws IOException { in PromptForAddress() 19 stdout.print("Enter person ID: "); in PromptForAddress() 22 stdout.print("Enter name: "); in PromptForAddress() 25 stdout.print("Enter email address (blank for none): "); in PromptForAddress() 32 stdout.print("Enter a phone number (or leave blank to finish): "); in PromptForAddress() 41 stdout.print("Is this a mobile, home, or work phone? "); in PromptForAddress() 50 stdout.println("Unknown phone type. Using default."); in PromptForAddress() 15 PromptForAddress(BufferedReader stdin, PrintStream stdout) PromptForAddress() argument
|
/third_party/mbedtls/programs/ssl/ |
H A D | ssl_client1.c | 94 fflush(stdout); in main() 110 fflush(stdout); in main() 126 fflush(stdout); in main() 140 fflush(stdout); in main() 157 mbedtls_ssl_conf_dbg(&conf, my_debug, stdout); in main() 175 fflush(stdout); in main() 213 fflush(stdout); in main() 231 fflush(stdout); in main()
|
H A D | dtls_client.c | 113 fflush(stdout); in main() 128 fflush(stdout); in main() 144 fflush(stdout); in main() 158 fflush(stdout); in main() 174 mbedtls_ssl_conf_dbg(&conf, my_debug, stdout); in main() 199 fflush(stdout); in main() 243 fflush(stdout); in main() 264 fflush(stdout); in main()
|
/third_party/mbedtls/programs/pkey/ |
H A D | dh_client.c | 88 fflush(stdout); in main() 102 fflush(stdout); in main() 125 fflush(stdout); in main() 137 fflush(stdout); in main() 180 fflush(stdout); in main() 210 fflush(stdout); in main() 228 fflush(stdout); in main() 249 fflush(stdout); in main()
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
H A D | mmap2.c | 99 fprintf(stdout, "creating tmp file and writing 'a' to it "); in mkfile() 109 fprintf(stdout, "created file of size %d\n" in mkfile() 126 fprintf(stdout, "Test ended, success\n"); in sig_handler() 216 fprintf(stdout, "MM Stress test, map/write/unmap large file\n" in main() 221 fprintf(stdout, "Available memory: %ldMB\n", avail_memory_mb); in main() 223 fprintf(stdout, "Not enough memory to run this case\n"); in main() 261 fprintf(stdout, "file mapped at %p\n" in main() 276 fprintf(stdout, "unmapped file at %p\n", memptr); in main()
|
/third_party/node/test/tick-processor/ |
H A D | tick-processor-base.js | 24 proc.stdout.on('data', (chunk) => ticks += chunk); 47 proc.stdout.on('data', (chunk) => out += chunk); 48 proc.stdout.once('end', () => { 56 parent.stdout.removeAllListeners(); 60 proc.stdout.removeAllListeners();
|
/third_party/nghttp2/ |
H A D | git-clang-format | 237 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 238 stdout, stderr = p.communicate() 241 return stdout.strip() 247 changed_lines = extract_lines(diff_process.stdout) 248 diff_process.stdout.close() 264 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) 366 stdout=subprocess.PIPE) 374 hash_object = subprocess.Popen(hash_object_cmd, stdin=clang_format.stdout, 375 stdout=subprocess.PIPE) 376 clang_format.stdout [all...] |
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/ |
H A D | uperf.cpp | 273 //fprintf(stdout, "\n=== Handling test: %s: ===\n", name); in run() 274 //fprintf(stdout, "\n%s:\n", name); in run() 284 fprintf(stdout, "\n---ERROR: Test doesn't exist: %s!\n", name); in run() 381 fprintf(stdout,"= %s calibrating %i seconds \n", name, (int)n); in runTestLoop() 415 fprintf(stdout,"= %s begin " ,name); in runTestLoop() 418 fprintf(stdout, "%i\n", (int)loops); in runTestLoop() 420 fprintf(stdout, "%i\n", (int)n); in runTestLoop() 423 fprintf(stdout, "\n"); in runTestLoop() 438 fprintf(stdout, "= %s end: %f loops: %i operations: %li \n", name, t, (int)loops, ops); in runTestLoop() 440 fprintf(stdout, " in runTestLoop() [all...] |
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_parser.py | 20 from kunit_printer import stdout namespace 60 stdout.print_with_timestamp(stdout.red('[ERROR]') + f' Test: {self.name}: {error_message}') 510 stdout.print_with_timestamp(format_test_divider(message, len(message))) 516 stdout.print_with_timestamp(stdout.yellow(line)) 533 return stdout.green('[PASSED] ') + test.name 535 return stdout.yellow('[SKIPPED] ') + test.name 537 return stdout.yellow('[NO TESTS RUN] ') + test.name 540 return stdout [all...] |
/third_party/node/lib/ |
H A D | child_process.js | 163 // Use a separate fd=3 for the IPC channel. Inherit stdin, stdout, 227 * stdout?: string | Buffer, 243 promise.child = orig(...args, (err, stdout, stderr) => { 245 err.stdout = stdout; 249 resolve({ stdout, stderr }); 323 * stdout?: string | Buffer, 392 let stdout; 396 child.stdout && 397 child.stdout [all...] |