Home
last modified time | relevance | path

Searched refs:ev_driver (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver.cc39 grpc_ares_ev_driver* ev_driver; member
81 static void grpc_ares_notify_on_event_locked(grpc_ares_ev_driver* ev_driver);
84 grpc_ares_ev_driver* ev_driver) { in grpc_ares_ev_driver_ref() argument
85 gpr_log(GPR_DEBUG, "Ref ev_driver %" PRIuPTR, (uintptr_t)ev_driver); in grpc_ares_ev_driver_ref()
86 gpr_ref(&ev_driver->refs); in grpc_ares_ev_driver_ref()
87 return ev_driver; in grpc_ares_ev_driver_ref()
90 static void grpc_ares_ev_driver_unref(grpc_ares_ev_driver* ev_driver) { in grpc_ares_ev_driver_unref() argument
91 gpr_log(GPR_DEBUG, "Unref ev_driver %" PRIuPTR, (uintptr_t)ev_driver); in grpc_ares_ev_driver_unref()
92 if (gpr_unref(&ev_driver->refs)) { in grpc_ares_ev_driver_unref()
93 gpr_log(GPR_DEBUG, "destroy ev_driver %" PRIuPTR, (uintptr_t)ev_driver); in grpc_ares_ev_driver_unref()
[all …]
Dgrpc_ares_ev_driver.h34 void grpc_ares_ev_driver_start_locked(grpc_ares_ev_driver* ev_driver);
40 grpc_ares_ev_driver* ev_driver);
44 grpc_error* grpc_ares_ev_driver_create_locked(grpc_ares_ev_driver** ev_driver,
51 grpc_ares_ev_driver* ev_driver);
54 void grpc_ares_ev_driver_shutdown_locked(grpc_ares_ev_driver* ev_driver);
Dgrpc_ares_wrapper.cc65 grpc_ares_ev_driver* ev_driver; member
140 grpc_ares_ev_driver_on_queries_complete_locked(r->ev_driver); in grpc_ares_request_unref_locked()
267 grpc_ares_ev_driver_get_channel_locked(r->ev_driver); in on_srv_query_done_locked()
280 grpc_ares_ev_driver_start_locked(r->ev_driver); in on_srv_query_done_locked()
394 r->ev_driver = nullptr; in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
401 error = grpc_ares_ev_driver_create_locked(&r->ev_driver, interested_parties, in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
404 channel = grpc_ares_ev_driver_get_channel_locked(r->ev_driver); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
469 grpc_ares_ev_driver_start_locked(r->ev_driver); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
565 grpc_ares_ev_driver_shutdown_locked(r->ev_driver); in grpc_cancel_ares_request()