/PHP-5.5/ext/dba/ |
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 | php_dba.h | 46 int fd; member
|
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()
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 226 file_trycdf(struct magic_set *ms, int fd, const unsigned char *buf, argument 238 info.i_fd = fd;
|
H A D | magic.c | 288 close_and_restore(const struct magic_set *ms, const char *name, int fd, in close_and_restore() argument 322 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor() argument
|
/PHP-5.5/main/ |
H A D | SAPI.h | 208 SAPI_API int sapi_get_fd(int *fd TSRMLS_DC); 258 int (*get_fd)(int *fd TSRMLS_DC);
|
H A D | rfc1867.c | 688 int fd = -1; local 963 fd = -1; 1004 fd = php_open_temporary_fd_ex(PG(upload_tmp_dir), "php", &temp_filename, 1 TSRMLS_CC); 1006 if (fd == -1) { 1040 wlen = write(fd, buff, blen); 1063 if (fd != -1) { /* may not be initialized if file could not be created */ 1064 close(fd);
|
H A D | main.c | 611 int fd = -1; in php_log_err() local 629 fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644); in php_log_err() 630 if (fd != -1) { in php_log_err() 647 php_flock(fd, 2); in php_log_err() 649 php_ignore_value(write(fd, tmp, len)); in php_log_err() 652 close(fd); in php_log_err()
|
/PHP-5.5/sapi/litespeed/ |
H A D | lsapilib.h | 146 int LSAPI_InitRequest( LSAPI_Request * pReq, int fd ); 360 void LSAPI_Set_Server_fd( int fd );
|
/PHP-5.5/sapi/apache/ |
H A D | mod_php5.c | 396 int fd; in sapi_apache_get_fd() local 398 fd = r->connection->client->fd; in sapi_apache_get_fd() 400 if (fd >= 0) { in sapi_apache_get_fd() 401 if (nfd) *nfd = fd; in sapi_apache_get_fd()
|
H A D | config.m4 | 5 AC_CACHE_CHECK([for member fd in BUFF *],ac_cv_php_fd_in_buff,[ 12 AC_TRY_COMPILE([#include <httpd.h>],[conn_rec *c; int fd = c->client->fd;],[
|
/PHP-5.5/sapi/thttpd/ |
H A D | thttpd.c | 629 static void remove_dead_conn(int fd) argument 636 if (m->hc->conn_fd == fd) { 715 void thttpd_closed_conn(int fd) argument 718 if (TG(on_close)) TG(on_close)(fd);
|
H A D | thttpd_patch | 106 poll_rfdidx[ridx++] = pollfds[i].fd; 111 switch ( fd_rw[fd] ) 113 - case FDW_READ: return pollfds[poll_fdidx[fd]].revents & POLLIN; 114 - case FDW_WRITE: return pollfds[poll_fdidx[fd]].revents & POLLOUT; 115 + case FDW_READ: return pollfds[poll_fdidx[fd]].revents & ( POLLIN | POLLERR | POLLHUP | POLLNVAL ); 116 + case FDW_WRITE: return pollfds[poll_fdidx[fd]].revents & ( POLLOUT | POLLERR | POLLHUP | POLLNVA… 940 + int fd = fileno(hc->hs->logfp); 941 + write(fd, bentries.c, bentries.len); 1322 int fd; 1633 /* Do the fd watch. */ [all …]
|
/PHP-5.5/ext/standard/tests/http/ |
H A D | bug61548.phpt | 28 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
|
/PHP-5.5/ext/curl/ |
H A D | php_curl.h | 133 long fd; member
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd.h | 361 gdImagePtr gdImageCreateFromPng(FILE *fd); 371 gdImagePtr gdImageCreateFromWebp(FILE *fd); 402 gdImagePtr gdImageCreateFromXbm(FILE *fd); 617 gdImagePtr gdImageCreateFromGif(FILE *fd);
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | convert_cyr_string_basic.phpt | 126 217: fd
|
H A D | strtoupper1-win32.phpt | 316 fd => dd
|
/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/sapi/apache_hooks/ |
H A D | config.m4 | 5 AC_CACHE_CHECK([for member fd in BUFF *],ac_cv_php_fd_in_buff,[ 12 AC_TRY_COMPILE([#include <httpd.h>],[conn_rec *c; int fd = c->client->fd;],[
|
/PHP-5.5/ext/standard/ |
H A D | file.c | 815 int fd; in PHP_FUNCTION() local 832 if ((fd = php_open_temporary_fd_ex(dir, p, &opened_path, 1 TSRMLS_CC)) >= 0) { in PHP_FUNCTION() 833 close(fd); in PHP_FUNCTION() 1083 zval *fd; in PHP_FUNCTION() local 1092 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ls", &fd, &bytes, &allowed_tags, &allowed_… in PHP_FUNCTION() 1096 PHP_STREAM_TO_ZVAL(stream, &fd); in PHP_FUNCTION() 1963 zval *fd, **len_zv = NULL; in PHP_FUNCTION() local 1972 &fd, &len_zv, &delimiter_str, &delimiter_str_len, in PHP_FUNCTION() 2028 PHP_STREAM_TO_ZVAL(stream, &fd); in PHP_FUNCTION()
|
/PHP-5.5/ext/sockets/ |
H A D | conversions.c | 1447 int fd; in to_zval_read_fd_array() local 1452 fd = *((int *)data + i); in to_zval_read_fd_array() 1455 if (fstat(fd, &statbuf) == -1) { in to_zval_read_fd_array() 1457 "descriptor %d: fstat() call failed with errno %d", fd, errno); in to_zval_read_fd_array() 1462 php_socket *sock = socket_import_file_descriptor(fd TSRMLS_CC); in to_zval_read_fd_array() 1465 php_stream *stream = php_stream_fopen_from_fd(fd, "rw", NULL); in to_zval_read_fd_array()
|
/PHP-5.5/ |
H A D | server-tests.php | 574 $fd = fopen($url, "rb"); 576 if ($fd) { 577 while (!feof($fd)) 578 $out .= fread($fd, 8192); 579 fclose($fd);
|
/PHP-5.5/sapi/cli/ |
H A D | php_cli.c | 236 static inline int sapi_cli_select(int fd TSRMLS_DC) in sapi_cli_select() 245 PHP_SAFE_FD_SET(fd, &wfd); in sapi_cli_select() 250 ret = php_select(fd+1, &dfd, &wfd, &dfd, &tv); in sapi_cli_select()
|
/PHP-5.5/ext/bz2/tests/ |
H A D | 002.phpt | 2 bzopen() using fd opened in wrong mode
|