Lines Matching refs:resolv
38 auto resolv = static_cast<DNSResolver *>(data); in sock_state_cb() local
40 if (resolv->get_status(nullptr) != DNSResolverStatus::RUNNING) { in sock_state_cb()
45 resolv->start_rev(s); in sock_state_cb()
47 resolv->stop_rev(s); in sock_state_cb()
50 resolv->start_wev(s); in sock_state_cb()
52 resolv->stop_wev(s); in sock_state_cb()
59 auto resolv = static_cast<DNSResolver *>(arg); in host_cb() local
60 resolv->on_result(status, hostent); in host_cb()
65 void process_result(DNSResolver *resolv) { in process_result() argument
66 auto cb = resolv->get_complete_cb(); in process_result()
71 auto status = resolv->get_status(&result); in process_result()
86 auto resolv = static_cast<DNSResolver *>(w->data); in readcb() local
87 resolv->on_read(w->fd); in readcb()
88 process_result(resolv); in readcb()
94 auto resolv = static_cast<DNSResolver *>(w->data); in writecb() local
95 resolv->on_write(w->fd); in writecb()
96 process_result(resolv); in writecb()
102 auto resolv = static_cast<DNSResolver *>(w->data); in timeoutcb() local
103 resolv->on_timeout(); in timeoutcb()
104 process_result(resolv); in timeoutcb()