Home
last modified time | relevance | path

Searched refs:safeMath (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/core/
DSkRegion.cpp1181 SkSafeMath safeMath; in validate_run_count() local
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()
1186 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1187 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1188 return safeMath && sum == runCount; in validate_run_count()
/third_party/skia/src/gpu/
DGrBufferAllocPool.cpp202 SkSafeMath safeMath; in makeSpace() local
203 size_t alignedSize = safeMath.add(pad, size); in makeSpace()
204 if (!safeMath.ok()) { in makeSpace()