Home
last modified time | relevance | path

Searched refs:DstType (Results 1 – 8 of 8) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgExpression.cpp512 template <typename SrcType, typename DstType>
513 inline DstType convert (SrcType src) in convert()
516 return Scalar::min<DstType>().template as<DstType>(); in convert()
518 return Scalar::max<DstType>().template as<DstType>(); in convert()
520 return DstType(src); in convert()
541 template <typename SrcType, typename DstType>
542 inline void convertValueRange (SrcType srcMin, SrcType srcMax, DstType& dstMin, DstType& dstMax) in convertValueRange()
544 dstMin = convert<SrcType, DstType>(srcMin); in convertValueRange()
545 dstMax = convert<SrcType, DstType>(srcMax); in convertValueRange()
572 template <typename SrcType, typename DstType>
[all …]
/external/clang/lib/CodeGen/
DCGExprScalar.cpp110 QualType DstType, llvm::Type *DstTy);
558 QualType DstType, in EmitFloatConversionCheck() argument
569 assert(DstType->isFloatingType()); in EmitFloatConversionCheck()
573 APFloat::getLargest(CGF.getContext().getFloatTypeSemantics(DstType)); in EmitFloatConversionCheck()
599 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
600 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType(); in EmitFloatConversionCheck()
657 if (CGF.getContext().getFloatingTypeOrder(OrigSrcType, DstType) != 1) in EmitFloatConversionCheck()
664 CGF.getContext().getFloatTypeSemantics(DstType); in EmitFloatConversionCheck()
685 CGF.EmitCheckTypeDescriptor(DstType) in EmitFloatConversionCheck()
694 QualType DstType) { in EmitScalarConversion() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
DWebGLImageConversion.cpp232 template<int format, typename SourceType, typename DstType>
233 void unpack(const SourceType*, DstType*, unsigned) in unpack() argument
540 template<int format, int alphaOp, typename SourceType, typename DstType>
541 void pack(const SourceType*, DstType*, unsigned) in pack() argument
1406 typedef typename DataTypeForFormat<DstFormat>::Type DstType; in convert() typedef
1410 const ptrdiff_t dstStrideInElements = m_dstStride / sizeof(DstType); in convert()
1416 DstType* dstRowStart = static_cast<DstType*>(m_dstStart); in convert()
/external/clang/include/clang/AST/
DExpr.h3509 ConvertVectorExpr(Expr* SrcExpr, TypeSourceInfo *TI, QualType DstType, in ConvertVectorExpr() argument
3512 : Expr(ConvertVectorExprClass, DstType, VK, OK, in ConvertVectorExpr()
3513 DstType->isDependentType(), in ConvertVectorExpr()
3514 DstType->isDependentType() || SrcExpr->isValueDependent(), in ConvertVectorExpr()
3515 (DstType->isInstantiationDependentType() || in ConvertVectorExpr()
3517 (DstType->containsUnexpandedParameterPack() || in ConvertVectorExpr()
4561 AsTypeExpr(Expr* SrcExpr, QualType DstType, in AsTypeExpr() argument
4564 : Expr(AsTypeExprClass, DstType, VK, OK, in AsTypeExpr()
4565 DstType->isDependentType(), in AsTypeExpr()
4566 DstType->isDependentType() || SrcExpr->isValueDependent(), in AsTypeExpr()
[all …]
/external/clang/lib/Sema/
DSemaStmt.cpp1158 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1163 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
1164 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1169 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
1170 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType(); in DiagnoseAssignmentEnum()
1198 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
DSemaExpr.cpp10806 Sema::ConversionToObjCStringLiteralCheck(QualType DstType, Expr *&Exp) { in ConversionToObjCStringLiteralCheck() argument
10810 const ObjCObjectPointerType *PT = DstType->getAs<ObjCObjectPointerType>(); in ConversionToObjCStringLiteralCheck()
10840 QualType DstType, QualType SrcType, in DiagnoseAssignmentResult() argument
10859 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
10864 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10869 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10877 CheckInferredResultType = DstType->isObjCObjectPointerType() && in DiagnoseAssignmentResult()
10880 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10884 DstType = DstType.getUnqualifiedType(); in DiagnoseAssignmentResult()
10899 Qualifiers rhq = DstType->getPointeeType().getQualifiers(); in DiagnoseAssignmentResult()
[all …]
/external/clang/include/clang/Sema/
DSema.h7051 bool ConversionToObjCStringLiteralCheck(QualType DstType, Expr *&SrcExpr);
7677 QualType DstType, QualType SrcType,
7683 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1575 Type *DstType = Trunc->getType(); in getAddExpr() local
1620 return getTruncateExpr(Fold, DstType); in getAddExpr()