Searched defs:intMaxForLayoutUnit (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DSaturatedArithmeticTest.cpp110 const int intMaxForLayoutUnit = INT_MAX >> kFractionBits; local
119 saturatedSet(intMaxForLayoutUnit, kFractionBits));
122 saturatedSet(intMaxForLayoutUnit + 100, kFractionBits));
124 EXPECT_EQ((intMaxForLayoutUnit - 100) << kFractionBits,
125 saturatedSet(intMaxForLayoutUnit - 100, kFractionBits));
140 const int intMaxForLayoutUnit = INT_MAX >> kFractionBits; local
145 saturatedSet((unsigned)intMaxForLayoutUnit, kFractionBits));
147 const unsigned kOverflowed = intMaxForLayoutUnit + 100;
151 const unsigned kNotOverflowed = intMaxForLayoutUnit - 100;
152 EXPECT_EQ((intMaxForLayoutUnit
[all...]
H A DSaturatedArithmetic.h91 const int intMaxForLayoutUnit = local
97 if (value > intMaxForLayoutUnit)
109 const unsigned intMaxForLayoutUnit = local
112 if (value >= intMaxForLayoutUnit)
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLayoutUnit.h60 const int intMaxForLayoutUnit = INT_MAX / kFixedPointDenominator; member in namespace:blink
141 return intMaxForLayoutUnit;

Completed in 199 milliseconds