Lines Matching refs:req
83 static void cl_send_cb(uv_udp_send_t* req, int status) { in cl_send_cb() argument
86 ASSERT_NOT_NULL(req); in cl_send_cb()
88 CHECK_HANDLE(req->handle); in cl_send_cb()
90 r = uv_udp_recv_start(req->handle, cl_alloc_cb, cl_recv_cb); in cl_send_cb()
97 static void sv_send_cb(uv_udp_send_t* req, int status) { in sv_send_cb() argument
98 ASSERT_NOT_NULL(req); in sv_send_cb()
100 CHECK_HANDLE(req->handle); in sv_send_cb()
102 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb()
103 free(req); in sv_send_cb()
114 uv_udp_send_t* req; in sv_recv_cb() local
138 req = malloc(sizeof *req); in sv_recv_cb()
139 ASSERT_NOT_NULL(req); in sv_recv_cb()
142 r = uv_udp_send(req, handle, &sndbuf, 1, addr, sv_send_cb); in sv_recv_cb()
151 uv_udp_send_t req; in TEST_IMPL() local
172 r = uv_udp_send(&req, in TEST_IMPL()