Searched refs:gPairs (Results 1 – 6 of 6) sorted by relevance
24 } gPairs[] = { variable48 const Pair* pairs = gPairs; in find_pdmode()49 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in find_pdmode()62 const Pair& pair = gPairs[mode]; in ToXfermodeMode()68 const Pair& pair = gPairs[mode]; in CreateXfermode()82 return SkXfermode::GetProc(gPairs[mode].fXF); in GetXfermodeProc()86 return SkXfermode::GetProc16(gPairs[mode].fXF, srcColor); in GetXfermodeProc16()
241 static const Pair gPairs[] = { in TestBitmapCopy() local260 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in TestBitmapCopy()261 for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) { in TestBitmapCopy()265 src.setConfig(gPairs[i].fConfig, W, H); in TestBitmapCopy()274 bool success = src.copyTo(&dst, gPairs[j].fConfig); in TestBitmapCopy()275 bool expected = gPairs[i].fValid[j] != '0'; in TestBitmapCopy()284 bool canSucceed = src.canCopyTo(gPairs[j].fConfig); in TestBitmapCopy()296 REPORTER_ASSERT(reporter, dst.config() == gPairs[j].fConfig); in TestBitmapCopy()358 if (gPairs[i].fConfig != SkBitmap::kRLE_Index8_Config) { in TestBitmapCopy()364 tstSafeSize.setConfig(gPairs[i].fConfig, 100000000U, in TestBitmapCopy()[all …]
28 static const CodecFormat gPairs[] = { variable40 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in Factory()41 SkImageDecoder* codec = gPairs[i].fProc(stream); in Factory()51 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in SupportsFormat()52 if (gPairs[i].fFormat == format) { in SupportsFormat()
509 } gPairs[] = { in map_css_names() local515 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in map_css_names()516 if (strcmp(name, gPairs[i].fFrom) == 0) { in map_css_names()517 return gPairs[i].fTo; in map_css_names()
166 static Pair gPairs[MAX_PAIR_COUNT]; variable180 gPairs[gCount].fName = name; in Register()181 gPairs[gCount].fFactory = factory; in Register()199 const Pair* pairs = gPairs; in NameToFactory()212 const Pair* pairs = gPairs; in FactoryToName()
372 static Pair gPairs[MAX_PAIR_COUNT]; variable386 gPairs[gCount].fName = name; in Register()387 gPairs[gCount].fFactory = factory; in Register()405 const Pair* pairs = gPairs; in NameToFactory()418 const Pair* pairs = gPairs; in FactoryToName()