Lines Matching refs:c_str
62 SkDebugf("\n\nFAILURE: %s\n\n", err.c_str()); in fail()
74 SkString id = SkStringPrintf("%s %s %s %s", config.c_str(), src.c_str(), in done()
75 srcOptions.c_str(), name.c_str()); in done()
96 , HumanizeMs(ms).c_str() in done()
97 , id.c_str() in done()
98 , note.c_str() in done()
99 , log.c_str()); in done()
109 SkString id = SkStringPrintf("%s %s %s %s", config.c_str(), src.c_str(), in start()
110 srcOptions.c_str(), name.c_str()); in start()
140 if (!JsonWriter::ReadJson(path.c_str(), add_gold)) { in gather_gold()
141 fail(SkStringPrintf("Couldn't read %s for golden results.", path.c_str())); in gather_gold()
183 !SkCommandLineFlags::ShouldSkip(FLAGS_match, src->name().c_str())) { in push_src()
192 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in push_codec_srcs()
194 SkDebugf("Couldn't read %s.", path.c_str()); in push_codec_srcs()
199 SkDebugf("Couldn't create codec for %s.", path.c_str()); in push_codec_srcs()
256 push_src("skp", "", new SKPSrc(SkOSPath::Join(path, file.c_str()))); in gather_srcs()
272 SkString path = SkOSPath::Join(flag, file.c_str()); in gather_srcs()
312 SkDebugf("Could not run %s: %s\n", tag, err.c_str()); in push_sink()
405 const char* part = parts[i].c_str(); in gather_sinks()
451 task->src.options, name.c_str()); in Run()
453 note.appendf(" (--blacklist %s)", whyBlacklisted.c_str()); in Run()
461 start(task->sink.tag, task->src.tag, task->src.options, name.c_str()); in Run()
470 name.c_str(), in Run()
471 err.c_str())); in Run()
473 note.appendf(" (skipped: %s)", err.c_str()); in Run()
501 md5.c_str(), in Run()
505 name.c_str(), in Run()
551 path = SkOSPath::Join(dir, result.md5.c_str()); in WriteToDisk()
554 if (sk_exists(path.c_str())) { in WriteToDisk()
559 sk_mkdir(path.c_str()); in WriteToDisk()
560 path = SkOSPath::Join(path.c_str(), task.src.tag); in WriteToDisk()
561 sk_mkdir(path.c_str()); in WriteToDisk()
563 path = SkOSPath::Join(path.c_str(), task.src.options); in WriteToDisk()
564 sk_mkdir(path.c_str()); in WriteToDisk()
566 path = SkOSPath::Join(path.c_str(), task.src->name().c_str()); in WriteToDisk()
571 SkFILEWStream file(path.c_str()); in WriteToDisk()
573 fail(SkStringPrintf("Can't open %s for writing.\n", path.c_str())); in WriteToDisk()
588 fail(SkStringPrintf("Can't encode PNG to %s.\n", path.c_str())); in WriteToDisk()
593 fail(SkStringPrintf("Can't write to %s.\n", path.c_str())); in WriteToDisk()
684 running.appendf("\n\t%s", gRunning[i].c_str()); in start_keepalive()
687 SkDebugf("\nCurrently running:%s\n", running.c_str()); in start_keepalive()
750 SkDebugf("\t%s\n", gFailures[i].c_str()); in dm_main()