Home | History | Annotate | Download | only in netinet6

Lines Matching defs:tst

43 } tst[] = {
87 for (size_t i = 0; i < __arraycount(tst); i++) {
88 r = in6_print(buf, l, &tst[i].ia);
89 ATF_REQUIRE_STREQ(buf, tst[i].str);
90 ATF_REQUIRE_EQ(r, tst[i].len);
94 for (size_t i = 0; i < __arraycount(tst); i++) {
95 r = in6_print(buf, l, &tst[i].ia);
96 ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0);
99 ATF_REQUIRE_EQ(r, tst[i].len);
119 for (size_t i = 0; i < __arraycount(tst); i++) {
120 sin6.sin6_addr = tst[i].ia;
124 e = snprintf(res, sizeof(res), "%s", tst[i].str);
127 tst[i].str, i);
134 for (size_t i = 0; i < __arraycount(tst); i++) {
135 sin6.sin6_addr = tst[i].ia;
139 e = snprintf(res, l, "%s", tst[i].str);
141 e = snprintf(res, l, "[%s]:%zu", tst[i].str, i);