Searched refs:DiffRecord (Results 1 – 11 of 11) sorted by relevance
/external/skia/tools/skdiff/ |
D | skdiff.h | 87 struct DiffRecord { struct 101 static char const * const ResultNames[DiffRecord::kResultCount]; argument 111 DiffRecord() in DiffRecord() function 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 | 71 for (int i = 0; i < DiffRecord::kResultCount; ++i) { in ~DiffSummary() 86 FileArray fResultsOfType[DiffRecord::kResultCount]; 89 StringArray fFailedBaseNames[DiffRecord::kResultCount]; 144 void print(bool listFilenames, bool failOnResultType[DiffRecord::kResultCount], in print() 148 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in print() 149 DiffRecord::Result result = static_cast<DiffRecord::Result>(resultInt); in print() 155 printContents(fResultsOfType[result], DiffRecord::getResultDescription(result), in print() 157 if (DiffRecord::kCouldNotCompare_Result == result) { in print() 170 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in printfFailingBaseNames() 173 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 | 24 DiffRecord* drp) { in create_diff_images() 51 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images() 56 drp->fResult = DiffRecord::kEqualBits_Result; in create_diff_images() 65 drp->fResult = DiffRecord::kCouldNotCompare_Result; in create_diff_images() 76 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_diff_images() 128 bool failOnResultType[DiffRecord::kResultCount]; in main() 129 for (int i = 0; i < DiffRecord::kResultCount; i++) { in main() 149 DiffRecord::Result type = DiffRecord::getResultByName(argv[i]); in main() 150 if (type != DiffRecord::kResultCount) { in main() 325 DiffRecord dr; in main() [all …]
|
D | skdiff_utils.cpp | 131 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() 140 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image() 146 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image() 148 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image() 166 if (DiffRecord::kDifferentPixels_Result == drp->fResult) { in create_and_write_diff_image()
|
D | skdiff_utils.h | 46 void create_and_write_diff_image(DiffRecord* drp,
|
/external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
D | DiffLog.cpp | 35 Diff.push_back(DiffRecord(L, R)); in addMatch() 39 Diff.push_back(DiffRecord(L, DiffRecord::second_type(0))); in addLeft() 43 Diff.push_back(DiffRecord(DiffRecord::first_type(0), R)); in addRight()
|
D | DiffLog.h | 58 typedef std::pair<Instruction*,Instruction*> DiffRecord; typedef 59 SmallVector<DiffRecord, 20> Diff;
|
/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 | 62 typedef std::pair<Instruction*,Instruction*> DiffRecord; typedef 63 SmallVector<DiffRecord, 20> Diff;
|