HomeSort by relevance Sort by last modified time
    Searched refs:DiffRecord (Results 1 - 12 of 12) sorted by null

  /external/skia/tools/
skdiff.h 87 struct DiffRecord {
101 static char const * const ResultNames[DiffRecord::kResultCount];
111 DiffRecord()
157 typedef SkTDArray<DiffRecord*> RecordArray;
162 const DiffRecord* lhs = *reinterpret_cast<DiffRecord* const *>(untyped_lhs);
163 const DiffRecord* rhs = *reinterpret_cast<DiffRecord* const *>(untyped_rhs);
186 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs)
    [all...]
skdiff.cpp 14 /*static*/ char const * const DiffRecord::ResultNames[DiffRecord::kResultCount] = {
23 DiffRecord::Result DiffRecord::getResultByName(const char *name) {
24 for (int result = 0; result < DiffRecord::kResultCount; ++result) {
25 if (0 == strcmp(DiffRecord::ResultNames[result], name)) {
26 return static_cast<DiffRecord::Result>(result);
29 return DiffRecord::kResultCount;
32 static char const * const ResultDescriptions[DiffRecord::kResultCount] = {
41 const char* DiffRecord::getResultDescription(DiffRecord::Result result)
    [all...]
skdiff_html.cpp 79 static void print_pixel_count(SkFILEWStream* stream, const DiffRecord& diff) {
93 static void print_checkbox_cell(SkFILEWStream* stream, const DiffRecord& diff) {
99 static void print_label_cell(SkFILEWStream* stream, const DiffRecord& diff) {
106 case DiffRecord::kEqualBits_Result:
107 SkDEBUGFAIL("should not encounter DiffRecord with kEqualBits here");
109 case DiffRecord::kEqualPixels_Result:
110 SkDEBUGFAIL("should not encounter DiffRecord with kEqualPixels here");
112 case DiffRecord::kDifferentSizes_Result:
115 case DiffRecord::kDifferentPixels_Result:
150 case DiffRecord::kCouldNotCompare_Result
    [all...]
skdiff_main.cpp 49 for (int i = 0; i < DiffRecord::kResultCount; ++i) {
64 FileArray fResultsOfType[DiffRecord::kResultCount];
120 void print(bool listFilenames, bool failOnResultType[DiffRecord::kResultCount],
124 for (int resultInt = 0; resultInt < DiffRecord::kResultCount; ++resultInt) {
125 DiffRecord::Result result = static_cast<DiffRecord::Result>(resultInt);
131 printContents(fResultsOfType[result], DiffRecord::getResultDescription(result),
133 if (DiffRecord::kCouldNotCompare_Result == result) {
145 void add (DiffRecord* drp) {
159 case DiffRecord::kEqualBits_Result
    [all...]
skdiff_image.cpp 27 DiffRecord* drp) {
54 drp->fResult = DiffRecord::kCouldNotCompare_Result;
59 drp->fResult = DiffRecord::kEqualBits_Result;
68 drp->fResult = DiffRecord::kCouldNotCompare_Result;
79 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult);
132 bool failOnResultType[DiffRecord::kResultCount];
133 for (int i = 0; i < DiffRecord::kResultCount; i++) {
153 DiffRecord::Result type = DiffRecord::getResultByName(argv[i]);
154 if (type != DiffRecord::kResultCount)
    [all...]
skdiff_utils.h 47 void create_and_write_diff_image(DiffRecord* drp,
skdiff_utils.cpp 136 void create_and_write_diff_image(DiffRecord* drp,
145 drp->fResult = DiffRecord::kDifferentSizes_Result;
153 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult);
155 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult);
173 if (DiffRecord::kDifferentPixels_Result == drp->fResult) {
  /external/llvm/tools/llvm-diff/
DiffLog.cpp 34 Diff.push_back(DiffRecord(L, R));
38 Diff.push_back(DiffRecord(L, DiffRecord::second_type(0)));
42 Diff.push_back(DiffRecord(DiffRecord::first_type(0), R));
DiffLog.h 58 typedef std::pair<Instruction*,Instruction*> DiffRecord;
59 SmallVector<DiffRecord, 20> Diff;
  /external/skia/tools/skpdiff/
SkDiffContext.h 119 struct DiffRecord {
134 SkTLList<DiffRecord> fRecords;
SkDiffContext.cpp 83 DiffRecord* newRecord = fRecords.addToHead(DiffRecord());
224 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart);
225 DiffRecord* currentRecord = iter.get();
307 SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart);
308 DiffRecord* currentRecord = iter.get();
328 SkTLList<DiffRecord>::Iter iter2(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart)
    [all...]
  /external/skia/gm/rebaseline_server/
imagediffdb.py 32 class DiffRecord(object):
39 and prepare a DiffRecord for them.
146 and prepare a DiffRecord for them.
171 new_diff_record = DiffRecord(
178 logging.exception('got exception while creating new DiffRecord')
183 """Returns the DiffRecord for this image pair.
185 Raises a KeyError if we don't have a DiffRecord for this image pair.

Completed in 122 milliseconds