Lines Matching refs:php_socket
108 php_socket *intern = zend_object_alloc(sizeof(php_socket), class_type); in socket_create_object()
130 php_socket *socket = socket_from_obj(object); in socket_free_obj()
145 php_socket *socket = socket_from_obj(object); in socket_get_gc()
226 static int php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */
269 static int php_accept_connect(php_socket *in_sock, php_socket *out_sock, struct sockaddr *la, sockl…
287 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
444 socket_object_handlers.offset = XtOffsetOf(php_socket, std);
650 php_socket *php_sock;
684 php_socket *php_sock;
804 php_socket *php_sock;
828 php_socket *php_sock, *new_sock;
853 php_socket *php_sock;
889 php_socket *php_sock;
927 php_socket *php_sock;
949 php_socket *php_socket; local
955 php_socket = Z_SOCKET_P(arg1);
956 ENSURE_SOCKET_VALID(php_socket);
958 if (!Z_ISUNDEF(php_socket->zstream)) {
960 php_stream_from_zval_no_verify(stream, &php_socket->zstream);
969 if (!IS_INVALID_SOCKET(php_socket)) {
970 close(php_socket->bsd_socket);
974 ZVAL_UNDEF(&php_socket->zstream);
975 php_socket->bsd_socket = -1;
983 php_socket *php_sock;
1025 php_socket *php_sock;
1084 php_socket *php_sock;
1156 php_socket *php_sock;
1230 php_socket *php_sock;
1273 php_socket *php_sock;
1377 php_socket *php_sock;
1457 php_socket *php_sock;
1497 php_socket *php_sock;
1529 php_socket *php_sock;
1645 php_socket *php_sock;
1736 php_socket *php_sock;
1840 php_socket *php_sock;
1982 php_socket *php_sock[2];
2049 php_socket *php_sock;
2072 php_socket *php_sock;
2093 php_socket *php_sock;
2112 int socket_import_file_descriptor(PHP_SOCKET socket, php_socket *retsock)
2158 php_socket *retsock = NULL;
2202 php_socket *socket;
2367 php_socket *php_sock;
2430 php_socket *php_sock;
2546 php_socket *socket;
2603 php_socket *php_sock;