Home
last modified time | relevance | path

Searched refs:SOCK_ERR (Results 1 – 8 of 8) sorted by relevance

/PHP-7.1/main/
H A Dnetwork.c96 # define SOCK_ERR INVALID_SOCKET macro
105 # define SOCK_ERR -1 macro
205 if (s == SOCK_ERR) { in php_network_getaddresses()
447 if (sock == SOCK_ERR) {
756 if (clisock != SOCK_ERR) {
830 if (sock == SOCK_ERR) {
1224 php_socket_t max_fd = SOCK_ERR;
H A Dphp_network.h105 # define SOCK_ERR INVALID_SOCKET macro
109 # define SOCK_ERR -1 macro
/PHP-7.1/main/streams/
H A Dxp_socket.c199 sock->socket = SOCK_ERR; in php_sockop_close()
201 if (sock->socket != SOCK_ERR) { in php_sockop_close()
217 sock->socket = SOCK_ERR; in php_sockop_close()
626 if (sock->socket == SOCK_ERR) { in php_tcp_sockop_bind()
707 if (sock->socket == SOCK_ERR) { in php_tcp_sockop_connect()
H A Dplain_wrapper.c568 data->fd = SOCK_ERR; in php_stdiop_cast()
574 if (SOCK_ERR == fd) { in php_stdiop_cast()
585 if (SOCK_ERR == fd) { in php_stdiop_cast()
/PHP-7.1/sapi/cli/
H A Dphp_cli_server.c1200 php_socket_t retval = SOCK_ERR; in php_network_listen_socket()
1215 if (retval == SOCK_ERR) { in php_network_listen_socket()
1225 retval = SOCK_ERR; in php_network_listen_socket()
1238 retval = SOCK_ERR; in php_network_listen_socket()
1266 retval = SOCK_ERR; in php_network_listen_socket()
1292 if (retval == SOCK_ERR) { in php_network_listen_socket()
1315 return SOCK_ERR; in php_network_listen_socket()
2279 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor()
2320 if (server_sock == SOCK_ERR) { in php_cli_server_ctor()
/PHP-7.1/ext/openssl/
H A Dxp_ssl.c2134 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close()
2136 if (sslsock->s.socket != SOCK_ERR) { in php_openssl_sockop_close()
2152 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close()
/PHP-7.1/ext/standard/
H A Dstreamsfuncs.c653 …P_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&this_fd, 1) && this_fd != SOCK_ERR) { in stream_array_from_fd_set()
/PHP-7.1/ext/ftp/
H A Dftp.c1543 if ((fd = socket(sa->sa_family, SOCK_STREAM, 0)) == SOCK_ERR) { in ftp_getdata()

Completed in 62 milliseconds