Home
last modified time | relevance | path

Searched refs:pipe (Results 26 – 50 of 69) sorted by path

123

/php-src/ext/standard/tests/file/
H A Dproc_open01.phpt13 array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')),
/php-src/ext/standard/tests/general_functions/
H A Dbug34794.phpt10 $process1 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes1);
13 $process2 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes2);
H A Dbug39322.phpt11 0 => array('pipe', 'r'),
12 1 => array('pipe', 'w'),
13 2 => array('pipe', 'w'));
H A Dbug44667.phpt11 0 => array('pipe', 'rb'),
12 1 => array('pipe', 'wb'),
H A Dbug72306.phpt14 0 => array("pipe", "r"),
15 1 => array("pipe", "w"),
16 2 => array("pipe", "r")
H A Dbug78569.phpt11 $descriptorspec = array(['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']);
H A Dgh12655.phpt7 0 => [ "pipe", "r" ], // stdin is a pipe that the child will read from
8 1 => [ "pipe", "w" ], // stdout is a pipe that the child will write to
9 2 => [ "pipe", "w" ], // stderr is a file to write to
H A Dproc_open-mb0.phpt17 0 => array("pipe", "r"),
18 1 => array("pipe", "w"),
19 2 => array("pipe", "w")
H A Dproc_open-mb1.phpt17 0 => array("pipe", "r"),
18 1 => array("pipe", "w"),
19 2 => array("pipe", "w")
H A Dproc_open.phpt11 0 => array("pipe", "r"),
12 1 => array("pipe", "w"),
13 2 => array("pipe", "w")
H A Dproc_open02.phpt10 $ds = array(array('pipe', 'r'));
H A Dproc_open_array.phpt8 0 => ['pipe', 'r'],
9 1 => ['pipe', 'w'],
10 2 => ['pipe', 'w'],
H A Dproc_open_null.phpt9 $proc = proc_open($cmd, [1 => ['null'], 2 => ['pipe', 'w']], $pipes);
14 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['null']], $pipes);
H A Dproc_open_pipes1.phpt7 $spec[$i] = array('pipe', 'w');
H A Dproc_open_pipes3.phpt7 $spec[$i] = array('pipe', 'w');
24 $spec[$i] = array('pipe', "test");
H A Dproc_open_redirect.phpt25 echo "\nWith pipe:\n";
27 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes);
60 With pipe:
H A Dproc_open_sockets1.phpt23 foreach ($pipes as $pipe) {
24 var_dump(stream_set_blocking($pipe, false));
36 foreach ($r as $i => $pipe) {
37 if (!is_resource($pipe) || feof($pipe)) {
42 $chunk = @fread($pipe, 8192);
H A Dproc_open_sockets2.phpt6 function poll($pipe, $read = true)
8 $r = ($read == true) ? [$pipe] : null;
9 $w = ($read == false) ? [$pipe] : null;
17 function read_pipe($pipe): string
19 poll($pipe);
21 if (false === ($chunk = @fread($pipe, 8192))) {
28 function write_pipe($pipe, $data)
30 poll($pipe, false);
32 if (false == @fwrite($pipe, $data)) {
49 foreach ($pipes as $pipe) {
[all …]
H A Dproc_open_sockets3.phpt2 proc_open() with socket and pipe
6 function poll($pipe, $read = true)
8 $r = ($read == true) ? [$pipe] : null;
9 $w = ($read == false) ? [$pipe] : null;
17 function read_pipe($pipe): string
19 poll($pipe);
21 if (false === ($chunk = @fread($pipe, 8192))) {
34 ['pipe', 'r'],
/php-src/ext/standard/tests/streams/
H A Dbug46024.phpt15 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w'))
36 foreach($pipes as $pipe) {
37 fclose($pipe);
H A Dbug60602.phpt7 0 => array('pipe', 'r'), // stdin
8 1 => array('pipe', 'w'), // stdout
9 2 => array('pipe', 'w'), // strerr
H A Dbug61019.phpt9 0 => array("pipe", "r"), // stdin is a pipe that the child will read from
10 1 => array("pipe", "w"), // stdout is a pipe that the child will write to
11 2 => array("pipe", "w") // stderr is a pipe that the child will write to
H A Dbug64770.phpt7 0 => array('pipe', 'r'), // stdin
8 1 => array('pipe', 'w'), // stdout
9 2 => array('pipe', 'w'), // strerr
H A Dbug72853.phpt13 0 => array('pipe', 'r'), // stdin
14 1 => array('pipe', 'w'), // stdout
H A Dbug78883.phpt11 0 => array("pipe", "rb"),
12 1 => array("pipe", "wb"),

Completed in 39 milliseconds

123