/external/clang/lib/Sema/ |
H A D | SemaCast.cpp | 168 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType, 174 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType, 182 QualType SrcType, 478 /// CastsAwayConstness - Check if the pointer conversion from SrcType to 487 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, argument 502 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() || 503 SrcType->isBlockPointerType()) && 509 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), 623 QualType SrcType local 749 QualType SrcType = SrcExpr->getType(); local 1227 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1261 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, SourceRange OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1373 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1547 QualType SrcType = SrcExpr.get()->getType(); local 1660 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument 1712 QualType SrcType = SrcExpr.get()->getType(); local 1733 QualType SrcType = SrcExpr.get()->getType(); local 1821 QualType SrcType = SrcExpr->getType(); local 1878 QualType SrcType = SrcExpr.get()->getType(); local [all...] |
H A D | SemaExprObjC.cpp | 3807 QualType SrcType = castExpr->getType(); local 3811 SrcType = PDecl->getType(); 3815 SrcType = Getter->getReturnType(); 3819 ARCConversionTypeClass srcExprACTC = classifyTypeForARCConversion(SrcType); 3824 castType, SrcType, castExpr); 3845 QualType DestType, QualType SrcType, 3851 QualType T = CfToNs ? SrcType : DestType; 3868 << SrcType << DestType; 3879 << SrcType << DestType; 3894 << SrcType << DestTyp 3844 checkObjCBridgeRelatedComponents(SourceLocation Loc, QualType DestType, QualType SrcType, ObjCInterfaceDecl *&RelatedClass, ObjCMethodDecl *&ClassMethod, ObjCMethodDecl *&InstanceMethod, TypedefNameDecl *&TDNDecl, bool CfToNs, bool Diagnose) argument 3918 CheckObjCBridgeRelatedConversions(SourceLocation Loc, QualType DestType, QualType SrcType, Expr *&SrcExpr, bool Diagnose) argument [all...] |
H A D | Sema.cpp | 352 QualType SrcType, 354 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); 362 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; 351 diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType, SourceLocation Loc) argument
|
/external/libchrome/base/numerics/ |
H A D | safe_conversions.h | 79 using SrcType = typename internal::UnderlyingType<Src>::type; 80 return IsValueInRangeForNumericType<Dst, SrcType>(value) 81 ? static_cast<Dst>(static_cast<SrcType>(value)) 131 using SrcType = typename UnderlyingType<Src>::type; 132 return saturated_cast_impl<Dst, SaturationHandler, SrcType>( 134 DstRangeRelationToSrcRange<Dst, SaturationHandler, SrcType>(value)); 142 using SrcType = typename UnderlyingType<Src>::type; 152 static_assert(StaticDstRangeRelationToSrcRange<Dst, SrcType>::value == 157 return static_cast<Dst>(static_cast<SrcType>(value));
|
H A D | safe_math_impl.h | 544 using SrcType = typename internal::UnderlyingType<Src>::type; 545 return (std::is_integral<SrcType>::value || is_valid) 588 using SrcType = typename internal::UnderlyingType<Src>::type; 589 return (StaticDstRangeRelationToSrcRange<T, SrcType>::value ==
|
/external/pdfium/third_party/base/numerics/ |
H A D | safe_conversions.h | 78 using SrcType = typename internal::UnderlyingType<Src>::type; 79 return IsValueInRangeForNumericType<Dst, SrcType>(value) 80 ? static_cast<Dst>(static_cast<SrcType>(value)) 130 using SrcType = typename UnderlyingType<Src>::type; 131 return saturated_cast_impl<Dst, SaturationHandler, SrcType>( 133 DstRangeRelationToSrcRange<Dst, SaturationHandler, SrcType>(value)); 141 using SrcType = typename UnderlyingType<Src>::type; 151 static_assert(StaticDstRangeRelationToSrcRange<Dst, SrcType>::value == 156 return static_cast<Dst>(static_cast<SrcType>(value));
|
H A D | safe_math_impl.h | 545 using SrcType = typename internal::UnderlyingType<Src>::type; 546 return (std::is_integral<SrcType>::value || is_valid) 589 using SrcType = typename internal::UnderlyingType<Src>::type; 590 return (StaticDstRangeRelationToSrcRange<T, SrcType>::value ==
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
H A D | TensorConversion.h | 127 typedef typename internal::unpacket_traits<SrcPacket>::type SrcType; typedef 129 internal::scalar_cast_op<SrcType, TgtType> converter; 189 typedef typename internal::remove_all<typename internal::traits<ArgType>::Scalar>::type SrcType; typedef in struct:Eigen::TensorEvaluator 191 typedef typename PacketType<SrcType, Device>::type PacketSourceType; 210 return ConversionSubExprEval<internal::is_same<TargetType, SrcType>::value, TensorEvaluator<ArgType, Device>, Scalar>::run(m_impl, data); 220 internal::scalar_cast_op<SrcType, TargetType> converter; 228 internal::type_casting_traits<SrcType, TargetType>::VectorizedCast; 234 const double cast_cost = TensorOpCost::CastCost<SrcType, TargetType>(); 237 internal::type_casting_traits<SrcType, TargetType>::SrcCoeffRatio; 239 internal::type_casting_traits<SrcType, TargetTyp [all...] |
H A D | TensorCostModel.h | 48 template <typename SrcType, typename TargetType> 51 internal::scalar_cast_op<SrcType, TargetType> >::Cost;
|
/external/eigen/Eigen/src/OrderingMethods/ |
H A D | Ordering.h | 73 template <typename SrcType, unsigned int SrcUpLo> 74 void operator()(const SparseSelfAdjointView<SrcType, SrcUpLo>& mat, PermutationType& perm) 76 SparseMatrix<typename SrcType::Scalar, ColMajor, StorageIndex> C; C = mat;
|
/external/gemmlowp/internal/ |
H A D | dispatch_gemm_shape.h | 55 typedef VectorMap<Scalar, Shape> SrcType; typedef in struct:gemmlowp::TransposeImpl 59 static DstType Run(const SrcType& src) { 66 typedef MatrixMap<Scalar, Order> SrcType; typedef in struct:gemmlowp::TransposeImpl 69 static DstType Run(const SrcType& src) { 76 typedef OutputStageQuantizeDownInt32ToUint8ScalePC<Shape> SrcType; typedef in struct:gemmlowp::TransposeImpl 79 static DstType Run(const SrcType& src) { 90 typedef OutputStageBiasAddition<VectorMapType> SrcType; typedef in struct:gemmlowp::TransposeImpl 93 static DstType Run(const SrcType& src) {
|
/external/skqp/tests/ |
H A D | VkHardwareBufferTest.cpp | 1290 enum class SrcType { class 1302 SrcType srcType, DstType dstType, bool shareSyncs) { 1303 if (SrcType::kCPU == srcType && shareSyncs) { 1310 if (SrcType::kVulkan == srcType) { 1312 } else if (SrcType::kEGL == srcType) { 1353 if (SrcType::kCPU == srcType) { 1375 if (SrcType::kCPU == srcType) { 1506 run_test(reporter, options, SrcType::kCPU, DstType::kVulkan, false); 1510 run_test(reporter, options, SrcType::kEGL, DstType::kVulkan, false); 1514 run_test(reporter, options, SrcType [all...] |
/external/deqp/framework/randomshaders/ |
H A D | rsgExpression.cpp | 512 template <typename SrcType, typename DstType> 513 inline DstType convert (SrcType src) 515 if (Scalar::min<SrcType>() == src) 517 else if (Scalar::max<SrcType>() == src) 542 template <typename SrcType, typename DstType> 543 inline void convertValueRange (SrcType srcMin, SrcType srcMax, DstType& dstMin, DstType& dstMax) 545 dstMin = convert<SrcType, DstType>(srcMin); 546 dstMax = convert<SrcType, DstType>(srcMax); 572 // Returns whether it is possible to convert some SrcType valu [all...] |
/external/skia/gm/ |
H A D | xfermodes.cpp | 14 enum SrcType { enum 120 void draw_mode(SkCanvas* canvas, SkBlendMode mode, SrcType srcType, SkScalar x, SkScalar y) { 251 draw_mode(canvas, gModes[i].fMode, static_cast<SrcType>(sourceType),
|
/external/skqp/gm/ |
H A D | xfermodes.cpp | 14 enum SrcType { enum 120 void draw_mode(SkCanvas* canvas, SkBlendMode mode, SrcType srcType, SkScalar x, SkScalar y) { 251 draw_mode(canvas, gModes[i].fMode, static_cast<SrcType>(sourceType),
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | ops_testutil.h | 129 template <typename T, typename SrcType> 131 std::initializer_list<SrcType> data) {
|
/external/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 87 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, 90 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, 396 QualType SrcType, 400 SrcType = SrcType->castAs<ComplexType>()->getElementType(); 406 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); 407 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); 412 QualType SrcType, 417 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); 395 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType, SourceLocation Loc) argument 411 EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, QualType DestType, SourceLocation Loc) argument
|
H A D | CGExprScalar.cpp | 146 Value *Src, QualType SrcType, QualType DstType, 578 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { argument 579 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); 581 if (SrcType->isRealFloatingType()) 584 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) 587 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && 598 Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, 671 CGF.getContext().getFloatTypeSemantics(SrcType); 732 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, argument 735 return EmitScalarConversion(Src, SrcType, DstTyp 597 EmitFloatConversionCheck( Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, QualType DstType, llvm::Type *DstTy, SourceLocation Loc) argument 738 EmitScalarConversion(Value *Src, QualType SrcType, QualType DstType, SourceLocation Loc, bool TreatBooleanAsSigned) argument 1041 QualType SrcType = E->getSrcExpr()->getType(), local [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_compiler_util.c | 364 unsigned int SrcType; member in struct:src_select 385 select->SrcType = src_type; 484 unsigned int src_type = d.Selects[i].SrcType; 488 src_type &= ~d.Selects[j].SrcType;
|
/external/tensorflow/tensorflow/core/framework/ |
H A D | tensor_testutil.h | 66 template <typename T, typename SrcType> 67 void FillValues(Tensor* tensor, std::initializer_list<SrcType> vals) {
|
/external/clang/lib/AST/ |
H A D | ExprCXX.cpp | 570 QualType SrcType = getSubExpr()->getType(); local 573 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { 574 SrcType = SrcPTy->getPointeeType(); 582 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl());
|
H A D | ExprConstant.cpp | 1658 QualType SrcType, const APFloat &Value, 1673 QualType SrcType, QualType DestType, 1685 QualType DestType, QualType SrcType, 1697 QualType SrcType, const APSInt &Value, 8022 QualType SrcType = SubExpr->getType(); local 8103 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); 8105 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); 8108 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, 8124 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) 8133 SrcType); 1657 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument 1672 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument 1684 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, const APSInt &Value) argument 1696 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument [all...] |
/external/swiftshader/third_party/subzero/src/ |
H A D | IceAssemblerMIPS32.cpp | 797 const Type SrcType = OpRs->getType(); local 799 if ((isScalarIntegerType(DstType) && isScalarFloatingType(SrcType)) || 800 (isScalarFloatingType(DstType) && isScalarIntegerType(SrcType))) {
|
H A D | IceInstMIPS32.cpp | 645 const Type SrcType = Src->getType(); local 648 if ((isScalarIntegerType(DstType) && isScalarFloatingType(SrcType)) || 649 (isScalarFloatingType(DstType) && isScalarIntegerType(SrcType))) {
|
H A D | IceTargetLoweringX86BaseImpl.h | 7423 const Type SrcType = Src0->getType(); 7433 HelperID = isFloat32Asserting32Or64(SrcType) 7443 assert(SrcType == IceType_v4f32); 7448 HelperID = isFloat32Asserting32Or64(SrcType) 7452 HelperID = isFloat32Asserting32Or64(SrcType) 7456 HelperID = isFloat32Asserting32Or64(SrcType) 7465 if (!Traits::Is64Bit && SrcType == IceType_i64) { 7474 if (isVectorType(SrcType)) { 7476 assert(SrcType == IceType_v4i32); 7478 } else if (SrcType [all...] |