Lines Matching refs:srcPath
429 * @param srcPath The path to the file, for recreating the length-less stream.
430 * @param codec The SkImageDecoder originally used to decode srcPath, which will be used
435 static void test_stream_without_length(const char srcPath[], SkImageDecoder* codec,
441 SkASSERT(srcPath);
443 FILEStreamWithoutLength stream(srcPath);
450 srcPath);
456 "a digest\n", srcPath);
461 "that uses getLength\n", srcPath);
484 static void decodeFileAndWrite(const char srcPath[], const SkString* writePath) {
486 SkFILEStream stream(srcPath);
488 gInvalidStreams.push_back().set(srcPath);
494 gMissingCodecs.push_back().set(srcPath);
505 SkString basename = SkOSPath::SkBasename(srcPath);
520 "failed to decode %s, which is a known failure.", srcPath);
527 "new file %s (with no expectations) FAILED to decode.", srcPath);
534 gDecodeFailures.push_back().set(srcPath);
543 SkString failure = SkStringPrintf("failed to decode bounds for %s", srcPath);
548 SkString failure = SkStringPrintf("bounds do not match for %s", srcPath);
557 gSuccessfulDecodes.push_back().printf("%s [%d %d]", srcPath, bitmap.width(),
570 test_stream_without_length(srcPath, codec, bitmapAndDigest.fDigest);
608 subsetDim.c_str(), srcPath);
622 subsetDim.c_str(), srcPath);
638 const char* dot = strrchr(srcPath, '.');
643 SkDebugf("Could not determine type for '%s'\n", srcPath);
665 gEncodeFailures.push_back().printf("Failed to reencode %s to type '%s'", srcPath,
692 srcPath, suffix_for_type(type));