Lines Matching refs:gPairs
242 static const Pair gPairs[] = {
261 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) {
262 for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) {
266 src.setConfig(gPairs[i].fConfig, W, H);
275 bool success = src.copyTo(&dst, gPairs[j].fConfig);
276 bool expected = gPairs[i].fValid[j] != '0';
285 bool canSucceed = src.canCopyTo(gPairs[j].fConfig);
297 REPORTER_ASSERT(reporter, dst.config() == gPairs[j].fConfig);
368 if (gPairs[i].fConfig != SkBitmap::kRLE_Index8_Config) {
374 tstSafeSize.setConfig(gPairs[i].fConfig, 100000000U,
385 switch (gPairs[i].fConfig) {
432 if (gPairs[i].fConfig == SkBitmap::kA1_Config) {
448 src.setConfig(gPairs[i].fConfig, 2 * subW + 1, subH);
450 src.setConfig(gPairs[i].fConfig, subW, subH);
466 if (gPairs[i].fConfig == SkBitmap::kA1_Config)
512 bufBm.setConfig(gPairs[i].fConfig, subW, subH,
534 bufBm.setConfig(gPairs[i].fConfig, subW, subH,
548 bufBm.setConfig(gPairs[i].fConfig, subW, subH,
562 bufBm.setConfig(gPairs[i].fConfig, subW, subH);
578 bufBm.setConfig(gPairs[i].fConfig, subW, subH);
590 bufBm.setConfig(gPairs[i].fConfig, subW, subH);