Lines Matching refs:php_socket
387 static php_socket *php_create_socket(void) /* {{{ */ in php_create_socket()
389 php_socket *php_sock = emalloc(sizeof *php_sock); in php_create_socket()
403 php_socket *php_sock = rsrc->ptr; in php_destroy_socket()
416 static int php_open_listen_sock(php_socket **php_sock, int port, int backlog TSRMLS_DC) /* {{{ */
420 php_socket *sock = php_create_socket();
466 static int php_accept_connect(php_socket *in_sock, php_socket **new_sock, struct sockaddr *la, sock…
468 php_socket *out_sock = php_create_socket();
489 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
769 php_socket *php_sock;
778 …php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_so…
796 php_socket *php_sock;
811 …php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_so…
918 php_socket *php_sock;
941 php_socket *php_sock, *new_sock;
949 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
964 php_socket *php_sock;
970 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1001 php_socket *php_sock;
1007 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1040 php_socket *php_sock;
1047 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1062 php_socket *php_sock;
1068 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1088 php_socket *php_sock;
1097 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1123 php_socket *php_sock;
1139 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1181 php_socket *php_sock;
1196 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1258 php_socket *php_sock;
1273 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1336 php_socket *php_sock = php_create_socket();
1379 php_socket *php_sock;
1389 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1483 php_socket *php_sock;
1493 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1565 php_socket *php_sock;
1573 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &php_sock_res, -1, le_socket_name, le_socket);
1613 php_socket *php_sock;
1622 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1640 php_socket *php_sock;
1656 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1758 php_socket *php_sock;
1773 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1841 php_socket *php_sock;
1849 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
1944 php_socket *php_sock;
1962 ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
2087 php_socket *php_sock[2];
2153 php_socket *php_sock;
2159 ZEND_FETCH_RESOURCE(php_sock, php_socket*, &arg1, -1, le_socket_name, le_socket);
2176 php_socket *php_sock;
2183 ZEND_FETCH_RESOURCE(php_sock, php_socket*, &arg1, -1, le_socket_name, le_socket);
2196 php_socket *php_sock;
2203 ZEND_FETCH_RESOURCE(php_sock, php_socket*, &arg1, -1, le_socket_name, le_socket);
2213 php_socket *socket_import_file_descriptor(PHP_SOCKET socket TSRMLS_DC)
2219 php_socket *retsock;
2266 php_socket *retsock = NULL;