Searched refs:just_right (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | netdb_test.cpp | 38 socklen_t just_right = sizeof(sockaddr_in); in TEST() local 43 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 48 just_right = sizeof(sockaddr_in6); in TEST() 50 too_much = just_right + 1; in TEST() 54 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST()
|