Searched refs:sk_double_saturate2int (Results 1 – 4 of 4) sorted by relevance
80 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()
585 return sk_double_saturate2int(ceil(xx)); in round_down_to_int()596 return sk_double_saturate2int(floor(xx)); in round_up_to_int()
120 static inline int sk_double_saturate2int(double x) { in sk_double_saturate2int() function
837 int i = sk_double_saturate2int(r.fDouble); in DEF_TEST()