Home
last modified time | relevance | path

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

/external/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;
/external/protobuf/gtest/include/gtest/internal/
Dgtest-internal.h332 template <typename RawType>
337 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
342 static const size_t kBitCount = 8*sizeof(RawType);
346 std::numeric_limits<RawType>::digits - 1;
381 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
388 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
395 static RawType Infinity() { in Infinity()
438 RawType value_; // The raw floating-point number.
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc2536 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/gtest/include/gtest/internal/
Dgtest-internal.h231 template <typename RawType>
236 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
241 static const size_t kBitCount = 8*sizeof(RawType);
245 std::numeric_limits<RawType>::digits - 1;
280 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
287 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
294 static RawType Infinity() { in Infinity()
299 static RawType Max();
340 RawType value_; // The raw floating-point number.
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-internal.h316 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/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h345 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/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h316 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/protobuf/gtest/include/gtest/
Dgtest.h1487 template <typename RawType>
1490 RawType expected, in CmpHelperFloatingPointEQ()
1491 RawType actual) { in CmpHelperFloatingPointEQ()
1492 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ()
1499 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1503 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h1553 template <typename RawType>
1556 RawType expected, in CmpHelperFloatingPointEQ()
1557 RawType actual) { in CmpHelperFloatingPointEQ()
1558 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ()
1565 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1569 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1557 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/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h1563 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/gtest/include/gtest/
Dgtest.h1685 template <typename RawType>
1688 RawType expected, in CmpHelperFloatingPointEQ()
1689 RawType actual) { in CmpHelperFloatingPointEQ()
1690 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ()
1697 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1701 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/protobuf/gtest/test/
Dgtest_unittest.cc2631 template <typename RawType>
2637 RawType close_to_positive_zero;
2638 RawType close_to_negative_zero;
2639 RawType further_from_negative_zero;
2641 RawType close_to_one;
2642 RawType further_from_one;
2644 RawType infinity;
2645 RawType close_to_infinity;
2646 RawType further_from_infinity;
2648 RawType nan1;
[all …]
/external/gtest/test/
Dgtest_unittest.cc2661 template <typename RawType>
2666 RawType close_to_positive_zero;
2667 RawType close_to_negative_zero;
2668 RawType further_from_negative_zero;
2670 RawType close_to_one;
2671 RawType further_from_one;
2673 RawType infinity;
2674 RawType close_to_infinity;
2675 RawType further_from_infinity;
2677 RawType nan1;
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc2806 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/google-breakpad/src/testing/gtest/src/
Dgtest.cc1058 template <typename RawType>
1061 RawType val1, in FloatingPointLE()
1062 RawType val2) { in FloatingPointLE()
1069 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
1079 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
1083 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
/external/protobuf/gtest/src/
Dgtest.cc1073 template <typename RawType>
1076 RawType val1, in FloatingPointLE()
1077 RawType val2) { in FloatingPointLE()
1084 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
1094 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
1098 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc1057 template <typename RawType>
1060 RawType val1, in FloatingPointLE()
1061 RawType val2) { in FloatingPointLE()
1068 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
1078 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
1082 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
/external/mesa3d/src/gtest/src/
Dgtest.cc1057 template <typename RawType>
1060 RawType val1, in FloatingPointLE()
1061 RawType val2) { in FloatingPointLE()
1068 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
1078 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
1082 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
/external/gtest/src/
Dgtest.cc1060 template <typename RawType>
1063 RawType val1, in FloatingPointLE()
1064 RawType val2) { in FloatingPointLE()
1071 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
1081 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
1085 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
/external/llvm/lib/IR/
DVerifier.cpp3421 const Metadata *RawType = V.getRawType(); in getVariableSize() local
3422 while (RawType) { in getVariableSize()
3424 if (auto *T = dyn_cast<MDType>(RawType)) in getVariableSize()
3428 if (auto *DT = dyn_cast<MDDerivedType>(RawType)) { in getVariableSize()
3430 RawType = DT->getRawBaseType(); in getVariableSize()
3434 if (auto *S = dyn_cast<MDString>(RawType)) { in getVariableSize()
3436 RawType = Map.lookup(S); in getVariableSize()
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc2413 template <typename RawType>
2416 RawType val1, in FloatingPointLE()
2417 RawType val2) { in FloatingPointLE()
2424 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
2434 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
2438 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
Dgtest.h6725 template <typename RawType>
6730 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
6735 static const size_t kBitCount = 8*sizeof(RawType);
6739 std::numeric_limits<RawType>::digits - 1;
6774 explicit FloatingPoint(const RawType& x) { u_.value_ = x; }
6781 static RawType ReinterpretBits(const Bits bits) {
6788 static RawType Infinity() {
6831 RawType value_; // The raw floating-point number.
17075 template <typename RawType>
17078 RawType expected,
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc2544 template <typename RawType>
2547 RawType val1, in FloatingPointLE()
2548 RawType val2) { in FloatingPointLE()
2555 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
2565 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
2569 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h7191 template <typename RawType>
7196 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
7201 static const size_t kBitCount = 8*sizeof(RawType);
7205 std::numeric_limits<RawType>::digits - 1;
7240 explicit FloatingPoint(const RawType& x) { u_.value_ = x; }
7247 static RawType ReinterpretBits(const Bits bits) {
7254 static RawType Infinity() {
7259 static RawType Max();
7300 RawType value_; // The raw floating-point number.
19098 template <typename RawType>
[all …]