Home
last modified time | relevance | path

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

123

/PHP-7.2/ext/gd/libgd/
H A Dgd_gif_in.c117 gdIOCtx *fd = gdNewFileCtx(fdFile); in gdImageCreateFromGif() local
128 gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr fd) /* {{{ */ in gdImageCreateFromGifCtx()
283 static int ReadColorMap(gdIOCtx *fd, int number, unsigned char (*buffer)[256]) /* {{{ */ in ReadColorMap()
304 DoExtension(gdIOCtx *fd, int label, int *Transparent, int *ZeroDataBlockP) in DoExtension()
333 GetDataBlock_(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock_()
352 GetDataBlock(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock()
376 GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode_()
421 GetCode(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode()
432 LWZReadByte_(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte_()
546 LWZReadByte(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte()
[all …]
/PHP-7.2/main/
H A Dphp_network.h134 php_socket_t fd; member
174 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for()
192 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms()
216 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
217 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
218 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
221 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
222 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
223 # 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
289 int fd; in php_open_temporary_fd_ex() local
330 int fd = php_open_temporary_fd(dir, pfx, opened_path_p); in php_open_temporary_file() local
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
215 int fd; member
/PHP-7.2/ext/fileinfo/libmagic/
H A Dcompress.c145 file_zmagic(struct magic_set *ms, int fd, const char *name, in file_zmagic()
247 swrite(int fd, const void *buf, size_t n) in swrite()
272 sread(int fd, void *buf, size_t n, int canbepipe) in sread()
337 file_pipe2file(struct magic_set *ms, int fd, const void *startbuf, in file_pipe2file()
512 closefd(int *fd, size_t i) in closefd()
521 closep(int *fd) in closep()
529 copydesc(int i, int *fd) in copydesc()
616 uncompressbuf(int fd, size_t bytes_max, size_t method, const unsigned char *old, in uncompressbuf()
H A Dmagic.c154 close_and_restore(const struct magic_set *ms, const char *name, int fd, in close_and_restore()
188 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor()
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_stdio.c27 int fd = open("/dev/null", O_RDWR); in fpm_stdio_init_main() local
112 int fd = ev->fd; local
288 int fd; local
H A Dfpm_sockets.h33 static inline int fd_set_blocked(int fd, int blocked) /* {{{ */ in fd_set_blocked()
H A Dfpm_events.c59 int fd = ev->fd; in fpm_got_signal() local
470 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.c58 char fd[32]; in fpm_sockets_cleanup() local
564 int fd; in fpm_socket_unix_test_connect() local
/PHP-7.2/ext/standard/
H A Dflock_compat.c37 PHPAPI int flock(int fd, int operation) in flock()
43 PHPAPI int php_flock(int fd, int operation) in php_flock()
H A Dproc_open.c383 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle()
388 # define close_descriptor(fd) CloseHandle(fd) argument
390 # define close_descriptor(fd) close(fd) argument
521 php_socket_t fd; in PHP_FUNCTION() local
594 php_socket_t fd; in PHP_FUNCTION() local
H A Dphp_random.h31 int fd; member
/PHP-7.2/main/streams/
H A Dplain_wrapper.c49 #define php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (… argument
50 #define php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((f… argument
128 int fd; /* underlying file descriptor */ member
158 int fd; in do_fstat() local
170 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()
211 int fd; in _php_stream_fopen_temporary_file() local
246 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… in _php_stream_fopen_from_fd()
544 php_socket_t fd; in php_stdiop_cast() local
617 int fd; in php_stdiop_set_option() local
976 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-7.2/sapi/phpdbg/
H A Dphpdbg_out.c951 static int phpdbg_process_print(int fd, int type, const char *tag, const char *msg, int msglen, con… in phpdbg_process_print()
1097 PHPDBG_API int phpdbg_vprint(int type, int fd, const char *tag, const char *xmlfmt, const char *str… in phpdbg_vprint()
1187 PHPDBG_API int phpdbg_print(int type, int fd, const char *tag, const char *xmlfmt, const char *strf… in phpdbg_print()
1202 PHPDBG_API int phpdbg_xml_internal(int fd, const char *fmt, ...) { in phpdbg_xml_internal()
1232 PHPDBG_API int phpdbg_log_internal(int fd, const char *fmt, ...) { in phpdbg_log_internal()
1248 PHPDBG_API int phpdbg_out_internal(int fd, const char *fmt, ...) { in phpdbg_out_internal()
1288 PHPDBG_API int phpdbg_rlog_internal(int fd, const char *fmt, ...) { /* {{{ */ in phpdbg_rlog_internal()
H A Dphpdbg_sigio_win32.h29 int fd; member
/PHP-7.2/sapi/litespeed/
H A Dlsapilib.c408 static int lsapi_close( int fd ) in lsapi_close()
616 static inline int isPipe( int fd ) in isPipe()
845 int fd = open( pSecretFile, O_RDONLY , 0600 ); in readSecret() local
1328 static inline int notify_req_received( int fd ) in notify_req_received()
1337 static inline int lsapi_notify_pid( int fd ) in lsapi_notify_pid()
1352 static inline int init_conn_key( int fd ) in init_conn_key()
2565 int fd; in LSAPI_CreateListenSock2() local
2712 int fd = -1; in LSAPI_CreateListenSock() local
2782 void LSAPI_Set_Server_fd( int fd ) in LSAPI_Set_Server_fd()
2791 int fd; in lsapi_accept() local
[all …]
/PHP-7.2/ext/zip/lib/
H A Dzip_fdopen.c44 int fd; in zip_fdopen() local
/PHP-7.2/ext/ftp/
H A Dftp.h50 php_socket_t fd; /* data connection */ member
61 php_socket_t fd; /* control connection */ member
/PHP-7.2/win32/
H A Dioutil.c193 int fd; in php_win32_ioutil_open_w() local
263 PW32IO int php_win32_ioutil_close(int fd) in php_win32_ioutil_close()
H A Dselect.c54 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
/PHP-7.2/ext/posix/
H A Dposix.c766 static int php_posix_stream_get_fd(zval *zfp, int *fd) /* {{{ */ in php_posix_stream_get_fd()
795 int fd; in PHP_FUNCTION() local
843 int fd; in PHP_FUNCTION() local
/PHP-7.2/sapi/cli/
H A Dphp_cli_server.c755 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, php_socket_t fd) /* … in php_cli_server_poller_add()
768 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, php_socket_t fd) … in php_cli_server_poller_remove()
796 …(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, php_socket_t fd, int events))… in php_cli_server_poller_iter_on_active()
801 SOCKET fd; in php_cli_server_poller_iter_on_active() member
816 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active() local
840 php_socket_t fd; in php_cli_server_poller_iter_on_active() local
977 …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()
1050 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()
1996 int fd; in php_cli_server_begin_send_static() local
2422 static int php_cli_server_do_event_for_each_fd_callback(void *_params, php_socket_t fd, int event) … in php_cli_server_do_event_for_each_fd_callback()
/PHP-7.2/ext/opcache/
H A Dzend_file_cache.c58 static int zend_file_cache_flock(int fd, int op) in zend_file_cache_flock()
85 static int zend_file_cache_flock(int fd, int type) in zend_file_cache_flock()
815 int fd; local
1367 int fd; local

Completed in 74 milliseconds

123