Home
last modified time | relevance | path

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

/external/skia/tests/
DBitmapCopyTest.cpp183 static const Pair gPairs[] = { variable
212 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in DEF_TEST()
214 setup_src_bitmaps(&srcOpaque, &srcPremul, gPairs[i].fColorType); in DEF_TEST()
231 for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) { in DEF_TEST()
233 bool success = subset.copyTo(&copy, gPairs[j].fColorType); in DEF_TEST()
237 REPORTER_ASSERT(reporter, gPairs[i].fColorType != gPairs[j].fColorType); in DEF_TEST()
248 if (gPairs[i].fColorType == gPairs[j].fColorType) { in DEF_TEST()
272 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in DEF_TEST()
274 setup_src_bitmaps(&srcOpaque, &srcPremul, gPairs[i].fColorType); in DEF_TEST()
276 for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) { in DEF_TEST()
[all …]
/external/skia/src/ports/
DSkFontHost_mac.cpp614 } gPairs[] = { in map_css_names() local
620 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in map_css_names()
621 if (strcmp(name, gPairs[i].fFrom) == 0) { in map_css_names()
622 return gPairs[i].fTo; in map_css_names()