Searched refs:intMinForLayoutUnit (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | LayoutUnitTest.cpp | 43 ASSERT_EQ(LayoutUnit(INT_MIN).toInt(), intMinForLayoutUnit); in TEST() 44 ASSERT_EQ(LayoutUnit(INT_MIN / 2).toInt(), intMinForLayoutUnit); in TEST() 45 ASSERT_EQ(LayoutUnit(intMinForLayoutUnit - 1).toInt(), intMinForLayoutUnit); in TEST() 46 ASSERT_EQ(LayoutUnit(intMinForLayoutUnit).toInt(), intMinForLayoutUnit); in TEST() 47 ASSERT_EQ(LayoutUnit(intMinForLayoutUnit + 1).toInt(), intMinForLayoutUnit + 1); in TEST() 48 ASSERT_EQ(LayoutUnit(intMinForLayoutUnit / 2).toInt(), intMinForLayoutUnit / 2); in TEST() 126 …ASSERT_EQ(snapSizeToPixel(LayoutUnit(intMinForLayoutUnit), LayoutUnit(-0.3)), intMinForLayoutUnit); in TEST() 229 ASSERT_EQ(LayoutUnit(intMinForLayoutUnit).ceil(), intMinForLayoutUnit); in TEST() 248 ASSERT_EQ(LayoutUnit(intMinForLayoutUnit).floor(), intMinForLayoutUnit); in TEST() 249 ASSERT_EQ((LayoutUnit(intMinForLayoutUnit) + LayoutUnit(0.5)).floor(), intMinForLayoutUnit); in TEST() [all …]
|
D | LayoutUnit.h | 61 const int intMinForLayoutUnit = INT_MIN / kFixedPointDenominator; variable 155 return intMinForLayoutUnit; in floor()
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | SaturatedArithmeticTest.cpp | 111 const int intMinForLayoutUnit = INT_MIN >> kFractionBits; in TEST() local 128 saturatedSet(intMinForLayoutUnit, kFractionBits)); in TEST() 131 saturatedSet(intMinForLayoutUnit - 100, kFractionBits)); in TEST() 133 EXPECT_EQ((intMinForLayoutUnit + 100) << kFractionBits, in TEST() 134 saturatedSet(intMinForLayoutUnit + 100, kFractionBits)); in TEST()
|
D | SaturatedArithmetic.h | 94 const int intMinForLayoutUnit = in saturatedSet() local 100 if (value < intMinForLayoutUnit) in saturatedSet()
|