/PHP-5.4/ext/standard/tests/streams/ |
H A D | bug61019.phpt | 17 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 D | bug46024.phpt | 8 $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 D | bug64770.phpt | 2 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 D | bug60602.phpt | 15 $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 D | bug44667.phpt | 2 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 D | bug39322.phpt | 15 $pipes = array(); 17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
|
H A D | proc_open.phpt | 19 $pipes
|
H A D | proc_open02.phpt | 15 $pipes
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | proc_open01.phpt | 5 $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 D | bug60120.phpt | 28 $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 D | 022.phpt | 26 $pipes = array(); 27 $proc = proc_open("$php -n " . escapeshellarg($test_file), $desc, $pipes);
|
H A D | php_cli_server.inc | 27 …$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 D | proc_open.h | 47 long pipes[PHP_PROC_OPEN_MAX_DESCRIPTORS]; member
|
H A D | proc_open.c | 237 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 D | basic_functions.c | 1885 ZEND_ARG_INFO(1, pipes) /* ARRAY_INFO(1, pipes, 1) */
|
/PHP-5.4/win32/build/ |
H A D | mkdist.php | 78 $pipes); 81 while (($line = fgetcsv($pipes[1]))) { 110 fclose($pipes[1]);
|
/PHP-5.4/ |
H A D | server-tests.php | 179 $pipes, $cwd, $env); 185 $out = fwrite($pipes[0],$input); 191 fclose($pipes[0]); 195 $r = $pipes; 206 $line = fread($pipes[1], 8192);
|
H A D | run-tests.php | 1082 ), $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 D | NEWS | 1077 . 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 D | sljitNativeTILEGX_64.c | 521 …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 D | sljitNativeTILEGX-encoder.c | 635 unsigned char pipes; member
|
/PHP-5.4/ext/pcre/pcrelib/ |
H A D | NEWS | 253 pipes.
|
/PHP-5.4/ext/fileinfo/ |
H A D | libmagic.patch | 1240 * `safe' read for sockets and pipes.
|