Lines Matching refs:req
178 #define PHP_UV_INIT_CONNECT(req, uv) \ argument
179 req = (uv_connect_t *) emalloc(sizeof(uv_connect_t)); \
180 req->data = uv;
184 w->req.data = uv; \
190 w->req.data = uv; \
350 uv_write_t req; member
356 uv_udp_send_t req; member
371 static void php_uv_fs_cb(uv_fs_t* req);
388 static void php_uv_write_cb(uv_write_t* req, int status);
392 static void php_uv_shutdown_cb(uv_shutdown_t* req, int status);
1306 if (uv_cancel(&uv->uv.req) == UV_EBUSY) {
1503 static void php_uv_tcp_connect_cb(uv_connect_t *req, int status) argument
1507 php_uv_t *uv = (php_uv_t *) req->data;
1520 efree(req);
1545 static void php_uv_pipe_connect_cb(uv_connect_t *req, int status) argument
1549 php_uv_t *uv = (php_uv_t*)req->data;
1562 efree(req);
1585 static void php_uv_write_cb(uv_write_t* req, int status) argument
1587 write_req_t* wr = (write_req_t*) req;
1590 php_uv_t *uv = (php_uv_t *) req->handle->data;
1613 static void php_uv_udp_send_cb(uv_udp_send_t* req, int status) argument
1615 send_req_t* wr = (send_req_t*) req;
1618 php_uv_t *uv = (php_uv_t *) req->data;
1817 static void php_uv_work_cb(uv_work_t* req) argument
1820 php_uv_t *uv = (php_uv_t*)req->data;
1822 uv = (php_uv_t*)req->data;
1829 static void php_uv_after_work_cb(uv_work_t* req, int status) argument
1832 php_uv_t *uv = (php_uv_t*)req->data;
1835 uv = (php_uv_t*)req->data;
1849 static void php_uv_fs_cb(uv_fs_t* req) argument
1853 php_uv_t *uv = (php_uv_t*)req->data;
1860 uv_fs_req_cleanup(req);
1914 while (UV_EOF != uv_fs_scandir_next(req, &dent)) {
1923 if (req->ptr != NULL) {
1924 params[0] = php_uv_make_stat((const uv_stat_t *) req->ptr);
1931 if (req->ptr != NULL) {
1932 params[1] = php_uv_make_stat((const uv_stat_t *) req->ptr);
1941 ZVAL_STRING(¶ms[0], req->ptr);
1990 uv_fs_req_cleanup(req);
1996 static void php_uv_fs_event_cb(uv_fs_event_t* req, const char* filename, int events, int status) argument
2000 php_uv_t *uv = (php_uv_t*)req->data;
2458 …uv_udp_send(&w->req, &uv->uv.udp, &w->buf, 1, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV4(addr),…
2460 …uv_udp_send(&w->req, &uv->uv.udp, &w->buf, 1, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV6(addr),…
2468 uv_connect_t *req; local
2483 PHP_UV_INIT_CONNECT(req, uv)
2487 …uv_tcp_connect(req, &uv->uv.tcp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV4(addr), php_uv_tcp_c…
2489 …uv_tcp_connect(req, &uv->uv.tcp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV6(addr), php_uv_tcp_…
3798 r = uv_write(&w->req, &uv->uv.stream, &w->buf, 1, php_uv_write_cb);
3831 r = uv_write2(&w->req, &uv->uv.stream, &w->buf, 1, &send->uv.stream, php_uv_write_cb);
4779 uv_connect_t *req; local
4793 req = (uv_connect_t *) emalloc(sizeof(uv_connect_t));
4796 req->data = uv;
4797 uv_pipe_connect(req, &uv->uv.pipe, name->val, php_uv_pipe_connect_cb);