Lines Matching refs:ySpanCount
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()
1185 sum = safeMath.addInt(sum, ySpanCount); in validate_run_count()
1186 sum = safeMath.addInt(sum, ySpanCount); in validate_run_count()
1187 sum = safeMath.addInt(sum, ySpanCount); in validate_run_count()
1199 int32_t ySpanCount, in validate_run() argument
1203 if (!validate_run_count(SkToInt(ySpanCount), SkToInt(intervalCount), runCount)) { in validate_run()
1223 --ySpanCount; in validate_run()
1224 if (ySpanCount < 0) { in validate_run()
1266 if (ySpanCount != 0 || intervalCount != 0 || givenBounds != bounds) { in validate_run()
1294 int32_t ySpanCount, intervalCount; in readFromMemory() local
1295 if (!buffer.readS32(&ySpanCount) || in readFromMemory()
1301 tmp.fBounds, ySpanCount, intervalCount)) { in readFromMemory()
1304 tmp.allocateRuns(count, ySpanCount, intervalCount); in readFromMemory()