Lines Matching refs:fp
273 FILE* fp = popen(command.c_str(), "r"); in EnumerateTests() local
274 if (fp == NULL) { in EnumerateTests()
280 while (fgets(buf, sizeof(buf), fp) != NULL) { in EnumerateTests()
309 int result = pclose(fp); in EnumerateTests()
502 FILE* fp = fopen(xml_output_filename.c_str(), "w"); in OnTestIterationEndXmlPrint() local
503 if (fp == NULL) { in OnTestIterationEndXmlPrint()
532 fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n", fp); in OnTestIterationEndXmlPrint()
534 fp, in OnTestIterationEndXmlPrint()
537 fprintf(fp, " timestamp=\"%s\" time=\"%.3lf\" name=\"AllTests\">\n", in OnTestIterationEndXmlPrint()
541 fprintf(fp, in OnTestIterationEndXmlPrint()
546 fprintf(fp, " time=\"%.3lf\">\n", elapsed_time_list[i] / 1e9); in OnTestIterationEndXmlPrint()
549 fprintf(fp, in OnTestIterationEndXmlPrint()
555 fputs(" />\n", fp); in OnTestIterationEndXmlPrint()
557 fputs(">\n", fp); in OnTestIterationEndXmlPrint()
560 fprintf(fp, " <failure message=\"%s\" type=\"\">\n", in OnTestIterationEndXmlPrint()
562 fputs(" </failure>\n", fp); in OnTestIterationEndXmlPrint()
563 fputs(" </testcase>\n", fp); in OnTestIterationEndXmlPrint()
567 fputs(" </testsuite>\n", fp); in OnTestIterationEndXmlPrint()
569 fputs("</testsuites>\n", fp); in OnTestIterationEndXmlPrint()
570 fclose(fp); in OnTestIterationEndXmlPrint()