Lines Matching full:c_str
93 SkDebugf("%s", test.status().c_str());
99 strcpy(fFilename, filename.c_str());
196 if (!sk_exists(dirName.c_str())) {
197 SkDebugf("could not read dir %s\n", dirName.c_str());
205 if (!sk_exists(outDir.c_str())) {
206 if (!sk_mkdir(outDir.c_str())) {
207 SkDebugf("could not create dir %s\n", outDir.c_str());
212 if (!sk_exists(grDir.c_str())) {
213 if (!sk_mkdir(grDir.c_str())) {
214 SkDebugf("could not create dir %s\n", grDir.c_str());
219 if (!sk_exists(skDir.c_str())) {
220 if (!sk_mkdir(skDir.c_str())) {
221 SkDebugf("could not create dir %s\n", skDir.c_str());
226 if (!sk_exists(skpDir.c_str())) {
227 if (!sk_mkdir(skpDir.c_str())) {
228 SkDebugf("could not create dir %s\n", skpDir.c_str());
233 if (!sk_exists(diffDir.c_str())) {
234 if (!sk_mkdir(diffDir.c_str())) {
235 SkDebugf("could not create dir %s\n", diffDir.c_str());
240 if (!sk_exists(statusDir.c_str())) {
241 if (!sk_mkdir(statusDir.c_str())) {
242 SkDebugf("could not create dir %s\n", statusDir.c_str());
373 if (!SkImageEncoder::EncodeFile(outFile.c_str(), bitmap,
386 SkFILEStream stream(path.c_str());
388 SkDebugf("invalid stream %s\n", path.c_str());
398 SkFILEWStream wStream(wPath.c_str());
470 const char* pngName = pngStr.c_str();
482 SkString statusFile = make_filepath(0, outStatusDir, statName.c_str());
492 if (!sk_exists(fStatusPath.c_str())) {
496 reader.setPath(fStatusPath.c_str());
558 stream->write(outStr.c_str(), outStr.size());
594 SkOSFile::Iter iter(pictDir.c_str(), "skp");
598 SkFILEWStream statusStream(makeStatusString(dirNo).c_str());
602 && strcmp(filename.c_str(), skipOverSkGr[index].filename) == 0) {
618 statusStream.write(outStr.c_str(), outStr.size());
621 SkDebugf("%s", outStr.c_str());
687 SkOSFile::Iter iter(pictDir.c_str(), "skp");
690 SkString pngName = make_png_name(filename.c_str());
691 SkString oldPng = make_filepath(dirIndex, outSkDir, pngName.c_str());
692 SkString newPng = make_filepath(dirIndex, outGrDir, pngName.c_str());
693 if (sk_exists(oldPng.c_str()) && sk_exists(newPng.c_str())) {
699 && strcmp(filename.c_str(), skipOverSkGr[index].filename) == 0) {
705 &testSkGrMain, dirIndex, filename.c_str(), &testRunner);
754 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose());
755 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose());