Lines Matching refs:outFile
455 static void writeTestName(const char* nameSuffix, SkMemoryWStream& outFile) { in writeTestName() argument
456 outFile.writeText(testName); in writeTestName()
457 outFile.writeDecAsText(testNumber); in writeTestName()
459 outFile.writeText(nameSuffix); in writeTestName()
464 const char* testFunction, bool twoPaths, SkMemoryWStream& outFile) { in outputToStream() argument
465 outFile.writeText("<div id=\""); in outputToStream()
466 writeTestName(nameSuffix, outFile); in outputToStream()
467 outFile.writeText("\">\n"); in outputToStream()
469 outFile.writeText(pathPrefix); in outputToStream()
471 outFile.writeText(pathStr); in outputToStream()
472 outFile.writeText("</div>\n\n"); in outputToStream()
474 outFile.writeText(marker); in outputToStream()
475 outFile.writeText(" "); in outputToStream()
476 writeTestName(nameSuffix, outFile); in outputToStream()
477 outFile.writeText(",\n\n\n"); in outputToStream()
479 outFile.writeText("static void "); in outputToStream()
480 writeTestName(nameSuffix, outFile); in outputToStream()
481 outFile.writeText("() {\n SkPath path"); in outputToStream()
483 outFile.writeText(", pathB"); in outputToStream()
485 outFile.writeText(";\n"); in outputToStream()
487 outFile.writeText(pathPrefix); in outputToStream()
489 outFile.writeText(pathStr); in outputToStream()
490 outFile.writeText(" "); in outputToStream()
491 outFile.writeText(testFunction); in outputToStream()
492 outFile.writeText("\n}\n\n"); in outputToStream()
493 outFile.writeText("static void (*firstTest)() = "); in outputToStream()
494 writeTestName(nameSuffix, outFile); in outputToStream()
495 outFile.writeText(";\n\n"); in outputToStream()
497 outFile.writeText("static struct {\n"); in outputToStream()
498 outFile.writeText(" void (*fun)();\n"); in outputToStream()
499 outFile.writeText(" const char* str;\n"); in outputToStream()
500 outFile.writeText("} tests[] = {\n"); in outputToStream()
501 outFile.writeText(" TEST("); in outputToStream()
502 writeTestName(nameSuffix, outFile); in outputToStream()
503 outFile.writeText("),\n"); in outputToStream()
504 outFile.flush(); in outputToStream()