Searched defs:safeMath (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/core/
H A DSkRegion.cpp1138 SkSafeMath safeMath; local
1140 sum = safeMath.addInt(sum, ySpanCount);
1141 sum = safeMath.addInt(sum, ySpanCount);
1142 sum = safeMath.addInt(sum, ySpanCount);
1143 sum = safeMath.addInt(sum, intervalCount);
1144 sum = safeMath.addInt(sum, intervalCount);
1145 return safeMath && sum == runCount;
/external/skqp/src/core/
H A DSkRegion.cpp1138 SkSafeMath safeMath; local
1140 sum = safeMath.addInt(sum, ySpanCount);
1141 sum = safeMath.addInt(sum, ySpanCount);
1142 sum = safeMath.addInt(sum, ySpanCount);
1143 sum = safeMath.addInt(sum, intervalCount);
1144 sum = safeMath.addInt(sum, intervalCount);
1145 return safeMath && sum == runCount;

Completed in 895 milliseconds