Home
last modified time | relevance | path

Searched refs:stdio (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/third_party/node/lib/internal/
Dchild_process.js236 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/
Dtest-spawn.c283 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 …]
Dbenchmark-spawn.c104 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()
Dtest-stdio-over-pipes.c122 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; 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/liteos_m/kernel/
Dmusl.gni83 "$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/musl/porting/uniproton/kernel/
Dmusl.gni79 "$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/alsa-lib/src/
Dinput.c128 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 …]
Doutput.c137 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/
Dprocess_wrap.cc91 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/
Dmusl.gni295 "$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/skia/third_party/externals/brotli/python/
Dbro.py26 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/musl/
Dmusl_src.gni1123 "src/stdio/__fclose_ca.c",
1124 "src/stdio/__fdopen.c",
1125 "src/stdio/__fmodeflags.c",
1126 "src/stdio/__fopen_rb_ca.c",
1127 "src/stdio/__lockfile.c",
1128 "src/stdio/__overflow.c",
1129 "src/stdio/__stdio_close.c",
1130 "src/stdio/__stdio_exit.c",
1131 "src/stdio/__stdio_read.c",
1132 "src/stdio/__stdio_seek.c",
[all …]
/third_party/node/deps/npm/node_modules/@npmcli/promise-spawn/lib/
Dindex.js159 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/node/test/parallel/
Dtest-fs-syncwritestream.js15 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
Dtest-child-process-validate-stdio.js34 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
Dtest-child-process-stdio.js29 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
Dtest-child-process-spawn-error.js39 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);
Dtest-set-http-max-http-headers.js24 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
Dtest-startup-empty-regexp-statics.js37 { 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/
Dchild_process.js160 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/
Drun-script-pkg.js28 stdio = 'pipe',
62 if (stdio === 'inherit' && banner !== false) {
73 stdio, property
86 if (stdio === 'inherit') {
98 if (stdio === 'inherit' && signal) {
Dvalidate-options.js11 stdio = 'pipe',
28 if (typeof stdio !== 'string' && !Array.isArray(stdio)) {
/third_party/icu/docs/userguide/io/
Dustdio.md14 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/
DexternalCompileRunner.ts52 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 });
/third_party/node/deps/npm/test/lib/commands/
Drun-script.js93 stdio: 'inherit', property
107 stdio: 'inherit', property
129 stdio: 'inherit', property
158 stdio: 'inherit', property
192 stdio: 'inherit', property
228 stdio: 'inherit', property
302 stdio: 'inherit', property
339 stdio: 'inherit', property
375 stdio: 'inherit', property
381 stdio: 'inherit', property
[all …]

12345678910>>...23