Home
last modified time | relevance | path

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

/PHP-7.1/main/
H A Dphp_network.h99 typedef SOCKET php_socket_t; typedef
101 typedef int php_socket_t;
134 php_socket_t fd;
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()
253 PHPAPI int php_network_connect_socket(php_socket_t sockfd,
268 PHPAPI php_socket_t php_network_accept_incoming(php_socket_t srvsock,
278 PHPAPI int php_network_get_sock_name(php_socket_t sock,
284 PHPAPI int php_network_get_peer_name(php_socket_t sock,
295 php_socket_t socket;
[all …]
H A Dnetwork.c309 PHPAPI int php_network_connect_socket(php_socket_t sockfd,
424 php_socket_t php_network_bind_socket_to_local_addr(const char *host, unsigned port,
429 php_socket_t sock;
679 PHPAPI int php_network_get_peer_name(php_socket_t sock,
699 PHPAPI int php_network_get_sock_name(php_socket_t sock,
730 PHPAPI php_socket_t php_network_accept_incoming(php_socket_t srvsock,
740 php_socket_t clisock = -1;
790 php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port,
796 php_socket_t sock;
1160 PHPAPI int php_set_sock_blocking(php_socket_t socketd, int block)
[all …]
/PHP-7.1/ext/ftp/
H A Dftp.h50 php_socket_t fd; /* data connection */
61 php_socket_t fd; /* control connection */
H A Dftp.c90 static int my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
91 static int my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
117 static void ftp_ssl_shutdown(ftpbuf_t *ftp, php_socket_t fd, SSL *ssl_handle);
1270 my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_send()
1278 php_socket_t fd; in my_send()
1364 my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_recv()
1371 php_socket_t fd; in my_recv()
1445 data_available(ftpbuf_t *ftp, php_socket_t s) in data_available()
1469 data_writeable(ftpbuf_t *ftp, php_socket_t s) in data_writeable()
1494 my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen) in my_accept()
[all …]
/PHP-7.1/sapi/cli/
H A Dphp_cli_server.c117 php_socket_t max_fd;
165 php_socket_t sock;
186 php_socket_t server_sock;
756 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, php_socket_t fd) /* … in php_cli_server_poller_add()
769 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, php_socket_t fd) … in php_cli_server_poller_remove()
841 php_socket_t fd; in php_cli_server_poller_iter_on_active()
842 const php_socket_t max_fd = poller->max_fd; in php_cli_server_poller_iter_on_active()
1200 php_socket_t retval = SOCK_ERR; in php_network_listen_socket()
2279 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor()
2454 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()
[all …]
/PHP-7.1/ext/standard/
H A Dfile.h78 PHPAPI int php_set_sock_blocking(php_socket_t socketd, int block);
H A Dstreamsfuncs.c56 php_socket_t pair[2]; in PHP_FUNCTION()
587 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd) in stream_array_to_fd_set()
601 php_socket_t this_fd; in stream_array_to_fd_set()
641 php_socket_t this_fd; in stream_array_from_fd_set()
730 php_socket_t max_fd = 0; in PHP_FUNCTION()
H A Dproc_open.c530 php_socket_t fd; in PHP_FUNCTION()
603 php_socket_t fd; in PHP_FUNCTION()
/PHP-7.1/ext/zlib/
H A Dzlib_fopen_wrapper.c136 php_socket_t fd; in php_stream_gzopen()
/PHP-7.1/ext/bz2/
H A Dbz2.c288 php_socket_t fd; in _php_stream_bz2open()
428 php_socket_t fd; in PHP_FUNCTION()
/PHP-7.1/main/streams/
H A Dplain_wrapper.c544 php_socket_t fd; in php_stdiop_cast()
578 *(php_socket_t *)ret = fd; in php_stdiop_cast()
592 *(php_socket_t *)ret = fd; in php_stdiop_cast()
H A Dxp_socket.c473 *(php_socket_t *)ret = sock->socket; in php_sockop_cast()
/PHP-7.1/ext/fileinfo/libmagic/
H A Dfuncs.c223 php_socket_t fd; in file_buffer()
/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_connection.c2536 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd)
2538 php_socket_t this_fd;
2575 php_socket_t this_fd;
2621 php_socket_t max_fd = 0;
/PHP-7.1/ext/openssl/
H A Dxp_ssl.c2457 *(php_socket_t *)ret = sslsock->s.socket; in php_openssl_sockop_cast()
2467 *(php_socket_t *)ret = sslsock->s.socket; in php_openssl_sockop_cast()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch2164 + php_socket_t fd;
/PHP-7.1/ext/pgsql/
H A Dpgsql.c5433 *(php_socket_t *)ret = fd_number;

Completed in 113 milliseconds