/external/chromium_org/third_party/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 | 49 for (int i = 0; i < DiffRecord::kResultCount; ++i) { in ~DiffSummary() 64 FileArray fResultsOfType[DiffRecord::kResultCount]; 120 void print(bool listFilenames, bool failOnResultType[DiffRecord::kResultCount], in print() 124 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in print() 125 DiffRecord::Result result = static_cast<DiffRecord::Result>(resultInt); in print() 131 printContents(fResultsOfType[result], DiffRecord::getResultDescription(result), in print() 133 if (DiffRecord::kCouldNotCompare_Result == result) { in print() 145 void add (DiffRecord* drp) { in add() 159 case DiffRecord::kEqualBits_Result: in add() 162 case DiffRecord::kEqualPixels_Result: in add() [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 | 136 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() 145 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image() 151 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image() 153 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image() 171 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/skia/tools/ |
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 | 49 for (int i = 0; i < DiffRecord::kResultCount; ++i) { in ~DiffSummary() 64 FileArray fResultsOfType[DiffRecord::kResultCount]; 120 void print(bool listFilenames, bool failOnResultType[DiffRecord::kResultCount], in print() 124 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) { in print() 125 DiffRecord::Result result = static_cast<DiffRecord::Result>(resultInt); in print() 131 printContents(fResultsOfType[result], DiffRecord::getResultDescription(result), in print() 133 if (DiffRecord::kCouldNotCompare_Result == result) { in print() 145 void add (DiffRecord* drp) { in add() 159 case DiffRecord::kEqualBits_Result: in add() 162 case DiffRecord::kEqualPixels_Result: in add() [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 | 136 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() 145 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image() 151 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image() 153 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image() 171 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/chromium_org/third_party/skia/tools/skpdiff/ |
D | SkDiffContext.cpp | 83 DiffRecord* newRecord = fRecords.addToHead(DiffRecord()); in addDiff() 224 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputRecords() 225 DiffRecord* currentRecord = iter.get(); in outputRecords() 307 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputCsv() 308 DiffRecord* currentRecord = iter.get(); in outputCsv() 328 SkTLList<DiffRecord>::Iter iter2(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputCsv()
|
D | SkDiffContext.h | 119 struct DiffRecord { struct 134 SkTLList<DiffRecord> fRecords; argument
|
/external/skia/tools/skpdiff/ |
D | SkDiffContext.cpp | 83 DiffRecord* newRecord = fRecords.addToHead(DiffRecord()); in addDiff() 224 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputRecords() 225 DiffRecord* currentRecord = iter.get(); in outputRecords() 307 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputCsv() 308 DiffRecord* currentRecord = iter.get(); in outputCsv() 328 SkTLList<DiffRecord>::Iter iter2(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputCsv()
|
D | SkDiffContext.h | 119 struct DiffRecord { struct 134 SkTLList<DiffRecord> fRecords; argument
|
/external/skia/gm/rebaseline_server/ |
D | imagediffdb.py | 54 class DiffRecord(object): class 252 new_diff_record = DiffRecord(
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
D | imagediffdb.py | 54 class DiffRecord(object): class 252 new_diff_record = DiffRecord(
|