Home
last modified time | relevance | path

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

12

/external/skqp/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/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/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/mesa3d/src/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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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/libaom/libaom/third_party/googletest/src/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/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/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/tensorflow/tensorflow/core/kernels/
Dpooling_ops_common.cc35 struct RawType { struct
40 struct RawType<qint8> { struct
253 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in Compute()
258 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in Compute()
275 using RT = typename RawType<T>::type; in Compute()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h249 template <typename RawType>
254 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
259 static const size_t kBitCount = 8*sizeof(RawType);
263 std::numeric_limits<RawType>::digits - 1;
298 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
305 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
312 static RawType Infinity() { in Infinity()
317 static RawType Max();
358 RawType value_; // The raw floating-point number.
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h238 template <typename RawType>
243 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
248 static const size_t kBitCount = 8*sizeof(RawType);
252 std::numeric_limits<RawType>::digits - 1;
287 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
294 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
301 static RawType Infinity() { in Infinity()
306 static RawType Max();
347 RawType value_; // The raw floating-point number.
/external/tensorflow/tensorflow/contrib/fused_conv/kernels/
Dfused_conv2d_bias_activation_op.cc56 struct RawType { struct
61 struct RawType<qint8> { struct
515 using VectT = typename Int8x4ToInt32<typename RawType<T>::type>::type; in launch()
639 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in launch()
643 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in launch()
647 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in launch()
651 AsDeviceMemory(reinterpret_cast<const typename RawType<T>::type*>( in launch()
/external/gemmlowp/fixedpoint/
Dfixedpoint.h430 typedef tRawType RawType;
432 typedef FixedPointRawTypeTraits<RawType> RawTypeTraits;
459 static FixedPoint FromRaw(RawType x) {
467 retval.raw() = Dup<RawType>(x);
502 RawType raw() const { return i_; }
503 RawType& raw() { return i_; }
506 RawType i_;
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc3200 template <typename RawType>
3203 typedef testing::internal::FloatingPoint<RawType> Floating;
3230 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize()
3236 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument
3237 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches()
3243 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches()
3246 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches()
3253 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()
3256 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()
3265 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches()
[all …]
/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.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/libaom/libaom/third_party/googletest/src/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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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/googletest/googletest/include/gtest/
Dgtest.h1724 template <typename RawType>
1727 RawType lhs_value, in CmpHelperFloatingPointEQ()
1728 RawType rhs_value) { in CmpHelperFloatingPointEQ()
1729 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1736 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1740 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h1681 template <typename RawType>
1684 RawType lhs_value, in CmpHelperFloatingPointEQ()
1685 RawType rhs_value) { in CmpHelperFloatingPointEQ()
1686 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1693 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1697 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp43 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local
45 return RawType.getLength(); in getTypeLength()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDebugInfoMetadata.cpp648 const Metadata *RawType = getRawType(); in getSizeInBits() local
649 while (RawType) { in getSizeInBits()
651 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()
655 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) { in getSizeInBits()
657 RawType = DT->getRawBaseType(); in getSizeInBits()

12