Home
last modified time | relevance | path

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

/php-src/main/
H A Dphp_network.h98 typedef SOCKET php_socket_t; typedef
100 typedef int php_socket_t;
133 php_socket_t fd;
191 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms()
212 static inline bool _php_check_fd_setsize(php_socket_t *max_fd, int setsize) in _php_check_fd_setsize()
271 PHPAPI int php_network_connect_socket(php_socket_t sockfd,
286 PHPAPI php_socket_t php_network_accept_incoming(php_socket_t srvsock,
296 PHPAPI int php_network_get_sock_name(php_socket_t sock,
302 PHPAPI int php_network_get_peer_name(php_socket_t sock,
313 php_socket_t socket;
[all …]
H A Dnetwork.c305 PHPAPI int php_network_connect_socket(php_socket_t sockfd,
413 php_socket_t php_network_bind_socket_to_local_addr(const char *host, unsigned port,
418 php_socket_t sock;
665 PHPAPI int php_network_get_peer_name(php_socket_t sock,
685 PHPAPI int php_network_get_sock_name(php_socket_t sock,
716 PHPAPI php_socket_t php_network_accept_incoming(php_socket_t srvsock,
726 php_socket_t clisock = -1;
776 php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port,
782 php_socket_t sock;
1111 PHPAPI zend_result php_set_sock_blocking(php_socket_t socketd, bool block)
[all …]
/php-src/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-src/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);
1410 int single_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t size) { in single_send()
1415 php_socket_t fd; in single_send()
1470 my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_send()
1507 my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_recv()
1514 php_socket_t fd; in my_recv()
1586 data_available(ftpbuf_t *ftp, php_socket_t s) in data_available()
1609 data_writeable(ftpbuf_t *ftp, php_socket_t s) in data_writeable()
[all …]
/php-src/sapi/cli/
H A Dphp_cli_server.c127 php_socket_t max_fd;
174 php_socket_t sock;
191 php_socket_t server_sock;
842 static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, php_socket_t fd) /* … in php_cli_server_poller_add()
855 static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, php_socket_t fd) … in php_cli_server_poller_remove()
927 php_socket_t fd; in php_cli_server_poller_iter_on_active()
928 const php_socket_t max_fd = poller->max_fd; in php_cli_server_poller_iter_on_active()
1285 php_socket_t retval = SOCK_ERR; in php_network_listen_socket()
2552 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor()
2697 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.c224 static inline bool sapi_cli_select(php_socket_t fd) in sapi_cli_select()
/php-src/ext/zlib/
H A Dzlib_fopen_wrapper.c131 php_socket_t fd; in php_stream_gzopen()
/php-src/ext/standard/
H A Dstreamsfuncs.c52 php_socket_t pair[2]; in PHP_FUNCTION()
624 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd) in stream_array_to_fd_set()
638 php_socket_t this_fd; in stream_array_to_fd_set()
678 php_socket_t this_fd; in stream_array_from_fd_set()
768 php_socket_t max_fd = 0; in PHP_FUNCTION()
1681 php_socket_t fileno; in PHP_FUNCTION()
H A Dproc_open.c869 php_socket_t sock[2]; in set_proc_descriptor_to_socket()
890 php_socket_t fd; in set_proc_descriptor_to_file()
1046 php_socket_t fd; in set_proc_descriptor_from_resource()
1464 stream = php_stream_sock_open_from_socket((php_socket_t) descriptors[i].parentend, NULL); in PHP_FUNCTION()
/php-src/ext/bz2/
H A Dbz2.c224 php_socket_t fd; in _php_stream_bz2open()
364 php_socket_t fd; in PHP_FUNCTION()
/php-src/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.c518 *(php_socket_t *)ret = sock->socket; in php_sockop_cast()
/php-src/ext/mysqlnd/
H A Dmysqlnd_connection.c2104 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd)
2106 php_socket_t this_fd;
2143 php_socket_t this_fd;
2189 php_socket_t max_fd = 0;
/php-src/ext/fileinfo/libmagic/
H A Dfuncs.c332 php_socket_t _fd = fd; in file_buffer()
/php-src/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-src/ext/pgsql/
H A Dpgsql.c4415 *(php_socket_t *)ret = fd_number; in php_pgsql_fd_cast()
6242 php_socket_t socket; in PHP_FUNCTION()
/php-src/ext/fileinfo/
H A Dlibmagic.patch1954 + php_socket_t _fd = fd;

Completed in 107 milliseconds