Home
last modified time | relevance | path

Searched refs:clampedValue (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DStepRange.cpp92 const Decimal clampedValue = roundedValue > m_maximum ? roundedValue - m_step : roundedValue; in clampValue() local
93 ASSERT(clampedValue >= m_minimum); in clampValue()
94 ASSERT(clampedValue <= m_maximum); in clampValue()
95 return clampedValue; in clampValue()
/external/mesa3d/src/mesa/program/
Dprog_execute.c484 GLfloat clampedValue[4]; in store_vector4() local
496 clampedValue[0] = CLAMP(value[0], 0.0F, 1.0F); in store_vector4()
497 clampedValue[1] = CLAMP(value[1], 0.0F, 1.0F); in store_vector4()
498 clampedValue[2] = CLAMP(value[2], 0.0F, 1.0F); in store_vector4()
499 clampedValue[3] = CLAMP(value[3], 0.0F, 1.0F); in store_vector4()
500 value = clampedValue; in store_vector4()
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_execute.c484 GLfloat clampedValue[4]; in store_vector4() local
496 clampedValue[0] = CLAMP(value[0], 0.0F, 1.0F); in store_vector4()
497 clampedValue[1] = CLAMP(value[1], 0.0F, 1.0F); in store_vector4()
498 clampedValue[2] = CLAMP(value[2], 0.0F, 1.0F); in store_vector4()
499 clampedValue[3] = CLAMP(value[3], 0.0F, 1.0F); in store_vector4()
500 value = clampedValue; in store_vector4()