Searched refs:DiffRecord (Results 1 – 11 of 11) sorted by relevance
/external/skia/tools/ |
D | skdiff.h | 87 struct DiffRecord { struct 101 static char const * const ResultNames[DiffRecord::kResultCount]; argument 111 DiffRecord() in DiffRecord() argument 157 typedef SkTDArray<DiffRecord*> RecordArray; argument 162 const DiffRecord* lhs = *reinterpret_cast<DiffRecord* const *>(untyped_lhs); in compare() 163 const DiffRecord* rhs = *reinterpret_cast<DiffRecord* const *>(untyped_rhs); in compare() 186 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() 199 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() 214 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() 235 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() [all …]
|
D | skdiff_main.cpp | 72 for (int i = 0; i < DiffRecord::kResultCount; ++i) { in ~DiffSummary() 87 FileArray fResultsOfType[DiffRecord::kResultCount]; 90 StringArray fFailedBaseNames[DiffRecord::kResultCount]; 145 void print(bool listFilenames, bool failOnResultType[DiffRecord::kResultCount], in print() 149 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in print() 150 DiffRecord::Result result = static_cast<DiffRecord::Result>(resultInt); in print() 156 printContents(fResultsOfType[result], DiffRecord::getResultDescription(result), in print() 158 if (DiffRecord::kCouldNotCompare_Result == result) { in print() 171 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in printfFailingBaseNames() 174 printf("%s [%d]%s", DiffRecord::ResultNames[resultInt], array.count(), separator); in printfFailingBaseNames() [all …]
|
D | skdiff.cpp | 14 /*static*/ char const * const DiffRecord::ResultNames[DiffRecord::kResultCount] = { 23 DiffRecord::Result DiffRecord::getResultByName(const char *name) { in getResultByName() 24 for (int result = 0; result < DiffRecord::kResultCount; ++result) { in getResultByName() 25 if (0 == strcmp(DiffRecord::ResultNames[result], name)) { in getResultByName() 26 return static_cast<DiffRecord::Result>(result); in getResultByName() 29 return DiffRecord::kResultCount; in getResultByName() 32 static char const * const ResultDescriptions[DiffRecord::kResultCount] = { 41 const char* DiffRecord::getResultDescription(DiffRecord::Result result) { in getResultDescription() 158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { in compute_diff() 162 dr->fResult = DiffRecord::kDifferentSizes_Result; in compute_diff() [all …]
|
D | skdiff_html.cpp | 79 static void print_pixel_count(SkFILEWStream* stream, const DiffRecord& diff) { in print_pixel_count() 93 static void print_checkbox_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_checkbox_cell() 99 static void print_label_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_label_cell() 106 case DiffRecord::kEqualBits_Result: in print_label_cell() 109 case DiffRecord::kEqualPixels_Result: in print_label_cell() 112 case DiffRecord::kDifferentSizes_Result: in print_label_cell() 115 case DiffRecord::kDifferentPixels_Result: in print_label_cell() 150 case DiffRecord::kCouldNotCompare_Result: in print_label_cell() 212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { in print_diff_row() 287 DiffRecord* diff = differences[i]; in print_diff_page() [all …]
|
D | skdiff_image.cpp | 27 DiffRecord* drp) { in create_diff_images() 54 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images() 59 drp->fResult = DiffRecord::kEqualBits_Result; in create_diff_images() 68 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images() 79 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_diff_images() 132 bool failOnResultType[DiffRecord::kResultCount]; in tool_main() 133 for (int i = 0; i < DiffRecord::kResultCount; i++) { in tool_main() 153 DiffRecord::Result type = DiffRecord::getResultByName(argv[i]); in tool_main() 154 if (type != DiffRecord::kResultCount) { in tool_main() 329 DiffRecord dr; in tool_main() [all …]
|
D | skdiff_utils.cpp | 120 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() 129 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image() 135 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image() 137 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image() 155 if (DiffRecord::kDifferentPixels_Result == drp->fResult) { in create_and_write_diff_image()
|
D | skdiff_utils.h | 47 void create_and_write_diff_image(DiffRecord* drp,
|
/external/llvm/tools/llvm-diff/ |
D | DiffLog.cpp | 34 Diff.push_back(DiffRecord(L, R)); in addMatch() 38 Diff.push_back(DiffRecord(L, DiffRecord::second_type(nullptr))); in addLeft() 42 Diff.push_back(DiffRecord(DiffRecord::first_type(nullptr), R)); in addRight()
|
D | DiffLog.h | 58 typedef std::pair<Instruction*,Instruction*> DiffRecord; typedef 59 SmallVector<DiffRecord, 20> Diff;
|
/external/skia/tools/skpdiff/ |
D | SkDiffContext.cpp | 113 DiffRecord* newRecord = fRecords.addToHead(DiffRecord()); in addDiff() 296 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputRecords() 297 DiffRecord* currentRecord = iter.get(); in outputRecords() 408 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputCsv() 409 DiffRecord* currentRecord = iter.get(); in outputCsv() 429 SkTLList<DiffRecord>::Iter iter2(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputCsv()
|
D | SkDiffContext.h | 165 struct DiffRecord { struct 191 SkTLList<DiffRecord> fRecords; argument
|