Lines Matching refs:php_socket

107 	php_socket *intern = zend_object_alloc(sizeof(php_socket), class_type);  in socket_create_object()
129 php_socket *socket = socket_from_obj(object); in socket_free_obj()
144 php_socket *socket = socket_from_obj(object); in socket_get_gc()
227 static int php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */
270 static int php_accept_connect(php_socket *in_sock, php_socket *out_sock, struct sockaddr *la, sockl…
288 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
440 socket_object_handlers.offset = XtOffsetOf(php_socket, std);
656 php_socket *php_sock;
690 php_socket *php_sock;
810 php_socket *php_sock;
834 php_socket *php_sock, *new_sock;
859 php_socket *php_sock;
895 php_socket *php_sock;
933 php_socket *php_sock;
955 php_socket *php_socket; local
961 php_socket = Z_SOCKET_P(arg1);
962 ENSURE_SOCKET_VALID(php_socket);
964 if (!Z_ISUNDEF(php_socket->zstream)) {
966 php_stream_from_zval_no_verify(stream, &php_socket->zstream);
975 if (!IS_INVALID_SOCKET(php_socket)) {
976 close(php_socket->bsd_socket);
980 ZVAL_UNDEF(&php_socket->zstream);
981 php_socket->bsd_socket = -1;
989 php_socket *php_sock;
1031 php_socket *php_sock;
1086 php_socket *php_sock;
1163 php_socket *php_sock;
1242 php_socket *php_sock;
1285 php_socket *php_sock;
1389 php_socket *php_sock;
1469 php_socket *php_sock;
1509 php_socket *php_sock;
1541 php_socket *php_sock;
1663 php_socket *php_sock;
1754 php_socket *php_sock;
1875 php_socket *php_sock;
2031 php_socket *php_sock[2];
2098 php_socket *php_sock;
2121 php_socket *php_sock;
2142 php_socket *php_sock;
2161 int socket_import_file_descriptor(PHP_SOCKET socket, php_socket *retsock)
2207 php_socket *retsock = NULL;
2251 php_socket *socket;
2416 php_socket *php_sock;
2479 php_socket *php_sock;
2595 php_socket *socket;
2652 php_socket *php_sock;