Lines Matching refs:fread
1714 ASSERT_EQ(8U, fread(buf2, 1, sizeof(buf2), fp)); in TEST()
1737 ASSERT_EQ(4U, fread(buf2, 1, sizeof(buf2), fp)); in TEST()
2008 ASSERT_EQ(1U, fread(buf, 64*1024, 1, fp)); in TEST()
2032 ASSERT_EQ(2U, fread(buf1, 4, 4, fp)); in TEST()
2041 ASSERT_EQ(2U, fread(buf2, 4, 4096, fp)); in TEST()
2052 ASSERT_EQ(0U, fread(&buf[0], n, 1, fp)); in test_fread_from_write_only_stream()
2076 ASSERT_EQ(0U, fread(&buf[0], 1, buf.size(), fp)); in test_fwrite_after_fread()
2085 ASSERT_EQ(2U, fread(&buf[0], 1, buf.size(), fp)); in test_fwrite_after_fread()
2120 ASSERT_EQ(100U, fread(buffer, 1, 100, fp)); in TEST()
2126 ASSERT_EQ(8192U, fread(buffer, 1, 8192, fp)); in TEST()
2132 ASSERT_EQ(22U, fread(buffer, 1, 22, fp)); in TEST()
2151 ASSERT_EQ(1U, fread(buf, 1, 1, fr)); in TEST()
2155 ASSERT_EQ(0U, fread(buf, 1, 1, fr)); in TEST()
2164 ASSERT_EQ(1U, fread(buf, 1, 1, fr)); in TEST()
2168 ASSERT_EQ(0U, fread(buf, 1, 1, fr)); in TEST()
2567 ASSERT_EQ(2U, fread(&buf[2], 1, 2, fp)); in TEST()