/PHP-5.5/ |
H A D | NEWS | 1868 . Fixed bugs #47675 and #64577 (fd leak on Solaris) 2277 . Fixed bugs #47675 and #64577 (fd leak on Solaris) 2930 . Changed php://fd to be available only for CLI. 3578 . Changed php://fd to be available only for CLI. 3962 . Fixed bug #60629 (memory corruption when web server closed the fcgi fd). 7041 - Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build) (stotty at tvnet dot hu)
|
H A D | acinclude.m4 | 1228 int fd = open("conftest_in", O_WRONLY|O_CREAT, 0600); 1230 if (fd < 0) exit(1); 1231 if (pwrite(fd, "text", 4, 0) != 4) exit(1); 1233 if (pwrite(fd, "text", 4, -1) != -1 || errno != EINVAL) exit(1); 1259 int fd = open("conftest_in", O_RDONLY); 1260 if (fd < 0) exit(1); 1261 if (pread(fd, buf, 2, 0) != 2) exit(1); 1263 if (pread(fd, buf, 2, -1) != -1 || errno != EINVAL) exit(1);
|
H A D | configure.in | 986 AC_MSG_CHECKING([how big to make fd sets]) 987 PHP_ARG_ENABLE(fd-setsize,, 988 [ --enable-fd-setsize Set size of descriptor sets], no, no) 995 AC_MSG_ERROR([Invalid value passed to --enable-fd-setsize!])
|
/PHP-5.5/TSRM/ |
H A D | tsrm_nw.c | 229 NXHandle_t fd = 0; local 232 fd = fileno(stream); 233 NXClose (fd);
|
/PHP-5.5/Zend/ |
H A D | Zend.m4 | 364 int fd; 367 fd = open("/dev/zero", O_RDWR, S_IRUSR | S_IWUSR); 368 if (fd < 0) { 371 seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); 378 if (close(fd) != 0) {
|
H A D | zend_alloc.c | 1012 int fd = open("/dev/urandom", 0); in zend_mm_random() local 1014 if (fd >= 0) { in zend_mm_random() 1015 if (read(fd, buf, size) == size) { in zend_mm_random() 1020 close(fd); in zend_mm_random() 1024 close(fd); in zend_mm_random()
|
H A D | zend_stream.c | 51 ZEND_DLIMPORT int isatty(int fd); 195 file_handle->handle.fp = fdopen(file_handle->handle.fd, "rb"); 343 return fh1->handle.fd == fh2->handle.fd;
|
H A D | zend_stream.h | 67 int fd; member
|
/PHP-5.5/ext/bz2/ |
H A D | bz2.c | 258 int fd; in _php_stream_bz2open() local 259 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open() 260 bz_file = BZ2_bzdopen(fd, mode); in _php_stream_bz2open() 407 int fd; in PHP_FUNCTION() local 443 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION() 447 bz = BZ2_bzdopen(fd, mode); in PHP_FUNCTION()
|
/PHP-5.5/ext/bz2/tests/ |
H A D | 002.phpt | 2 bzopen() using fd opened in wrong mode
|
H A D | 003.phpt | 8 $fd = bzopen(dirname(__FILE__)."/003.txt.bz2","r"); 10 var_dump(bzread($fd, 1 ,0)); 11 var_dump(bzread($fd, 0)); 12 var_dump(bzread($fd, -10)); 13 var_dump(bzread($fd, 1)); 14 var_dump(bzread($fd, 2)); 15 var_dump(bzread($fd, 100000));
|
H A D | 004.phpt | 9 var_dump(bzerror($fd)); 10 var_dump(bzerrstr($fd)); 11 var_dump(bzerrno($fd)); 18 var_dump(bzread($fd, 10)); 19 var_dump(bzerror($fd)); 20 var_dump(bzerrstr($fd)); 21 var_dump(bzerrno($fd)); 28 var_dump(bzread($fd)); 29 var_dump(bzerror($fd)); 30 var_dump(bzerrstr($fd)); [all …]
|
/PHP-5.5/ext/curl/ |
H A D | interface.c | 250 ch->handlers->read->fd = 0; in _php_curl_verify_handlers() 1553 ZVAL_RESOURCE(zfd, t->fd); in curl_read() 1554 zend_list_addref(t->fd); in curl_read() 2038 dupch->handlers->read->fd = ch->handlers->read->fd; in PHP_FUNCTION() 2449 ch->handlers->read->fd = 0; in _php_curl_setopt() 2456 ch->handlers->read->fd = Z_LVAL_PP(zvalue); in _php_curl_setopt() 3438 ch->handlers->read->fd = 0; in _php_curl_reset_handlers()
|
H A D | php_curl.h | 133 long fd; member
|
/PHP-5.5/ext/curl/tests/ |
H A D | bug62839.phpt | 10 $fd = tmpfile(); 11 curl_setopt($curl, CURLOPT_FILE, $fd);
|
/PHP-5.5/ext/date/lib/ |
H A D | parse_date.c | 152 int fd; member 332 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
|
H A D | parse_date.re | 150 int fd; 330 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
|
H A D | parse_iso_intervals.c | 90 int fd; member
|
H A D | parse_iso_intervals.re | 88 int fd;
|
/PHP-5.5/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type3-fd.phpt | 2 RFC: DateTime and Daylight Saving Time Transitions (zone type 3, fd)
|
/PHP-5.5/ext/dba/ |
H A D | dba.c | 910 if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) { in php_dba_open() 917 int flags = fcntl(info->fd, F_GETFL); in php_dba_open() 918 fcntl(info->fd, F_SETFL, flags & ~O_APPEND); in php_dba_open()
|
H A D | dba_cdb.c | 233 int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { in cdb_file_lseek() argument 234 return lseek(fd, offset, whence); in cdb_file_lseek()
|
H A D | dba_dbm.c | 48 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \ 50 close(fd); 59 int fd; in DBA_OPEN_FUNC() local
|
H A D | php_dba.h | 46 int fd; member
|
/PHP-5.5/ext/fileinfo/ |
H A D | libmagic.patch | 563 - int fd; 574 - fd = -1; 649 - (void)close(fd); 650 - fd = -1; 721 - if (fd != -1) 722 - (void)close(fd); 788 - if (fd != -1) 789 - (void)close(fd); 1266 return fd; 1286 if (fd != -1) { [all …]
|