Lines Matching refs:sprintf
14 result = sprintf(str, "%d", asInt); in add_point()
16 result = sprintf(str, "%1.9gf", x); in add_point()
18 result += sprintf(str + result, ","); in add_point()
21 result += sprintf(str + result, "%d", asInt); in add_point()
23 result += sprintf(str + result, "%1.9gf", y); in add_point()
57 str += sprintf(str, "static void loop%d(skiatest::Reporter* reporter," in testOpLoopsMain()
59 str += sprintf(str, " SkPath path, pathB;\n"); in testOpLoopsMain()
60 str += sprintf(str, " path.moveTo(%d,%d);\n", a, b); in testOpLoopsMain()
61 str += sprintf(str, " path.cubicTo(%d,%d, ", c, d); in testOpLoopsMain()
63 str += sprintf(str, ", "); in testOpLoopsMain()
65 str += sprintf(str, ");\n"); in testOpLoopsMain()
66 str += sprintf(str, " path.close();\n"); in testOpLoopsMain()
67 str += sprintf(str, " pathB.moveTo(%d,%d);\n", c, d); in testOpLoopsMain()
68 str += sprintf(str, " pathB.cubicTo("); in testOpLoopsMain()
70 str += sprintf(str, ", "); in testOpLoopsMain()
72 str += sprintf(str, ", %d,%d);\n", a, b); in testOpLoopsMain()
73 str += sprintf(str, " pathB.close();\n"); in testOpLoopsMain()
74 str += sprintf(str, " testPathOp(reporter, path, pathB, kIntersect_SkPathOp," in testOpLoopsMain()
76 str += sprintf(str, "}\n"); in testOpLoopsMain()