/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;
|
/third_party/googletest/googlemock/test/ |
D | gmock-matchers-arithmetic_test.cc | 1016 template <typename RawType> 1019 typedef testing::internal::FloatingPoint<RawType> Floating; 1044 void TestSize() { EXPECT_EQ(sizeof(RawType), sizeof(Bits)); } in TestSize() 1049 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument 1050 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches() 1056 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches() 1059 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches() 1066 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches() 1069 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches() 1078 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches() [all …]
|
/third_party/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.
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 245 template <typename RawType> 250 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 255 static const size_t kBitCount = 8 * sizeof(RawType); 259 std::numeric_limits<RawType>::digits - 1; 294 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 301 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 308 static RawType Infinity() { return ReinterpretBits(kExponentBitMask); } in Infinity() 311 static RawType Max(); 352 RawType value_; // The raw floating-point number.
|
/third_party/node/deps/googletest/include/gtest/internal/ |
D | gtest-internal.h | 245 template <typename RawType> 250 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 255 static const size_t kBitCount = 8 * sizeof(RawType); 259 std::numeric_limits<RawType>::digits - 1; 294 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 301 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 308 static RawType Infinity() { return ReinterpretBits(kExponentBitMask); } in Infinity() 349 RawType value_; // The raw floating-point number.
|
/third_party/googletest/googletest/include/gtest/ |
D | gtest.h | 1570 template <typename RawType> 1573 RawType lhs_value, RawType rhs_value) { in CmpHelperFloatingPointEQ() 1574 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ() 1581 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1585 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/third_party/node/deps/googletest/include/gtest/ |
D | gtest.h | 1566 template <typename RawType> 1569 RawType lhs_value, RawType rhs_value) { in CmpHelperFloatingPointEQ() 1570 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ() 1577 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ() 1581 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
|
/third_party/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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/ |
D | UDTLayout.cpp | 42 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local 44 return RawType.getLength(); in getTypeLength()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DebugInfoMetadata.cpp | 793 const Metadata *RawType = getRawType(); in getSizeInBits() local 794 while (RawType) { in getSizeInBits() 796 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits() 800 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) { in getSizeInBits() 802 RawType = DT->getRawBaseType(); in getSizeInBits()
|
/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 2715 template <typename RawType> 2720 RawType close_to_positive_zero; 2721 RawType close_to_negative_zero; 2722 RawType further_from_negative_zero; 2724 RawType close_to_one; 2725 RawType further_from_one; 2727 RawType infinity; 2728 RawType close_to_infinity; 2729 RawType further_from_infinity; 2731 RawType nan1; [all …]
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest.h | 3632 template <typename RawType> 3637 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 3642 static const size_t kBitCount = 8*sizeof(RawType); 3646 std::numeric_limits<RawType>::digits - 1; 3681 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } 3688 static RawType ReinterpretBits(const Bits bits) { 3695 static RawType Infinity() { 3700 static RawType Max(); 3741 RawType value_; // The raw floating-point number. 11617 template <typename RawType> [all …]
|
D | gtest-all.cc | 3098 template <typename RawType> 3101 RawType val1, in FloatingPointLE() 3102 RawType val2) { in FloatingPointLE() 3109 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 3119 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 3123 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest.cc | 1390 template <typename RawType> 1393 RawType val1, in FloatingPointLE() 1394 RawType val2) { in FloatingPointLE() 1401 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1411 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 1415 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|
/third_party/googletest/googletest/src/ |
D | gtest.cc | 1661 template <typename RawType> 1663 RawType val1, RawType val2) { in FloatingPointLE() 1670 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1680 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 1684 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|
/third_party/node/deps/googletest/src/ |
D | gtest.cc | 1669 template <typename RawType> 1671 RawType val1, RawType val2) { in FloatingPointLE() 1678 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1688 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE() 1692 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 45289 typedef T* RawType; typedef 45306 typedef T* RawType; typedef 45324 typedef typename Traits::RawType RawType; typedef in mozilla::LinkedListElement 45371 RawType getNext() { return mNext->asT(); } in getNext() 45378 RawType getPrevious() { return mPrev->asT(); } in getPrevious() 45385 void setNext(RawType aElem) in setNext() 45396 void setPrevious(RawType aElem) in setPrevious() 45480 RawType asT() in asT() 45482 return mIsSentinel ? nullptr : static_cast<RawType>(this); in asT() 45493 void setNextUnsafe(RawType aElem) in setNextUnsafe() [all …]
|