/external/clang/lib/Sema/ |
H A D | SemaCast.cpp | 144 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, 452 /// CastsAwayConstness - Check if the pointer conversion from SrcType to 461 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, argument 473 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() || 474 SrcType->isBlockPointerType()) && 480 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), 582 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); local 708 QualType SrcType = SrcExpr->getType(); local 1158 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1192 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1307 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1474 QualType SrcType = SrcExpr.get()->getType(); local 1588 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument 1642 QualType SrcType = SrcExpr.get()->getType(); local 1660 QualType SrcType = SrcExpr->getType(); local 1691 QualType SrcType = SrcExpr.get()->getType(); local [all...] |
H A D | SemaExpr.cpp | 10413 QualType DstType, QualType SrcType, 10431 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); 10436 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 10441 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 10451 SrcType->isObjCObjectPointerType(); 10453 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 10456 SrcType = SrcType.getUnqualifiedType(); 10471 if (SrcType->isArrayType()) SrcType 10411 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument [all...] |
H A D | SemaStmt.cpp | 1118 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, argument 1126 if (!Context.hasSameType(SrcType, DstType) && 1127 SrcType->isIntegerType()) {
|
/external/chromium_org/content/browser/media/ |
H A D | encrypted_media_browsertest.cc | 48 enum SrcType { enum 59 public testing::WithParamInterface<std::tr1::tuple<const char*, SrcType> > { 62 const std::tr1::tuple<const char*, SrcType> test_params, 65 SrcType src_type = std::tr1::get<1>(test_params); 78 const std::tr1::tuple<const char*, SrcType> test_params, 81 SrcType src_type = std::tr1::get<1>(test_params); 97 SrcType src_type, const char* expectation) { 248 std::tr1::tuple<const char*, SrcType> test_params = GetParam(); 259 std::tr1::tuple<const char*, SrcType> test_params = GetParam();
|
/external/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 83 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, 86 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, 385 QualType SrcType, 388 SrcType = SrcType->castAs<ComplexType>()->getElementType(); 394 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType); 395 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType); 400 QualType SrcType, 404 Val = CGF.EmitScalarConversion(Val, SrcType, DestType); 384 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType) argument 399 EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, QualType DestType) argument
|
H A D | CGExprScalar.cpp | 108 Value *Src, QualType SrcType, 533 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { argument 534 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); 536 if (SrcType->isRealFloatingType()) 539 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) 542 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && 554 Value *Src, QualType SrcType, 627 CGF.getContext().getFloatTypeSemantics(SrcType); 690 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, argument 692 SrcType 552 EmitFloatConversionCheck(Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, QualType DstType, llvm::Type *DstTy) argument [all...] |
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
H A D | GraphicsContext3DImagePacking.cpp | 1426 typedef typename DataTypeForFormat<SrcFormat>::Type SrcType; typedef 1430 const ptrdiff_t srcStrideInElements = m_srcStride / sizeof(SrcType); 1436 const SrcType *srcRowStart = static_cast<const SrcType*>(m_srcStart);
|
/external/clang/lib/AST/ |
H A D | ExprCXX.cpp | 586 QualType SrcType = getSubExpr()->getType(); local 589 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { 590 SrcType = SrcPTy->getPointeeType(); 598 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl());
|
H A D | ExprConstant.cpp | 1340 QualType SrcType, const APFloat &Value, 1355 QualType SrcType, QualType DestType, 1367 QualType DestType, QualType SrcType, 1379 QualType SrcType, const APSInt &Value, 6918 QualType SrcType = SubExpr->getType(); 6994 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); 6996 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); 6999 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, 7015 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) 7024 SrcType); 1339 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument 1354 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument 1366 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, APSInt &Value) argument 1378 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 1546 Type *SrcType = Trunc->getOperand()->getType(); variable 1553 if (T->getOperand()->getType() != SrcType) { 1559 LargeOps.push_back(getAnyExtendExpr(C, SrcType)); 1565 if (T->getOperand()->getType() != SrcType) { 1572 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType));
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 3926 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, 7098 QualType DstType, QualType SrcType, 7104 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
|