Home
last modified time | relevance | path

Searched refs:optmask (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-init.cc57 int optmask = 0; in TEST_F() local
59 optmask |= ARES_OPT_FLAGS; in TEST_F()
61 optmask |= ARES_OPT_TIMEOUTMS; in TEST_F()
63 optmask |= ARES_OPT_TRIES; in TEST_F()
65 optmask |= ARES_OPT_NDOTS; in TEST_F()
67 optmask |= ARES_OPT_UDP_PORT; in TEST_F()
69 optmask |= ARES_OPT_TCP_PORT; in TEST_F()
71 optmask |= ARES_OPT_SOCK_SNDBUF; in TEST_F()
73 optmask |= ARES_OPT_SOCK_RCVBUF; in TEST_F()
75 optmask |= ARES_OPT_EDNSPSZ; in TEST_F()
[all …]
Dares-test.cc393 int optmask) in MockChannelOptsTest() argument
406 optmask |= ARES_OPT_UDP_PORT; in MockChannelOptsTest()
408 optmask |= ARES_OPT_TCP_PORT; in MockChannelOptsTest()
411 if (!(optmask & (ARES_OPT_TIMEOUTMS|ARES_OPT_TIMEOUT))) { in MockChannelOptsTest()
413 optmask |= ARES_OPT_TIMEOUTMS; in MockChannelOptsTest()
416 if (!(optmask & ARES_OPT_TRIES)) { in MockChannelOptsTest()
418 optmask |= ARES_OPT_TRIES; in MockChannelOptsTest()
422 if (!(optmask & ARES_OPT_DOMAINS)) { in MockChannelOptsTest()
425 optmask |= ARES_OPT_DOMAINS; in MockChannelOptsTest()
429 optmask |= ARES_OPT_FLAGS; in MockChannelOptsTest()
[all …]
Dares-test.h118 int optmask = ARES_OPT_LOOKUPS; in DefaultChannelModeTest() local
119 EXPECT_EQ(ARES_SUCCESS, ares_init_options(&channel_, &opts, optmask)); in DefaultChannelModeTest()
178 …hannelOptsTest(int count, int family, bool force_tcp, struct ares_options* givenopts, int optmask);
Dares-test-mock.cc766 int optmask = 0; in TEST_P() local
767 EXPECT_EQ(ARES_SUCCESS, ares_save_options(channel_, &options, &optmask)); in TEST_P()
768 EXPECT_TRUE((optmask & ARES_OPT_SORTLIST) == ARES_OPT_SORTLIST); in TEST_P()
1053 int optmask = 0; in TEST_P() local
1054 EXPECT_EQ(ARES_SUCCESS, ares_save_options(channel_, &opts, &optmask)); in TEST_P()
1055 EXPECT_EQ(0, (optmask & ARES_OPT_NOROTATE)); in TEST_P()
1098 int optmask = 0; in TEST_P() local
1099 EXPECT_EQ(ARES_SUCCESS, ares_save_options(channel_, &opts, &optmask)); in TEST_P()
1100 EXPECT_EQ(ARES_OPT_NOROTATE, (optmask & ARES_OPT_NOROTATE)); in TEST_P()
Dares-test-internal.cc411 int optmask = 0; in TEST_F() local
412 EXPECT_EQ(ARES_ENODATA, ares_save_options(channel_, &opts, &optmask)); in TEST_F()
Dares-test-live.cc570 int optmask = ARES_OPT_TCP_PORT | ARES_OPT_FLAGS; in TEST_F() local
571 EXPECT_EQ(ARES_SUCCESS, ares_init_options(&channel, &opts, optmask)); in TEST_F()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_init.c70 int optmask);
111 int optmask) in ares_init_options() argument
196 status = init_by_options(channel, options, optmask); in ares_init_options()
270 int optmask; in ares_dup() local
276 rc = ares_save_options(src, &opts, &optmask); in ares_dup()
284 rc = ares_init_options(dest, &opts, optmask); in ares_dup()
336 int *optmask) in ares_save_options() argument
350 (*optmask) = (ARES_OPT_FLAGS|ARES_OPT_TRIES|ARES_OPT_NDOTS| in ares_save_options()
354 (*optmask) |= (channel->rotate ? ARES_OPT_ROTATE : ARES_OPT_NOROTATE); in ares_save_options()
357 (*optmask) |= ARES_OPT_RESOLVCONF; in ares_save_options()
[all …]
Dahost.c56 int optmask = 0; in main() local
89 optmask |= ARES_OPT_DOMAINS; in main()
117 status = ares_init_options(&channel, &options, optmask); in main()
Dadig.c184 int c, i, optmask = ARES_OPT_FLAGS, dnsclass = C_IN, type = T_A; in main() local
282 optmask |= ARES_OPT_SERVERS; in main()
316 optmask |= ARES_OPT_TCP_PORT; in main()
324 optmask |= ARES_OPT_UDP_PORT; in main()
333 status = ares_init_options(&channel, &options, optmask); in main()
Dares.h332 int optmask);
336 int *optmask);
Dares_private.h286 int optmask; /* the option bitfield passed in at init time */ member
DCHANGES.0343 supports the ROTATE option thanks to c-ares now storing the "optmask"
/external/curl/lib/
Dasyn-ares.c173 int optmask = ARES_OPT_SOCK_STATE_CB; in Curl_resolver_init() local
176 status = ares_init_options((ares_channel*)resolver, &options, optmask); in Curl_resolver_init()
/external/kernel-headers/original/uapi/linux/
Dif_bridge.h811 __u32 optmask; member