Lines Matching refs:coords
179 // at all coordinates indicated by coords. Simplifies verification of
182 Coordinates& coords,
188 for (int i = 0; i < coords.length; ++i) {
190 (getPixel(coords[i]->fX, coords[i]->fY, bm1) ==
191 getPixel(coords[i]->fX, coords[i]->fY, bm2));
202 // Writes unique pixel values at locations specified by coords.
203 static void writeCoordPixels(SkBitmap& bm, const Coordinates& coords) {
204 for (int i = 0; i < coords.length; ++i)
205 setPixel(coords[i]->fX, coords[i]->fY, i, bm);
437 Coordinates coords(subW * subH);
442 SkASSERT(index < coords.length);
443 coords[index]->fX = x;
444 coords[index]->fY = y;
447 writeCoordPixels(subset, coords);
466 reportCopyVerification(subset, bufBm, coords,
484 reportCopyVerification(subset, bufBm, coords,
498 reportCopyVerification(subset, bufBm, coords,
512 reportCopyVerification(subset, bufBm, coords,
522 writeCoordPixels(bufBm, coords);
534 writeCoordPixels(bufBm, coords);
538 reportCopyVerification(bufBm, subset, coords,