Home
last modified time | relevance | path

Searched refs:SrcType (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/Sema/
DSemaCast.cpp145 static bool CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType,
170 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType,
176 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType,
184 QualType SrcType,
464 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, in CastsAwayConstness() argument
476 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() || in CastsAwayConstness()
477 SrcType->isBlockPointerType()) && in CastsAwayConstness()
483 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness()
585 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast() local
588 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in CheckDynamicCast()
[all …]
DSemaExprObjC.cpp3464 QualType SrcType = castExpr->getType(); in CheckObjCBridgeRelatedCast() local
3468 SrcType = PDecl->getType(); in CheckObjCBridgeRelatedCast()
3472 SrcType = Getter->getReturnType(); in CheckObjCBridgeRelatedCast()
3477 ARCConversionTypeClass srcExprACTC = classifyTypeForARCConversion(SrcType); in CheckObjCBridgeRelatedCast()
3482 castType, SrcType, castExpr); in CheckObjCBridgeRelatedCast()
3504 QualType DestType, QualType SrcType, in checkObjCBridgeRelatedComponents() argument
3510 QualType T = CfToNs ? SrcType : DestType; in checkObjCBridgeRelatedComponents()
3526 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
3535 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
3548 << SrcType << DestType << Sel << false; in checkObjCBridgeRelatedComponents()
[all …]
DSemaExpr.cpp10840 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()
10878 SrcType->isObjCObjectPointerType(); in DiagnoseAssignmentResult()
10880 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10883 SrcType = SrcType.getUnqualifiedType(); in DiagnoseAssignmentResult()
10896 if (SrcType->isArrayType()) SrcType = Context.getArrayDecayedType(SrcType); in DiagnoseAssignmentResult()
10898 Qualifiers lhq = SrcType->getPointeeType().getQualifiers(); in DiagnoseAssignmentResult()
10938 if (SrcType->isObjCQualifiedIdType()) { in DiagnoseAssignmentResult()
[all …]
DSemaStmt.cpp1158 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1164 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1165 SrcType->isIntegerType()) { in DiagnoseAssignmentEnum()
/external/chromium_org/content/browser/media/
Dencrypted_media_browsertest.cc31 enum SrcType { enum
53 public testing::WithParamInterface<std::tr1::tuple<const char*, SrcType> > {
61 SrcType CurrentSourceType() { in CurrentSourceType()
93 SrcType src_type, in RunEncryptedMediaTest()
116 SrcType src_type) { in RunSimpleEncryptedMediaTest()
/external/eigen/Eigen/src/OrderingMethods/
DOrdering.h72 template <typename SrcType, unsigned int SrcUpLo>
73 void operator()(const SparseSelfAdjointView<SrcType, SrcUpLo>& mat, PermutationType& perm) in operator()
75 SparseMatrix<typename SrcType::Scalar, ColMajor, Index> C; C = mat; in operator()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp512 template <typename SrcType, typename DstType>
513 inline DstType convert (SrcType src) in convert()
515 if (Scalar::min<SrcType>() == src) in convert()
517 else if (Scalar::max<SrcType>() == 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>
575 SrcType sMin, sMax; in isConversionOk()
[all …]
/external/chromium_org/chrome/browser/media/
Dencrypted_media_browsertest.cc74 enum SrcType { enum
140 SrcType src_type, in RunEncryptedMediaTest()
168 SrcType src_type, in RunSimpleEncryptedMediaTest()
360 std::tr1::tuple<const char*, SrcType, EmeVersion> > {
366 SrcType CurrentSourceType() { in CurrentSourceType()
/external/chromium_org/third_party/skia/gm/
Dxfermodes.cpp51 enum SrcType { enum in skiagm::XfermodesGM
80 void draw_mode(SkCanvas* canvas, SkXfermode* mode, SrcType srcType, in draw_mode()
252 draw_mode(canvas, mode, static_cast<SrcType>(sourceType), in onDraw()
/external/skia/gm/
Dxfermodes.cpp51 enum SrcType { enum in skiagm::XfermodesGM
80 void draw_mode(SkCanvas* canvas, SkXfermode* mode, SrcType srcType, in draw_mode()
251 draw_mode(canvas, mode, static_cast<SrcType>(sourceType), in onDraw()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp83 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType,
86 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType,
388 QualType SrcType, in EmitComplexToComplexCast() argument
391 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
397 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType); in EmitComplexToComplexCast()
398 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType); in EmitComplexToComplexCast()
403 QualType SrcType, in EmitScalarToComplexCast() argument
407 Val = CGF.EmitScalarConversion(Val, SrcType, DestType); in EmitScalarToComplexCast()
DCGExprScalar.cpp109 Value *Src, QualType SrcType,
536 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { in EmitConversionToBool() argument
537 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); in EmitConversionToBool()
539 if (SrcType->isRealFloatingType()) in EmitConversionToBool()
542 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) in EmitConversionToBool()
545 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && in EmitConversionToBool()
557 Value *Src, QualType SrcType, in EmitFloatConversionCheck() argument
630 CGF.getContext().getFloatTypeSemantics(SrcType); in EmitFloatConversionCheck()
693 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, in EmitScalarConversion() argument
695 SrcType = CGF.getContext().getCanonicalType(SrcType); in EmitScalarConversion()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c364 unsigned int SrcType; member
385 select->SrcType = src_type; in can_use_presub_data_add_select()
484 unsigned int src_type = d.Selects[i].SrcType; in rc_inst_can_use_presub()
488 src_type &= ~d.Selects[j].SrcType; in rc_inst_can_use_presub()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c364 unsigned int SrcType; member
385 select->SrcType = src_type; in can_use_presub_data_add_select()
484 unsigned int src_type = d.Selects[i].SrcType; in rc_inst_can_use_presub()
488 src_type &= ~d.Selects[j].SrcType; in rc_inst_can_use_presub()
/external/clang/lib/AST/
DExprCXX.cpp648 QualType SrcType = getSubExpr()->getType(); in isAlwaysNull() local
651 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { in isAlwaysNull()
652 SrcType = SrcPTy->getPointeeType(); in isAlwaysNull()
660 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl()); in isAlwaysNull()
DExprConstant.cpp1485 QualType SrcType, const APFloat &Value, in HandleFloatToIntCast() argument
1500 QualType SrcType, QualType DestType, in HandleFloatToFloatCast() argument
1512 QualType DestType, QualType SrcType, in HandleIntToIntCast() argument
1524 QualType SrcType, const APSInt &Value, in HandleIntToFloatCast() argument
7128 QualType SrcType = SubExpr->getType(); in VisitCastExpr() local
7205 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); in VisitCastExpr()
7207 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); in VisitCastExpr()
7210 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, in VisitCastExpr()
7226 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) in VisitCastExpr()
7235 SrcType); in VisitCastExpr()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
DWebGLImageConversion.cpp1405 typedef typename DataTypeForFormat<SrcFormat>::Type SrcType; in convert() typedef
1409 const ptrdiff_t srcStrideInElements = m_srcStride / sizeof(SrcType); in convert()
1415 const SrcType *srcRowStart = static_cast<const SrcType*>(m_srcStart); in convert()
/external/clang/include/clang/Sema/
DSema.h4153 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
7040 QualType DestType, QualType SrcType,
7048 QualType DestType, QualType SrcType,
7677 QualType DstType, QualType SrcType,
7683 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1576 Type *SrcType = Trunc->getOperand()->getType(); in getAddExpr() local
1583 if (T->getOperand()->getType() != SrcType) { in getAddExpr()
1589 LargeOps.push_back(getAnyExtendExpr(C, SrcType)); in getAddExpr()
1595 if (T->getOperand()->getType() != SrcType) { in getAddExpr()
1602 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType)); in getAddExpr()