/external/skia/tools/timer/ |
D | Timer.cpp | 10 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/timer/ |
D | Timer.cpp | 10 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/src/gpu/glsl/ |
D | GrGLSLFragmentProcessor.cpp | 63 return SkStringPrintf("%s(%s, %s)", fFunctionNames[childIndex].c_str(), in invokeChild() 70 return SkStringPrintf("%s(%s)", fFunctionNames[childIndex].c_str(), inputColor); in invokeChild() 115 return SkStringPrintf("%s(%s, proj((%s) * %s.xy1))", fFunctionNames[childIndex].c_str(), in invokeChildWithMatrix() 118 return SkStringPrintf("%s(%s, float3x2(%s) * %s.xy1)", in invokeChildWithMatrix() 122 return SkStringPrintf("%s(%s, ((%s) * %s.xy1).xy)", fFunctionNames[childIndex].c_str(), in invokeChildWithMatrix() 128 return SkStringPrintf("%s(%s)", fFunctionNames[childIndex].c_str(), inputColor); in invokeChildWithMatrix()
|
D | GrGLSLVertexGeoBuilder.cpp | 68 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure() 71 this->addLayoutQualifier(SkStringPrintf("max_vertices = %i", maxVertices).c_str(), in configure()
|
/external/skqp/tools/viewer/ |
D | SkottieSlide.cpp | 35 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/tests/ |
D | TracingTest.cpp | 55 return SkStringPrintf("Circle(%f, %f, %f)", fCenter.fX, fCenter.fY, fRadius); in toString() 66 return SkStringPrintf("Rect(%f, %f, %f, %f)", in toString() 103 SkString message = SkStringPrintf("%s %s", "Hello", "World"); in test_trace_simple()
|
/external/skqp/tests/ |
D | TracingTest.cpp | 54 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/skqp/dm/ |
D | DMSrcSink.cpp | 165 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/tools/viewer/ |
D | SkottieSlide.cpp | 93 const auto json_size = SkStringPrintf("Json size: %zu bytes", in draw_stats_box() 96 const auto animator_count = SkStringPrintf("Animator count: %zu", in draw_stats_box() 99 const auto json_parse_time = SkStringPrintf("Json parse time: %.3f ms", in draw_stats_box() 102 const auto scene_parse_time = SkStringPrintf("Scene build time: %.3f ms", in draw_stats_box() 105 const auto total_load_time = SkStringPrintf("Total load time: %.3f ms", in draw_stats_box()
|
D | SkSLSlide.cpp | 178 SkString name = v.isArray() ? SkStringPrintf("%s[%d]", v.name.c_str(), c) in draw() 195 ? SkStringPrintf("%s[%d][%d]", v.name.c_str(), e, c) in draw() 196 : SkStringPrintf("%s[%d]", v.name.c_str(), c); in draw() 209 SkString name = v.isArray() ? SkStringPrintf("%s[%d]", v.name.c_str(), c) in draw()
|
/external/skia/tests/sksl/fp/ |
D | GrNestedChildProcessors.cpp | 23 …SkString _input1 = SkStringPrintf("%s * half4(0.5)", args.fUniformHandler->getUniformCStr(colorVar… in emitCode() 25 …SkString _input0 = SkStringPrintf("%s * %s", args.fUniformHandler->getUniformCStr(colorVar), _samp… in emitCode()
|
/external/skia/tools/gpu/ |
D | MemoryCache.cpp | 108 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk() 115 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk() 123 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk()
|
/external/skia/tools/sk_app/ |
D | CommandSet.h | 68 , fKeyName(' ' == c ? SkString("Space") : SkStringPrintf("%c", c)) in Command() 97 return SkStringPrintf("%s (%s)", fKeyName.c_str(), fDescription.c_str()); in getSoftkeyString()
|
/external/skqp/tools/sk_app/ |
D | CommandSet.h | 68 , 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/ |
D | GrGLSLVertexGeoBuilder.cpp | 75 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure() 78 this->addLayoutQualifier(SkStringPrintf("max_vertices = %i", maxVertices).c_str(), in configure()
|
/external/skia/gm/ |
D | particles.cpp | 39 SkString onShortName() override { return SkStringPrintf("particles_%s", fName); } in onShortName() 45 auto jsonData = GetResourceAsData(SkStringPrintf("particles/%s.json", fName).c_str()); in onOnceBeforeDraw()
|
/external/skqp/tools/debugger/ |
D | SkJsonWriteBuffer.cpp | 13 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/skia/tools/debugger/ |
D | JsonWriteBuffer.cpp | 13 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/skia/src/gpu/effects/generated/ |
D | GrOverrideInputFragmentProcessor.cpp | 38 SkString _input0 = SkStringPrintf( in emitCode() 104 return SkStringPrintf( in onDumpInfo()
|
/external/skia/dm/ |
D | DM.cpp | 243 SkString id = SkStringPrintf("%s %s %s %s", config, src, srcOptions, name); in done() 275 SkString id = SkStringPrintf("%s %s %s %s", config, src, srcOptions, name); in start() 416 fail(SkStringPrintf("Couldn't read %s for golden results.", path.c_str())); in gather_gold() 1151 fail(SkStringPrintf("%s %s %s %s: %s", in Run() 1190 fail(SkStringPrintf("%s not found for %s %s %s %s in %s", in Run() 1315 return SkStringPrintf("gamma %.3g", tf.g); in identify_transfer_fn() 1319 return SkStringPrintf("%.3g %.3g %.3g %.3g %.3g %.3g %.3g", in identify_transfer_fn() 1324 return SkStringPrintf("PQish %.3g %.3g %.3g %.3g %.3g %.3g", in identify_transfer_fn() 1329 return SkStringPrintf("HLGish %.3g %.3g %.3g %.3g %.3g (%.3g)", in identify_transfer_fn() 1398 fail(SkStringPrintf("Can't open %s for writing.\n", path.c_str())); in WriteToDisk() [all …]
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 85 return SkStringPrintf("#%1X%1X%1X", rh, gh, bh); in svg_color() 88 return SkStringPrintf("#%02X%02X%02X", r, g, b); in svg_color() 215 return SkStringPrintf("gradient_%d", fGradientCount++); in addLinearGradient() 219 return SkStringPrintf("path_%d", fPathCount++); in addPath() 223 return SkStringPrintf("img_%d", fImageCount++); in addImage() 226 SkString addColorFilter() { return SkStringPrintf("cfilter_%d", fColorFilterCount++); } in addColorFilter() 229 return SkStringPrintf("pattern_%d", fPatternCount++); in addPattern() 739 const auto cid = SkStringPrintf("cl_%x", e->getGenID()); in syncClipStack() 786 clip_grp->addAttribute("clip-path", SkStringPrintf("url(#%s)", cid.c_str())); in syncClipStack() 954 imageUse.addAttribute("xlink:href", SkStringPrintf("#%s", imageID.c_str())); in drawBitmapCommon()
|
/external/skia/src/pdf/ |
D | SkPDFMetadata.cpp | 35 return SkStringPrintf( in pdf_date() 334 creationDate = SkStringPrintf("<xmp:CreateDate>%s</xmp:CreateDate>\n", in MakeXMPObject() 341 modificationDate = SkStringPrintf( in MakeXMPObject() 373 auto value = SkStringPrintf( in MakeXMPObject()
|
/external/skqp/samplecode/ |
D | SampleFilterQuality.cpp | 280 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/tools/skqp/ |
D | make_skqp_model.cpp | 93 encode_png(SkStringPrintf("%s/min.png", dst_dir).c_str(), minBitmap.pixmap()); in main() 94 encode_png(SkStringPrintf("%s/max.png", dst_dir).c_str(), maxBitmap.pixmap()); in main()
|
/external/skqp/src/pdf/ |
D | SkPDFMetadata.cpp | 41 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()
|