Home
last modified time | relevance | path

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

123

/PHP-7.3/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.3/main/
H A Dphp_network.h132 php_socket_t fd; member
172 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for()
190 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms()
214 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
215 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
216 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
219 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
220 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
221 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument
H A Dphp_open_temporary_file.c101 int fd = -1; in php_do_open_temporary_file() local
290 int fd; in php_open_temporary_fd_ex() local
331 int fd = php_open_temporary_fd(dir, pfx, opened_path_p); in php_open_temporary_file() local
H A Dfastcgi.c46 #define FCGI_LOCK(fd) \ argument
58 #define FCGI_UNLOCK(fd) \ argument
95 # define FCGI_LOCK(fd) \ argument
109 # define FCGI_UNLOCK(fd) \ argument
127 # define FCGI_LOCK(fd) argument
128 # define FCGI_UNLOCK(fd) argument
213 int fd; member
/PHP-7.3/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 Dbuffer.c44 buffer_init(struct buffer *b, int fd, const void *data, size_t len) in buffer_init()
H A Dmagic.c161 close_and_restore(const struct magic_set *ms, const char *name, int fd, in close_and_restore()
198 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor()
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_stdio.c27 int fd = open("/dev/null", O_RDWR); in fpm_stdio_init_main() local
118 int fd = ev->fd; local
316 int fd; local
H A Dfpm_sockets.h32 static inline int fd_set_blocked(int fd, int blocked) /* {{{ */ in fd_set_blocked()
H A Dfpm_events.c66 int fd = ev->fd; in fpm_got_signal() local
482 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,… in fpm_event_set()
/PHP-7.3/ext/standard/
H A Dflock_compat.c35 PHPAPI int flock(int fd, int operation) in flock()
41 PHPAPI int php_flock(int fd, int operation) in php_flock()
H A Dproc_open.c382 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle()
387 # define close_descriptor(fd) CloseHandle(fd) argument
389 # define close_descriptor(fd) close(fd) argument
520 php_socket_t fd; in PHP_FUNCTION() local
593 php_socket_t fd; in PHP_FUNCTION() local
H A Dphp_random.h31 int fd; member
/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c73 int fd; member
104 int fd; in create_tempfile() local
171 int fd; in alloc_chunk() local
205 int fd = header->fd; in free_chunk() local
/PHP-7.3/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
126 int fd; /* underlying file descriptor */ member
156 int fd; in do_fstat() local
168 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()
209 int fd; in _php_stream_fopen_temporary_file() local
244 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… in _php_stream_fopen_from_fd()
542 php_socket_t fd; in php_stdiop_cast() local
615 int fd; in php_stdiop_set_option() local
1018 int fd; in _php_stream_fopen() local
H A Dphp_stream_plain_wrapper.h38 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
/PHP-7.3/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.3/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
2713 int fd = -1; in LSAPI_CreateListenSock() local
2786 void LSAPI_Set_Server_fd( int fd ) in LSAPI_Set_Server_fd()
2795 int fd; in lsapi_accept() local
[all …]
/PHP-7.3/ext/zip/lib/
H A Dzip_fdopen.c44 int fd; in zip_fdopen() local
/PHP-7.3/win32/
H A Dioutil.c191 int fd; in php_win32_ioutil_open_w() local
261 PW32IO int php_win32_ioutil_close(int fd) in php_win32_ioutil_close()
699 int err = 0, fd, flags, i = 0; in php_win32_ioutil_fopen_w() local
H A Dselect.c50 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
/PHP-7.3/ext/ftp/
H A Dftp.h48 php_socket_t fd; /* data connection */ member
59 php_socket_t fd; /* control connection */ member
/PHP-7.3/ext/posix/
H A Dposix.c764 static int php_posix_stream_get_fd(zval *zfp, int *fd) /* {{{ */ in php_posix_stream_get_fd()
793 int fd; in PHP_FUNCTION() local
840 int fd; in PHP_FUNCTION() local
/PHP-7.3/sapi/cli/
H A Dphp_cli_server.c763 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, php_socket_t fd) /* … in php_cli_server_poller_add()
776 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, php_socket_t fd) … in php_cli_server_poller_remove()
804 …(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, php_socket_t fd, int events))… in php_cli_server_poller_iter_on_active()
809 SOCKET fd; in php_cli_server_poller_iter_on_active() member
824 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active() local
848 php_socket_t fd; in php_cli_server_poller_iter_on_active() local
985 …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()
1058 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()
2007 int fd; in php_cli_server_begin_send_static() local
2435 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()

Completed in 70 milliseconds

123