Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-arithmetic_test.cc1017 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() argument
1051 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 …]
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h244 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.
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest.h1581 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()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp45 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local
47 return RawType.getLength(); in getTypeLength()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc2741 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 …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1329 const Metadata *RawType = getRawType(); in getSizeInBits() local
1330 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()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest.cc1704 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()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp927 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength()
929 return RawType.getLength(); in getTypeLength() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5381 QualType RawType, in GetImplicitObjectParameterType() argument
5395 RawType = Context.getQualifiedType(RawType, Method->getMethodQualifiers()); in GetImplicitObjectParameterType()
5398 return Context.getRValueReferenceType(RawType); in GetImplicitObjectParameterType()
5399 return Context.getLValueReferenceType(RawType); in GetImplicitObjectParameterType()