Home
last modified time | relevance | path

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

123

/PHP-5.5/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.5/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.5/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.5/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.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
506 int fd; in fpm_socket_unix_test_connect() local
H A Dfpm_log.c38 int fd; in fpm_log_open() local
/PHP-5.5/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.c427 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle()
432 # define close_descriptor(fd) CloseHandle(fd) argument
434 # define close_descriptor(fd) close(fd) argument
559 int fd; in PHP_FUNCTION() local
632 int fd; in PHP_FUNCTION() local
/PHP-5.5/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()
189 int fd = php_open_temporary_fd(dir, pfx, opened_path TSRMLS_CC); in _php_stream_fopen_temporary_file() local
208 int fd = php_open_temporary_fd(NULL, "php", &opened_path TSRMLS_CC); in _php_stream_fopen_tmpfile() local
231 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… in _php_stream_fopen_from_fd()
514 int fd; in php_stdiop_cast() local
586 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.5/ext/zip/lib/
H A Dzip_fdopen.c43 int fd; in zip_fdopen() local
/PHP-5.5/ext/mcrypt/
H A Dphp_mcrypt.h80 int fd[2]; // RANDOM = 0, URANDOM = 1 variable
/PHP-5.5/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.5/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.5/ext/ftp/
H A Dftp.h49 php_socket_t fd; /* data connection */ member
60 php_socket_t fd; /* control connection */ member
/PHP-5.5/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.5/TSRM/
H A Dtsrm_nw.c229 NXHandle_t fd = 0; local
/PHP-5.5/sapi/cli/
H A Dphp_cli_server.c869 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, int fd) /* {{{ */ in php_cli_server_poller_add()
882 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, int fd) /* {{{ */ in php_cli_server_poller_remove()
910 …tive(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, int fd, int events)) /* {… in php_cli_server_poller_iter_on_active()
915 SOCKET fd; in php_cli_server_poller_iter_on_active() member
918 php_socket_t fd = 0; in php_cli_server_poller_iter_on_active() local
931 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active() local
955 php_socket_t fd; in php_cli_server_poller_iter_on_active() local
1101 …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()
1154 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()
2038 int fd; in php_cli_server_begin_send_static() local
[all …]
/PHP-5.5/ext/bz2/
H A Dbz2.c258 int fd; in _php_stream_bz2open() local
407 int fd; in PHP_FUNCTION() local

Completed in 63 milliseconds

123