/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | ares-test-init.cc | 57 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 …]
|
D | ares-test.cc | 393 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 …]
|
D | ares-test.h | 118 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);
|
D | ares-test-mock.cc | 766 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()
|
D | ares-test-internal.cc | 411 int optmask = 0; in TEST_F() local 412 EXPECT_EQ(ARES_ENODATA, ares_save_options(channel_, &opts, &optmask)); in TEST_F()
|
D | ares-test-live.cc | 570 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/ |
D | ares_init.c | 70 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 …]
|
D | ahost.c | 56 int optmask = 0; in main() local 89 optmask |= ARES_OPT_DOMAINS; in main() 117 status = ares_init_options(&channel, &options, optmask); in main()
|
D | adig.c | 184 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()
|
D | ares.h | 332 int optmask); 336 int *optmask);
|
D | ares_private.h | 286 int optmask; /* the option bitfield passed in at init time */ member
|
D | CHANGES.0 | 343 supports the ROTATE option thanks to c-ares now storing the "optmask"
|
/external/curl/lib/ |
D | asyn-ares.c | 173 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/ |
D | if_bridge.h | 811 __u32 optmask; member
|