Home
last modified time | relevance | path

Searched refs:sk_double_saturate2int (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkImageFilterTypes.cpp80 return {sk_double_saturate2int(sk_double_floor(std::min(l, r) + kRoundEpsilon)), in map_rect()
81 sk_double_saturate2int(sk_double_floor(std::min(t, b) + kRoundEpsilon)), in map_rect()
82 sk_double_saturate2int(sk_double_ceil(std::max(l, r) - kRoundEpsilon)), in map_rect()
83 sk_double_saturate2int(sk_double_ceil(std::max(t, b) - kRoundEpsilon))}; in map_rect()
DSkScan_Path.cpp585 return sk_double_saturate2int(ceil(xx)); in round_down_to_int()
596 return sk_double_saturate2int(floor(xx)); in round_up_to_int()
/external/skia/include/private/base/
DSkFloatingPoint.h120 static inline int sk_double_saturate2int(double x) { in sk_double_saturate2int() function
/external/skia/tests/
DMathTest.cpp837 int i = sk_double_saturate2int(r.fDouble); in DEF_TEST()