Searched refs:SkTAbs (Results 1 – 17 of 17) sorted by relevance
17 int timeZoneHours = SkTAbs(timeZoneMinutes) / 60; in toISO8601()18 timeZoneMinutes = SkTAbs(timeZoneMinutes) % 60; in toISO8601()
124 SkNx abs() const { return SkTAbs(fVal); } in abs()
23 int64_t ua = SkTAbs(a); in sk_64_smul_check()24 int64_t ub = SkTAbs(b); in sk_64_smul_check()
47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60); in DEF_TEST()
38 if (SkTAbs(ideal - p) == 1) { r.diffs_by_1++; } in test()
94 if (h == v && SkTAbs(h) != 1) { in testQuadLineIntersectMain()
54 int epsilon = SkTAbs(p1Bits - p2Bits); in DEF_TEST()107 int epsilon = SkTAbs(p1Bits - p2Bits); in DEF_TEST()
22 return SkTAbs<SkMScalar>(a - b) <= tolerance; in nearly_equal_mscalar()
19 int timeZoneHours = SkTAbs(timeZoneMinutes) / 60; in pdf_date()20 timeZoneMinutes = SkTAbs(timeZoneMinutes) % 60; in pdf_date()
259 score += SkTAbs((pattern.width() - candidate.width()) * 100); in match_score()260 score += SkTAbs((pattern.isItalic() == candidate.isItalic()) ? 0 : 1000); in match_score()261 score += SkTAbs(pattern.weight() - candidate.weight()); in match_score()
187 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap()
373 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(oppSum) <= DEBUG_LIMIT_WIND_SUM); in setOppSum()383 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum()
175 return SkTAbs(floatIntA.fSignBitInt - floatIntB.fSignBitInt); in UlpsDistance()
1482 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*sumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings()1501 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*sumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings()1502 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*oppSumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings()1778 int absOut = SkTAbs(outerWinding); in UseInnerWinding()1779 int absIn = SkTAbs(innerWinding); in UseInnerWinding()
765 int startSpan = SkTAbs(rh->fSectorStart - fSectorStart); in oppositePlanes()
205 float error = SkTAbs(((float) (width * height)) - desiredSize); in onGetScaledDimensions()
399 template <typename T> inline T SkTAbs(T value) { in SkTAbs() function