Home
last modified time | relevance | path

Searched refs:RawType (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/src/utils/
DSkFloatUtils.h34 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/
Dgmock-matchers-arithmetic_test.cc1016 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/
Dgtest-internal.h237 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/
Dgtest-internal.h245 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/
Dgtest-internal.h245 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/
Dgtest.h1570 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/
Dgtest.h1566 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/
Dgtest.h1729 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/
DUDTLayout.cpp42 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/
DDebugInfoMetadata.cpp793 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/
Dgtest_unittest.cc2715 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/
Dgtest.h3632 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 …]
Dgtest-all.cc3098 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/
Dgtest.cc1390 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/
Dgtest.cc1661 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/
Dgtest.cc1669 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/
Dstylo.hpp45289 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 …]