Home
last modified time | relevance | path

Searched refs:SaturatedSubtraction (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/ui/gfx/geometry/
Dpoint.h69 x_ = base::SaturatedSubtraction(x_, vector.x());
70 y_ = base::SaturatedSubtraction(y_, vector.y());
119 return Vector2d(base::SaturatedSubtraction(lhs.x(), rhs.x()),
120 base::SaturatedSubtraction(lhs.y(), rhs.y()));
Dvector2d.cc24 x_ = base::SaturatedSubtraction(x_, other.x_); in Subtract()
25 y_ = base::SaturatedSubtraction(y_, other.y_); in Subtract()
Drect.cc72 int effective_span = base::SaturatedSubtraction(max, min); in SaturatedClampRange()
73 int span_loss = base::SaturatedSubtraction(max, min + effective_span); in SaturatedClampRange()
119 set_width(base::SaturatedSubtraction(width(), in Inset()
121 set_height(base::SaturatedSubtraction(height(), in Inset()
/external/libchrome/base/numerics/
Dsaturated_arithmetic_arm.h22 inline int32_t SaturatedSubtraction(int32_t a, int32_t b) { in SaturatedSubtraction() function
33 return SaturatedSubtraction(0, a); in SaturatedNegative()
Dsaturated_arithmetic.h39 ALWAYS_INLINE int32_t SaturatedSubtraction(int32_t a, int32_t b) { in SaturatedSubtraction() function