/third_party/node/lib/internal/ |
H A D | child_process.js | 236 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 D | input.c | 3 * \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 D | output.c | 3 * \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 D | test-spawn.c | 27 #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 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()
|
H A 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() 243 /* Unref both stdio handle in stdio_over_pipes_helper() [all...] |
H A D | test-ipc.c | 25 #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 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[ in ParseStdioOptions() [all...] |
/third_party/skia/third_party/externals/brotli/python/ |
H A 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/deps/npm/node_modules/@npmcli/promise-spawn/lib/ |
H A D | index.js | 159 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 D | test-child-process-stdio.js | 27 // 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 D | test-child-process-validate-stdio.js | 16 // 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 D | test-set-http-max-http-headers.js | 24 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 D | test-child-process-fork-stdio-string-variant.js | 5 // 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 D | child_process.js | 116 * 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...] |
/third_party/node/deps/npm/node_modules/pacote/lib/ |
H A D | dir.js | 42 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 D | extension.js | 32 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 D | extension.js | 32 run: { command: serverModule, transport: langClient.stdio }, 33 debug: { command: serverModule, transport: langClient.stdio, options: debugOptions }
|
/third_party/spirv-tools/utils/vscode/ |
H A D | extension.js | 32 run: { command: serverModule, transport: langClient.stdio }, 33 debug: { command: serverModule, transport: langClient.stdio, options: debugOptions }
|
/third_party/ltp/testcases/kernel/syscalls/sgetmask/ |
H A D | sgetmask01.c | 48 #include <stdio.h> 52 #include <stdio.h>
|
/third_party/libuv/docs/code/proc-streams/ |
H A D | main.c | 1 #include <stdio.h> 36 options.stdio = child_stdio; in main()
|
/third_party/node/test/tick-processor/ |
H A D | tick-processor-base.js | 20 stdio: [ 'ignore', 'pipe', 'inherit' ], 42 stdio: [ 'ignore', 'pipe', 'inherit' ],
|
/third_party/mbedtls/include/mbedtls/ |
H A D | platform.h | 58 #include <stdio.h> 175 #include <stdio.h> 300 #include <stdio.h> 303 * (changing the internal buffering on stdio calls). 308 * remaining in stdio buffers after the file is 310 * your platform's stdio doesn't have any buffering, 336 * internal buffering on stdio calls).
|
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/ |
H A D | sendbytes_message_demo.c | 27 #include <stdio.h> 114 #include <stdio.h>
|
H A D | sendstream_demo.c | 27 #include <stdio.h> 107 #include <stdio.h>
|