Lines Matching defs:out
198 char out[256];
200 if (bitWidth * 2 + 1 >= (int) sizeof(out)) {
204 if (bitHeight >= (int) sizeof(out)) {
222 char* outPtr = out;
231 SkDebugf("%s\n", out);
299 static void appendTestName(const char* nameSuffix, std::string& out) {
300 out += sTestName;
301 out += std_to_string(sTestNumber);
304 out.append(nameSuffix);
309 const char* testFunction, bool twoPaths, std::string& out) {
311 out.append("\n<div id=\"");
312 appendTestName(nameSuffix, out);
313 out.append("\">\n");
315 out.append(pathPrefix);
317 out.append(pathStr);
318 out.append("</div>\n\n");
320 out.append(marker);
321 out.append(" ");
322 appendTestName(nameSuffix, out);
323 out.append(",\n\n\n");
325 out.append("static void ");
326 appendTestName(nameSuffix, out);
327 out.append("(skiatest::Reporter* reporter) {\n SkPath path");
329 out.append(", pathB");
331 out.append(";\n");
333 out.append(pathPrefix);
335 out += pathStr;
336 out += " ";
337 out += testFunction;
339 out.append("static void (*firstTest)() = ");
340 appendTestName(nameSuffix, out);
341 out.append(";\n\n");
343 out.append("static struct {\n");
344 out.append(" void (*fun)();\n");
345 out.append(" const char* str;\n");
346 out.append("} tests[] = {\n");
347 out.append(" TEST(");
348 appendTestName(nameSuffix, out);
349 out.append("),\n");
360 bool testSimplify(SkPath& path, bool useXor, SkPath& out, PathOpsThreadState& state,
366 if (!Simplify(path, &out)) {
374 int result = comparePaths(state.fReporter, nullptr, path, out, *state.fBitmap);
474 SkPath out;
475 if (!SimplifyDebug(path, &out SkDEBUGPARAMS(SkipAssert::kYes == skipAssert)
483 fprintf(PathOpsDebug::gOut, " \"out\": \"\"\n}");
493 json_path_out(out, "out", "Out", true);
497 int errors = comparePaths(reporter, filename, path, out, bitmap);
548 SkPath out;
549 if (!OpDebug(a, b, shapeOp, &out SkDEBUGPARAMS(SkipAssert::kYes == skipAssert)
557 fprintf(PathOpsDebug::gOut, " \"out\": \"\"\n}");
567 json_path_out(out, "out", "Out", true);
595 scaledOut.addPath(out, scale);
596 scaledOut.setFillType(out.getFillType());
597 int result = comparePaths(reporter, testName, pathOut, scaledPathOut, out, scaledOut, bitmap,
625 SkPath out = orig;
626 if (Op(a, b, shapeOp, &out) ) {
631 SkASSERT(out == orig);