/external/chromium_org/third_party/skia/src/utils/ |
D | SkFloatUtils.h | 34 template <typename RawType> 54 template <typename RawType, unsigned int ULPs> 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; 61 static const size_t kBitCount = CHAR_BIT * sizeof(RawType); 64 static const size_t kFractionBitCount = SkNumericLimits<RawType>::digits - 1; 90 explicit SkFloatingPoint(const RawType& x) { fU.value = x; } 127 RawType value;
|
/external/skia/src/utils/ |
D | SkFloatUtils.h | 34 template <typename RawType> 54 template <typename RawType, unsigned int ULPs> 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; 61 static const size_t kBitCount = CHAR_BIT * sizeof(RawType); 64 static const size_t kFractionBitCount = SkNumericLimits<RawType>::digits - 1; 90 explicit SkFloatingPoint(const RawType& x) { fU.value = x; } 127 RawType value;
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
D | gtest-internal.h | 319 template <typename RawType> 324 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 329 static const size_t kBitCount = 8*sizeof(RawType); 333 std::numeric_limits<RawType>::digits - 1; 368 explicit FloatingPoint(const RawType& x) : value_(x) {} in FloatingPoint() 375 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 382 static RawType Infinity() { in Infinity() 457 RawType value_; // The raw floating-point number.
|
/external/open-vcdiff/gtest/include/gtest/internal/ |
D | gtest-internal.h | 334 template <typename RawType> 339 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 344 static const size_t kBitCount = 8*sizeof(RawType); 348 std::numeric_limits<RawType>::digits - 1; 383 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 390 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 397 static RawType Infinity() { in Infinity() 440 RawType value_; // The raw floating-point number.
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-internal.h | 332 template <typename RawType> 337 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 342 static const size_t kBitCount = 8*sizeof(RawType); 346 std::numeric_limits<RawType>::digits - 1; 381 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 388 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 395 static RawType Infinity() { in Infinity() 438 RawType value_; // The raw floating-point number.
|
/external/chromium/testing/gmock/test/ |
D | gmock-matchers_test.cc | 2465 template <typename RawType> 2468 typedef typename testing::internal::FloatingPoint<RawType> Floating; 2508 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize() 2514 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument 2515 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches() 2521 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches() 2524 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches() 2531 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches() 2534 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches() 2543 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches() [all …]
|
/external/chromium_org/testing/gtest/include/gtest/internal/ |
D | gtest-internal.h | 230 template <typename RawType> 235 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 240 static const size_t kBitCount = 8*sizeof(RawType); 244 std::numeric_limits<RawType>::digits - 1; 279 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 286 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 293 static RawType Infinity() { in Infinity() 336 RawType value_; // The raw floating-point number.
|
/external/gtest/include/gtest/internal/ |
D | gtest-internal.h | 316 template <typename RawType> 321 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 326 static const size_t kBitCount = 8*sizeof(RawType); 330 std::numeric_limits<RawType>::digits - 1; 365 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 372 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 379 static RawType Infinity() { in Infinity() 422 RawType value_; // The raw floating-point number.
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 316 template <typename RawType> 321 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 326 static const size_t kBitCount = 8*sizeof(RawType); 330 std::numeric_limits<RawType>::digits - 1; 365 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 372 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 379 static RawType Infinity() { in Infinity() 422 RawType value_; // The raw floating-point number.
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 316 template <typename RawType> 321 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 326 static const size_t kBitCount = 8*sizeof(RawType); 330 std::numeric_limits<RawType>::digits - 1; 365 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 372 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 379 static RawType Infinity() { in Infinity() 422 RawType value_; // The raw floating-point number.
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 344 template <typename RawType> 349 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 354 static const size_t kBitCount = 8*sizeof(RawType); 358 std::numeric_limits<RawType>::digits - 1; 393 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 400 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 407 static RawType Infinity() { in Infinity() 450 RawType value_; // The raw floating-point number.
|
/external/chromium/testing/gtest/include/gtest/internal/ |
D | gtest-internal.h | 310 template <typename RawType> 315 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 320 static const size_t kBitCount = 8*sizeof(RawType); 324 std::numeric_limits<RawType>::digits - 1; 359 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 366 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 373 static RawType Infinity() { in Infinity() 416 RawType value_; // The raw floating-point number.
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest.h | 845 template <typename RawType> 848 RawType expected, in CmpHelperFloatingPointEQ() 849 RawType actual) { in CmpHelperFloatingPointEQ() 850 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 857 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 861 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/open-vcdiff/gtest/include/gtest/ |
D | gtest.h | 1494 template <typename RawType> 1497 RawType expected, in CmpHelperFloatingPointEQ() 1498 RawType actual) { in CmpHelperFloatingPointEQ() 1499 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1506 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1510 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/protobuf/gtest/include/gtest/ |
D | gtest.h | 1412 template <typename RawType> 1415 RawType expected, in CmpHelperFloatingPointEQ() 1416 RawType actual) { in CmpHelperFloatingPointEQ() 1417 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1424 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1428 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/gtest/include/gtest/ |
D | gtest.h | 1553 template <typename RawType> 1556 RawType expected, in CmpHelperFloatingPointEQ() 1557 RawType actual) { in CmpHelperFloatingPointEQ() 1558 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1565 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1569 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/chromium/testing/gtest/include/gtest/ |
D | gtest.h | 1553 template <typename RawType> 1556 RawType expected, in CmpHelperFloatingPointEQ() 1557 RawType actual) { in CmpHelperFloatingPointEQ() 1558 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1565 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1569 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 1553 template <typename RawType> 1556 RawType expected, in CmpHelperFloatingPointEQ() 1557 RawType actual) { in CmpHelperFloatingPointEQ() 1558 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1565 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1569 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 1555 template <typename RawType> 1558 RawType expected, in CmpHelperFloatingPointEQ() 1559 RawType actual) { in CmpHelperFloatingPointEQ() 1560 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1567 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1571 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/ |
D | gtest.h | 1553 template <typename RawType> 1556 RawType expected, in CmpHelperFloatingPointEQ() 1557 RawType actual) { in CmpHelperFloatingPointEQ() 1558 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1565 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1569 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/chromium_org/testing/gtest/include/gtest/ |
D | gtest.h | 1633 template <typename RawType> 1636 RawType expected, in CmpHelperFloatingPointEQ() 1637 RawType actual) { in CmpHelperFloatingPointEQ() 1638 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1645 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1649 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/protobuf/gtest/test/ |
D | gtest_unittest.cc | 2942 template <typename RawType> 2948 RawType close_to_positive_zero; 2949 RawType close_to_negative_zero; 2950 RawType further_from_negative_zero; 2952 RawType close_to_one; 2953 RawType further_from_one; 2955 RawType infinity; 2956 RawType close_to_infinity; 2957 RawType further_from_infinity; 2959 RawType nan1; [all …]
|
/external/chromium_org/testing/gtest/test/ |
D | gtest_unittest.cc | 2530 template <typename RawType> 2535 RawType close_to_positive_zero; 2536 RawType close_to_negative_zero; 2537 RawType further_from_negative_zero; 2539 RawType close_to_one; 2540 RawType further_from_one; 2542 RawType infinity; 2543 RawType close_to_infinity; 2544 RawType further_from_infinity; 2546 RawType nan1; [all …]
|
/external/chromium/testing/gtest/test/ |
D | gtest_unittest.cc | 2691 template <typename RawType> 2697 RawType close_to_positive_zero; 2698 RawType close_to_negative_zero; 2699 RawType further_from_negative_zero; 2701 RawType close_to_one; 2702 RawType further_from_one; 2704 RawType infinity; 2705 RawType close_to_infinity; 2706 RawType further_from_infinity; 2708 RawType nan1; [all …]
|
/external/gtest/test/ |
D | gtest_unittest.cc | 2691 template <typename RawType> 2697 RawType close_to_positive_zero; 2698 RawType close_to_negative_zero; 2699 RawType further_from_negative_zero; 2701 RawType close_to_one; 2702 RawType further_from_one; 2704 RawType infinity; 2705 RawType close_to_infinity; 2706 RawType further_from_infinity; 2708 RawType nan1; [all …]
|