Home
last modified time | relevance | path

Searched refs:fp2 (Results 1 – 2 of 2) sorted by relevance

/bionic/tests/
Dfcntl_test.cpp254 FILE* fp2 = fdopen(pipe2[0], "r"); in TEST() local
255 ASSERT_TRUE(fp2 != nullptr); in TEST()
256 ASSERT_TRUE(fgets(buf2, sizeof(buf2), fp2) != nullptr); in TEST()
257 fclose(fp2); in TEST()
Dstdio_test.cpp2641 FILE* fp2 = fopen("/dev/zero", "r"); in TEST() local
2642 ASSERT_TRUE(fp2 != nullptr); in TEST()
2643 setvbuf(fp2, nullptr, mode, 0); in TEST()
2644 ASSERT_EQ('\0', fgetc(fp2)); in TEST()
2645 fclose(fp2); in TEST()