Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/opcache/jit/
H A Dzend_elf.c33 static void* zend_elf_read_sect(int fd, zend_elf_sectheader *sect) in zend_elf_read_sect()
55 int fd = open("/proc/self/exe", O_RDONLY); in zend_elf_load_symbols() local
57 int fd = open("/proc/curproc/exe", O_RDONLY); in zend_elf_load_symbols() local
65 int fd = open(path, O_RDONLY); in zend_elf_load_symbols() local
67 int fd = open("/proc/self/path/a.out", O_RDONLY); in zend_elf_load_symbols() local
75 int fd = open(path, O_RDONLY); in zend_elf_load_symbols() local
79 int fd = -1; in zend_elf_load_symbols() local
/PHP-8.0/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-8.0/main/
H A Dphp_network.h128 php_socket_t fd; member
168 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for()
186 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms()
229 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
230 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
231 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
234 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
235 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
236 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument
H A Dphp_open_temporary_file.c99 int fd = -1; in php_do_open_temporary_file() local
288 int fd; in php_open_temporary_fd_ex() local
335 int fd = php_open_temporary_fd(dir, pfx, opened_path_p); in php_open_temporary_file() local
H A Dfastcgi.c44 #define FCGI_LOCK(fd) \ argument
56 #define FCGI_UNLOCK(fd) \ argument
93 # define FCGI_LOCK(fd) \ argument
107 # define FCGI_UNLOCK(fd) \ argument
125 # define FCGI_LOCK(fd) argument
126 # define FCGI_UNLOCK(fd) argument
211 int fd; member
/PHP-8.0/ext/fileinfo/libmagic/
H A Dcompress.c256 int fd = b->fd; in file_zmagic() local
358 swrite(int fd, const void *buf, size_t n) in swrite()
383 sread(int fd, void *buf, size_t n, int canbepipe) in sread()
448 file_pipe2file(struct magic_set *ms, int fd, const void *startbuf, in file_pipe2file()
708 closefd(int *fd, size_t i) in closefd()
717 closep(int *fd) in closep()
725 copydesc(int i, int fd) in copydesc()
737 writechild(int fd, const void *old, size_t n) in writechild()
814 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 zend_stat_t *st, const void *data, in buffer_init()
H A Dis_csv.c178 int fd, rv; in main() local
/PHP-8.0/ext/standard/
H A Dflock_compat.c22 PHPAPI int flock(int fd, int operation) in flock()
28 PHPAPI int php_flock(int fd, int operation) in php_flock()
H A Dproc_open.c74 int fd, sd; in openpty() local
443 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle()
448 # define close_descriptor(fd) CloseHandle(fd) argument
450 # define close_descriptor(fd) close(fd) argument
707 static php_file_descriptor_t make_descriptor_cloexec(php_file_descriptor_t fd) in make_descriptor_cloexec()
779 php_socket_t fd; in set_proc_descriptor_to_file() local
934 php_socket_t fd; in set_proc_descriptor_from_resource() local
H A Dphp_random.h26 int fd; member
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_stdio.c28 int fd = open("/dev/null", O_RDWR); in fpm_stdio_init_main() local
171 int fd = ev->fd; local
369 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
491 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,… in fpm_event_set()
/PHP-8.0/main/streams/
H A Dplain_wrapper.c45 #define php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (… argument
46 #define php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((f… argument
124 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()
211 int fd; in _php_stream_fopen_temporary_file() local
269 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… in _php_stream_fopen_from_fd()
571 php_socket_t fd; in php_stdiop_cast() local
644 int fd; in php_stdiop_set_option() local
1055 int fd; in _php_stream_fopen() local
H A Dphp_stream_plain_wrapper.h36 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_out.c929 static int phpdbg_process_print(int fd, int type, const char *tag, const char *msg, int msglen, con… in phpdbg_process_print()
1075 PHPDBG_API int phpdbg_vprint(int type, int fd, const char *tag, const char *xmlfmt, const char *str… in phpdbg_vprint()
1165 PHPDBG_API int phpdbg_print(int type, int fd, const char *tag, const char *xmlfmt, const char *strf… in phpdbg_print()
1180 PHPDBG_API int phpdbg_xml_internal(int fd, const char *fmt, ...) { in phpdbg_xml_internal()
1210 PHPDBG_API int phpdbg_log_internal(int fd, const char *fmt, ...) { in phpdbg_log_internal()
1226 PHPDBG_API int phpdbg_out_internal(int fd, const char *fmt, ...) { in phpdbg_out_internal()
1266 PHPDBG_API int phpdbg_rlog_internal(int fd, const char *fmt, ...) { /* {{{ */ in phpdbg_rlog_internal()
H A Dphpdbg_sigio_win32.h27 int fd; member
/PHP-8.0/sapi/litespeed/
H A Dlsapilib.c414 static int lsapi_close( int fd ) in lsapi_close()
623 static inline int isPipe( int fd ) in isPipe()
852 int fd = open( pSecretFile, O_RDONLY , 0600 ); in readSecret() local
1336 static inline int notify_req_received( int fd ) in notify_req_received()
1345 static inline int lsapi_notify_pid( int fd ) in lsapi_notify_pid()
1360 static inline int init_conn_key( int fd ) in init_conn_key()
2573 int fd; in LSAPI_CreateListenSock2() local
2721 int fd = -1; in LSAPI_CreateListenSock() local
2794 void LSAPI_Set_Server_fd( int fd ) in LSAPI_Set_Server_fd()
2803 int fd; in lsapi_accept() local
[all …]
/PHP-8.0/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
1022 PW32IO int php_win32_ioutil_fstat(int fd, php_win32_ioutil_stat_t *buf) in php_win32_ioutil_fstat()
H A Dselect.c48 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
/PHP-8.0/ext/ftp/
H A Dftp.h46 php_socket_t fd; /* data connection */ member
57 php_socket_t fd; /* control connection */ member
/PHP-8.0/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c115 int fd; in create_tempfile() local
190 int fd; in alloc_chunk() local
/PHP-8.0/ext/posix/
H A Dposix.c487 static int php_posix_stream_get_fd(zval *zfp, int *fd) /* {{{ */ in php_posix_stream_get_fd()
514 int fd; in PHP_FUNCTION() local
560 int fd; in PHP_FUNCTION() local
/PHP-8.0/sapi/cli/
H A Dphp_cli_server.c779 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, php_socket_t fd) /* … in php_cli_server_poller_add()
792 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, php_socket_t fd) … in php_cli_server_poller_remove()
820 …(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, php_socket_t fd, int events))… in php_cli_server_poller_iter_on_active()
825 SOCKET fd; in php_cli_server_poller_iter_on_active() member
840 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active() local
864 php_socket_t fd; in php_cli_server_poller_iter_on_active() local
1001 …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()
1074 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
2581 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 105 milliseconds

123