Lines Matching refs:php_socket

396 PHP_SOCKETS_API php_socket *php_create_socket(void) /* {{{ */  in php_create_socket()
398 php_socket *php_sock = emalloc(sizeof(php_socket)); in php_create_socket()
412 php_socket *php_sock = rsrc->ptr; in php_destroy_socket()
425 static int php_open_listen_sock(php_socket **php_sock, int port, int backlog) /* {{{ */
429 php_socket *sock = php_create_socket();
475 static int php_accept_connect(php_socket *in_sock, php_socket **new_sock, struct sockaddr *la, sock…
477 php_socket *out_sock = php_create_socket();
498 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
788 php_socket *php_sock;
794 php_sock = (php_socket*) zend_fetch_resource_ex(element, le_socket_name, le_socket);
812 php_socket *php_sock;
822 php_sock = (php_socket*) zend_fetch_resource_ex(element, le_socket_name, le_socket);
926 php_socket *php_sock;
949 php_socket *php_sock, *new_sock;
957 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
974 php_socket *php_sock;
980 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1012 php_socket *php_sock;
1018 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1052 php_socket *php_sock;
1059 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1076 php_socket *php_sock;
1082 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1106 php_socket *php_sock;
1116 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1144 php_socket *php_sock;
1160 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1205 php_socket *php_sock;
1220 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1288 php_socket *php_sock;
1303 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1368 php_socket *php_sock = php_create_socket();
1411 php_socket *php_sock;
1422 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1518 php_socket *php_sock;
1528 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1602 php_socket *php_sock;
1610 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(php_sock_res), le_socket_name, le_socket…
1649 php_socket *php_sock;
1658 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1678 php_socket *php_sock;
1695 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1804 php_socket *php_sock;
1820 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1890 php_socket *php_sock;
1898 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1995 php_socket *php_sock;
2013 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2140 php_socket *php_sock[2];
2203 php_socket *php_sock;
2209 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2228 php_socket *php_sock;
2235 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2250 php_socket *php_sock;
2257 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2269 php_socket *socket_import_file_descriptor(PHP_SOCKET socket)
2275 php_socket *retsock;
2322 php_socket *retsock = NULL;
2367 php_socket *socket;
2376 …if ((socket = (php_socket *) zend_fetch_resource(Z_RES_P(zsocket), le_socket_name, le_socket)) == …