/third_party/node/test/parallel/ |
H A D | test-snapshot-dns-resolve-localhost.js | 18 function checkOutput(stderr, stdout) { 22 assert(stdout.includes('addresses: [')); 23 assert.strictEqual(stdout.trim().split('\n').length, 1); 27 const { stderr, stdout } = buildSnapshot(entry, env); 28 checkOutput(stderr, stdout); 32 const { stderr, stdout } = runWithSnapshot(entry, env); 33 checkOutput(stderr, stdout);
|
H A D | test-child-process-bad-stdio.js | 13 // stdout and stderr streams. This replicates the conditions where the streams 21 this.stdout.destroy(); 23 this.stdout = null; 37 createChild({}, (err, stdout, stderr) => { 39 assert.strictEqual(stdout, ''); 47 const child = createChild({}, (err, stdout, stderr) => { 49 assert.strictEqual(stdout, ''); 58 createChild({ timeout: 1 }, (err, stdout, stderr) => { 60 assert.strictEqual(stdout, '');
|
/third_party/vixl/tools/ |
H A D | printer.py | 34 output_redirected_to_file = not sys.stdout.isatty() 58 sys.stdout.write('\n') 63 sys.stdout.write(string) 66 sys.stdout.write(' ' * spaces) 73 sys.stdout.write('\n') 76 sys.stdout.write('\n') 90 sys.stdout.write('\n') 94 sys.stdout.write('\r') 96 sys.stdout.write('\n') 97 sys.stdout [all...] |
/third_party/skia/third_party/externals/angle2/android/ |
H A D | compress_symbols.py | 34 stdout=subprocess.PIPE) 36 awk_cmd = subprocess.Popen(['awk', '{ print $1}'], stdin=nm_cmd.stdout, stdout=subprocess.PIPE) 39 sort_cmd = subprocess.Popen(['sort'], stdin=awk_cmd.stdout, stdout=dynsym_out) 45 stdout=subprocess.PIPE) 48 stdin=nm_cmd.stdout, 49 stdout=subprocess.PIPE) 51 sort_cmd = subprocess.Popen(['sort'], stdin=awk_cmd.stdout, stdout [all...] |
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | progress.py | 24 encoding = sys.stdout.encoding or 'utf-8' 89 if result.output.stdout: 90 print("--- stdout ---") 91 print(result.output.stdout.strip()) 134 sys.stdout.flush() 153 encoding = sys.stdout.encoding or 'utf-8' 155 sys.stdout.flush() 223 sys.stdout.write('\n') 226 sys.stdout.write('C') 227 sys.stdout [all...] |
/third_party/node/test/sequential/ |
H A D | test-repl-timeout-throw.js | 11 let stdout = ''; 12 child.stdout.setEncoding('utf8'); 13 child.stdout.on('data', function(c) { 14 process.stdout.write(c); 15 stdout += c; 16 if (stdout.includes('> THROW 2')) 27 child.stdout.once('data', function() { 57 const lastLine = stdout.trim().split(/\r?\n/).pop();
|
/third_party/icu/icu4c/source/samples/legacy/ |
H A D | legacy.cpp | 37 fprintf(stdout, "%c", (*str) & 0xFF); in printZTUChar() 39 fprintf(stdout, "\\u%04X", *str); in printZTUChar() 46 fprintf (stdout, "%s\n", comment); in printArray() 49 fprintf(stdout, "%d ", i); in printArray() 51 fprintf(stdout, "\n"); in printArray() 58 fprintf(stdout, "%s\n", comment); in printKeys() 63 fprintf(stdout, "01 "); in printKeys() 65 fprintf(stdout, "%02X", *currentKey); in printKeys() 69 fprintf(stdout, " 00\n"); in printKeys()
|
/third_party/libsnd/src/ |
H A D | create_symbols_file.py | 99 sys.stdout.write ("\n") 108 sys.stdout.write ("\n") 116 sys.stdout.write ("\n") 130 sys.stdout.write ("\n") 138 sys.stdout.write ("\n") 141 sys.stdout.write ("\n") 149 sys.stdout.write ("\n") 151 sys.stdout.write ("\n") 159 sys.stdout.write ("\n")
|
/third_party/skia/third_party/externals/icu/source/samples/legacy/ |
H A D | legacy.cpp | 37 fprintf(stdout, "%c", (*str) & 0xFF); in printZTUChar() 39 fprintf(stdout, "\\u%04X", *str); in printZTUChar() 46 fprintf (stdout, "%s\n", comment); in printArray() 49 fprintf(stdout, "%d ", i); in printArray() 51 fprintf(stdout, "\n"); in printArray() 58 fprintf(stdout, "%s\n", comment); in printKeys() 63 fprintf(stdout, "01 "); in printKeys() 65 fprintf(stdout, "%02X", *currentKey); in printKeys() 69 fprintf(stdout, " 00\n"); in printKeys()
|
/third_party/mesa3d/src/compiler/clc/ |
H A D | clc.c | 51 fprintf(stdout, "Kernels:\n"); in clc_print_kernels_info() 56 fprintf(stdout, "\tvoid %s(", obj->kernels[i].name); in clc_print_kernels_info() 59 fprintf(stdout, ", "); in clc_print_kernels_info() 65 fprintf(stdout, "__global "); in clc_print_kernels_info() 68 fprintf(stdout, "__local "); in clc_print_kernels_info() 71 fprintf(stdout, "__constant "); in clc_print_kernels_info() 78 fprintf(stdout, "volatile "); in clc_print_kernels_info() 80 fprintf(stdout, "const "); in clc_print_kernels_info() 82 fprintf(stdout, "restrict "); in clc_print_kernels_info() 84 fprintf(stdout, " in clc_print_kernels_info() [all...] |
/third_party/python/Lib/ |
H A D | cmd.py | 76 def __init__(self, completekey='tab', stdin=None, stdout=None): 82 is done automatically. The optional arguments stdin and stdout 84 sys.stdin and sys.stdout are used. 91 if stdout is not None: 92 self.stdout = stdout 94 self.stdout = sys.stdout 118 self.stdout.write(str(self.intro)+"\n") 130 self.stdout [all...] |
H A D | subprocess.py | 26 STDOUT: Special value that indicates that stderr should go to stdout 36 stdout instead of a return code 131 cmd, returncode, stdout, stderr, output 152 def stdout(self): member in CalledProcessError 156 @stdout.setter 157 def stdout(self, value): member in CalledProcessError 159 # .stdout is a transparent alias for .output 168 cmd, output, stdout, stderr, timeout 181 def stdout(self): member in TimeoutExpired 184 @stdout 185 def stdout(self, value): global() member in TimeoutExpired [all...] |
/third_party/littlefs/scripts/ |
H A D | watch.py | 34 # allow '-' for stdin/stdout 39 return os.fdopen(os.dup(sys.stdout.fileno()), mode, buffering) 107 sys.stdout.write('\n') 114 sys.stdout.write('\r') 116 sys.stdout.write('\x1b[%dA' % (shrink-1-i)) 117 sys.stdout.write('\x1b[K') 119 sys.stdout.write('\x1b[%dB' % (shrink-1-i)) 120 sys.stdout.write('\x1b[%dA' % shrink) 125 sys.stdout.write('\r') 127 sys.stdout [all...] |
/third_party/python/Lib/test/ |
H A D | test_tabnanny.py | 155 Use this method to assert expected values of `stdout` and `stderr` after 157 tabnanny.check() captures exceptions and writes to `stdout` and 160 with captured_stdout() as stdout, captured_stderr() as stderr: 162 self.assertEqual(stdout.getvalue(), out) 174 existence of each output lines at `stdout` using `in` operator. 175 `verbose` mode of `tabnanny.verbose` asserts `stdout`. 186 with captured_stdout() as stdout, captured_stderr() as stderr: 188 stdout = stdout.getvalue() 191 self.assertIn(line, stdout) [all...] |
H A D | test_subprocess.py | 62 SETBINARY = ('import msvcrt; msvcrt.setmode(sys.stdout.fileno(), ' namespace 119 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 123 self.assertIsInstance(p.stdout, io.BufferedIOBase) 127 p.stdout.close() 133 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 137 self.assertIsInstance(p.stdout, io.RawIOBase) 141 p.stdout.close() 179 "stdout argument not allowed, it will be overridden"): 180 subprocess.check_output([], stdout=None) 194 # check_output() function stderr redirected to stdout [all...] |
/third_party/skia/infra/bots/recipes/ |
H A D | compute_buildstats.py | 151 stdout=api.raw_io.output()) 152 if step_data and step_data.stdout: 153 sections = step_data.stdout.decode('utf-8').split(MAGIC_SEPERATOR) 179 stdout=api.raw_io.output()) 180 if step_data and step_data.stdout: 181 sections = step_data.stdout.decode('utf-8').split(MAGIC_SEPERATOR) 212 stdout=api.raw_io.output()) 213 if step_data and step_data.stdout: 214 sections = step_data.stdout.decode('utf-8').split(MAGIC_SEPERATOR) 247 stdout [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_subprocess.py | 30 'sys.stdout.buffer.write(data)'))] 41 self._proc.stdout = None 118 stdout=subprocess.PIPE, 127 data = await proc.stdout.read() 133 exitcode, stdout = self.loop.run_until_complete(task) 135 self.assertEqual(stdout, b'some data') 144 stdout=subprocess.PIPE, 146 stdout, stderr = await proc.communicate(data) 147 return proc.returncode, stdout 151 exitcode, stdout [all...] |
/third_party/python/Lib/distutils/tests/ |
H A D | test_core.py | 52 self.old_stdout = sys.stdout 58 sys.stdout = self.old_stdout 104 sys.stdout = io.StringIO() 113 output = sys.stdout.getvalue() 121 with captured_stdout() as stdout: 123 stdout.seek(0) 124 self.assertEqual(stdout.read(), 'bar\n') 128 with captured_stdout() as stdout: 132 stdout.seek(0) 134 self.assertEqual(stdout [all...] |
/third_party/googletest/googletest/samples/ |
H A D | sample9_unittest.cc | 55 fprintf(stdout, "TEST %s\n", unit_test.Passed() ? "PASSED" : "FAILED"); 56 fflush(stdout); variable 61 fprintf(stdout, "*** Test %s.%s starting.\n", test_info.test_suite_name(), 63 fflush(stdout); variable 68 fprintf(stdout, "%s in %s:%d\n%s\n", 72 fflush(stdout); variable 77 fprintf(stdout, "*** Test %s.%s ending.\n", test_info.test_suite_name(), 79 fflush(stdout); variable
|
/third_party/node/test/common/ |
H A D | snapshot.js | 24 const stdout = child.stdout.toString(); 27 console.log('[stdout]'); 28 console.log(stdout); 35 return { child, stderr, stdout }; 52 const stdout = child.stdout.toString(); 55 console.log('[stdout]'); 56 console.log(stdout); 60 return { child, stderr, stdout }; [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/prctl/ |
H A D | disable-tsc-test.c | 47 fflush(stdout); in sigsegv_cb() 54 fflush(stdout); in sigsegv_cb() 69 fflush(stdout); in main() 77 fflush(stdout); in main() 84 fflush(stdout); in main() 90 fflush(stdout); in main() 92 fflush(stdout); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/prctl/ |
H A D | disable-tsc-test.c | 47 fflush(stdout); in sigsegv_cb() 54 fflush(stdout); in sigsegv_cb() 69 fflush(stdout); in main() 77 fflush(stdout); in main() 84 fflush(stdout); in main() 90 fflush(stdout); in main() 92 fflush(stdout); in main()
|
/base/web/webview/ohos_interface/ohos_glue/scripts/ |
H A D | translator.py | 62 sys.stdout.write('Finish to write file ' + os.path.basename(file_path) + '...\n') 87 sys.stdout.write('In C API header directory ' + dir_path + '...\n') 90 sys.stdout.write('Generating ' + file_name + ' C API header...\n') 101 sys.stdout.write('In CppToC directory ' + dir_path + '...\n') 107 sys.stdout.write('Generating ' + class_name + 'CppToC class header...\n') 110 sys.stdout.write('Generating ' + class_name + 'CppToC class implementation...\n') 121 sys.stdout.write('In CToCpp directory ' + dir_path + '...\n') 127 sys.stdout.write('Generating ' + class_name + 'CToCpp class header...\n') 130 sys.stdout.write('Generating ' + class_name + 'CToCpp class implementation...\n') 146 sys.stdout [all...] |
/third_party/node/deps/v8/tools/testrunner/outproc/ |
H A D | mkgrokdump.py | 19 actual_lines = output.stdout.splitlines() 24 if "generated from a non-shipping build" in output.stdout: 26 if not "generated from a shipping build" in output.stdout: 27 output.stdout = "Unexpected output:\n\n" + output.stdout 29 output.stdout = diffstring
|
/third_party/node/tools/gyp/ |
H A D | gyp_main.py | 16 "uname", stdout=subprocess.PIPE, stderr=subprocess.STDOUT 18 stdout, _ = out.communicate() 19 return "CYGWIN" in stdout.decode("utf-8") 29 ["cygpath", "-u", path], stdout=subprocess.PIPE, stderr=subprocess.STDOUT 31 stdout, _ = out.communicate() 32 return stdout.decode("utf-8")
|