Home | History | Annotate | Download | only in core

Lines Matching full:limit0

10 template <typename T> T pin_unsorted(T value, T limit0, T limit1) {
11 if (limit1 < limit0) {
12 SkTSwap(limit0, limit1);
15 SkASSERT(limit0 <= limit1);
17 if (value < limit0) {
18 value = limit0;
151 SkScalar limit0, SkScalar limit1) {
152 if (limit0 < limit1) {
153 return limit0 <= value && value <= limit1;
155 return limit1 <= value && value <= limit0;