Searched refs:maxvalue (Results 1 – 1 of 1) sorted by relevance
2138 static void ClipToRange(T* ptr, V minvalue, V maxvalue) { in ClipToRange() argument2139 if (static_cast<V>(*ptr) > maxvalue) *ptr = maxvalue; in ClipToRange()