Lines Matching refs:stdFile
602 FILE *stdFile = fopen(STANDARD_TEST_FILE, "w"); in TestfgetsLineCount() local
607 if (stdFile == NULL) { in TestfgetsLineCount()
614 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount()
616 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
619 fclose(stdFile); in TestfgetsLineCount()
622 stdFile = fopen(STANDARD_TEST_FILE, "r"); in TestfgetsLineCount()
629 returnedCharBuffer = fgets(charBuffer, UPRV_LENGTHOF(charBuffer), stdFile); in TestfgetsLineCount()
652 fclose(stdFile); in TestfgetsLineCount()
738 FILE *stdFile = fopen(STANDARD_TEST_FILE, "wb"); in TestLineCount() local
740 if (stdFile == NULL) { in TestLineCount()
745 fwrite(prefixLine, strlen(prefixLine), 1, stdFile); in TestLineCount()
747 fwrite(line, lineLen, 1, stdFile); in TestLineCount()
749 fclose(stdFile); in TestLineCount()
802 FILE *stdFile = fopen(STANDARD_TEST_FILE, "wb"); in TestFgetsLineBuffering() local
804 if (stdFile == NULL) { in TestFgetsLineBuffering()
812 fwrite(repetitions ? "1" : "2", 1, 1, stdFile); in TestFgetsLineBuffering()
814 fclose(stdFile); in TestFgetsLineBuffering()