Home
last modified time | relevance | path

Searched refs:resolvconf_path (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_destroy.c39 if(options->resolvconf_path) in ares_destroy_options()
40 ares_free(options->resolvconf_path); in ares_destroy_options()
90 if (channel->resolvconf_path) in ares_destroy()
91 ares_free(channel->resolvconf_path); in ares_destroy()
Dares_init.c172 channel->resolvconf_path = NULL; in ares_init_options()
246 if(channel->resolvconf_path) in ares_init_options()
247 ares_free(channel->resolvconf_path); in ares_init_options()
356 if (channel->resolvconf_path) in ares_save_options()
432 if (channel->resolvconf_path) { in ares_save_options()
433 options->resolvconf_path = ares_strdup(channel->resolvconf_path); in ares_save_options()
434 if (!options->resolvconf_path) in ares_save_options()
547 if ((optmask & ARES_OPT_RESOLVCONF) && !channel->resolvconf_path) in init_by_options()
549 channel->resolvconf_path = ares_strdup(options->resolvconf_path); in init_by_options()
550 if (!channel->resolvconf_path && options->resolvconf_path) in init_by_options()
[all …]
Dares_private.h330 char *resolvconf_path; member
Dares.h274 char *resolvconf_path; member
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-init.cc89 opts.resolvconf_path = strdup("/etc/resolv.conf"); in TEST_F()
117 EXPECT_EQ(std::string(opts.resolvconf_path), std::string(opts2.resolvconf_path)); in TEST_F()
175 opts.resolvconf_path = strdup("/etc/resolv.conf"); in TEST_F()
416 options.resolvconf_path = strdup(filename);
421 free(options.resolvconf_path);
422 options.resolvconf_path = NULL;
426 EXPECT_EQ(std::string(filename), std::string(options.resolvconf_path));