Home
last modified time | relevance | path

Searched refs:gPairs (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/effects/
DSkPorterDuff.cpp24 } gPairs[] = { variable
48 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()
/external/skia/tests/
DBitmapCopyTest.cpp241 static const Pair gPairs[] = { in TestBitmapCopy() local
260 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 …]
/external/skia/src/ports/
DSkImageDecoder_empty.cpp28 static const CodecFormat gPairs[] = { variable
40 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()
DSkFontHost_mac_coretext.cpp509 } gPairs[] = { in map_css_names() local
515 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()
/external/skia/src/core/
DSkPixelRef.cpp166 static Pair gPairs[MAX_PAIR_COUNT]; variable
180 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()
DSkFlattenable.cpp372 static Pair gPairs[MAX_PAIR_COUNT]; variable
386 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()