Home
last modified time | relevance | path

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

123

/PHP-5.6/main/
H A Dphp_network.h116 php_socket_t fd; member
156 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for()
174 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms()
198 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
199 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
200 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
203 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
204 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
205 # 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
277 int fd; in php_open_temporary_fd_ex() local
315 int fd = php_open_temporary_fd(dir, pfx, opened_path_p TSRMLS_CC); in php_open_temporary_file() local
/PHP-5.6/ext/gd/libgd/
H A Dgd_gif_in.c116 gdIOCtx *fd = gdNewFileCtx(fdFile); in gdImageCreateFromGif() local
127 gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr fd) /* {{{ */ in gdImageCreateFromGifCtx()
282 static int ReadColorMap(gdIOCtx *fd, int number, unsigned char (*buffer)[256]) /* {{{ */ in ReadColorMap()
303 DoExtension(gdIOCtx *fd, int label, int *Transparent, int *ZeroDataBlockP) in DoExtension()
332 GetDataBlock_(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock_()
351 GetDataBlock(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock()
375 GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode_()
420 GetCode(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode()
431 LWZReadByte_(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte_()
545 LWZReadByte(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte()
[all …]
/PHP-5.6/ext/fileinfo/libmagic/
H A Dcompress.c103 file_zmagic(struct magic_set *ms, int fd, const char *name, in file_zmagic()
153 swrite(int fd, const void *buf, size_t n) in swrite()
178 sread(int fd, void *buf, size_t n, int canbepipe) in sread()
243 file_pipe2file(struct magic_set *ms, int fd, const void *startbuf, in file_pipe2file()
385 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.6/sapi/fpm/fpm/
H A Dfpm_stdio.c28 int fd = open("/dev/null", O_RDWR); in fpm_stdio_init_main() local
113 int fd = ev->fd; local
289 int fd; local
H A Dfastcgi.c48 #define FCGI_LOCK(fd) \ argument
60 #define FCGI_UNLOCK(fd) \ argument
96 # define FCGI_LOCK(fd) \ argument
110 # define FCGI_UNLOCK(fd) \ argument
128 # define FCGI_LOCK(fd) argument
129 # 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.c55 char fd[32]; in fpm_sockets_cleanup() local
504 int fd; in fpm_socket_unix_test_connect() local
H A Dfpm_log.c38 int fd; in fpm_log_open() local
/PHP-5.6/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.c428 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle()
433 # define close_descriptor(fd) CloseHandle(fd) argument
435 # define close_descriptor(fd) close(fd) argument
560 php_socket_t fd; in PHP_FUNCTION() local
633 php_socket_t fd; in PHP_FUNCTION() local
/PHP-5.6/main/streams/
H A Dplain_wrapper.c47 #define php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (… argument
48 #define php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((f… argument
114 int fd; /* underlying file descriptor */ member
143 int fd; in do_fstat() local
155 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()
190 int fd; in _php_stream_fopen_temporary_file() local
225 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… in _php_stream_fopen_from_fd()
508 php_socket_t fd; in php_stdiop_cast() local
580 int fd; in php_stdiop_set_option() local
934 int fd; in _php_stream_fopen() local
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.6/ext/mcrypt/
H A Dphp_mcrypt.h80 int fd[2]; // RANDOM = 0, URANDOM = 1 variable
/PHP-5.6/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.6/ext/zip/lib/
H A Dzip_fdopen.c43 int fd; in zip_fdopen() local
/PHP-5.6/sapi/litespeed/
H A Dlsapilib.c274 static int lsapi_close( int fd ) in lsapi_close()
457 static inline int isPipe( int fd ) in isPipe()
681 int fd = open( pSecretFile, O_RDONLY , 0600 ); in readSecret() local
1127 static inline int notify_req_received( int fd ) in notify_req_received()
1136 static inline int lsapi_notify_pid( int fd ) in lsapi_notify_pid()
1150 static inline int init_conn_key( int fd ) in init_conn_key()
2299 int fd; in LSAPI_CreateListenSock2() local
2445 int fd = -1; in LSAPI_CreateListenSock() local
2527 void LSAPI_Set_Server_fd( int fd ) in LSAPI_Set_Server_fd()
2536 int fd; in lsapi_accept() local
[all …]
/PHP-5.6/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.6/ext/ftp/
H A Dftp.h50 php_socket_t fd; /* data connection */ member
61 php_socket_t fd; /* control connection */ member
/PHP-5.6/TSRM/
H A Dtsrm_nw.c229 NXHandle_t fd = 0; local
/PHP-5.6/sapi/cli/
H A Dphp_cli_server.c873 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, int fd) /* {{{ */ in php_cli_server_poller_add()
886 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, int fd) /* {{{ */ in php_cli_server_poller_remove()
914 …tive(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, int fd, int events)) /* {… in php_cli_server_poller_iter_on_active()
919 SOCKET fd; in php_cli_server_poller_iter_on_active() member
922 php_socket_t fd = 0; in php_cli_server_poller_iter_on_active() local
935 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active() local
959 php_socket_t fd; in php_cli_server_poller_iter_on_active() local
1105 …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()
1158 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()
2053 int fd; in php_cli_server_begin_send_static() local
[all …]
/PHP-5.6/ext/bz2/
H A Dbz2.c259 php_socket_t fd; in _php_stream_bz2open() local
408 php_socket_t fd; in PHP_FUNCTION() local

Completed in 62 milliseconds

123