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

12

/external/skia/src/utils/
H A 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/gemmlowp/internal/
H A Dfixedpoint.h226 typedef tRawType RawType; typedef in class:gemmlowp::FixedPoint
228 typedef FixedPointRawTypeTraits<RawType> RawTypeTraits;
255 static FixedPoint FromRaw(RawType x) {
263 retval.raw() = Dup<RawType>(x);
288 RawType raw() const { return i_; }
289 RawType& raw() { return i_; }
292 RawType i_;
422 typedef typename FixedPointType::RawType RawType;
425 FixedPointType check = ToFixedPoint<RawType, kIntegerBit
[all...]
/external/gtest/include/gtest/internal/
H A Dgtest-internal.h230 // RawType: the raw floating-point type (either float or double)
231 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; }
287 static RawType ReinterpretBits(const Bits bits) {
294 static RawType Infinity() {
299 static RawType Max();
340 RawType value
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-internal.h230 // RawType: the raw floating-point type (either float or double)
231 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; }
287 static RawType ReinterpretBits(const Bits bits) {
294 static RawType Infinity() {
299 static RawType Max();
340 RawType value
[all...]
/external/google-breakpad/src/testing/test/
H A Dgmock-matchers_test.cc2536 template <typename RawType>
2539 typedef typename testing::internal::FloatingPoint<RawType> Floating;
2579 EXPECT_EQ(sizeof(RawType), sizeof(Bits));
2585 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) {
2586 Matcher<RawType> m1 = matcher_maker(0.0);
2592 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_);
2595 Matcher<RawType> m3 = matcher_maker(1.0);
2602 Matcher<RawType> m4 = matcher_maker(-infinity_);
2605 Matcher<RawType> m
[all...]
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-internal.h331 // RawType: the raw floating-point type (either float or double)
332 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; }
388 static RawType ReinterpretBits(const Bits bits) {
395 static RawType Infinity() {
438 RawType value_; // The raw floating-point number.
/external/gmock/test/
H A Dgmock-matchers_test.cc2645 template <typename RawType>
2648 typedef testing::internal::FloatingPoint<RawType> Floating;
2675 EXPECT_EQ(sizeof(RawType), sizeof(Bits));
2681 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) {
2682 Matcher<RawType> m1 = matcher_maker(0.0);
2688 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_);
2691 Matcher<RawType> m3 = matcher_maker(1.0);
2698 Matcher<RawType> m4 = matcher_maker(-infinity_);
2701 Matcher<RawType> m
[all...]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-internal.h315 // RawType: the raw floating-point type (either float or double)
316 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; }
372 static RawType ReinterpretBits(const Bits bits) {
379 static RawType Infinity() {
422 RawType value_; // The raw floating-point number.
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h344 // RawType: the raw floating-point type (either float or double)
345 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; }
401 static RawType ReinterpretBits(const Bits bits) {
408 static RawType Infinity() {
451 RawType value_; // The raw floating-point number.
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-internal.h315 // RawType: the raw floating-point type (either float or double)
316 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; }
372 static RawType ReinterpretBits(const Bits bits) {
379 static RawType Infinity() {
422 RawType value_; // The raw floating-point number.
/external/google-breakpad/src/testing/gtest/include/gtest/
H A Dgtest.h1560 // RawType: the raw floating-point type (either float or double)
1563 template <typename RawType>
1566 RawType expected,
1567 RawType actual) {
1568 const FloatingPoint<RawType> lhs(expected), rhs(actual);
1575 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1579 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h1554 // RawType: the raw floating-point type (either float or double)
1557 template <typename RawType>
1560 RawType expected,
1561 RawType actual) {
1562 const FloatingPoint<RawType> lhs(expected), rhs(actual);
1569 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1573 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/mesa3d/src/gtest/include/gtest/
H A Dgtest.h1550 // RawType: the raw floating-point type (either float or double)
1553 template <typename RawType>
1556 RawType expected,
1557 RawType actual) {
1558 const FloatingPoint<RawType> lhs(expected), rhs(actual);
1565 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1569 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/protobuf/gtest/include/gtest/
H A Dgtest.h1484 // RawType: the raw floating-point type (either float or double)
1487 template <typename RawType>
1490 RawType expected,
1491 RawType actual) {
1492 const FloatingPoint<RawType> lhs(expected), rhs(actual);
1499 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1503 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/gtest/include/gtest/
H A Dgtest.h1682 // RawType: the raw floating-point type (either float or double)
1685 template <typename RawType>
1688 RawType expected,
1689 RawType actual) {
1690 const FloatingPoint<RawType> lhs(expected), rhs(actual);
1697 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1701 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
H A Dgtest.h1682 // RawType: the raw floating-point type (either float or double)
1685 template <typename RawType>
1688 RawType expected,
1689 RawType actual) {
1690 const FloatingPoint<RawType> lhs(expected), rhs(actual);
1697 expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1701 actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/libcxx/test/std/utilities/function.objects/func.require/
H A Dinvoke_helpers.h45 typedef typename std::remove_reference<T>::type RawType; typedef in struct:Caster::apply
46 typedef typename QualTag::template apply<RawType>::type CVType;
/external/protobuf/gtest/test/
H A 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 nan
[all...]
/external/google-breakpad/src/testing/gtest/test/
H A 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 nan
[all...]
/external/gtest/test/
H A 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 nan
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
H A 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 nan
[all...]
/external/llvm/lib/IR/
H A DVerifier.cpp3820 const Metadata *RawType = V.getRawType(); local
3821 while (RawType) {
3823 if (auto *T = dyn_cast<DIType>(RawType))
3827 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) {
3829 RawType = DT->getRawBaseType();
3833 if (auto *S = dyn_cast<MDString>(RawType)) {
3835 RawType = Map.lookup(S);
/external/google-breakpad/src/testing/gtest/src/
H A Dgtest.cc1058 template <typename RawType>
1061 RawType val1,
1062 RawType val2) {
1069 const FloatingPoint<RawType> lhs(val1), rhs(val2);
1079 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1083 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/gtest/src/
H A Dgtest.cc1060 template <typename RawType>
1063 RawType val1,
1064 RawType val2) {
1071 const FloatingPoint<RawType> lhs(val1), rhs(val2);
1081 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1085 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
/external/llvm/utils/unittest/googletest/src/
H A Dgtest.cc1057 template <typename RawType>
1060 RawType val1,
1061 RawType val2) {
1068 const FloatingPoint<RawType> lhs(val1), rhs(val2);
1078 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
1082 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)

Completed in 1284 milliseconds

12