Searched refs:SaturatedAddition (Results 1 – 6 of 6) sorted by relevance
/external/libmojo/ui/gfx/geometry/ |
D | point.h | 59 x_ = base::SaturatedAddition(x_, delta_x); in Offset() 60 y_ = base::SaturatedAddition(y_, delta_y); in Offset() 64 x_ = base::SaturatedAddition(x_, vector.x()); 65 y_ = base::SaturatedAddition(y_, vector.y());
|
D | vector2d.cc | 19 x_ = base::SaturatedAddition(other.x_, x_); in Add() 20 y_ = base::SaturatedAddition(other.y_, y_); in Add()
|
D | size.cc | 61 SetSize(base::SaturatedAddition(width(), grow_width), in Enlarge() 62 base::SaturatedAddition(height(), grow_height)); in Enlarge()
|
D | rect.cc | 120 base::SaturatedAddition(left, right))); in Inset() 122 base::SaturatedAddition(top, bottom))); in Inset()
|
/external/libchrome/base/numerics/ |
D | saturated_arithmetic_arm.h | 12 inline int32_t SaturatedAddition(int32_t a, int32_t b) { in SaturatedAddition() function
|
D | saturated_arithmetic.h | 25 ALWAYS_INLINE int32_t SaturatedAddition(int32_t a, int32_t b) { in SaturatedAddition() function
|