Home
last modified time | relevance | path

Searched refs:php_socket_t (Results 1 – 20 of 20) sorted by relevance

/PHP-8.2/main/
H A Dphp_network.h100 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 Dnetwork.c307 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 Dselect.h22 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval…
H A Dselect.c31 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 Dftp.h46 php_socket_t fd; /* data connection */
57 php_socket_t fd; /* control connection */
H A Dftp.c78 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 Dfile.h40 PHPAPI int php_set_sock_blocking(php_socket_t socketd, int block);
H A Dstreamsfuncs.c55 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 Dproc_open.c826 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 Dphp_cli_server.c118 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 Dphp_cli.c237 static inline bool sapi_cli_select(php_socket_t fd) in sapi_cli_select()
/PHP-8.2/ext/zlib/
H A Dzlib_fopen_wrapper.c131 php_socket_t fd; in php_stream_gzopen()
/PHP-8.2/ext/bz2/
H A Dbz2.c225 php_socket_t fd; in _php_stream_bz2open()
365 php_socket_t fd; in PHP_FUNCTION()
/PHP-8.2/main/streams/
H A Dplain_wrapper.c601 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 Dxp_socket.c492 *(php_socket_t *)ret = sock->socket; in php_sockop_cast()
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_connection.c2138 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 Dfuncs.c334 php_socket_t _fd = fd; in file_buffer()
/PHP-8.2/ext/openssl/
H A Dxp_ssl.c2685 *(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 Dpgsql.c4060 *(php_socket_t *)ret = fd_number; in php_pgsql_fd_cast()
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch2198 + php_socket_t _fd = fd;

Completed in 142 milliseconds