/third_party/node/deps/cares/src/lib/ |
H A D | ares_options.c | 86 int *optmask) in ares_save_options() 93 * we might overwrite their memory! So using the optmask is critical in ares_save_options() 96 * Unfortunately ares_destroy_options() doesn't take an optmask, so in ares_save_options() 111 if (channel->optmask & ARES_OPT_FLAGS) { in ares_save_options() 117 if (channel->optmask & ARES_OPT_TIMEOUTMS) { in ares_save_options() 121 if (channel->optmask & ARES_OPT_TRIES) { in ares_save_options() 125 if (channel->optmask & ARES_OPT_NDOTS) { in ares_save_options() 129 if (channel->optmask & ARES_OPT_MAXTIMEOUTMS) { in ares_save_options() 133 if (channel->optmask & ARES_OPT_UDP_PORT) { in ares_save_options() 136 if (channel->optmask in ares_save_options() 85 ares_save_options(ares_channel_t *channel, struct ares_options *options, int *optmask) ares_save_options() argument 256 ares__init_by_options(ares_channel_t *channel, const struct ares_options *options, int optmask) ares__init_by_options() argument [all...] |
H A D | ares_init.c | 140 if (!(channel->optmask & ARES_OPT_FLAGS)) { in init_by_defaults() 297 const struct ares_options *options, int optmask) in ares_init_options() 364 status = ares__init_by_options(channel, options, optmask); in ares_init_options() 401 if (channel->optmask & ARES_OPT_EVENT_THREAD) { in ares_init_options() 450 int optmask; in ares_dup() local 461 rc = (ares_status_t)ares_save_options(src, &opts, &optmask); in ares_dup() 468 rc = (ares_status_t)ares_init_options(dest, &opts, optmask); in ares_dup() 494 * too will toggle the optmask ARES_OPT_SERVERS to let us know. If that's in ares_dup() 502 if (optmask & ARES_OPT_SERVERS) { in ares_dup() 581 channel->optmask | in ares_set_sortlist() 296 ares_init_options(ares_channel_t **channelptr, const struct ares_options *options, int optmask) ares_init_options() argument [all...] |
H A D | ares_sysconfig.c | 1001 if (sysconfig->sconfig && !(channel->optmask & ARES_OPT_SERVERS)) { in ares_sysconfig_apply() 1008 if (sysconfig->domains && !(channel->optmask & ARES_OPT_DOMAINS)) { in ares_sysconfig_apply() 1022 if (sysconfig->lookups && !(channel->optmask & ARES_OPT_LOOKUPS)) { in ares_sysconfig_apply() 1032 if (sysconfig->sortlist && !(channel->optmask & ARES_OPT_SORTLIST)) { in ares_sysconfig_apply() 1046 if (sysconfig->ndots && !(channel->optmask & ARES_OPT_NDOTS)) { in ares_sysconfig_apply() 1050 if (sysconfig->tries && !(channel->optmask & ARES_OPT_TRIES)) { in ares_sysconfig_apply() 1054 if (sysconfig->timeout_ms && !(channel->optmask & ARES_OPT_TIMEOUTMS)) { in ares_sysconfig_apply() 1058 if (!(channel->optmask & (ARES_OPT_ROTATE | ARES_OPT_NOROTATE))) { in ares_sysconfig_apply()
|
H A D | ares_destroy.c | 81 if (channel->optmask & ARES_OPT_EVENT_THREAD) { in ares_destroy()
|
H A D | ares__socket.c | 464 if (channel == NULL || channel->optmask & ARES_OPT_EVENT_THREAD) { in ares_set_socket_configure_callback() 475 if (channel == NULL || channel->optmask & ARES_OPT_EVENT_THREAD) { in ares_set_socket_functions()
|
H A D | ares_private.h | 255 unsigned int optmask; member 380 int optmask);
|
H A D | ares_update_servers.c | 757 channel->optmask |= ARES_OPT_SERVERS; in ares__servers_update()
|
/third_party/node/deps/cares/src/tools/ |
H A D | ahost.c | 69 int optmask = 0; in main() local 107 optmask |= ARES_OPT_DOMAINS; in main() 151 status = ares_init_options(&channel, &options, optmask); in main()
|
H A D | adig.c | 73 int optmask; member 180 config->optmask |= ARES_OPT_FLAGS; in read_cmdline() 220 config->optmask |= ARES_OPT_TCP_PORT; in read_cmdline() 231 config->optmask |= ARES_OPT_UDP_PORT; in read_cmdline() 918 (ares_status_t)ares_init_options(&channel, &config.options, config.optmask); in main()
|
/third_party/nghttp2/src/ |
H A D | shrpx_dns_resolver.cc | 161 auto optmask = ARES_OPT_SOCK_STATE_CB | ARES_OPT_TIMEOUTMS | ARES_OPT_TRIES; in resolve() local 164 rv = ares_init_options(&chan, &opts, optmask); in resolve()
|
/third_party/curl/lib/ |
H A D | asyn-ares.c | 175 int optmask = ARES_OPT_SOCK_STATE_CB; in Curl_resolver_init() local 184 optmask |= ARES_OPT_TIMEOUTMS; in Curl_resolver_init() 197 status = ares_init_options((ares_channel*)resolver, &options, optmask); in Curl_resolver_init()
|
/third_party/cares/include/ |
H A D | ares.h | 343 int optmask); 347 int *optmask);
|
/third_party/node/deps/cares/include/ |
H A D | ares.h | 397 int optmask); 400 struct ares_options *options, int *optmask);
|
/third_party/node/src/ |
H A D | cares_wrap.cc | 731 const int optmask = in Setup() local 734 r = ares_init_options(&channel_, &options, optmask); in Setup()
|