Home
last modified time | relevance | path

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

/third_party/glib/gio/
Dgresolver.c191 G_LOCK_DEFINE_STATIC (default_resolver);
192 static GResolver *default_resolver; variable
210 G_LOCK (default_resolver); in g_resolver_get_default()
211 if (!default_resolver) in g_resolver_get_default()
212 default_resolver = g_object_new (G_TYPE_THREADED_RESOLVER, NULL); in g_resolver_get_default()
213 ret = g_object_ref (default_resolver); in g_resolver_get_default()
214 G_UNLOCK (default_resolver); in g_resolver_get_default()
238 G_LOCK (default_resolver); in g_resolver_set_default()
239 if (default_resolver) in g_resolver_set_default()
240 g_object_unref (default_resolver); in g_resolver_set_default()
[all …]
/third_party/grpc/test/core/end2end/
Dgoaway_server_test.cc45 static grpc_address_resolver_vtable* default_resolver; variable
73 default_resolver->resolve_address(addr, default_port, interested_parties, in my_resolve_address()
103 return default_resolver->blocking_resolve_address(name, default_port, in my_blocking_resolve_address()
158 default_resolver = grpc_resolve_address_impl; in main()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc456 static grpc_address_resolver_vtable* default_resolver; variable
461 return default_resolver->blocking_resolve_address(name, default_port, in blocking_resolve_address_ares()
498 if (default_resolver == nullptr) { in grpc_resolver_dns_ares_init()
499 default_resolver = grpc_resolve_address_impl; in grpc_resolver_dns_ares_init()