/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/gtest/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/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/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/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/gmock/test/ |
D | gmock-matchers_test.cc | 2645 template <typename RawType> 2648 typedef testing::internal::FloatingPoint<RawType> Floating; 2675 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize() 2681 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument 2682 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches() 2688 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches() 2691 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches() 2698 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches() 2701 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches() 2710 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/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/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/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/gtest/include/gtest/ |
D | gtest.h | 1685 template <typename RawType> 1688 RawType expected, in CmpHelperFloatingPointEQ() 1689 RawType actual) { in CmpHelperFloatingPointEQ() 1690 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1697 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1701 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 | 1685 template <typename RawType> 1688 RawType expected, in CmpHelperFloatingPointEQ() 1689 RawType actual) { in CmpHelperFloatingPointEQ() 1690 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ() 1697 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1701 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/libcxx/test/std/utilities/function.objects/func.require/ |
D | invoke_helpers.h | 45 typedef typename std::remove_reference<T>::type RawType; typedef 46 typedef typename QualTag::template apply<RawType>::type CVType;
|
/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/gtest/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 …]
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_unittest.cc | 2806 template <typename RawType> 2811 RawType close_to_positive_zero; 2812 RawType close_to_negative_zero; 2813 RawType further_from_negative_zero; 2815 RawType close_to_one; 2816 RawType further_from_one; 2818 RawType infinity; 2819 RawType close_to_infinity; 2820 RawType further_from_infinity; 2822 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 …]
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 1057 template <typename RawType> 1060 RawType val1, in FloatingPointLE() 1061 RawType val2) { in FloatingPointLE() 1068 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1078 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 1082 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest.cc | 1058 template <typename RawType> 1061 RawType val1, in FloatingPointLE() 1062 RawType val2) { in FloatingPointLE() 1069 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1079 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 1083 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 1057 template <typename RawType> 1060 RawType val1, in FloatingPointLE() 1061 RawType val2) { in FloatingPointLE() 1068 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1078 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 1082 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|
/external/protobuf/gtest/src/ |
D | gtest.cc | 1073 template <typename RawType> 1076 RawType val1, in FloatingPointLE() 1077 RawType val2) { in FloatingPointLE() 1084 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1094 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 1098 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|