Lines Matching refs:stdFile
630 FILE *stdFile = fopen(STANDARD_TEST_FILE, "w"); in TestfgetsLineCount() local
635 if (stdFile == NULL) { in TestfgetsLineCount()
642 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount()
644 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
647 fclose(stdFile); in TestfgetsLineCount()
650 stdFile = fopen(STANDARD_TEST_FILE, "r"); in TestfgetsLineCount()
657 returnedCharBuffer = fgets(charBuffer, UPRV_LENGTHOF(charBuffer), stdFile); in TestfgetsLineCount()
680 fclose(stdFile); in TestfgetsLineCount()
766 FILE *stdFile = fopen(STANDARD_TEST_FILE, "wb"); in TestLineCount() local
768 if (stdFile == NULL) { in TestLineCount()
773 fwrite(prefixLine, strlen(prefixLine), 1, stdFile); in TestLineCount()
775 fwrite(line, lineLen, 1, stdFile); in TestLineCount()
777 fclose(stdFile); in TestLineCount()
830 FILE *stdFile = fopen(STANDARD_TEST_FILE, "wb"); in TestFgetsLineBuffering() local
832 if (stdFile == NULL) { in TestFgetsLineBuffering()
840 fwrite(repetitions ? "1" : "2", 1, 1, stdFile); in TestFgetsLineBuffering()
842 fclose(stdFile); in TestFgetsLineBuffering()