Searched refs:kLastMode (Results 1 – 19 of 19) sorted by relevance
15 for (int mode = 0; mode <= SkXfermode::kLastMode; mode++) { in test_asMode()41 for (int i = 0; i <= SkXfermode::kLastMode; ++i) { in test_IsMode()
147 for (int iMode = 0; iMode < int(SkXfermode::kLastMode); iMode++) { in DEF_TEST()
58 for (int mode = 0; mode <= SkXfermode::kLastMode; mode++) { in DEF_TEST()
266 for (size_t i = 0; i <= SkXfermode::kLastMode; ++i) { in TestXfermodeSerialization()
108 kLastMode = kLuminosity_Mode enumerator246 kModeCount = kLastMode + 1
39 kLastMode = kRepeat_Mode enumerator41 static const int kModeCount = kLastMode + 1;
26 return mode > SkXfermode::kLastCoeffMode && mode <= SkXfermode::kLastMode; in IsSupportedMode()51 GR_STATIC_ASSERT(kGrBlendEquationCnt == SkXfermode::kLastMode + 1 + kOffset); in hw_blend_equation()
23 return (mode >= 0) && (mode <= SkXfermode::kLastMode); in SkIsValidMode()
244 if (mode < 0 || mode > SkXfermode::kLastMode) { in handleOp()391 if (mode < 0 || mode > SkXfermode::kLastMode) { in handleOp()
972 SkASSERT((unsigned) mode <= (unsigned)kLastMode); in ModeName()981 SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gModeStrings) == kLastMode + 1, mode_count); in ModeName()1567 SK_DECLARE_STATIC_LAZY_PTR_ARRAY(SkXfermode, cached, SkXfermode::kLastMode + 1, create_mode);
90 for (int i = 0; i <= SkXfermode::kLastMode; ++i) { in onDraw()
43 for (size_t m = 0; m <= SkXfermode::kLastMode; m++) { in onDraw()
120 static_cast<SkXfermode::Mode>(random.nextULessThan(SkXfermode::kLastMode + 1)); in onDraw()
71 for (size_t m = 0; m <= SkXfermode::kLastMode; ++m) { in onDraw()
267 static const char* gModeStrings[SkXfermode::kLastMode+1] = { in toString()
118 return static_cast<SkXfermode::Mode>(R(SkXfermode::kLastMode+1)); in make_xfermode()
968 SK_ARRAY_COUNT(gNEONXfermodeProcs) == SkXfermode::kLastMode + 1,1007 SK_ARRAY_COUNT(gNEONXfermodeProcs1) == SkXfermode::kLastMode + 1,
2162 SkXfermode::Mode mode = (SkXfermode::Mode)(SkXfermode::kLastMode + 1); in xferModeFromBlendMode()2167 return (SkXfermode::Mode)(SkXfermode::kLastMode + 1); in xferModeFromBlendMode()2172 if (mode <= SkXfermode::kLastMode) { in skpdfGraphicsStateApplyBM_name()2204 if (mode > SkXfermode::kLastMode) { in skpdfGraphicsStateApplyBM_array()
427 if (mode < 0 || mode > SkXfermode::kLastMode) { in drawPatch_rp()