Searched refs:just_right (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | netdb_test.cpp | 122 socklen_t just_right = sizeof(sockaddr_in); in TEST() local 127 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 132 just_right = sizeof(sockaddr_in6); in TEST() 134 too_much = just_right + 1; in TEST() 138 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST()
|