Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 181) sorted by path

12345678

/PHP-5.5/
H A DNEWS1868 . 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 Dacinclude.m41228 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 Dconfigure.in986 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 Dtsrm_nw.c229 NXHandle_t fd = 0; local
232 fd = fileno(stream);
233 NXClose (fd);
/PHP-5.5/Zend/
H A DZend.m4364 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 Dzend_alloc.c1012 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 Dzend_stream.c51 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 Dzend_stream.h67 int fd; member
/PHP-5.5/ext/bz2/
H A Dbz2.c258 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 D002.phpt2 bzopen() using fd opened in wrong mode
H A D003.phpt8 $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 D004.phpt9 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 Dinterface.c250 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 Dphp_curl.h133 long fd; member
/PHP-5.5/ext/curl/tests/
H A Dbug62839.phpt10 $fd = tmpfile();
11 curl_setopt($curl, CURLOPT_FILE, $fd);
/PHP-5.5/ext/date/lib/
H A Dparse_date.c152 int fd; member
332 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
H A Dparse_date.re150 int fd;
330 if((cnt = read(s->fd, (char*) s->lim, BSIZE)) != BSIZE){
H A Dparse_iso_intervals.c90 int fd; member
H A Dparse_iso_intervals.re88 int fd;
/PHP-5.5/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type3-fd.phpt2 RFC: DateTime and Daylight Saving Time Transitions (zone type 3, fd)
/PHP-5.5/ext/dba/
H A Ddba.c910 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 Ddba_cdb.c233 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 Ddba_dbm.c48 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 Dphp_dba.h46 int fd; member
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch563 - 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 …]

Completed in 129 milliseconds

12345678