Lines Matching refs:ySpanCount
143 void SkRegion::allocateRuns(int count, int ySpanCount, int intervalCount) { in allocateRuns() argument
144 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()
1176 static bool validate_run_count(int ySpanCount, int intervalCount, int runCount) { in validate_run_count() argument
1178 if (ySpanCount < 1 || intervalCount < 2) { in validate_run_count()
1183 sum = safeMath.addInt(sum, ySpanCount); in validate_run_count()
1184 sum = safeMath.addInt(sum, ySpanCount); in validate_run_count()
1185 sum = safeMath.addInt(sum, ySpanCount); in validate_run_count()
1197 int32_t ySpanCount, in validate_run() argument
1201 if (!validate_run_count(SkToInt(ySpanCount), SkToInt(intervalCount), runCount)) { in validate_run()
1221 --ySpanCount; in validate_run()
1222 if (ySpanCount < 0) { in validate_run()
1264 if (ySpanCount != 0 || intervalCount != 0 || givenBounds != bounds) { in validate_run()
1292 int32_t ySpanCount, intervalCount; in readFromMemory() local
1293 if (!buffer.readS32(&ySpanCount) || in readFromMemory()
1299 tmp.fBounds, ySpanCount, intervalCount)) { in readFromMemory()
1302 tmp.allocateRuns(count, ySpanCount, intervalCount); in readFromMemory()