Lines Matching refs:rv

162         int rv = resolv_getaddrinfo(nullptr /*hostname*/, nullptr /*servname*/, nullptr /*hints*/,  in TEST_F()  local
165 EXPECT_EQ(EAI_NONAME, rv); in TEST_F()
217 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F() local
220 EXPECT_EQ(config.expected_eai_error, rv); in TEST_F()
236 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F() local
239 EXPECT_EQ(EAI_FAMILY, rv); in TEST_F()
264 int rv = resolv_getaddrinfo("localhost", service, &hints, &mNetcontext, &result, in TEST_F() local
267 EXPECT_EQ(EAI_SOCKTYPE, rv); in TEST_F()
313 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F() local
316 EXPECT_EQ(EAI_BADHINTS, rv); in TEST_F()
389 int rv = resolv_getaddrinfo("localhost", config.servname, &hints, &mNetcontext, &result, in TEST_F() local
392 EXPECT_EQ(config.expected_eai_error, rv); in TEST_F()
467 int rv = resolv_getaddrinfo("v4only", nullptr, &hints, &mNetcontext, &result, &event); in TEST_F() local
472 EXPECT_EQ(EAI_NODATA, rv); in TEST_F()
565 int rv = resolv_getaddrinfo("sawadee", nullptr, &hints, &mNetcontext, &result, &event); in TEST_F() local
569 EXPECT_EQ(0, rv); in TEST_F()
608 int rv = resolv_getaddrinfo(hostname, nullptr, &hints, &mNetcontext, &res, &event); in TEST_F() local
611 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()
647 int rv = resolv_getaddrinfo(host_name, nullptr, &hints, &mNetcontext, &result, &event); in TEST_F() local
648 EXPECT_EQ(config.expected_eai_error, rv); in TEST_F()
853 int rv = resolv_getaddrinfo("hello", nullptr, &hints, &mNetcontext, &result, &event); in TEST_F() local
855 EXPECT_EQ(NETD_RESOLV_TIMEOUT, rv); in TEST_F()
889 int rv = resolv_getaddrinfo(config.name, nullptr, &hints, &mNetcontext, &res, &event); in TEST_F() local
892 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()
940 int rv = resolv_getaddrinfo(config.name, nullptr, &hints, &mNetcontext, &res, &event); in TEST_F() local
943 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()
961 int rv = resolv_getaddrinfo("hello", nullptr, &hints, &mNetcontext, &res, &event); in TEST_F() local
964 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()
991 int rv = resolv_getaddrinfo("hello", nullptr, &hints, &mNetcontext, &res, &event); in TEST_F() local
994 ASSERT_EQ(0, rv); in TEST_F()
1128 int rv = resolv_getaddrinfo("hello", nullptr, &hints, &mNetcontext, &result, &event); in TEST_F() local
1132 EXPECT_EQ(rv, 0); in TEST_F()
1213 int rv = resolv_gethostbyname("jiababuei", config.ai_family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() local
1217 EXPECT_EQ(0, rv); in TEST_F()
1257 int rv = resolv_gethostbyname(hostname, family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() local
1260 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()
1279 int rv = resolv_gethostbyname("v4only", AF_INET6, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() local
1283 EXPECT_EQ(EAI_NODATA, rv); in TEST_F()
1320 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F() local
1323 EXPECT_EQ(config.expected_eai_error, rv); in TEST_F()
1340 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() local
1342 EXPECT_EQ(NETD_RESOLV_TIMEOUT, rv); in TEST_F()
1373 int rv = resolv_gethostbyname(config.name, config.family, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F() local
1376 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()
1425 int rv = resolv_gethostbyname(config.name, family, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F() local
1428 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()
1447 int rv = resolv_gethostbyname("hello", family, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() local
1450 EXPECT_EQ(EAI_FAIL, rv); in TEST_F()