Home
last modified time | relevance | path

Searched refs:denomPositive (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/utils/
DSkPolyUtils.cpp77 static inline bool outside_interval(SkScalar numer, SkScalar denom, bool denomPositive) { in outside_interval() argument
78 return (denomPositive && (numer < 0 || numer > denom)) || in outside_interval()
79 (!denomPositive && (numer > 0 || numer < denom)); in outside_interval()
91 bool denomPositive = (denom > 0); in compute_intersection() local
152 if (outside_interval(sNumer, denom, denomPositive)) { in compute_intersection()
156 if (outside_interval(tNumer, denom, denomPositive)) { in compute_intersection()
/external/skia/src/utils/
DSkPolyUtils.cpp77 static inline bool outside_interval(SkScalar numer, SkScalar denom, bool denomPositive) { in outside_interval() argument
78 return (denomPositive && (numer < 0 || numer > denom)) || in outside_interval()
79 (!denomPositive && (numer > 0 || numer < denom)); in outside_interval()
98 bool denomPositive = (denom > 0); in compute_intersection() local
163 if (outside_interval(sNumer, denom, denomPositive)) { in compute_intersection()
167 if (outside_interval(tNumer, denom, denomPositive)) { in compute_intersection()