Home
last modified time | relevance | path

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

12

/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/vulkan-validation-layers/tests/gtest-1.7.0/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/mesa3d/src/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/gemmlowp/fixedpoint/
Dfixedpoint.h371 typedef tRawType RawType;
373 typedef FixedPointRawTypeTraits<RawType> RawTypeTraits;
400 static FixedPoint FromRaw(RawType x) {
408 retval.raw() = Dup<RawType>(x);
442 RawType raw() const { return i_; }
443 RawType& raw() { return i_; }
446 RawType i_;
586 typedef typename FixedPointType::RawType RawType;
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h261 template <typename RawType>
266 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
271 static const size_t kBitCount = 8*sizeof(RawType);
275 std::numeric_limits<RawType>::digits - 1;
310 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
317 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
324 static RawType Infinity() { in Infinity()
329 static RawType Max();
370 RawType value_; // The raw floating-point number.
/external/v8/testing/gtest/include/gtest/internal/
Dgtest-internal.h261 template <typename RawType>
266 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
271 static const size_t kBitCount = 8*sizeof(RawType);
275 std::numeric_limits<RawType>::digits - 1;
310 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
317 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
324 static RawType Infinity() { in Infinity()
329 static RawType Max();
370 RawType value_; // The raw floating-point number.
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h261 template <typename RawType>
266 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
271 static const size_t kBitCount = 8*sizeof(RawType);
275 std::numeric_limits<RawType>::digits - 1;
310 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
317 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
324 static RawType Infinity() { in Infinity()
329 static RawType Max();
370 RawType value_; // The raw floating-point number.
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h336 template <typename RawType>
341 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
346 static const size_t kBitCount = 8*sizeof(RawType);
350 std::numeric_limits<RawType>::digits - 1;
385 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
392 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
399 static RawType Infinity() { in Infinity()
442 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/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/googletest/googlemock/test/
Dgmock-matchers_test.cc2704 template <typename RawType>
2707 typedef testing::internal::FloatingPoint<RawType> Floating;
2730 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize()
2736 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument
2737 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches()
2743 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches()
2746 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches()
2753 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()
2756 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()
2765 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches()
[all …]
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc2700 template <typename RawType>
2703 typedef testing::internal::FloatingPoint<RawType> Floating;
2730 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize()
2736 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument
2737 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches()
2743 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches()
2746 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches()
2753 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()
2756 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()
2765 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches()
[all …]
/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/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/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/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
Dgtest.h1555 template <typename RawType>
1558 RawType expected, in CmpHelperFloatingPointEQ()
1559 RawType actual) { in CmpHelperFloatingPointEQ()
1560 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ()
1567 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1571 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/mesa3d/src/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/v8/testing/gtest/include/gtest/
Dgtest.h1634 template <typename RawType>
1637 RawType expected, in CmpHelperFloatingPointEQ()
1638 RawType actual) { in CmpHelperFloatingPointEQ()
1639 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ()
1646 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1650 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
Dgtest.h1694 template <typename RawType>
1697 RawType expected, in CmpHelperFloatingPointEQ()
1698 RawType actual) { in CmpHelperFloatingPointEQ()
1699 const FloatingPoint<RawType> lhs(expected), rhs(actual); in CmpHelperFloatingPointEQ()
1706 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1710 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h1630 template <typename RawType>
1633 RawType lhs_value, in CmpHelperFloatingPointEQ()
1634 RawType rhs_value) { in CmpHelperFloatingPointEQ()
1635 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1642 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1646 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/googletest/googletest/include/gtest/
Dgtest.h1630 template <typename RawType>
1633 RawType lhs_value, in CmpHelperFloatingPointEQ()
1634 RawType rhs_value) { in CmpHelperFloatingPointEQ()
1635 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1642 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1646 rhs_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/v8/testing/gtest/test/
Dgtest_unittest.cc2668 template <typename RawType>
2673 RawType close_to_positive_zero;
2674 RawType close_to_negative_zero;
2675 RawType further_from_negative_zero;
2677 RawType close_to_one;
2678 RawType further_from_one;
2680 RawType infinity;
2681 RawType close_to_infinity;
2682 RawType further_from_infinity;
2684 RawType nan1;
[all …]

12