Lines Matching refs:rhs
163 const DiffRecord* rhs = *reinterpret_cast<DiffRecord* const *>(untyped_rhs); in compare() local
167 if (lhs->fResult != rhs->fResult) { in compare()
168 return (lhs->fResult < rhs->fResult) ? 1 : -1; in compare()
172 int result = T::comparePixels(lhs, rhs); in compare()
179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str()); in compare()
186 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() argument
187 if (lhs->fFractionDifference < rhs->fFractionDifference) { in comparePixels()
190 if (rhs->fFractionDifference < lhs->fFractionDifference) { in comparePixels()
199 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() argument
200 if (lhs->fWeightedFraction < rhs->fWeightedFraction) { in comparePixels()
203 if (lhs->fWeightedFraction > rhs->fWeightedFraction) { in comparePixels()
214 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() argument
218 float rightValue = MAX3(rhs->fAverageMismatchR, in comparePixels()
219 rhs->fAverageMismatchG, in comparePixels()
220 rhs->fAverageMismatchB); in comparePixels()
235 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() argument
239 uint32_t rightValue = MAX3(rhs->fMaxMismatchR, in comparePixels()
240 rhs->fMaxMismatchG, in comparePixels()
241 rhs->fMaxMismatchB); in comparePixels()
249 return CompareDiffMeanMismatches::comparePixels(lhs, rhs); in comparePixels()