saturatedSubtraction 150 Source/platform/LayoutUnit.h return saturatedSubtraction(rawValue(), (kFixedPointDenominator / 2) - 1) / kFixedPointDenominator; saturatedSubtraction 615 Source/platform/LayoutUnit.h returnVal.setRawValue(saturatedSubtraction(a.rawValue(), b.rawValue())); saturatedSubtraction 711 Source/platform/LayoutUnit.h a.setRawValue(saturatedSubtraction(a.rawValue(), b.rawValue())); saturatedSubtraction 77 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(0, 0), 0); saturatedSubtraction 78 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(0, 1), -1); saturatedSubtraction 79 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(0, 100), -100); saturatedSubtraction 80 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(100, 50), 50); saturatedSubtraction 82 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(0, -1), 1); saturatedSubtraction 83 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(1, -1), 2); saturatedSubtraction 84 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(100, -50), 150); saturatedSubtraction 85 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(50, -100), 150); saturatedSubtraction 87 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MAX, 0), INT_MAX); saturatedSubtraction 88 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MAX, 1), INT_MAX - 1); saturatedSubtraction 89 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MAX - 1, 0), INT_MAX - 1); saturatedSubtraction 90 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MAX - 1, -1), INT_MAX); saturatedSubtraction 91 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MAX - 1, -2), INT_MAX); saturatedSubtraction 92 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(0, INT_MAX - 1), -INT_MAX + 1); saturatedSubtraction 93 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(-1, INT_MAX - 1), -INT_MAX); saturatedSubtraction 94 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(-2, INT_MAX - 1), -INT_MAX - 1); saturatedSubtraction 95 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(-3, INT_MAX - 1), -INT_MAX - 1); saturatedSubtraction 97 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MIN, 0), INT_MIN); saturatedSubtraction 98 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MIN + 1, 0), INT_MIN + 1); saturatedSubtraction 99 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MIN + 1, 1), INT_MIN); saturatedSubtraction 100 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MIN + 1, 2), INT_MIN); saturatedSubtraction 102 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MIN, INT_MIN), 0); saturatedSubtraction 103 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MAX, INT_MAX), 0); saturatedSubtraction 104 Source/wtf/SaturatedArithmeticTest.cpp ASSERT_EQ(saturatedSubtraction(INT_MAX, INT_MIN), INT_MAX);