Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/standard/tests/streams/
H A Dproc_open_bug60120.phpt12 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
19 foreach ($pipes as $pipe) {
20 stream_set_blocking($pipe, false);
51 foreach ($r as $pipe) {
52 $type = array_search($pipe, $pipes);
53 $data = fread($pipe, 8192);
55 if (false === $data || feof($pipe)) {
56 fclose($pipe);
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);
51 foreach ($r as $pipe) {
52 $type = array_search($pipe, $pipes);
53 $data = fread($pipe, 8192);
55 if (false === $data || feof($pipe)) {
56 fclose($pipe);
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_bug51800_right2.phpt15 0 => array("pipe", "rb"), // stdin
16 1 => array("pipe", "wb"), // stdout
17 2 => array("pipe", "wb") // stderr
/PHP-5.5/ext/standard/tests/file/
H A Dbug60120.phpt23 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
30 foreach ($pipes as $pipe) {
31 stream_set_blocking($pipe, false);
62 foreach ($r as $pipe) {
63 $type = array_search($pipe, $pipes);
64 $data = fread($pipe, 8192);
65 if (false === $data || feof($pipe)) {
66 fclose($pipe);
H A Dpopen_pclose_basic-win32.phpt20 echo "*** Testing popen(): reading from the pipe ***\n";
29 echo "*** Testing popen(): writing to the pipe ***\n";
63 *** Testing popen(): reading from the pipe ***
65 *** Testing popen(): writing to the pipe ***
H A Dpopen_pclose_basic.phpt24 echo "-- Testing popen(): reading from the pipe --\n";
44 echo "*** Testing popen(): writing to the pipe ***\n";
77 -- Testing popen(): reading from the pipe --
93 *** Testing popen(): writing to the pipe ***
H A Dproc_open01.phpt13 array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')),
/PHP-5.5/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 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 Dproc_open02.phpt10 $ds = array(array('pipe', 'r'));
/PHP-5.5/sapi/fpm/fpm/
H A Dfastcgi.c204 HANDLE pipe = GetStdHandle(STD_INPUT_HANDLE); in fcgi_init() local
206 SetNamedPipeHandleState(pipe, &pipe_mode, NULL, NULL); in fcgi_init()
740 HANDLE pipe = (HANDLE)_get_osfhandle(req->fd); in fcgi_close() local
743 FlushFileBuffers(pipe); in fcgi_close()
745 DisconnectNamedPipe(pipe); in fcgi_close()
809 HANDLE pipe; local
821 pipe = (HANDLE)_get_osfhandle(req->listen_socket);
824 if (!ConnectNamedPipe(pipe, &ov)) {
924 pipe = (HANDLE)_get_osfhandle(req->fd);
925 if (!ImpersonateNamedPipeClient(pipe)) {
H A Dfpm_stdio.c189 if (0 > pipe(fd_stdout)) { in fpm_stdio_prepare_pipes()
194 if (0 > pipe(fd_stderr)) { in fpm_stdio_prepare_pipes()
H A Dfpm_unix.c274 if (pipe(fpm_globals.send_config_pipe) == -1) { in fpm_unix_init_main()
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX_64.c119 tilegx_pipeline pipe; member
483 tilegx_pipeline pipe[TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE]; member
518 int pipe; in get_any_valid_pipe() local
519 …for (pipe = 0; ((opcode->pipes & (1 << pipe)) == 0 && pipe < TILEGX_NUM_PIPELINE_ENCODINGS); pipe+… in get_any_valid_pipe()
521 return (tilegx_pipeline)(pipe); in get_any_valid_pipe()
532 inst_buf[0].pipe = get_any_valid_pipe(opcode); in insert_nop()
589 inst_buf[i].pipe = match->pipe[i]; in assign_pipes()
599 - (inst_buf[1].pipe + inst_buf[2].pipe))); in assign_pipes()
601 inst_buf[0].pipe = pipe; in assign_pipes()
751 inst_buf[inst_buf_index].pipe = get_any_valid_pipe(opcode); in push_4_buffer()
[all …]
/PHP-5.5/sapi/cgi/
H A Dfastcgi.c437 HANDLE pipe = GetStdHandle(STD_INPUT_HANDLE); in fcgi_init() local
439 SetNamedPipeHandleState(pipe, &pipe_mode, NULL, NULL); in fcgi_init()
1113 HANDLE pipe = (HANDLE)_get_osfhandle(req->fd); in fcgi_close() local
1116 FlushFileBuffers(pipe); in fcgi_close()
1118 DisconnectNamedPipe(pipe); in fcgi_close()
1149 HANDLE pipe; local
1161 pipe = (HANDLE)_get_osfhandle(req->listen_socket);
1164 if (!ConnectNamedPipe(pipe, &ov)) {
1280 pipe = (HANDLE)_get_osfhandle(req->fd);
1281 if (!ImpersonateNamedPipeClient(pipe)) {
/PHP-5.5/ext/fileinfo/libmagic/
H A Dcompress.c401 if ((fd != -1 && pipe(fdin) == -1) || pipe(fdout) == -1) { in uncompressbuf()
/PHP-5.5/ext/sockets/tests/
H A Dsocket_strerror.phpt57 string(11) "Broken pipe"
111 string(18) "Streams pipe error"

Completed in 48 milliseconds

12