Home
last modified time | relevance | path

Searched refs:stdio (Results 1 - 25 of 11751) sorted by relevance

12345678910>>...471

/third_party/node/lib/internal/
H A Dchild_process.js236 function stdioStringToArray(stdio, channel) {
239 switch (stdio) {
242 case 'pipe': ArrayPrototypePush(options, stdio, stdio, stdio); break;
245 throw new ERR_INVALID_ARG_VALUE('stdio', stdio);
295 // If any of the stdio streams have not been touched,
311 const stdio = subprocess.stdio;
[all...]
/third_party/alsa-lib/src/
H A Dinput.c3 * \brief Generic stdio-like input interface
7 * Generic stdio-like input interface
32 #include <stdio.h>
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 in snd_input_stdio_gets() local
150 snd_input_stdio_t *stdio = input->private_data; snd_input_stdio_getc() local
156 snd_input_stdio_t *stdio = input->private_data; snd_input_stdio_ungetc() local
182 snd_input_stdio_t *stdio; snd_input_stdio_attach() local
[all...]
H A Doutput.c3 * \brief Generic stdio-like output interface
7 * Generic stdio-like output interface
32 #include <stdio.h>
120 * If the underlying destination is a stdio stream, this function calls
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 in snd_output_stdio_print()
152 snd_output_stdio_t *stdio = output->private_data; snd_output_stdio_puts() local
158 snd_output_stdio_t *stdio = output->private_data; snd_output_stdio_putc() local
164 snd_output_stdio_t *stdio = output->private_data; snd_output_stdio_flush() local
191 snd_output_stdio_t *stdio; snd_output_stdio_attach() local
[all...]
/third_party/libuv/test/
H A Dtest-spawn.c27 #include <stdio.h>
286 uv_stdio_container_t stdio[2]; in TEST_IMPL() local
291 options.stdio = stdio; in TEST_IMPL()
292 options.stdio[0].flags = UV_IGNORE; in TEST_IMPL()
293 options.stdio[1].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE; in TEST_IMPL()
294 options.stdio[1].data.stream = (uv_stream_t*) &out; in TEST_IMPL()
320 uv_stdio_container_t stdio[2]; in TEST_IMPL() local
335 options.stdio = stdio; in TEST_IMPL()
374 uv_stdio_container_t stdio[3]; TEST_IMPL() local
431 uv_stdio_container_t stdio[3]; TEST_IMPL() local
497 uv_stdio_container_t stdio[3]; TEST_IMPL() local
589 uv_stdio_container_t stdio[2]; TEST_IMPL() local
629 uv_stdio_container_t stdio[4]; TEST_IMPL() local
688 uv_stdio_container_t stdio[4]; TEST_IMPL() local
789 uv_stdio_container_t stdio[2]; TEST_IMPL() local
862 uv_stdio_container_t stdio[3]; TEST_IMPL() local
918 uv_stdio_container_t stdio[2]; TEST_IMPL() local
965 uv_stdio_container_t stdio[3]; TEST_IMPL() local
1012 uv_stdio_container_t stdio[2]; TEST_IMPL() local
1100 uv_stdio_container_t stdio[2]; TEST_IMPL() local
1679 uv_stdio_container_t stdio[1]; TEST_IMPL() local
1740 uv_stdio_container_t stdio[3]; TEST_IMPL() local
[all...]
H A 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()
H A 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()
243 /* Unref both stdio handle in stdio_over_pipes_helper()
[all...]
H A Dtest-ipc.c25 #include <stdio.h>
288 uv_stdio_container_t stdio[3]; in spawn_helper() local
307 options.stdio = stdio; in spawn_helper()
308 options.stdio_count = ARRAY_SIZE(stdio); in spawn_helper()
310 stdio[0].flags = UV_CREATE_PIPE | UV_READABLE_PIPE | UV_WRITABLE_PIPE; in spawn_helper()
311 stdio[0].data.stream = (uv_stream_t*) channel; in spawn_helper()
312 stdio[1].flags = UV_INHERIT_FD; in spawn_helper()
313 stdio[1].data.fd = 1; in spawn_helper()
314 stdio[ in spawn_helper()
[all...]
/third_party/node/src/
H A 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[ in ParseStdioOptions()
[all...]
/third_party/skia/third_party/externals/brotli/python/
H A 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/node/deps/npm/node_modules/@npmcli/promise-spawn/lib/
H A Dindex.js159 const isPipe = (stdio = 'pipe', fd) => {
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 }) => {
177 // stdio is [stdin, stdout, stderr]
178 if (isPipe(stdio, 1)) {
185 if (isPipe(stdio, 2)) {
/third_party/node/test/parallel/
H A Dtest-child-process-stdio.js27 // Test stdio piping.
29 const child = spawn(...common.pwdCommand, { stdio: ['pipe'] });
34 // Test stdio ignoring.
36 const child = spawn(...common.pwdCommand, { stdio: 'ignore' });
43 const options = { stdio: 'ignore' }; property
45 assert.deepStrictEqual(options, { stdio: 'ignore' });
73 { stdio: ['pipe', 'pipe', 'pipe', 'ipc', 'ipc'] }
H A Dtest-child-process-validate-stdio.js16 // Should populate stdio with undefined if len < 3
21 assert.strictEqual(Object.hasOwn(result, 'stdio'), true);
26 // Should throw if stdio has ipc and sync is true
32 // Should throw if stdio is not a valid input
34 const stdio = ['foo'];
35 assert.throws(() => getValidStdio(stdio, false),
40 // Should throw if stdio is not a valid option
42 const stdio = [{ foo: 'bar' }];
43 assert.throws(() => getValidStdio(stdio), expectedError);
50 stdio
[all...]
H A Dtest-set-http-max-http-headers.js24 const cp = spawn(process.execPath, args, { stdio: 'inherit' });
47 stdio: 'inherit'
68 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' });
80 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' });
H A Dtest-child-process-fork-stdio-string-variant.js5 // variant of stdio parameter in options object and
13 const malFormedOpts = { stdio: '33' };
21 const child = fork(childScript, { stdio: stringVariant });
/third_party/node/lib/
H A Dchild_process.js116 * stdio?: Array | string;
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')) {
169 throw new ERR_CHILD_PROCESS_IPC_REQUIRED('options.stdio');
739 * stdio?: Array | string;
809 * stdio
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/
H A Dcoresight.sh53 perf report --stdio --dump -i "$1" | \
102 FOUND_TIDS=$(perf report --stdio --dump -i "$1" | \
108 FOUND_TIDS=$(perf report --stdio --dump -i "$1" | \
/third_party/node/deps/npm/node_modules/pacote/lib/
H A Ddir.js42 const stdio = this.opts.foregroundScripts ? 'inherit' : 'pipe'
46 const banner = this.opts.silent ? false : stdio === 'inherit'
52 stdio,
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/
H A Dextension.js32 run: { command: serverModule, transport: langClient.stdio },
33 debug: { command: serverModule, transport: langClient.stdio, options: debugOptions }
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/
H A Dextension.js32 run: { command: serverModule, transport: langClient.stdio },
33 debug: { command: serverModule, transport: langClient.stdio, options: debugOptions }
/third_party/spirv-tools/utils/vscode/
H A Dextension.js32 run: { command: serverModule, transport: langClient.stdio },
33 debug: { command: serverModule, transport: langClient.stdio, options: debugOptions }
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Drecord+zstd_comp_decomp.sh28 $perf_tool report -i "$trace_file" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.comp.output" &&
29 $perf_tool report -i "$trace_file.decomp" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.decomp.output" &&
/third_party/ltp/testcases/kernel/syscalls/sgetmask/
H A Dsgetmask01.c48 #include <stdio.h>
52 #include <stdio.h>
/kernel/linux/linux-5.10/tools/perf/tests/shell/
H A Drecord+zstd_comp_decomp.sh28 $perf_tool report -i $trace_file --stdio | head -n -3 > $trace_file.comp.output &&
29 $perf_tool report -i $trace_file.decomp --stdio | head -n -3 > $trace_file.decomp.output &&
/third_party/libuv/docs/code/proc-streams/
H A Dmain.c1 #include <stdio.h>
36 options.stdio = child_stdio; in main()
/third_party/node/test/tick-processor/
H A Dtick-processor-base.js20 stdio: [ 'ignore', 'pipe', 'inherit' ],
42 stdio: [ 'ignore', 'pipe', 'inherit' ],

Completed in 9 milliseconds

12345678910>>...471