Home
last modified time | relevance | path

Searched refs:FromType (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_cast_main.cpp96 template <typename FromType>
97 void testValue(FromType Val, size_t &TotalTests, size_t &Passes, in testValue()
99 COMPARE(cast, FromType, bool, Val, FromTypeString); in testValue()
100 COMPARE(cast, FromType, uint8_t, Val, FromTypeString); in testValue()
101 COMPARE(cast, FromType, myint8_t, Val, FromTypeString); in testValue()
102 COMPARE(cast, FromType, uint16_t, Val, FromTypeString); in testValue()
103 COMPARE(cast, FromType, int16_t, Val, FromTypeString); in testValue()
104 COMPARE(cast, FromType, uint32_t, Val, FromTypeString); in testValue()
105 COMPARE(cast, FromType, int32_t, Val, FromTypeString); in testValue()
106 COMPARE(cast, FromType, uint64, Val, FromTypeString); in testValue()
[all …]
Dtest_cast.h22 template <typename FromType, typename ToType> ToType cast(FromType a);
23 template <typename FromType, typename ToType> ToType castBits(FromType a);
29 template <typename FromType, typename ToType>
30 ToType cast(int i, FromType a, int j);
31 template <typename FromType, typename ToType>
32 ToType castBits(int i, FromType a, int j);
Dtest_cast.cpp21 template <typename FromType, typename ToType>
22 ToType __attribute__((noinline)) cast(FromType a) { in cast()
26 template <typename FromType, typename ToType>
27 ToType __attribute__((noinline)) castBits(FromType a) { in castBits()
31 template <typename FromType, typename ToType>
32 ToType __attribute__((noinline)) cast(int i, FromType a, int j) { in cast()
38 template <typename FromType, typename ToType>
39 ToType __attribute__((noinline)) castBits(int i, FromType a, int j) { in castBits()
/third_party/boost/libs/multi_index/example/
Dbimap.cpp34 template<typename FromType,typename ToType>
39 value_type(const FromType& first_,const ToType& second_): in value_type()
43 FromType first;
63 tag<from>,member_offset<value_type,FromType,from_offset> >,
80 tag<from>,member<value_type,FromType,&value_type::first> >,
/third_party/boost/libs/bimap/example/mi_to_b_path/
Dmi_bidirectional_map.cpp35 template<typename FromType,typename ToType>
38 typedef std::pair<FromType,ToType> value_type;
46 tag<from>, member<value_type,FromType,&value_type::first>
/third_party/skia/third_party/externals/oboe/include/oboe/
DUtilities.h59 template <typename FromType>
60 const char * convertToText(FromType input);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dvertexconversion.h82 template <class FromType, std::size_t ScaleBits>
89 static float convert(FromType x)
91 const float divisor = 1.0f / static_cast<float>(static_cast<FromType>(1) << ScaleBits);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dvertexconversion.h82 template <class FromType, std::size_t ScaleBits>
89 static float convert(FromType x)
91 const float divisor = 1.0f / static_cast<float>(static_cast<FromType>(1) << ScaleBits);
/third_party/boost/boost/wave/util/
Dcpp_include_paths.hpp56 template<typename FromType, typename ToType>
59 typedef std::pair<FromType, ToType> value_type;
74 boost::multi_index::member_offset<value_type, FromType, from_offset>
90 boost::multi_index::member<value_type, FromType, &value_type::first>
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTX.h97 enum FromType { enum
DNVPTXISelDAGToDAG.cpp1035 unsigned int FromType; in tryLoadVector() local
1040 FromType = NVPTX::PTXLdStInstCode::Signed; in tryLoadVector()
1042 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector()
1045 FromType = NVPTX::PTXLdStInstCode::Unsigned; in tryLoadVector()
1068 FromType = NVPTX::PTXLdStInstCode::Untyped; in tryLoadVector()
1094 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1121 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1170 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1219 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
/third_party/googletest/googlemock/test/
Dgmock-actions_test.cc572 class FromType { class
574 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in __anona0f7f6d50111::FromType
584 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType()
589 FromType x(&converted); in TEST()
/third_party/boost/libs/bimap/doc/
Dexamples.qbk175 `std::pair<const FromType,const ToType>` such that no two elements exists with the
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp460 Type *FromType) { in getConvRTLibDesc() argument
462 auto FromMVT = MVT::getVT(FromType); in getConvRTLibDesc()
483 Type *FromType) { in conversionLibcall() argument
484 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall()
486 {{MI.getOperand(1).getReg(), FromType}}); in conversionLibcall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1364 EVT FromType = V.getOperand(0).getValueType(); in getValueBits() local
1367 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits()
1369 const unsigned NumAllBits = FromType.getSizeInBits(); in getValueBits()
1398 EVT FromType = cast<VTSDNode>(V.getOperand(1))->getVT(); in getValueBits() local
1399 const unsigned NumValidBits = FromType.getSizeInBits(); in getValueBits()
/third_party/googletest/googlemock/include/gmock/
Dgmock-matchers.h413 using FromType = typename std::remove_cv<typename std::remove_pointer< in MatchAndExplain() local
423 std::is_same<FromType, ToType>::value || in MatchAndExplain()
424 !std::is_base_of<FromType, ToType>::value, in MatchAndExplain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp962 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
963 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
965 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree()
1241 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
1243 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()