Lines Matching refs:result

200   int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err);  in TEST()  local
201 ASSERT_EQ(0, result); in TEST()
210 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST()
211 ASSERT_EQ(0, result); in TEST()
222 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
223 ASSERT_EQ(0, result); in TEST()
232 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST()
233 ASSERT_EQ(0, result); in TEST()
251 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
252 ASSERT_EQ(0, result); in TEST()
261 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST()
262 ASSERT_EQ(0, result); in TEST()
273 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
275 EXPECT_EQ(ERANGE, result); in TEST()
284 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
286 EXPECT_EQ(ERANGE, result); in TEST()
296 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
298 EXPECT_EQ(ERANGE, result); in TEST()
307 int result = gethostbyname_r("does.not.exist.google.com", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
309 EXPECT_EQ(0, result); in TEST()
318 …int result = gethostbyname2_r("does.not.exist.google.com", AF_INET, &hent, buf, sizeof(buf), &hp, … in TEST() local
320 EXPECT_EQ(0, result); in TEST()
330 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
332 EXPECT_EQ(0, result); in TEST()