Lines Matching full:c_str
88 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str()));
114 return Error::Nonfatal(SkStringPrintf("Could not create brd for %s.", fPath.c_str()));
223 return SkStringPrintf("%s_%.3f", SkOSPath::Basename(path.c_str()).c_str(), scale);
230 return SkOSPath::Basename(fPath.c_str());
243 const char* actualExt = strrchr(path.c_str(), '.');
362 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str()));
364 return SkStringPrintf("Couldn't read %s.", fPath.c_str());
375 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str());
417 return SkStringPrintf("Image(%s) is too large (%d x %d)", fPath.c_str(),
433 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str());
562 fPath.c_str(), W, H));
594 return SkStringPrintf("could not install pixels for %s.", fPath.c_str());
606 fPath.c_str(), W, H, result);
626 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str()));
636 return SkOSPath::Basename(fPath.c_str());
660 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str()));
662 return SkStringPrintf("Couldn't read %s.", fPath.c_str());
666 return SkStringPrintf("Couldn't create android codec for %s.", fPath.c_str());
698 return SkStringPrintf("Image(%s) is too large (%d x %d)", fPath.c_str(),
716 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str());
769 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str());
787 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str()));
799 return SkOSPath::Basename(fPath.c_str());
811 SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(fPath.c_str()));
813 return SkStringPrintf("Couldn't read %s.", fPath.c_str());
817 return SkStringPrintf("Couldn't decode %s as a picture.", fPath.c_str());
827 SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(fPath.c_str()));
842 Name SKPSrc::name() const { return SkOSPath::Basename(fPath.c_str()); }