/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/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/gemmlowp/internal/ |
D | fixedpoint.h | 226 typedef tRawType RawType; 228 typedef FixedPointRawTypeTraits<RawType> RawTypeTraits; 255 static FixedPoint FromRaw(RawType x) { 263 retval.raw() = Dup<RawType>(x); 288 RawType raw() const { return i_; } 289 RawType& raw() { return i_; } 292 RawType i_; 422 typedef typename FixedPointType::RawType RawType; 425 FixedPointType check = ToFixedPoint<RawType, kIntegerBits>(double_value);
|
/external/google-breakpad/src/testing/test/ |
D | gmock-matchers_test.cc | 2536 template <typename RawType> 2539 typedef typename testing::internal::FloatingPoint<RawType> Floating; 2579 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize() 2585 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument 2586 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches() 2592 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches() 2595 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches() 2602 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches() 2605 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches() 2614 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches() [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
D | gtest-internal.h | 231 template <typename RawType> 236 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 241 static const size_t kBitCount = 8*sizeof(RawType); 245 std::numeric_limits<RawType>::digits - 1; 280 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 287 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 294 static RawType Infinity() { in Infinity() 299 static RawType Max(); 340 RawType value_; // The raw floating-point number.
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
D | gtest-internal.h | 261 template <typename RawType> 266 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 271 static const size_t kBitCount = 8*sizeof(RawType); 275 std::numeric_limits<RawType>::digits - 1; 310 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 317 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 324 static RawType Infinity() { in Infinity() 329 static RawType Max(); 370 RawType value_; // The raw floating-point number.
|
/external/v8/testing/gtest/include/gtest/internal/ |
D | gtest-internal.h | 261 template <typename RawType> 266 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 271 static const size_t kBitCount = 8*sizeof(RawType); 275 std::numeric_limits<RawType>::digits - 1; 310 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 317 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 324 static RawType Infinity() { in Infinity() 329 static RawType Max(); 370 RawType value_; // The raw floating-point number.
|
/external/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 261 template <typename RawType> 266 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 271 static const size_t kBitCount = 8*sizeof(RawType); 275 std::numeric_limits<RawType>::digits - 1; 310 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 317 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 324 static RawType Infinity() { in Infinity() 329 static RawType Max(); 370 RawType value_; // The raw floating-point number.
|
/external/google-breakpad/src/testing/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/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 336 template <typename RawType> 341 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 346 static const size_t kBitCount = 8*sizeof(RawType); 350 std::numeric_limits<RawType>::digits - 1; 385 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 392 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 399 static RawType Infinity() { in Infinity() 442 RawType value_; // The raw floating-point number.
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 345 template <typename RawType> 350 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 355 static const size_t kBitCount = 8*sizeof(RawType); 359 std::numeric_limits<RawType>::digits - 1; 394 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 401 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 408 static RawType Infinity() { in Infinity() 451 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/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 2700 template <typename RawType> 2703 typedef testing::internal::FloatingPoint<RawType> Floating; 2726 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize() 2732 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument 2733 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches() 2739 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches() 2742 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches() 2749 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches() 2752 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches() 2761 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches() [all …]
|
/external/v8/testing/gmock/test/ |
D | gmock-matchers_test.cc | 2700 template <typename RawType> 2703 typedef testing::internal::FloatingPoint<RawType> Floating; 2730 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize() 2736 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument 2737 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches() 2743 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches() 2746 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches() 2753 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches() 2756 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches() 2765 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches() [all …]
|
/external/protobuf/gtest/include/gtest/ |
D | gtest.h | 1487 template <typename RawType> 1490 RawType expected, in CmpHelperFloatingPointEQ() 1491 RawType actual) { in CmpHelperFloatingPointEQ() 1492 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1499 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1503 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 1557 template <typename RawType> 1560 RawType expected, in CmpHelperFloatingPointEQ() 1561 RawType actual) { in CmpHelperFloatingPointEQ() 1562 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1569 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1573 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest.h | 1563 template <typename RawType> 1566 RawType expected, in CmpHelperFloatingPointEQ() 1567 RawType actual) { in CmpHelperFloatingPointEQ() 1568 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1575 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1579 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/swiftshader/third_party/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/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/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/ |
D | gtest.h | 1694 template <typename RawType> 1697 RawType expected, in CmpHelperFloatingPointEQ() 1698 RawType actual) { in CmpHelperFloatingPointEQ() 1699 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1706 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1710 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/googletest/googletest/include/gtest/ |
D | gtest.h | 1634 template <typename RawType> 1637 RawType expected, in CmpHelperFloatingPointEQ() 1638 RawType actual) { in CmpHelperFloatingPointEQ() 1639 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1646 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1650 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest.h | 1630 template <typename RawType> 1633 RawType lhs_value, in CmpHelperFloatingPointEQ() 1634 RawType rhs_value) { in CmpHelperFloatingPointEQ() 1635 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ() 1642 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1646 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/v8/testing/gtest/include/gtest/ |
D | gtest.h | 1634 template <typename RawType> 1637 RawType expected, in CmpHelperFloatingPointEQ() 1638 RawType actual) { in CmpHelperFloatingPointEQ() 1639 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1646 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1650 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/protobuf/gtest/test/ |
D | gtest_unittest.cc | 2631 template <typename RawType> 2637 RawType close_to_positive_zero; 2638 RawType close_to_negative_zero; 2639 RawType further_from_negative_zero; 2641 RawType close_to_one; 2642 RawType further_from_one; 2644 RawType infinity; 2645 RawType close_to_infinity; 2646 RawType further_from_infinity; 2648 RawType nan1; [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
D | gtest_unittest.cc | 2661 template <typename RawType> 2666 RawType close_to_positive_zero; 2667 RawType close_to_negative_zero; 2668 RawType further_from_negative_zero; 2670 RawType close_to_one; 2671 RawType further_from_one; 2673 RawType infinity; 2674 RawType close_to_infinity; 2675 RawType further_from_infinity; 2677 RawType nan1; [all …]
|