OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:clampTo
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/tests/
MathExtras.cpp
67
EXPECT_EQ(
clampTo
<int>(maxInt), maxInt);
68
EXPECT_EQ(
clampTo
<int>(minInt), minInt);
70
EXPECT_EQ(
clampTo
<int>(overflowInt), maxInt);
71
EXPECT_EQ(
clampTo
<int>(underflowInt), minInt);
84
EXPECT_EQ(
clampTo
<int>(maxInt), maxInt);
85
EXPECT_EQ(
clampTo
<int>(minInt), minInt);
87
EXPECT_EQ(
clampTo
<int>(overflowInt), maxInt);
88
EXPECT_EQ(
clampTo
<int>(underflowInt), minInt);
159
EXPECT_EQ(
clampTo
<unsigned>(maxUnsigned), maxUnsigned);
161
EXPECT_EQ(
clampTo
<unsigned>(overflowUnsigned), maxUnsigned)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/wtf/
MathExtras.h
250
template<typename T> inline T
clampTo
(double value, T min = defaultMinimumForClamp<T>(), T max = defaultMaximumForClamp<T>())
258
template<> inline long long int
clampTo
(double, long long int, long long int); //
clampTo
does not support long long ints.
262
return
clampTo
<int>(value);
267
return
clampTo
<float>(value);
272
return
clampTo
<int>(value, 0);
277
return
clampTo
<int>(value);
/external/chromium_org/third_party/WebKit/Source/core/platform/
LayoutUnit.h
68
LayoutUnit(unsigned long value) { m_value =
clampTo
<int>(value * kFixedPointDenominator); }
69
LayoutUnit(unsigned long long value) { m_value =
clampTo
<int>(value * kFixedPointDenominator); }
70
LayoutUnit(float value) { m_value =
clampTo
<float>(value * kFixedPointDenominator, static_cast<float>(INT_MIN), static_cast<float>(INT_MAX)); }
71
LayoutUnit(double value) { m_value =
clampTo
<double>(value * kFixedPointDenominator, static_cast<double>(INT_MIN), static_cast<double>(INT_MAX)); }
210
return
clampTo
<LayoutUnit>(value, LayoutUnit::min(), LayoutUnit::max());
502
returnVal.setRawValue(
clampTo
<int>(rawVal));
/external/chromium_org/third_party/WebKit/Source/core/css/
CSSPrimitiveValue.h
278
template<typename T> inline T getValue(unsigned short unitType, ExceptionState& es) const { return
clampTo
<T>(getDoubleValue(unitType, es)); }
279
template<typename T> inline T getValue(unsigned short unitType) const { return
clampTo
<T>(getDoubleValue(unitType)); }
280
template<typename T> inline T getValue() const { return
clampTo
<T>(getDoubleValue()); }
CSSPrimitiveValueMappings.h
64
return
clampTo
<short>(m_value.num);
80
return
clampTo
<unsigned short>(m_value.num);
89
return
clampTo
<int>(m_value.num);
98
return
clampTo
<unsigned>(m_value.num);
115
return
clampTo
<float>(m_value.num);
131
return LineClampValue(
clampTo
<int>(m_value.num), LineClampLineCount);
134
return LineClampValue(
clampTo
<int>(m_value.num), LineClampPercentage);
[
all
...]
CSSPrimitiveValue.cpp
504
return Length(
clampTo
<float>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize), minValueForCssLength, maxValueForCssLength), Fixed);
[
all
...]
CSSParser-in.cpp
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
FilterEffectRenderer.cpp
136
double oneMinusAmount =
clampTo
(1 - colorMatrixOperation->amount(), 0.0, 1.0);
164
double oneMinusAmount =
clampTo
(1 - colorMatrixOperation->amount(), 0.0, 1.0);
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
V8TestTypedefs.cpp
380
arg1 =
clampTo
<unsigned long long>(arg1NativeValue);
389
arg2 =
clampTo
<unsigned long long>(arg2NativeValue);
V8TestObject.cpp
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
RenderStyle.h
[
all
...]
Completed in 948 milliseconds