Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 57) sorted by relevance

123

/PHP-5.4/main/
H A Dphp_network.h114 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 Dphp_open_temporary_file.c103 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 Dgd_gif_in.c116 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 Dcompress.c102 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 Dmagic.c288 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 Dfpm_stdio.c28 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 Dfastcgi.c50 #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 Dfpm_sockets.h31 static inline int fd_set_blocked(int fd, int blocked) /* {{{ */ in fd_set_blocked()
H A Dfpm_events.c60 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 Dfpm_sockets.c78 char fd[32]; in fpm_sockets_cleanup() local
479 int fd; in fpm_socket_unix_test_connect() local
H A Dfpm_log.c38 int fd; in fpm_log_open() local
H A Dfpm_conf.c942 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 Dflock_compat.c41 PHPAPI int flock(int fd, int operation) in flock()
47 PHPAPI int php_flock(int fd, int operation) in php_flock()
H A Dproc_open.c415 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 Dplain_wrapper.c46 #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 Dphp_stream_plain_wrapper.h40 #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 Dzip_fdopen.c43 int fd; in zip_fdopen() local
/PHP-5.4/win32/
H A Dflock.c55 PHPAPI int flock(int fd, int op) in flock()
H A Dselect.c49 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
/PHP-5.4/sapi/litespeed/
H A Dlsapilib.c274 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 Dfastcgi.c48 #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 Dftp.h49 php_socket_t fd; /* data connection */ member
60 php_socket_t fd; /* control connection */ member
/PHP-5.4/sapi/cli/
H A Dphp_cli_server.c738 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 Dtsrm_nw.c229 NXHandle_t fd = 0; local
/PHP-5.4/ext/bz2/
H A Dbz2.c254 int fd; in _php_stream_bz2open() local
403 int fd; in PHP_FUNCTION() local

Completed in 72 milliseconds

123