Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCast.cpp144 static bool CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType,
169 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType,
175 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType,
183 QualType SrcType,
461 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, in CastsAwayConstness() argument
473 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() || in CastsAwayConstness()
474 SrcType->isBlockPointerType()) && in CastsAwayConstness()
480 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness()
582 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast() local
585 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in CheckDynamicCast()
[all …]
DSemaExpr.cpp10413 QualType DstType, QualType SrcType, in DiagnoseAssignmentResult() argument
10431 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
10436 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10441 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10451 SrcType->isObjCObjectPointerType(); in DiagnoseAssignmentResult()
10453 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10456 SrcType = SrcType.getUnqualifiedType(); in DiagnoseAssignmentResult()
10471 if (SrcType->isArrayType()) SrcType = Context.getArrayDecayedType(SrcType); in DiagnoseAssignmentResult()
10473 Qualifiers lhq = SrcType->getPointeeType().getQualifiers(); in DiagnoseAssignmentResult()
10525 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
[all …]
DSemaStmt.cpp1118 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1126 if (!Context.hasSameType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1127 SrcType->isIntegerType()) { in DiagnoseAssignmentEnum()
/external/chromium_org/content/browser/media/
Dencrypted_media_browsertest.cc30 enum SrcType { enum
52 public testing::WithParamInterface<std::tr1::tuple<const char*, SrcType> > {
60 SrcType CurrentSourceType() { in CurrentSourceType()
91 SrcType src_type, in RunEncryptedMediaTest()
110 SrcType src_type) { in RunSimpleEncryptedMediaTest()
/external/chromium_org/chrome/browser/media/
Dencrypted_media_browsertest.cc56 enum SrcType { enum
98 SrcType src_type, in RunEncryptedMediaTest()
117 SrcType src_type) { in RunSimpleEncryptedMediaTest()
244 public testing::WithParamInterface<std::tr1::tuple<const char*, SrcType> > {
250 SrcType CurrentSourceType() { in CurrentSourceType()
/external/skia/gm/
Dxfermodes.cpp54 enum SrcType { enum in skiagm::XfermodesGM
83 void draw_mode(SkCanvas* canvas, SkXfermode* mode, SrcType srcType, in draw_mode()
253 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,
385 QualType SrcType, in EmitComplexToComplexCast() argument
388 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
394 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType); in EmitComplexToComplexCast()
395 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType); in EmitComplexToComplexCast()
400 QualType SrcType, in EmitScalarToComplexCast() argument
404 Val = CGF.EmitScalarConversion(Val, SrcType, DestType); in EmitScalarToComplexCast()
DCGExprScalar.cpp108 Value *Src, QualType SrcType,
533 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { in EmitConversionToBool() argument
534 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); in EmitConversionToBool()
536 if (SrcType->isRealFloatingType()) in EmitConversionToBool()
539 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) in EmitConversionToBool()
542 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && in EmitConversionToBool()
554 Value *Src, QualType SrcType, in EmitFloatConversionCheck() argument
627 CGF.getContext().getFloatTypeSemantics(SrcType); in EmitFloatConversionCheck()
690 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, in EmitScalarConversion() argument
692 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/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext3DImagePacking.cpp1424 typedef typename DataTypeForFormat<SrcFormat>::Type SrcType; in convert() typedef
1428 const ptrdiff_t srcStrideInElements = m_srcStride / sizeof(SrcType); in convert()
1434 const SrcType *srcRowStart = static_cast<const SrcType*>(m_srcStart); in convert()
/external/clang/lib/AST/
DExprCXX.cpp586 QualType SrcType = getSubExpr()->getType(); in isAlwaysNull() local
589 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { in isAlwaysNull()
590 SrcType = SrcPTy->getPointeeType(); in isAlwaysNull()
598 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl()); in isAlwaysNull()
DExprConstant.cpp1340 QualType SrcType, const APFloat &Value, in HandleFloatToIntCast() argument
1355 QualType SrcType, QualType DestType, in HandleFloatToFloatCast() argument
1367 QualType DestType, QualType SrcType, in HandleIntToIntCast() argument
1379 QualType SrcType, const APSInt &Value, in HandleIntToFloatCast() argument
6918 QualType SrcType = SubExpr->getType(); in VisitCastExpr() local
6994 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); in VisitCastExpr()
6996 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); in VisitCastExpr()
6999 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, in VisitCastExpr()
7015 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) in VisitCastExpr()
7024 SrcType); in VisitCastExpr()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1546 Type *SrcType = Trunc->getOperand()->getType(); in getAddExpr() local
1553 if (T->getOperand()->getType() != SrcType) { in getAddExpr()
1559 LargeOps.push_back(getAnyExtendExpr(C, SrcType)); in getAddExpr()
1565 if (T->getOperand()->getType() != SrcType) { in getAddExpr()
1572 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType)); in getAddExpr()
/external/clang/include/clang/Sema/
DSema.h3926 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
7098 QualType DstType, QualType SrcType,
7104 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,