/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/skqp/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/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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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/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/tensorflow/tensorflow/core/kernels/ |
D | spacetodepth_op.cc | 42 struct RawType { struct 47 struct RawType<qint8> { struct 130 using RT = typename RawType<T>::type; in Compute()
|
D | pooling_ops_common.cc | 42 struct RawType { struct 47 struct RawType<qint8> { struct 237 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in Compute() 242 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in Compute() 273 using RT = typename RawType<T>::type; in Compute()
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
D | gtest-internal.h | 249 template <typename RawType> 254 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 259 static const size_t kBitCount = 8*sizeof(RawType); 263 std::numeric_limits<RawType>::digits - 1; 298 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 305 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 312 static RawType Infinity() { in Infinity() 317 static RawType Max(); 358 RawType value_; // The raw floating-point number.
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 237 template <typename RawType> 242 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 247 static const size_t kBitCount = 8*sizeof(RawType); 251 std::numeric_limits<RawType>::digits - 1; 286 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 293 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 300 static RawType Infinity() { in Infinity() 305 static RawType Max(); 346 RawType value_; // The raw floating-point number.
|
/external/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 247 template <typename RawType> 252 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 257 static const size_t kBitCount = 8*sizeof(RawType); 261 std::numeric_limits<RawType>::digits - 1; 296 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 303 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 310 static RawType Infinity() { in Infinity() 315 static RawType Max(); 356 RawType value_; // The raw floating-point number.
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
D | gtest-internal.h | 248 template <typename RawType> 253 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 258 static const size_t kBitCount = 8 * sizeof(RawType); 262 std::numeric_limits<RawType>::digits - 1; 297 explicit FloatingPoint(const RawType &x) { u_.value_ = x; } in FloatingPoint() 304 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 311 static RawType Infinity() { return ReinterpretBits(kExponentBitMask); } in Infinity() 314 static RawType Max(); 355 RawType value_; // The raw floating-point number.
|
/external/gemmlowp/fixedpoint/ |
D | fixedpoint.h | 452 typedef tRawType RawType; 454 typedef FixedPointRawTypeTraits<RawType> RawTypeTraits; 481 static FixedPoint FromRaw(RawType x) { 489 retval.raw() = Dup<RawType>(x); 524 RawType raw() const { return i_; } 525 RawType& raw() { return i_; } 528 RawType i_;
|
/external/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 3040 template <typename RawType> 3043 typedef testing::internal::FloatingPoint<RawType> Floating; 3070 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize() 3076 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument 3077 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches() 3083 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches() 3086 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches() 3093 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches() 3096 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches() 3105 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/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/googletest/googletest/include/gtest/ |
D | gtest.h | 1727 template <typename RawType> 1730 RawType lhs_value, in CmpHelperFloatingPointEQ() 1731 RawType rhs_value) { in CmpHelperFloatingPointEQ() 1732 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ() 1739 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1743 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest.h | 1681 template <typename RawType> 1684 RawType lhs_value, in CmpHelperFloatingPointEQ() 1685 RawType rhs_value) { in CmpHelperFloatingPointEQ() 1686 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ() 1693 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1697 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest.h | 1718 template <typename RawType> 1721 RawType lhs_value, RawType rhs_value) { in CmpHelperFloatingPointEQ() 1722 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ() 1729 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1733 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 1729 template <typename RawType> 1732 RawType lhs_value, in CmpHelperFloatingPointEQ() 1733 RawType rhs_value) { in CmpHelperFloatingPointEQ() 1734 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ() 1741 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1745 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/ |
D | UDTLayout.cpp | 43 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local 45 return RawType.getLength(); in getTypeLength()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | DebugInfoMetadata.cpp | 648 const Metadata *RawType = getRawType(); in getSizeInBits() local 649 while (RawType) { in getSizeInBits() 651 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits() 655 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) { in getSizeInBits() 657 RawType = DT->getRawBaseType(); in getSizeInBits()
|
/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/googletest/googletest/test/ |
D | gtest_unittest.cc | 2737 template <typename RawType> 2742 RawType close_to_positive_zero; 2743 RawType close_to_negative_zero; 2744 RawType further_from_negative_zero; 2746 RawType close_to_one; 2747 RawType further_from_one; 2749 RawType infinity; 2750 RawType close_to_infinity; 2751 RawType further_from_infinity; 2753 RawType nan1; [all …]
|