/PHP-8.2/main/ |
H A D | php_network.h | 100 typedef SOCKET php_socket_t; typedef 102 typedef int php_socket_t; 135 php_socket_t fd; 193 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() 214 static inline bool _php_check_fd_setsize(php_socket_t *max_fd, int setsize) in _php_check_fd_setsize() 273 PHPAPI int php_network_connect_socket(php_socket_t sockfd, 288 PHPAPI php_socket_t php_network_accept_incoming(php_socket_t srvsock, 298 PHPAPI int php_network_get_sock_name(php_socket_t sock, 304 PHPAPI int php_network_get_peer_name(php_socket_t sock, 315 php_socket_t socket; [all …]
|
H A D | network.c | 307 PHPAPI int php_network_connect_socket(php_socket_t sockfd, 415 php_socket_t php_network_bind_socket_to_local_addr(const char *host, unsigned port, 420 php_socket_t sock; 677 PHPAPI int php_network_get_peer_name(php_socket_t sock, 697 PHPAPI int php_network_get_sock_name(php_socket_t sock, 728 PHPAPI php_socket_t php_network_accept_incoming(php_socket_t srvsock, 738 php_socket_t clisock = -1; 788 php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port, 794 php_socket_t sock; 1127 PHPAPI int php_set_sock_blocking(php_socket_t socketd, int block) [all …]
|
/PHP-8.2/win32/ |
H A D | select.h | 22 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval…
|
H A D | select.c | 31 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval… in php_select() 44 if (max_fd > (php_socket_t)INT_MAX) { in php_select()
|
/PHP-8.2/ext/ftp/ |
H A D | ftp.h | 46 php_socket_t fd; /* data connection */ 57 php_socket_t fd; /* control connection */
|
H A D | ftp.c | 78 static int my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len); 79 static int my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len); 105 static void ftp_ssl_shutdown(ftpbuf_t *ftp, php_socket_t fd, SSL *ssl_handle); 1390 int single_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t size) { in single_send() 1395 php_socket_t fd; in single_send() 1450 my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_send() 1487 my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_recv() 1494 php_socket_t fd; in my_recv() 1566 data_available(ftpbuf_t *ftp, php_socket_t s) in data_available() 1589 data_writeable(ftpbuf_t *ftp, php_socket_t s) in data_writeable() [all …]
|
/PHP-8.2/ext/standard/ |
H A D | file.h | 40 PHPAPI int php_set_sock_blocking(php_socket_t socketd, int block);
|
H A D | streamsfuncs.c | 55 php_socket_t pair[2]; in PHP_FUNCTION() 627 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd) in stream_array_to_fd_set() 641 php_socket_t this_fd; in stream_array_to_fd_set() 681 php_socket_t this_fd; in stream_array_from_fd_set() 771 php_socket_t max_fd = 0; in PHP_FUNCTION() 1644 php_socket_t fileno; in PHP_FUNCTION()
|
H A D | proc_open.c | 826 php_socket_t sock[2]; in set_proc_descriptor_to_socket() 847 php_socket_t fd; in set_proc_descriptor_to_file() 1003 php_socket_t fd; in set_proc_descriptor_from_resource() 1354 stream = php_stream_sock_open_from_socket((php_socket_t) descriptors[i].parentend, NULL); in PHP_FUNCTION()
|
/PHP-8.2/sapi/cli/ |
H A D | php_cli_server.c | 118 php_socket_t max_fd; 165 php_socket_t sock; 182 php_socket_t server_sock; 833 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, php_socket_t fd) /* … in php_cli_server_poller_add() 846 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, php_socket_t fd) … in php_cli_server_poller_remove() 919 php_socket_t fd; in php_cli_server_poller_iter_on_active() 920 const php_socket_t max_fd = poller->max_fd; in php_cli_server_poller_iter_on_active() 1277 php_socket_t retval = SOCK_ERR; in php_network_listen_socket() 2533 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor() 2680 static zend_result php_cli_server_do_event_for_each_fd_callback(void *_params, php_socket_t fd, int… in php_cli_server_do_event_for_each_fd_callback() [all …]
|
H A D | php_cli.c | 237 static inline bool sapi_cli_select(php_socket_t fd) in sapi_cli_select()
|
/PHP-8.2/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 131 php_socket_t fd; in php_stream_gzopen()
|
/PHP-8.2/ext/bz2/ |
H A D | bz2.c | 225 php_socket_t fd; in _php_stream_bz2open() 365 php_socket_t fd; in PHP_FUNCTION()
|
/PHP-8.2/main/streams/ |
H A D | plain_wrapper.c | 601 php_socket_t fd; in php_stdiop_cast() 635 *(php_socket_t *)ret = fd; in php_stdiop_cast() 649 *(php_socket_t *)ret = fd; in php_stdiop_cast()
|
H A D | xp_socket.c | 492 *(php_socket_t *)ret = sock->socket; in php_sockop_cast()
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2138 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd) 2140 php_socket_t this_fd; 2177 php_socket_t this_fd; 2223 php_socket_t max_fd = 0;
|
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | funcs.c | 334 php_socket_t _fd = fd; in file_buffer()
|
/PHP-8.2/ext/openssl/ |
H A D | xp_ssl.c | 2685 *(php_socket_t *)ret = sslsock->s.socket; in php_openssl_sockop_cast() 2695 *(php_socket_t *)ret = sslsock->s.socket; in php_openssl_sockop_cast()
|
/PHP-8.2/ext/pgsql/ |
H A D | pgsql.c | 4060 *(php_socket_t *)ret = fd_number; in php_pgsql_fd_cast()
|
/PHP-8.2/ext/fileinfo/ |
H A D | libmagic.patch | 2198 + php_socket_t _fd = fd;
|