Home
last modified time | relevance | path

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

/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/skia/dm/
DDMSrcSink.cpp114 return Error::Nonfatal(SkStringPrintf("Could not create brd for %s.", fPath.c_str())); in draw()
223 return SkStringPrintf("%s_%.3f", SkOSPath::Basename(path.c_str()).c_str(), scale); in get_scaled_name()
364 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
375 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); in draw()
417 return SkStringPrintf("Image(%s) is too large (%d x %d)", fPath.c_str(), in draw()
433 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str()); in draw()
560 return Error::Nonfatal(SkStringPrintf("Cannot codec subset: divisor %d is too big " in draw()
594 return SkStringPrintf("could not install pixels for %s.", fPath.c_str()); in draw()
603 return SkStringPrintf("subset codec failed to decode (%d, %d, %d, %d) " in draw()
662 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
[all …]
DDM.cpp91 SkString id = SkStringPrintf("%s %s %s %s", config, src, srcOptions, name); in done()
111 SkString id = SkStringPrintf("%s %s %s %s", config, src, srcOptions, name); in start()
181 fail(SkStringPrintf("Couldn't read %s for golden results.", path.c_str())); in gather_gold()
894 fail(SkStringPrintf("%s %s %s %s: %s", in Run()
944 fail(SkStringPrintf("%s not found for %s %s %s %s in %s", in Run()
1017 fail(SkStringPrintf("Can't encode PNG to %s.\n", path.c_str())); in WriteToDisk()
1023 fail(SkStringPrintf("Can't open %s for writing.\n", path.c_str())); in WriteToDisk()
1027 fail(SkStringPrintf("Can't write to %s.\n", path.c_str())); in WriteToDisk()
/external/skia/src/svg/
DSkSVGDevice.cpp29 return SkStringPrintf("rgb(%u,%u,%u)", in svg_color()
254 return SkStringPrintf("gradient_%d", fGradientCount++); in addLinearGradient()
258 return SkStringPrintf("clip_%d", fClipCount++); in addClip()
262 return SkStringPrintf("path_%d", fPathCount++); in addPath()
266 return SkStringPrintf("img_%d", fImageCount++); in addImage()
694 imageUse.addAttribute("xlink:href", SkStringPrintf("#%s", imageID.c_str())); in drawBitmapCommon()
790 textPathElement.addAttribute("xlink:href", SkStringPrintf("#%s", pathID.c_str())); in drawTextOnPath()
/external/skia/tests/
DPDFDeflateWStreamTest.cpp135 SkString s = SkStringPrintf("/tmp/deftst_compressed_%d", i); in DEF_TEST()
140 s = SkStringPrintf("/tmp/deftst_input_%d", i); in DEF_TEST()
DTest.cpp24 SkString result = SkStringPrintf("%s:%d\t", this->fileName, this->lineNo); in toString()
DTest.h106 REPORT_FAILURE(r, "", SkStringPrintf(__VA_ARGS__)); \
DStringTest.cpp176 REPORTER_ASSERT(reporter, SkStringPrintf("%i", 0).equals("0")); in DEF_TEST()
DPDFPrimitivesTest.cpp64 SkStringPrintf("'%s' != '%s'", strptr, sks.c_str())); \
/external/skia/gm/
Dblend.cpp43 SkString text = SkStringPrintf("0x%08x", c);
/external/skia/bench/
DResultsWriter.h97 SkString id = SkStringPrintf( "%s_%d_%d", name, x, y); in bench()
DMemsetBench.cpp18 , fName(SkStringPrintf("memset%d_%d%s", sizeof(T)*8, n, kInline ? "_inline" : "")) {} in MemsetBench()
Dnanobench.cpp128 if (FLAGS_verbose) return SkStringPrintf("%llu", (uint64_t)(ms*1e6)); in humanize()
941 SkStringPrintf("%d %d %d %d", fClip.fLeft, fClip.fTop, in fillCurrentOptions()
944 log->configOption("scale", SkStringPrintf("%.2g", fScales[fCurrentScale]).c_str()); in fillCurrentOptions()
/external/skia/tools/VisualBench/
DVisualLightweightBenchModule.cpp37 return SkStringPrintf("%llu", (uint64_t)(ms*1e6)); in humanize()
/external/skia/include/core/
DSkString.h264 SkString SkStringPrintf(const char* format, ...);
/external/skia/src/pdf/
DSkPDFMetadata.cpp21 return SkStringPrintf( in pdf_date()
/external/skia/src/core/
DSkResourceCache.cpp691 SkString dumpName = SkStringPrintf("skia/sk_resource_cache/%s_%p", rec.getCategory(), &rec); in sk_trace_dump_visitor()
DSkString.cpp634 SkString SkStringPrintf(const char* format, ...) { in SkStringPrintf() function
DSkGlyphCache.cpp609 SkString dumpName = SkStringPrintf("%s/%s_%d/%p", in sk_trace_dump_visitor()
/external/skia/tools/json/
DSkJSONCanvas.cpp216 SkString description = SkStringPrintf("%dx%d pixel image", image.width(), image.height()); in flatten()