Lines Matching refs:php_socket
459 PHP_SOCKETS_API php_socket *php_create_socket(void) /* {{{ */ in php_create_socket()
461 php_socket *php_sock = emalloc(sizeof(php_socket)); in php_create_socket()
475 php_socket *php_sock = rsrc->ptr; in php_destroy_socket()
499 static int php_open_listen_sock(php_socket **php_sock, int port, int backlog) /* {{{ */
503 php_socket *sock = php_create_socket();
549 static int php_accept_connect(php_socket *in_sock, php_socket **new_sock, struct sockaddr *la, sock…
551 php_socket *out_sock = php_create_socket();
572 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
909 php_socket *php_sock;
916 php_sock = (php_socket*) zend_fetch_resource_ex(element, le_socket_name, le_socket);
934 php_socket *php_sock;
945 php_sock = (php_socket*) zend_fetch_resource_ex(element, le_socket_name, le_socket);
1038 php_socket *php_sock;
1061 php_socket *php_sock, *new_sock;
1069 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1086 php_socket *php_sock;
1092 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1124 php_socket *php_sock;
1130 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1164 php_socket *php_sock;
1171 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1188 php_socket *php_sock;
1194 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1218 php_socket *php_sock;
1233 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1261 php_socket *php_sock;
1277 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1322 php_socket *php_sock;
1337 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1396 php_socket *php_sock;
1411 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1472 php_socket *php_sock = php_create_socket();
1515 php_socket *php_sock;
1526 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1622 php_socket *php_sock;
1632 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1706 php_socket *php_sock;
1714 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(php_sock_res), le_socket_name, le_socket…
1748 php_socket *php_sock;
1762 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1782 php_socket *php_sock;
1799 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1899 php_socket *php_sock;
1920 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
1990 php_socket *php_sock;
1998 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2096 php_socket *php_sock;
2114 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2241 php_socket *php_sock[2];
2308 php_socket *php_sock;
2314 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2333 php_socket *php_sock;
2340 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2355 php_socket *php_sock;
2362 …if ((php_sock = (php_socket *)zend_fetch_resource(Z_RES_P(arg1), le_socket_name, le_socket)) == NU…
2374 php_socket *socket_import_file_descriptor(PHP_SOCKET socket)
2380 php_socket *retsock;
2427 php_socket *retsock = NULL;
2472 php_socket *socket;
2481 …if ((socket = (php_socket *) zend_fetch_resource(Z_RES_P(zsocket), le_socket_name, le_socket)) == …
2639 php_socket *php_sock;
2705 php_socket *php_sock;
2827 php_socket *socket;
2835 …if ((socket = (php_socket *) zend_fetch_resource(Z_RES_P(zsocket), le_socket_name, le_socket)) == …
2885 php_socket *php_sock;