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)
460 socket_object_handlers.offset = XtOffsetOf(php_socket, std);
519 php_socket *php_sock;
553 php_socket *php_sock;
674 php_socket *php_sock;
700 php_socket *php_sock, *new_sock;
725 php_socket *php_sock;
761 php_socket *php_sock;
799 php_socket *php_sock;
823 php_socket *php_socket; local
829 php_socket = Z_SOCKET_P(arg1);
830 ENSURE_SOCKET_VALID(php_socket);
832 if (!Z_ISUNDEF(php_socket->zstream)) {
834 php_stream_from_zval_no_verify(stream, &php_socket->zstream);
843 if (!IS_INVALID_SOCKET(php_socket)) {
844 close(php_socket->bsd_socket);
848 ZVAL_UNDEF(&php_socket->zstream);
849 php_socket->bsd_socket = -1;
857 php_socket *php_sock;
902 php_socket *php_sock;
960 php_socket *php_sock;
1031 php_socket *php_sock;
1104 php_socket *php_sock;
1158 php_socket *php_sock;
1270 php_socket *php_sock;
1353 php_socket *php_sock;
1396 php_socket *php_sock;
1431 php_socket *php_sock;
1554 php_socket *php_sock;
1653 php_socket *php_sock;
1872 php_socket *php_sock;
2173 php_socket *php_sock[2];
2252 php_socket *php_sock;
2277 php_socket *php_sock;
2303 php_socket *php_sock;
2325 php_socket *php_sock;
2345 bool socket_import_file_descriptor(PHP_SOCKET socket, php_socket *retsock)
2391 php_socket *retsock = NULL;
2435 php_socket *socket;
2603 php_socket *php_sock;
2666 php_socket *php_sock;
2782 php_socket *socket;
2840 php_socket *php_sock;