/PHP-5.4/main/ |
H A D | php_network.h | 114 php_socket_t fd; member 154 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for() 172 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() 196 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument 197 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument 198 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument 201 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument 202 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument 203 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument
|
H A D | php_open_temporary_file.c | 103 int fd = -1; in php_do_open_temporary_file() local 254 int fd; in php_open_temporary_fd_ex() local 292 int fd = php_open_temporary_fd(dir, pfx, opened_path_p TSRMLS_CC); in php_open_temporary_file() local
|
/PHP-5.4/ext/gd/libgd/ |
H A D | gd_gif_in.c | 116 gdIOCtx *fd = gdNewFileCtx(fdFile); in gdImageCreateFromGif() local 127 gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr fd) /* {{{ */ in gdImageCreateFromGifCtx() 279 static int ReadColorMap(gdIOCtx *fd, int number, unsigned char (*buffer)[256]) /* {{{ */ in ReadColorMap() 300 DoExtension(gdIOCtx *fd, int label, int *Transparent, int *ZeroDataBlockP) in DoExtension() 329 GetDataBlock_(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock_() 348 GetDataBlock(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock() 372 GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode_() 417 GetCode(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode() 428 LWZReadByte_(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte_() 542 LWZReadByte(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte() [all …]
|
/PHP-5.4/ext/fileinfo/libmagic/ |
H A D | compress.c | 102 file_zmagic(struct magic_set *ms, int fd, const char *name, in file_zmagic() 154 swrite(int fd, const void *buf, size_t n) in swrite() 179 sread(int fd, void *buf, size_t n, int canbepipe) in sread() 244 file_pipe2file(struct magic_set *ms, int fd, const void *startbuf, in file_pipe2file() 386 uncompressbuf(struct magic_set *ms, int fd, size_t method, in uncompressbuf()
|
H A D | magic.c | 288 close_and_restore(const struct magic_set *ms, const char *name, int fd, in close_and_restore() 322 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor()
|
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_stdio.c | 28 int fd = open("/dev/null", O_RDWR); in fpm_stdio_init_main() local 89 int fd = ev->fd; in fpm_stdio_child_said() local 265 int fd; local
|
H A D | fastcgi.c | 50 #define FCGI_LOCK(fd) \ argument 62 #define FCGI_UNLOCK(fd) \ argument 98 # define FCGI_LOCK(fd) \ argument 112 # define FCGI_UNLOCK(fd) \ argument 130 # define FCGI_LOCK(fd) argument 131 # define FCGI_UNLOCK(fd) argument
|
H A D | fpm_sockets.h | 31 static inline int fd_set_blocked(int fd, int blocked) /* {{{ */ in fd_set_blocked()
|
H A D | fpm_events.c | 60 int fd = ev->fd; in fpm_got_signal() local 471 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,… in fpm_event_set()
|
H A D | fpm_sockets.c | 78 char fd[32]; in fpm_sockets_cleanup() local 479 int fd; in fpm_socket_unix_test_connect() local
|
H A D | fpm_log.c | 38 int fd; in fpm_log_open() local
|
H A D | fpm_conf.c | 942 int fd; in fpm_conf_process_all_pools() local 1115 int fd; in fpm_conf_write_pid() local 1474 int fd, n; in fpm_conf_load_ini_file() local
|
/PHP-5.4/ext/standard/ |
H A D | flock_compat.c | 41 PHPAPI int flock(int fd, int operation) in flock() 47 PHPAPI int php_flock(int fd, int operation) in php_flock()
|
H A D | proc_open.c | 415 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle() 420 # define close_descriptor(fd) CloseHandle(fd) argument 422 # define close_descriptor(fd) close(fd) argument 546 int fd; in PHP_FUNCTION() local 619 int fd; in PHP_FUNCTION() local
|
/PHP-5.4/main/streams/ |
H A D | plain_wrapper.c | 46 #define php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (… argument 47 #define php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((f… argument 113 int fd; /* underlying file descriptor */ member 142 int fd; in do_fstat() local 154 static php_stream *_php_stream_fopen_from_fd_int(int fd, const char *mode, const char *persistent_i… in _php_stream_fopen_from_fd_int() 188 int fd = php_open_temporary_fd(dir, pfx, opened_path TSRMLS_CC); in _php_stream_fopen_temporary_file() local 207 int fd = php_open_temporary_fd(NULL, "php", &opened_path TSRMLS_CC); in _php_stream_fopen_tmpfile() local 230 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… in _php_stream_fopen_from_fd() 485 int fd; in php_stdiop_cast() local 557 int fd; in php_stdiop_set_option() local [all …]
|
H A D | php_stream_plain_wrapper.h | 40 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
|
/PHP-5.4/ext/zip/lib/ |
H A D | zip_fdopen.c | 43 int fd; in zip_fdopen() local
|
/PHP-5.4/win32/ |
H A D | flock.c | 55 PHPAPI int flock(int fd, int op) in flock()
|
H A D | select.c | 49 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
|
/PHP-5.4/sapi/litespeed/ |
H A D | lsapilib.c | 274 static int lsapi_close( int fd ) in lsapi_close() 457 static inline int isPipe( int fd ) in isPipe() 647 int fd = open( pSecretFile, O_RDONLY , 0600 ); in readSecret() local 1075 static inline int notify_req_received( int fd ) in notify_req_received() 1084 static inline int lsapi_notify_pid( int fd ) in lsapi_notify_pid() 1098 static inline int init_conn_key( int fd ) in init_conn_key() 2244 int fd; in LSAPI_CreateListenSock2() local 2390 int fd = -1; in LSAPI_CreateListenSock() local 2472 void LSAPI_Set_Server_fd( int fd ) in LSAPI_Set_Server_fd() 2481 int fd; in lsapi_accept() local [all …]
|
/PHP-5.4/sapi/cgi/ |
H A D | fastcgi.c | 48 #define FCGI_LOCK(fd) \ argument 60 #define FCGI_UNLOCK(fd) \ argument 97 # define FCGI_LOCK(fd) \ argument 111 # define FCGI_UNLOCK(fd) \ argument 129 # define FCGI_LOCK(fd) argument 130 # define FCGI_UNLOCK(fd) argument 346 int fd; member
|
/PHP-5.4/ext/ftp/ |
H A D | ftp.h | 49 php_socket_t fd; /* data connection */ member 60 php_socket_t fd; /* control connection */ member
|
/PHP-5.4/sapi/cli/ |
H A D | php_cli_server.c | 738 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, int fd) /* {{{ */ in php_cli_server_poller_add() 751 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, int fd) /* {{{ */ in php_cli_server_poller_remove() 779 …tive(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, int fd, int events)) /* {… in php_cli_server_poller_iter_on_active() 784 SOCKET fd; in php_cli_server_poller_iter_on_active() member 787 php_socket_t fd = 0; in php_cli_server_poller_iter_on_active() local 800 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active() local 824 php_socket_t fd; in php_cli_server_poller_iter_on_active() local 970 …li_server_content_sender_send(php_cli_server_content_sender *sender, php_socket_t fd, size_t *nbyt… in php_cli_server_content_sender_send() 1023 static int php_cli_server_content_sender_pull(php_cli_server_content_sender *sender, int fd, size_t… in php_cli_server_content_sender_pull() 1900 int fd; in php_cli_server_begin_send_static() local [all …]
|
/PHP-5.4/TSRM/ |
H A D | tsrm_nw.c | 229 NXHandle_t fd = 0; local
|
/PHP-5.4/ext/bz2/ |
H A D | bz2.c | 254 int fd; in _php_stream_bz2open() local 403 int fd; in PHP_FUNCTION() local
|