Lines Matching refs:range
50 static void slow_check(const SkClampRange& range, in slow_check() argument
52 SkASSERT(range.fCount0 + range.fCount1 + range.fCount2 == count); in slow_check()
55 if (range.fOverflowed) { in slow_check()
56 fx = range.fFx1; in slow_check()
57 for (i = 0; i < range.fCount1; i++) { in slow_check()
62 for (i = 0; i < range.fCount0; i++) { in slow_check()
64 R_ASSERT(v == range.fV0); in slow_check()
67 if (range.fCount1 > 0 && fx != range.fFx1) { in slow_check()
68 SkDebugf("%x %x\n", fx, range.fFx1); in slow_check()
72 for (i = 0; i < range.fCount1; i++) { in slow_check()
76 for (i = 0; i < range.fCount2; i++) { in slow_check()
78 R_ASSERT(v == range.fV1); in slow_check()
86 SkClampRange range; in test_range() local
87 range.init(fx, dx, count, V0, V1); in test_range()
88 slow_check(range, fx, dx, count); in test_range()