Lines Matching refs:php_socket
450 PHP_SOCKETS_API php_socket *php_create_socket(void) /* {{{ */ in php_create_socket()
452 php_socket *php_sock = emalloc(sizeof(php_socket)); in php_create_socket()
466 php_socket *php_sock = rsrc->ptr; in php_destroy_socket()
490 static int php_open_listen_sock(php_socket **php_sock, int port, int backlog) /* {{{ */
494 php_socket *sock = php_create_socket();
540 static int php_accept_connect(php_socket *in_sock, php_socket **new_sock, struct sockaddr *la, sock…
542 php_socket *out_sock = php_create_socket();
563 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
895 php_socket *php_sock;
902 php_sock = (php_socket*) zend_fetch_resource_ex(element, le_socket_name, le_socket);
920 php_socket *php_sock;
931 php_sock = (php_socket*) zend_fetch_resource_ex(element, le_socket_name, le_socket);
1024 php_socket *php_sock;
1047 php_socket *php_sock, *new_sock;
1055 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1072 php_socket *php_sock;
1078 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1110 php_socket *php_sock;
1116 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1150 php_socket *php_sock;
1157 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1174 php_socket *php_sock;
1180 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1204 php_socket *php_sock;
1219 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1247 php_socket *php_sock;
1263 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1308 php_socket *php_sock;
1323 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1391 php_socket *php_sock;
1406 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1471 php_socket *php_sock = php_create_socket();
1514 php_socket *php_sock;
1525 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1621 php_socket *php_sock;
1631 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1705 php_socket *php_sock;
1713 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(php_sock_res), le_socket_name, le_socket…
1752 php_socket *php_sock;
1766 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1786 php_socket *php_sock;
1803 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1914 php_socket *php_sock;
1935 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2005 php_socket *php_sock;
2013 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2110 php_socket *php_sock;
2128 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2255 php_socket *php_sock[2];
2318 php_socket *php_sock;
2324 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2343 php_socket *php_sock;
2350 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2365 php_socket *php_sock;
2372 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2384 php_socket *socket_import_file_descriptor(PHP_SOCKET socket)
2390 php_socket *retsock;
2437 php_socket *retsock = NULL;
2482 php_socket *socket;
2491 …if ((socket = (php_socket *) zend_fetch_resource(Z_RES_P(zsocket), le_socket_name, le_socket)) == …
2642 php_socket *php_sock;
2708 php_socket *php_sock;
2830 php_socket *socket;
2838 …if ((socket = (php_socket *) zend_fetch_resource(Z_RES_P(zsocket), le_socket_name, le_socket)) == …
2894 php_socket *php_sock;