Lines Matching refs:req
90 static void cl_send_cb(uv_udp_send_t* req, int status) { in cl_send_cb() argument
93 ASSERT_NOT_NULL(req); in cl_send_cb()
95 CHECK_HANDLE(req->handle); in cl_send_cb()
97 r = uv_udp_recv_start(req->handle, alloc_cb, cl_recv_cb); in cl_send_cb()
104 static void sv_send_cb(uv_udp_send_t* req, int status) { in sv_send_cb() argument
105 ASSERT_NOT_NULL(req); in sv_send_cb()
107 CHECK_HANDLE(req->handle); in sv_send_cb()
109 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb()
110 free(req); in sv_send_cb()
121 uv_udp_send_t* req; in sv_recv_cb() local
149 req = malloc(sizeof *req); in sv_recv_cb()
150 ASSERT_NOT_NULL(req); in sv_recv_cb()
153 r = uv_udp_send(req, handle, &sndbuf, 1, addr, sv_send_cb); in sv_recv_cb()
162 uv_udp_send_t req; in TEST_IMPL() local
185 r = uv_udp_send(&req, in TEST_IMPL()