Searched refs:RawType (Results 1 – 9 of 9) sorted by relevance
1017 template <typename RawType>1020 typedef testing::internal::FloatingPoint<RawType> Floating;1041 max_(std::numeric_limits<RawType>::max()), in FloatingPointTest()1045 void TestSize() { EXPECT_EQ(sizeof(RawType), sizeof(Bits)); } in TestSize()1050 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument1051 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches()1057 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches()1060 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches()1067 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()1070 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()[all …]
244 template <typename RawType>249 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;254 static const size_t kBitCount = 8 * sizeof(RawType);258 std::numeric_limits<RawType>::digits - 1;293 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()300 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()307 static RawType Infinity() { return ReinterpretBits(kExponentBitMask); } in Infinity()348 RawType value_; // The raw floating-point number.
1581 template <typename RawType>1584 RawType lhs_value, RawType rhs_value) { in CmpHelperFloatingPointEQ()1585 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()1592 lhs_ss.precision(std::numeric_limits<RawType>::digits10 + 2); in CmpHelperFloatingPointEQ()1596 rhs_ss.precision(std::numeric_limits<RawType>::digits10 + 2); in CmpHelperFloatingPointEQ()
45 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local47 return RawType.getLength(); in getTypeLength()
2741 template <typename RawType>2746 RawType close_to_positive_zero;2747 RawType close_to_negative_zero;2748 RawType further_from_negative_zero;2750 RawType close_to_one;2751 RawType further_from_one;2753 RawType infinity;2754 RawType close_to_infinity;2755 RawType further_from_infinity;2757 RawType nan1;[all …]
1329 const Metadata *RawType = getRawType(); in getSizeInBits() local1330 while (RawType) { in getSizeInBits()1332 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()1336 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) { in getSizeInBits()1338 RawType = DT->getRawBaseType(); in getSizeInBits()
1704 template <typename RawType>1706 RawType val1, RawType val2) { in FloatingPointLE()1713 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()1723 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()1727 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
927 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() 929 return RawType.getLength(); in getTypeLength() local
5381 QualType RawType, in GetImplicitObjectParameterType() argument5395 RawType = Context.getQualifiedType(RawType, Method->getMethodQualifiers()); in GetImplicitObjectParameterType()5398 return Context.getRValueReferenceType(RawType); in GetImplicitObjectParameterType()5399 return Context.getLValueReferenceType(RawType); in GetImplicitObjectParameterType()