Searched refs:default_resolver (Results 1 – 3 of 3) sorted by relevance
191 G_LOCK_DEFINE_STATIC (default_resolver);192 static GResolver *default_resolver; variable210 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 …]
45 static grpc_address_resolver_vtable* default_resolver; variable73 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()
456 static grpc_address_resolver_vtable* default_resolver; variable461 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()