Lines Matching refs:buf2
1772 char buf2[BUFSIZ]; in TEST() local
1773 ASSERT_EQ(8U, fread(buf2, 1, sizeof(buf2), fp)); in TEST()
1794 char buf2[8]; in TEST() local
1795 memset(buf2, 'x', sizeof(buf2)); in TEST()
1796 ASSERT_EQ(4U, fread(buf2, 1, sizeof(buf2), fp)); in TEST()
1797 ASSERT_EQ('l', buf2[0]); in TEST()
1798 ASSERT_EQ(0, buf2[1]); in TEST()
1799 ASSERT_EQ('o', buf2[2]); in TEST()
1800 ASSERT_EQ(0, buf2[3]); in TEST()
1801 for (size_t i = 4; i < sizeof(buf2); ++i) ASSERT_EQ('x', buf2[i]) << i; in TEST()
2131 char buf2[4 * 4096]; in TEST() local
2132 memset(buf2, 0, sizeof(buf2)); in TEST()
2133 ASSERT_EQ(2U, fread(buf2, 4, 4096, fp)); in TEST()
2134 ASSERT_STREQ("0123456789", buf2); in TEST()