Home
last modified time | relevance | path

Searched refs:pipes (Results 1 – 23 of 23) sorted by relevance

/PHP-5.4/ext/standard/tests/streams/
H A Dbug61019.phpt17 stream_set_blocking($pipes[0],false);
18 stream_set_blocking($pipes[1],false);
19 stream_set_blocking($pipes[2],false);
20 stream_set_write_buffer($pipes[0],0);
21 stream_set_read_buffer($pipes[1],0);
22 stream_set_read_buffer($pipes[2],0);
35 $tmp_stderr=stream_get_contents($pipes[2]);
50 $tmp_stderr=stream_get_contents($pipes[2]);
56 fclose ($pipes[0]);
57 fclose ($pipes[1]);
[all …]
H A Dbug46024.phpt8 $pipes = array();
12 ,$pipes, dirname(__FILE__), array(), array('binary_pipes' => true)
18 $r = array($pipes[1]);
19 $w = array($pipes[0]);
23 fread($pipes[1], 1);
25 $r = array($pipes[1]);
26 $w = array($pipes[0]);
32 foreach($pipes as $pipe) {
H A Dbug64770.phpt2 Bug #64770 stream_select() fails with pipes from proc_open()
15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
22 $n = stream_select($pipes, $w, $e, 300);
32 $line = fread($pipes[1], 8192);
H A Dbug60602.phpt15 $p = proc_open($cmd, $descs, $pipes, '.', $environment);
22 $n = stream_select($pipes, $w, $e, 300);
32 $line = fread($pipes[1], 8192);
/PHP-5.4/ext/standard/tests/general_functions/
H A Dbug44667.phpt2 Bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly)
8 $pipes = array();
15 $proc = proc_open('cat', $descriptor_spec, $pipes);
17 fwrite($pipes[0], 'Hello', 5);
18 fflush($pipes[0]);
19 fclose($pipes[0]);
21 $result = fread($pipes[1], 5);
22 fclose($pipes[1]);
H A Dbug39322.phpt15 $pipes = array();
17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
H A Dproc_open.phpt19 $pipes
H A Dproc_open02.phpt15 $pipes
/PHP-5.4/ext/standard/tests/file/
H A Dproc_open01.phpt5 $pipes = array(1, 2, 3);
6 $orig_pipes = $pipes;
14 $pipes, getcwd(), array(), array('binary_pipes' => true)
19 var_dump($pipes);
20 stream_set_blocking($pipes[1], FALSE);
22 fwrite($pipes[0], $test_string);
23 fflush($pipes[0]);
24 fclose($pipes[0]);
32 $read_fds = array($pipes[1]);
44 $buf = fread($pipes[1], 1024);
[all …]
H A Dbug60120.phpt28 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
30 foreach ($pipes as $pipe) {
33 $writePipes = array($pipes[0]);
37 unset($pipes[0]);
39 while ($pipes || $writePipes) {
40 $r = $pipes;
63 $type = array_search($pipe, $pipes);
67 unset($pipes[$type]);
/PHP-5.4/sapi/cli/tests/
H A D022.phpt26 $pipes = array();
27 $proc = proc_open("$php -n " . escapeshellarg($test_file), $desc, $pipes);
H A Dphp_cli_server.inc27 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
35 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP-5.4/ext/standard/
H A Dproc_open.h47 long pipes[PHP_PROC_OPEN_MAX_DESCRIPTORS]; member
H A Dproc_open.c237 if (proc->pipes[i] != 0) { in proc_open_rsrc_dtor()
238 zend_list_delete(proc->pipes[i]); in proc_open_rsrc_dtor()
239 proc->pipes[i] = 0; in proc_open_rsrc_dtor()
444 zval *pipes; in PHP_FUNCTION() local
483 &command_len, &descriptorspec, &pipes, &cwd, &cwd_len, &environment, in PHP_FUNCTION()
906 if (pipes != NULL) { in PHP_FUNCTION()
907 zval_dtor(pipes); in PHP_FUNCTION()
909 array_init(pipes); in PHP_FUNCTION()
965 add_index_zval(pipes, descriptors[i].index, retfp); in PHP_FUNCTION()
967 proc->pipes[i] = Z_LVAL_P(retfp); in PHP_FUNCTION()
[all …]
H A Dbasic_functions.c1885 ZEND_ARG_INFO(1, pipes) /* ARRAY_INFO(1, pipes, 1) */
/PHP-5.4/win32/build/
H A Dmkdist.php78 $pipes);
81 while (($line = fgetcsv($pipes[1]))) {
110 fclose($pipes[1]);
/PHP-5.4/
H A Dserver-tests.php179 $pipes, $cwd, $env);
185 $out = fwrite($pipes[0],$input);
191 fclose($pipes[0]);
195 $r = $pipes;
206 $line = fread($pipes[1], 8192);
H A Drun-tests.php1082 ), $pipes, $cwd, $bin_env, array('suppress_errors' => true, 'binary_pipes' => true));
1089 fwrite($pipes[0], $stdin);
1091 fclose($pipes[0]);
1092 unset($pipes[0]);
1098 $r = $pipes;
1112 $line = fread($pipes[1], 8192);
H A DNEWS1077 . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
1107 . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
2237 . mysqlnd: Added named pipes support. FR #48082. (Andrey)
5738 - Fixed bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly). (Jani)
/PHP-5.4/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX_64.c521 …for (pipe = 0; ((opcode->pipes & (1 << pipe)) == 0 && pipe < TILEGX_NUM_PIPELINE_ENCODINGS); pipe+… in get_any_valid_pipe()
544 inst_buf[0].opcode->pipes, in compute_format()
545 inst_buf[1].opcode->pipes, in compute_format()
546 (inst_buf_index == 3 ? inst_buf[2].opcode->pipes : (1 << NO_PIPELINE))); in compute_format()
H A DsljitNativeTILEGX-encoder.c635 unsigned char pipes; member
/PHP-5.4/ext/pcre/pcrelib/
H A DNEWS253 pipes.
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch1240 * `safe' read for sockets and pipes.

Completed in 202 milliseconds