Lines Matching refs:intervalCount
144 void SkRegion::allocateRuns(int count, int ySpanCount, int intervalCount) { in allocateRuns() argument
145 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()
1178 static bool validate_run_count(int ySpanCount, int intervalCount, int runCount) { in validate_run_count() argument
1180 if (ySpanCount < 1 || intervalCount < 2) { in validate_run_count()
1188 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1189 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1200 int32_t intervalCount) { in validate_run() argument
1203 if (!validate_run_count(SkToInt(ySpanCount), SkToInt(intervalCount), runCount)) { in validate_run()
1240 if (xIntervals < 0 || xIntervals > intervalCount || runs + 1 + 2 * xIntervals > end) { in validate_run()
1243 intervalCount -= xIntervals; in validate_run()
1266 if (ySpanCount != 0 || intervalCount != 0 || givenBounds != bounds) { in validate_run()
1294 int32_t ySpanCount, intervalCount; in readFromMemory() local
1296 !buffer.readS32(&intervalCount) || in readFromMemory()
1301 tmp.fBounds, ySpanCount, intervalCount)) { in readFromMemory()
1304 tmp.allocateRuns(count, ySpanCount, intervalCount); in readFromMemory()