Lines Matching refs:EOF
65 ASSERT_NE(EOF, fputs(content, fp)); in SetFileTo()
74 ASSERT_NE(EOF, getline(&line, &length, fp)); in AssertFileIs()
1023 ASSERT_EQ(EOF, putc('x', fp)); in TEST()
1256 EXPECT_EQ(EOF, sscanf("", "a")); in TEST()
1258 EXPECT_EQ(EOF, swscanf(L"", L"a")); in TEST()
1283 EXPECT_EQ(EOF, sscanf("", "%s", buf)); in TEST()
1286 EXPECT_EQ(EOF, swscanf(L"", L"%ls", wbuf)); in TEST()
1352 EXPECT_EQ(EOF, putc('x', fp)); in TEST()
1356 EXPECT_EQ(EOF, fprintf(fp, "hello")); in TEST()
1360 EXPECT_EQ(EOF, fwprintf(fp, L"hello")); in TEST()
1370 EXPECT_EQ(EOF, fputs("hello", fp)); in TEST()
1511 ASSERT_NE(EOF, fputs("abc>\n", fp)); in TEST()
1524 ASSERT_NE(EOF, fputs("xyz\n", fp)); in TEST()
1543 ASSERT_NE(EOF, fputs("hello", fp)); in TEST()
1546 ASSERT_NE(EOF, fputs("wo", fp)); in TEST()
1559 ASSERT_NE(EOF, fputs("hello", fp)); in TEST()
1679 ASSERT_NE(EOF, fputs("string", fp)); in TEST()
1688 ASSERT_NE(EOF, fputs("54321", fp)); in TEST()
1722 ASSERT_EQ(EOF, fgetc(fp)); in TEST()
1788 ASSERT_NE(EOF, fputs("123", fp)); in TEST()
1806 ASSERT_EQ(EOF, fputc('x', fp)); // Only 3 fit because of the implicit NUL. in TEST()
1860 ASSERT_EQ(EOF, fgetc(fp)); in TEST()
1864 ASSERT_EQ(EOF, fgetc(fp)); in TEST()
1870 ASSERT_EQ(EOF, fputc('x', fp)); in TEST()
1874 ASSERT_EQ(EOF, fputc('x', fp)); in TEST()
1915 ASSERT_NE(EOF, fputc('!', fp)); in TEST()
1923 ASSERT_NE(EOF, fputc('!', fp)); in TEST()
1932 ASSERT_NE(EOF, fputs("hello, world!", fp)); in TEST()
2506 ASSERT_NE(EOF, fputs("xxx", fp)); in TEST()
2527 ASSERT_NE(EOF, fputs("xxx", fp)); in TEST()
2544 ASSERT_NE(EOF, fputs("xxx", fp)); in TEST()
2592 ASSERT_NE(EOF, putc_unlocked('a', fp)); in TEST()
2593 ASSERT_NE(EOF, putc('b', fp)); in TEST()
2594 ASSERT_NE(EOF, fputc_unlocked('c', fp)); in TEST()
2595 ASSERT_NE(EOF, fputc('d', fp)); in TEST()
2615 ASSERT_NE(EOF, fputs("hello ", fp)); in TEST()
2616 ASSERT_NE(EOF, fputs_unlocked("world", fp)); in TEST()
2617 ASSERT_NE(EOF, fputc('\n', fp)); in TEST()