Home
last modified time | relevance | path

Searched refs:SkStringPrintf (Results 1 – 25 of 138) sorted by relevance

123456

/external/skqp/tools/timer/
DTimer.cpp10 if (ms > 60e+3) return SkStringPrintf("%.3gm", ms/60e+3); in HumanizeMs()
11 if (ms > 1e+3) return SkStringPrintf("%.3gs", ms/1e+3); in HumanizeMs()
12 if (ms < 1e-3) return SkStringPrintf("%.3gns", ms*1e+6); in HumanizeMs()
14 if (ms < 1) return SkStringPrintf("%.3gus", ms*1e+3); in HumanizeMs()
16 if (ms < 1) return SkStringPrintf("%.3gµs", ms*1e+3); in HumanizeMs()
18 return SkStringPrintf("%.3gms", ms); in HumanizeMs()
/external/skia/tools/timer/
DTimer.cpp10 if (ms > 60e+3) return SkStringPrintf("%.3gm", ms/60e+3); in HumanizeMs()
11 if (ms > 1e+3) return SkStringPrintf("%.3gs", ms/1e+3); in HumanizeMs()
12 if (ms < 1e-3) return SkStringPrintf("%.3gns", ms*1e+6); in HumanizeMs()
14 if (ms < 1) return SkStringPrintf("%.3gus", ms*1e+3); in HumanizeMs()
16 if (ms < 1) return SkStringPrintf("%.3gµs", ms*1e+3); in HumanizeMs()
18 return SkStringPrintf("%.3gms", ms); in HumanizeMs()
/external/skqp/tools/viewer/
DSkottieSlide.cpp35 const auto json_size = SkStringPrintf("Json size: %lu bytes", in draw_stats_box()
38 const auto animator_count = SkStringPrintf("Animator count: %lu", in draw_stats_box()
41 const auto json_parse_time = SkStringPrintf("Json parse time: %.3f ms", in draw_stats_box()
44 const auto scene_parse_time = SkStringPrintf("Scene build time: %.3f ms", in draw_stats_box()
47 const auto total_load_time = SkStringPrintf("Total load time: %.3f ms", in draw_stats_box()
/external/skia/tools/viewer/
DSkottieSlide.cpp35 const auto json_size = SkStringPrintf("Json size: %lu bytes", in draw_stats_box()
38 const auto animator_count = SkStringPrintf("Animator count: %lu", in draw_stats_box()
41 const auto json_parse_time = SkStringPrintf("Json parse time: %.3f ms", in draw_stats_box()
44 const auto scene_parse_time = SkStringPrintf("Scene build time: %.3f ms", in draw_stats_box()
47 const auto total_load_time = SkStringPrintf("Total load time: %.3f ms", in draw_stats_box()
/external/skqp/dm/
DDMSrcSink.cpp165 return Error::Nonfatal(SkStringPrintf("Could not create brd for %s.", fPath.c_str())); in draw()
276 return SkStringPrintf("%s_%.3f", SkOSPath::Basename(path.c_str()).c_str(), scale); in get_scaled_name()
392 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
397 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); in draw()
441 return SkStringPrintf("%s is not an animated image.", fPath.c_str()); in draw()
500 return Error::Nonfatal(SkStringPrintf( in draw()
505 return SkStringPrintf("Couldn't getPixels for frame %i in %s.", in draw()
522 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str()); in draw()
661 return Error::Nonfatal(SkStringPrintf("Cannot codec subset: divisor %d is too big " in draw()
701 return SkStringPrintf("subset codec failed to decode (%d, %d, %d, %d) " in draw()
[all …]
/external/skia/dm/
DDMSrcSink.cpp169 return Error::Nonfatal(SkStringPrintf("Could not create brd for %s.", fPath.c_str())); in draw()
280 return SkStringPrintf("%s_%.3f", SkOSPath::Basename(path.c_str()).c_str(), scale); in get_scaled_name()
395 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
400 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); in draw()
444 return SkStringPrintf("%s is not an animated image.", fPath.c_str()); in draw()
503 return Error::Nonfatal(SkStringPrintf( in draw()
508 return SkStringPrintf("Couldn't getPixels for frame %i in %s.", in draw()
525 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str()); in draw()
664 return Error::Nonfatal(SkStringPrintf("Cannot codec subset: divisor %d is too big " in draw()
704 return SkStringPrintf("subset codec failed to decode (%d, %d, %d, %d) " in draw()
[all …]
DDM.cpp160 SkString id = SkStringPrintf("%s %s %s %s", config, src, srcOptions, name); in done()
192 SkString id = SkStringPrintf("%s %s %s %s", config, src, srcOptions, name); in start()
332 fail(SkStringPrintf("Couldn't read %s for golden results.", path.c_str())); in gather_gold()
1114 fail(SkStringPrintf("%s %s %s %s: %s", in Run()
1162 fail(SkStringPrintf("%s not found for %s %s %s %s in %s", in Run()
1247 return SkStringPrintf("gamma %.3g", tf.g); in identify_transfer_fn()
1251 return SkStringPrintf("%.3g %.3g %.3g %.3g %.3g %.3g %.3g", in identify_transfer_fn()
1337 fail(SkStringPrintf("Can't encode PNG to %s.\n", path.c_str())); in WriteToDisk()
1343 fail(SkStringPrintf("Can't open %s for writing.\n", path.c_str())); in WriteToDisk()
1347 fail(SkStringPrintf("Can't write to %s.\n", path.c_str())); in WriteToDisk()
/external/skqp/tests/
DTracingTest.cpp54 return SkStringPrintf("Circle(%f, %f, %f)", fCenter.fX, fCenter.fY, fRadius); in toString()
65 return SkStringPrintf("Rect(%f, %f, %f, %f)", in toString()
102 SkString message = SkStringPrintf("%s %s", "Hello", "World"); in test_trace_simple()
DPDFDeflateWStreamTest.cpp143 SkString s = SkStringPrintf("/tmp/deftst_compressed_%d", i); in DEF_TEST()
148 s = SkStringPrintf("/tmp/deftst_input_%d", i); in DEF_TEST()
/external/skia/tests/
DTracingTest.cpp54 return SkStringPrintf("Circle(%f, %f, %f)", fCenter.fX, fCenter.fY, fRadius); in toString()
65 return SkStringPrintf("Rect(%f, %f, %f, %f)", in toString()
102 SkString message = SkStringPrintf("%s %s", "Hello", "World"); in test_trace_simple()
/external/skia/tools/debugger/
DSkJsonWriteBuffer.cpp13 SkString fullName = SkStringPrintf("%02d_%s", fCount++, type); in append()
22 SkString hexByte = SkStringPrintf("%02x", bytes[i]); in writePad32()
33 SkString hexByte = SkStringPrintf("%02x", bytes[i]); in writeByteArray()
/external/skqp/tools/debugger/
DSkJsonWriteBuffer.cpp13 SkString fullName = SkStringPrintf("%02d_%s", fCount++, type); in append()
22 SkString hexByte = SkStringPrintf("%02x", bytes[i]); in writePad32()
33 SkString hexByte = SkStringPrintf("%02x", bytes[i]); in writeByteArray()
/external/skqp/tools/sk_app/
DCommandSet.h68 , fKeyName(' ' == c ? SkString("Space") : SkStringPrintf("%c", c)) in Command()
97 return SkStringPrintf("%s (%s)", fKeyName.c_str(), fDescription.c_str()); in getSoftkeyString()
/external/skia/tools/sk_app/
DCommandSet.h68 , fKeyName(' ' == c ? SkString("Space") : SkStringPrintf("%c", c)) in Command()
97 return SkStringPrintf("%s (%s)", fKeyName.c_str(), fDescription.c_str()); in getSoftkeyString()
/external/skqp/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp75 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure()
78 this->addLayoutQualifier(SkStringPrintf("max_vertices = %i", maxVertices).c_str(), in configure()
/external/skia/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp75 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure()
78 this->addLayoutQualifier(SkStringPrintf("max_vertices = %i", maxVertices).c_str(), in configure()
/external/skia/src/gpu/effects/
DGrMixerEffect.cpp29 SkString _input0 = SkStringPrintf("%s", args.fInputColor); in emitCode()
33 SkString _input1 = SkStringPrintf("%s", args.fInputColor); in emitCode()
/external/skqp/samplecode/
DSampleFilterQuality.cpp280 canvas->drawString(SkStringPrintf("%.8g", (float)fScale), textX, 100, font, paint); in onDrawContent()
281 canvas->drawString(SkStringPrintf("%.8g", (float)fAngle), textX, 150, font, paint); in onDrawContent()
282 canvas->drawString(SkStringPrintf("%.8g", trans[0] ), textX, 200, font, paint); in onDrawContent()
283 canvas->drawString(SkStringPrintf("%.8g", trans[1] ), textX, 250, font, paint); in onDrawContent()
/external/skia/samplecode/
DSampleFilterQuality.cpp280 canvas->drawString(SkStringPrintf("%.8g", (float)fScale), textX, 100, font, paint); in onDrawContent()
281 canvas->drawString(SkStringPrintf("%.8g", (float)fAngle), textX, 150, font, paint); in onDrawContent()
282 canvas->drawString(SkStringPrintf("%.8g", trans[0] ), textX, 200, font, paint); in onDrawContent()
283 canvas->drawString(SkStringPrintf("%.8g", trans[1] ), textX, 250, font, paint); in onDrawContent()
/external/skia/src/svg/
DSkSVGDevice.cpp37 return SkStringPrintf("rgb(%u,%u,%u)", in svg_color()
147 return SkStringPrintf("gradient_%d", fGradientCount++); in addLinearGradient()
151 return SkStringPrintf("clip_%d", fClipCount++); in addClip()
155 return SkStringPrintf("path_%d", fPathCount++); in addPath()
159 return SkStringPrintf("img_%d", fImageCount++); in addImage()
162 SkString addColorFilter() { return SkStringPrintf("cfilter_%d", fColorFilterCount++); } in addColorFilter()
165 return SkStringPrintf("pattern_%d", fPatternCount++); in addPattern()
805 imageUse.addAttribute("xlink:href", SkStringPrintf("#%s", imageID.c_str())); in drawBitmapCommon()
/external/skqp/src/svg/
DSkSVGDevice.cpp37 return SkStringPrintf("rgb(%u,%u,%u)", in svg_color()
147 return SkStringPrintf("gradient_%d", fGradientCount++); in addLinearGradient()
151 return SkStringPrintf("clip_%d", fClipCount++); in addClip()
155 return SkStringPrintf("path_%d", fPathCount++); in addPath()
159 return SkStringPrintf("img_%d", fImageCount++); in addImage()
162 SkString addColorFilter() { return SkStringPrintf("cfilter_%d", fColorFilterCount++); } in addColorFilter()
165 return SkStringPrintf("pattern_%d", fPatternCount++); in addPattern()
806 imageUse.addAttribute("xlink:href", SkStringPrintf("#%s", imageID.c_str())); in drawBitmapCommon()
/external/skqp/src/pdf/
DSkPDFMetadata.cpp41 return SkStringPrintf( in pdf_date()
350 creationDate = SkStringPrintf("<xmp:CreateDate>%s</xmp:CreateDate>\n", in MakeXMPObject()
357 modificationDate = SkStringPrintf( in MakeXMPObject()
397 auto value = SkStringPrintf( in MakeXMPObject()
/external/skia/src/pdf/
DSkPDFMetadata.cpp41 return SkStringPrintf( in pdf_date()
350 creationDate = SkStringPrintf("<xmp:CreateDate>%s</xmp:CreateDate>\n", in MakeXMPObject()
357 modificationDate = SkStringPrintf( in MakeXMPObject()
397 auto value = SkStringPrintf( in MakeXMPObject()
/external/skia/tools/skqp/src/
Dskqp.cpp460 auto str = SkStringPrintf("\"%s\",\"%s\",%d,%d,%" PRId64, backendName, gmName.c_str(), in makeReport()
462 write(&csvOut, SkStringPrintf("%s\n", str.c_str())); in makeReport()
468 write(&htmOut, SkStringPrintf(" f(%s);\n", str.c_str())); in makeReport()
476 write(&htmOut, SkStringPrintf("<p>gles errors: %d (of %d)</br>\n" in makeReport()
487 write(&unitOut, SkStringPrintf(" FAILED (%u errors)\n", result.fErrors.size())); in makeReport()
/external/skqp/tools/skqp/src/
Dskqp.cpp460 auto str = SkStringPrintf("\"%s\",\"%s\",%d,%d,%" PRId64, backendName, gmName.c_str(), in makeReport()
462 write(&csvOut, SkStringPrintf("%s\n", str.c_str())); in makeReport()
468 write(&htmOut, SkStringPrintf(" f(%s);\n", str.c_str())); in makeReport()
476 write(&htmOut, SkStringPrintf("<p>gles errors: %d (of %d)</br>\n" in makeReport()
487 write(&unitOut, SkStringPrintf(" FAILED (%u errors)\n", result.fErrors.size())); in makeReport()

123456