Lines Matching refs:EOF
64 ASSERT_NE(EOF, fputs(content, fp)); in SetFileTo()
73 ASSERT_NE(EOF, getline(&line, &length, fp)); in AssertFileIs()
1017 ASSERT_EQ(EOF, putc('x', fp)); in TEST()
1252 EXPECT_EQ(EOF, sscanf("", "a")); in TEST()
1254 EXPECT_EQ(EOF, swscanf(L"", L"a")); in TEST()
1279 EXPECT_EQ(EOF, sscanf("", "%s", buf)); in TEST()
1282 EXPECT_EQ(EOF, swscanf(L"", L"%ls", wbuf)); in TEST()
1348 EXPECT_EQ(EOF, putc('x', fp)); in TEST()
1352 EXPECT_EQ(EOF, fprintf(fp, "hello")); in TEST()
1356 EXPECT_EQ(EOF, fwprintf(fp, L"hello")); in TEST()
1366 EXPECT_EQ(EOF, fputs("hello", fp)); in TEST()
1507 ASSERT_NE(EOF, fputs("abc>\n", fp)); in TEST()
1520 ASSERT_NE(EOF, fputs("xyz\n", fp)); in TEST()
1539 ASSERT_NE(EOF, fputs("hello", fp)); in TEST()
1542 ASSERT_NE(EOF, fputs("wo", fp)); in TEST()
1555 ASSERT_NE(EOF, fputs("hello", fp)); in TEST()
1675 ASSERT_NE(EOF, fputs("string", fp)); in TEST()
1684 ASSERT_NE(EOF, fputs("54321", fp)); in TEST()
1718 ASSERT_EQ(EOF, fgetc(fp)); in TEST()
1784 ASSERT_NE(EOF, fputs("123", fp)); in TEST()
1802 ASSERT_EQ(EOF, fputc('x', fp)); // Only 3 fit because of the implicit NUL. in TEST()
1856 ASSERT_EQ(EOF, fgetc(fp)); in TEST()
1860 ASSERT_EQ(EOF, fgetc(fp)); in TEST()
1866 ASSERT_EQ(EOF, fputc('x', fp)); in TEST()
1870 ASSERT_EQ(EOF, fputc('x', fp)); in TEST()
1911 ASSERT_NE(EOF, fputc('!', fp)); in TEST()
1919 ASSERT_NE(EOF, fputc('!', fp)); in TEST()
1928 ASSERT_NE(EOF, fputs("hello, world!", fp)); in TEST()
2472 ASSERT_NE(EOF, fputs("xxx", fp)); in TEST()
2493 ASSERT_NE(EOF, fputs("xxx", fp)); in TEST()
2510 ASSERT_NE(EOF, fputs("xxx", fp)); in TEST()
2548 ASSERT_NE(EOF, putc_unlocked('a', fp)); in TEST()
2549 ASSERT_NE(EOF, putc('b', fp)); in TEST()
2550 ASSERT_NE(EOF, fputc_unlocked('c', fp)); in TEST()
2551 ASSERT_NE(EOF, fputc('d', fp)); in TEST()
2571 ASSERT_NE(EOF, fputs("hello ", fp)); in TEST()
2572 ASSERT_NE(EOF, fputs_unlocked("world", fp)); in TEST()
2573 ASSERT_NE(EOF, fputc('\n', fp)); in TEST()