/third_party/node/lib/internal/ |
D | child_process.js | 236 function stdioStringToArray(stdio, channel) { argument 239 switch (stdio) { 242 case 'pipe': ArrayPrototypePush(options, stdio, stdio, stdio); break; 245 throw new ERR_INVALID_ARG_VALUE('stdio', stdio); 311 const stdio = subprocess.stdio; 313 if (stdio == null) return; 315 for (let i = 0; i < stdio.length; i++) { 316 const stream = stdio[i]; 354 let stdio = options.stdio || 'pipe'; 356 stdio = getValidStdio(stdio, false); [all …]
|
/third_party/libuv/test/ |
D | test-spawn.c | 283 uv_stdio_container_t stdio[2]; in TEST_IMPL() local 288 options.stdio = stdio; in TEST_IMPL() 289 options.stdio[0].flags = UV_IGNORE; in TEST_IMPL() 290 options.stdio[1].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE; in TEST_IMPL() 291 options.stdio[1].data.stream = (uv_stream_t*) &out; in TEST_IMPL() 317 uv_stdio_container_t stdio[2]; in TEST_IMPL() local 332 options.stdio = stdio; in TEST_IMPL() 333 options.stdio[0].flags = UV_IGNORE; in TEST_IMPL() 334 options.stdio[1].flags = UV_INHERIT_FD; in TEST_IMPL() 335 options.stdio[1].data.fd = file; in TEST_IMPL() [all …]
|
D | benchmark-spawn.c | 104 uv_stdio_container_t stdio[2]; in spawn() local 119 options.stdio = stdio; in spawn() 121 options.stdio[0].flags = UV_IGNORE; in spawn() 122 options.stdio[1].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE; in spawn() 123 options.stdio[1].data.stream = (uv_stream_t*)&out; in spawn()
|
D | test-stdio-over-pipes.c | 122 uv_stdio_container_t stdio[3]; in test_stdio_over_pipes() local 131 options.stdio = stdio; in test_stdio_over_pipes() 132 options.stdio[0].flags = UV_CREATE_PIPE | UV_READABLE_PIPE | in test_stdio_over_pipes() 134 options.stdio[0].data.stream = (uv_stream_t*) ∈ in test_stdio_over_pipes() 135 options.stdio[1].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE | in test_stdio_over_pipes() 137 options.stdio[1].data.stream = (uv_stream_t*) &out; in test_stdio_over_pipes() 138 options.stdio[2].flags = UV_INHERIT_FD; in test_stdio_over_pipes() 139 options.stdio[2].data.fd = 2; in test_stdio_over_pipes()
|
/third_party/musl/porting/uniproton/kernel/ |
D | musl.gni | 79 "$MUSLPORTINGDIR/src/stdio/__fdopen.c", 80 "$MUSLPORTINGDIR/src/stdio/__fmodeflags.c", 81 "$MUSLPORTINGDIR/src/stdio/__lockfile.c", 82 "$MUSLPORTINGDIR/src/stdio/__overflow.c", 83 "$MUSLPORTINGDIR/src/stdio/__stdio_close.c", 84 "$MUSLPORTINGDIR/src/stdio/__stdio_read.c", 85 "$MUSLPORTINGDIR/src/stdio/__stdio_seek.c", 86 "$MUSLPORTINGDIR/src/stdio/__stdio_write.c", 87 "$MUSLPORTINGDIR/src/stdio/__stdout_write.c", 88 "$MUSLPORTINGDIR/src/stdio/__string_read.c", [all …]
|
/third_party/musl/porting/liteos_m/kernel/ |
D | musl.gni | 83 "$MUSLPORTINGDIR/src/stdio/__fdopen.c", 84 "$MUSLPORTINGDIR/src/stdio/__fmodeflags.c", 85 "$MUSLPORTINGDIR/src/stdio/__lockfile.c", 86 "$MUSLPORTINGDIR/src/stdio/__overflow.c", 87 "$MUSLPORTINGDIR/src/stdio/__stdio_close.c", 88 "$MUSLPORTINGDIR/src/stdio/__stdio_read.c", 89 "$MUSLPORTINGDIR/src/stdio/__stdio_seek.c", 90 "$MUSLPORTINGDIR/src/stdio/__stdio_write.c", 91 "$MUSLPORTINGDIR/src/stdio/__stdout_write.c", 92 "$MUSLPORTINGDIR/src/stdio/__string_read.c", [all …]
|
/third_party/alsa-lib/src/ |
D | input.c | 128 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_close() local 129 if (stdio->close) in snd_input_stdio_close() 130 fclose(stdio->fp); in snd_input_stdio_close() 131 free(stdio); in snd_input_stdio_close() 137 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_scan() local 139 return vfscanf(stdio->fp, format, args); in snd_input_stdio_scan() 144 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_gets() local 145 return fgets(str, (int) size, stdio->fp); in snd_input_stdio_gets() 150 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_getc() local 151 return getc(stdio->fp); in snd_input_stdio_getc() [all …]
|
D | output.c | 137 snd_output_stdio_t *stdio = output->private_data; in snd_output_stdio_close() local 138 if (stdio->close) in snd_output_stdio_close() 139 fclose(stdio->fp); in snd_output_stdio_close() 140 free(stdio); in snd_output_stdio_close() 146 snd_output_stdio_t *stdio = output->private_data; in snd_output_stdio_print() local 147 return vfprintf(stdio->fp, format, args); in snd_output_stdio_print() 152 snd_output_stdio_t *stdio = output->private_data; in snd_output_stdio_puts() local 153 return fputs(str, stdio->fp); in snd_output_stdio_puts() 158 snd_output_stdio_t *stdio = output->private_data; in snd_output_stdio_putc() local 159 return putc(c, stdio->fp); in snd_output_stdio_putc() [all …]
|
/third_party/node/src/ |
D | process_wrap.cc | 91 static uv_stream_t* StreamForWrap(Environment* env, Local<Object> stdio) { in StreamForWrap() argument 95 stdio->Get(env->context(), handle_key).ToLocalChecked().As<Object>(); in StreamForWrap() 111 options->stdio = new uv_stdio_container_t[len]; in ParseStdioOptions() 115 Local<Object> stdio = in ParseStdioOptions() local 118 stdio->Get(context, env->type_string()).ToLocalChecked(); in ParseStdioOptions() 121 options->stdio[i].flags = UV_IGNORE; in ParseStdioOptions() 123 options->stdio[i].flags = static_cast<uv_stdio_flags>( in ParseStdioOptions() 125 options->stdio[i].data.stream = StreamForWrap(env, stdio); in ParseStdioOptions() 127 options->stdio[i].flags = static_cast<uv_stdio_flags>( in ParseStdioOptions() 130 options->stdio[i].data.stream = StreamForWrap(env, stdio); in ParseStdioOptions() [all …]
|
/third_party/musl/porting/liteos_a/kernel/ |
D | musl.gni | 295 "$MUSLPORTINGDIR/src/stdio/__fdopen.c", 296 "$MUSLPORTINGDIR/src/stdio/__fmodeflags.c", 297 "$MUSLPORTINGDIR/src/stdio/__lockfile.c", 298 "$MUSLPORTINGDIR/src/stdio/__overflow.c", 299 "$MUSLPORTINGDIR/src/stdio/__stdio_close.c", 300 "$MUSLPORTINGDIR/src/stdio/__stdio_read.c", 301 "$MUSLPORTINGDIR/src/stdio/__stdio_seek.c", 302 "$MUSLPORTINGDIR/src/stdio/__stdio_write.c", 303 "$MUSLPORTINGDIR/src/stdio/__stdout_write.c", 304 "$MUSLPORTINGDIR/src/stdio/__toread.c", [all …]
|
/third_party/musl/ |
D | musl_src.gni | 1136 "src/stdio/__fclose_ca.c", 1137 "src/stdio/__fdopen.c", 1138 "src/stdio/__fmodeflags.c", 1139 "src/stdio/__fopen_rb_ca.c", 1140 "src/stdio/__lockfile.c", 1141 "src/stdio/__overflow.c", 1142 "src/stdio/__stdio_close.c", 1143 "src/stdio/__stdio_exit.c", 1144 "src/stdio/__stdio_read.c", 1145 "src/stdio/__stdio_seek.c", [all …]
|
/third_party/node/deps/npm/node_modules/@npmcli/promise-spawn/lib/ |
D | index.js | 159 const isPipe = (stdio = 'pipe', fd) => { argument 160 if (stdio === 'pipe' || stdio === null) { 164 if (Array.isArray(stdio)) { 165 return isPipe(stdio[fd], fd) 171 const stdioResult = (stdout, stderr, { stdioString = true, stdio }) => { field 178 if (isPipe(stdio, 1)) { 185 if (isPipe(stdio, 2)) {
|
/third_party/skia/third_party/externals/brotli/python/ |
D | bro.py | 26 stdio = getattr(sys, stream) 34 stdio = os.fdopen(stdio.fileno(), mode, 0) 38 msvcrt.setmode(stdio.fileno(), os.O_BINARY) 39 return stdio 42 if hasattr(stdio, 'buffer'): 43 return stdio.buffer
|
/third_party/node/test/parallel/ |
D | test-fs-syncwritestream.js | 15 console.log(JSON.stringify([process.stdout, process.stderr].map((stdio) => ({ 16 instance: stdio instanceof stream.Writable, 17 readable: stdio.readable, 18 writable: stdio.writable, 31 stdio: ['inherit', stdoutFd, stdoutFd ] property
|
D | test-child-process-stdio.js | 29 const child = spawn(...common.pwdCommand, { stdio: ['pipe'] }); property 36 const child = spawn(...common.pwdCommand, { stdio: 'ignore' }); property 43 const options = { stdio: 'ignore' }; property 45 assert.deepStrictEqual(options, { stdio: 'ignore' }); property 73 { stdio: ['pipe', 'pipe', 'pipe', 'ipc', 'ipc'] } property
|
D | test-child-process-validate-stdio.js | 34 const stdio = ['foo']; variable 35 assert.throws(() => getValidStdio(stdio, false), 42 const stdio = [{ foo: 'bar' }]; variable 43 assert.throws(() => getValidStdio(stdio), expectedError); 50 stdio: [ property
|
D | test-child-process-spawn-error.js | 39 assert(Array.isArray(enoentChild.stdio)); 40 assert.strictEqual(enoentChild.stdio[0], enoentChild.stdin); 41 assert.strictEqual(enoentChild.stdio[1], enoentChild.stdout); 42 assert.strictEqual(enoentChild.stdio[2], enoentChild.stderr);
|
D | test-set-http-max-http-headers.js | 24 const cp = spawn(process.execPath, args, { stdio: 'inherit' }); property 47 stdio: 'inherit' property 68 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' }); property 80 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' }); property
|
D | test-child-process-stdio-merge-stdouts-into-cat.js | 9 const p3 = spawn('cat', { stdio: ['pipe', 'pipe', 'inherit'] }); property 10 const p1 = spawn('cat', { stdio: ['pipe', p3.stdin, 'inherit'] }); property 11 const p2 = spawn('cat', { stdio: ['pipe', p3.stdin, 'inherit'] }); property
|
D | test-startup-empty-regexp-statics.js | 37 { stdio: ['inherit', 'pipe', 'inherit'] }); property 54 { stdio: ['inherit', 'pipe', 'inherit'] }); property 63 { stdio: ['inherit', 'pipe', 'inherit'] }); property 70 …const child = spawn(process.execPath, [], { stdio: ['pipe', 'pipe', 'inherit'], encoding: 'utf8' }… property
|
/third_party/node/lib/ |
D | child_process.js | 160 if (typeof options.stdio === 'string') { 161 options.stdio = stdioStringToArray(options.stdio, 'ipc'); 162 } else if (!ArrayIsArray(options.stdio)) { 165 options.stdio = stdioStringToArray( 168 } else if (!ArrayPrototypeIncludes(options.stdio, 'ipc')) { 849 options.stdio = getValidStdio(options.stdio || 'pipe', true).stdio; 852 const stdin = options.stdio[0] = { ...options.stdio[0] }; 857 for (let i = 0; i < options.stdio.length; i++) { 858 const input = options.stdio[i] && options.stdio[i].input; 860 const pipe = options.stdio[i] = { ...options.stdio[i] }; [all …]
|
/third_party/node/deps/npm/node_modules/@npmcli/run-script/lib/ |
D | run-script-pkg.js | 28 stdio = 'pipe', 62 if (stdio === 'inherit' && banner !== false) { 73 stdio, property 86 if (stdio === 'inherit') { 96 if (stdio === 'inherit' && signal) {
|
D | validate-options.js | 11 stdio = 'pipe', 28 if (typeof stdio !== 'string' && !Array.isArray(stdio)) {
|
/third_party/icu/docs/userguide/io/ |
D | ustdio.md | 14 This API provides a `<stdio.h>`-like API wrapper around ICU's other [formatting 16 Unicode support to a preexisting applications using stdio. The following is a 17 small list of noticeable differences between stdio and ICU I/O's ustdio 25 (unlike the standard stdio implementations found on various platforms). 27 when compared to the typical stdio implementation.
|
/third_party/typescript/src/testRunner/ |
D | externalCompileRunner.ts | 52 const stdio = isWorker ? "pipe" : "inherit"; constant 73 … const npmVersionText = exec("npm", ["--version"], { cwd, stdio: "pipe" })?.trim(); 96 …ommand: string, args: string[], options: { cwd: string, timeout?: number, stdio?: import("child_pr… 97 …s = cp.spawnSync(isWorker ? `${command} 2>&1` : command, args, { shell: true, stdio, ...options }); 101 return options.stdio === "pipe" ? res.stdout.toString("utf8") : undefined; 157 const stdio = isWorker ? "pipe" : "inherit"; constant 158 …er ? `${command} 2>&1` : command, args, { timeout: this.timeout, shell: true, stdio, ...options });
|