Lines Matching refs:DiffRecord
73 for (int i = 0; i < DiffRecord::kResultCount; ++i) { in ~DiffSummary()
88 FileArray fResultsOfType[DiffRecord::kResultCount];
91 StringArray fFailedBaseNames[DiffRecord::kResultCount];
146 void print(bool listFilenames, bool failOnResultType[DiffRecord::kResultCount], in print()
150 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in print()
151 DiffRecord::Result result = static_cast<DiffRecord::Result>(resultInt); in print()
157 printContents(fResultsOfType[result], DiffRecord::getResultDescription(result), in print()
159 if (DiffRecord::kCouldNotCompare_Result == result) { in print()
172 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in printfFailingBaseNames()
175 printf("%s [%d]%s", DiffRecord::ResultNames[resultInt], array.count(), separator); in printfFailingBaseNames()
184 void add (DiffRecord* drp) { in add()
198 case DiffRecord::kEqualBits_Result: in add()
201 case DiffRecord::kEqualPixels_Result: in add()
204 case DiffRecord::kDifferentSizes_Result: in add()
207 case DiffRecord::kDifferentPixels_Result: in add()
218 case DiffRecord::kCouldNotCompare_Result: in add()
223 case DiffRecord::kUnknown_Result: in add()
232 case DiffRecord::kEqualBits_Result: in add()
233 case DiffRecord::kEqualPixels_Result: in add()
330 AutoReleasePixels(DiffRecord* drp) in AutoReleasePixels()
342 DiffRecord* fDrp;
357 static void get_bounds(DiffRecord& drp) { in get_bounds()
418 DiffRecord *drp = new DiffRecord; in create_diff_images()
423 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images()
441 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images()
459 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_diff_images()
489 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images()
492 drp->fResult = DiffRecord::kEqualBits_Result; in create_diff_images()
505 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images()
516 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_diff_images()
523 DiffRecord *drp = new DiffRecord(); in create_diff_images()
534 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images()
544 DiffRecord *drp = new DiffRecord(); in create_diff_images()
555 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images()
637 bool failOnResultType[DiffRecord::kResultCount]; in tool_main()
638 for (int i = 0; i < DiffRecord::kResultCount; i++) { in tool_main()
657 DiffRecord::Result type = DiffRecord::getResultByName(argv[i]); in tool_main()
658 if (type != DiffRecord::kResultCount) { in tool_main()
820 sizeof(DiffRecord*), sortProc); in tool_main()
835 for (int i = 0; i < DiffRecord::kResultCount; i++) { in tool_main()
840 if (!failOnResultType[DiffRecord::kCouldNotCompare_Result]) { in tool_main()