Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 58) sorted by relevance

123

/PHP-7.4/ext/standard/tests/streams/
H A Dproc_open_bug64438.phpt13 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
19 foreach ($pipes as $pipe) {
20 stream_set_blocking($pipe, false);
52 foreach ($r as $pipe) {
53 $type = array_search($pipe, $pipes);
54 $data = fread($pipe, 8192);
55 if (false === $data || feof($pipe)) {
56 $pipeEvents[(int)$pipe][] = "Closing pipe";
57 fclose($pipe);
76 string(12) "Closing pipe"
[all …]
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 Dbug46024.phpt11 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w'))
32 foreach($pipes as $pipe) {
33 fclose($pipe);
H A Dbug64770.phpt7 0 => array('pipe', 'r'), // stdin
8 1 => array('pipe', 'w'), // stdout
9 2 => array('pipe', 'w'), // strerr
H A Dproc_open_bug51800.phpt15 The smaller the pipe buffer is, the longer it will take. It might even pass at the end,
17 so then the pipe buffer is emptied more often and the child has chance to continue its
31 0 => array("pipe", "rb"), // stdin
32 1 => array("pipe", "wb"), // stdout
33 2 => array("pipe", "wb") // stderr
H A Dbug60602.phpt7 0 => array('pipe', 'r'), // stdin
8 1 => array('pipe', 'w'), // stdout
9 2 => array('pipe', 'w'), // strerr
H A Dproc_open_bug51800_right.phpt15 0 => array("pipe", "rb"), // stdin
16 1 => array("pipe", "wb"), // stdout
17 2 => array("pipe", "wb") // stderr
H A Dproc_open_bug60120.phpt27 ['pipe', 'r'],
28 ['pipe', 'w'],
29 ['pipe', 'w']
H A Dproc_open_bug51800_right2.phpt15 0 => array("pipe", "rb"), // stdin
16 1 => array("pipe", "wb"), // stdout
17 2 => array("pipe", "wb") // stderr
H A Dproc_open_bug69900.phpt13 $in = fopen("php://stdin", "rb", false, stream_context_create(array("pipe" => array("blocking" => t…
23 $descriptorspec = array(0 => array("pipe", "r"),1 => array("pipe", "w"));
/PHP-7.4/ext/standard/tests/file/
H A Dbug60120.phpt20 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
26 foreach ($pipes as $pipe) {
27 stream_set_blocking($pipe, false);
58 foreach ($r as $pipe) {
59 $type = array_search($pipe, $pipes);
60 $data = fread($pipe, 8192);
61 if (false === $data || feof($pipe)) {
62 fclose($pipe);
H A Dbug69442.phpt8 $descriptors = array(array("pty"), array("pty"), array("pty"), array("pipe", "w"));
26 $descriptors = array(array("pty"), array("pty"), array("pty"), array("pipe", "w"));
31 foreach ($pipes as $type => $pipe) {
32 $data = fread($pipe, 999);
35 fclose($pipe);
H A Dpopen_pclose_basic-win32-mb.phpt18 echo "*** Testing popen(): reading from the pipe ***\n";
27 echo "*** Testing popen(): writing to the pipe ***\n";
61 *** Testing popen(): reading from the pipe ***
63 *** Testing popen(): writing to the pipe ***
/PHP-7.4/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 Dproc_open.phpt11 0 => array("pipe", "r"),
12 1 => array("pipe", "w"),
13 2 => array("pipe", "w")
H A Dbug72306.phpt13 0 => array("pipe", "r"),
14 1 => array("pipe", "w"),
15 2 => array("pipe", "r")
H A Dbug78569.phpt13 $descriptorspec = array(['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']);
H A Dproc_open-mb1.phpt17 0 => array("pipe", "r"),
18 1 => array("pipe", "w"),
19 2 => array("pipe", "w")
H A Dbug39322.phpt11 0 => array('pipe', 'r'),
12 1 => array('pipe', 'w'),
13 2 => array('pipe', 'w'));
H A Dproc_open-mb0.phpt17 0 => array("pipe", "r"),
18 1 => array("pipe", "w"),
19 2 => array("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 Dbug44667.phpt11 0 => array('pipe', 'rb'),
12 1 => array('pipe', 'wb'),
/PHP-7.4/sapi/cli/tests/
H A Dbug74600.phpt17 0 => array("pipe", "r"),
18 1 => array("pipe", "w"),
19 2 => array("pipe", "w"),
H A D023.phpt25 0 => array("pipe", "r"),
26 1 => array("pipe", "w"),
27 2 => array("pipe", "w"),
H A Dsapi_windows_set_ctrl_handler.phpt28 $spec = [0 => ["pipe", "r"], 1 => ["pipe", "w"]];
59 foreach ($pipes as $pipe) {
60 fclose($pipe);

Completed in 20 milliseconds

123