Lines Matching refs:php_socket
107 php_socket *intern = zend_object_alloc(sizeof(php_socket), class_type); in socket_create_object()
128 php_socket *socket = socket_from_obj(object); in socket_free_obj()
143 php_socket *socket = socket_from_obj(object); in socket_get_gc()
220 static bool php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */
263 static bool php_accept_connect(php_socket *in_sock, php_socket *out_sock, struct sockaddr *la, sock…
303 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
456 socket_object_handlers.offset = XtOffsetOf(php_socket, std);
515 php_socket *php_sock;
549 php_socket *php_sock;
670 php_socket *php_sock;
696 php_socket *php_sock, *new_sock;
721 php_socket *php_sock;
757 php_socket *php_sock;
795 php_socket *php_sock;
819 php_socket *php_socket; local
825 php_socket = Z_SOCKET_P(arg1);
826 ENSURE_SOCKET_VALID(php_socket);
828 if (!Z_ISUNDEF(php_socket->zstream)) {
830 php_stream_from_zval_no_verify(stream, &php_socket->zstream);
839 if (!IS_INVALID_SOCKET(php_socket)) {
840 close(php_socket->bsd_socket);
844 ZVAL_UNDEF(&php_socket->zstream);
845 php_socket->bsd_socket = -1;
853 php_socket *php_sock;
898 php_socket *php_sock;
956 php_socket *php_sock;
1027 php_socket *php_sock;
1100 php_socket *php_sock;
1154 php_socket *php_sock;
1266 php_socket *php_sock;
1349 php_socket *php_sock;
1392 php_socket *php_sock;
1427 php_socket *php_sock;
1550 php_socket *php_sock;
1647 php_socket *php_sock;
1851 php_socket *php_sock;
2087 php_socket *php_sock[2];
2166 php_socket *php_sock;
2191 php_socket *php_sock;
2217 php_socket *php_sock;
2239 php_socket *php_sock;
2259 bool socket_import_file_descriptor(PHP_SOCKET socket, php_socket *retsock)
2305 php_socket *retsock = NULL;
2349 php_socket *socket;
2517 php_socket *php_sock;
2580 php_socket *php_sock;
2696 php_socket *socket;
2754 php_socket *php_sock;