/external/javassist/src/main/javassist/compiler/ast/ |
D | CastExpr.java | 24 public class CastExpr extends ASTList implements TokenId { class 28 public CastExpr(ASTList className, int dim, ASTree expr) { in CastExpr() method in CastExpr 34 public CastExpr(int type, int dim, ASTree expr) { in CastExpr() method in CastExpr
|
D | InstanceOfExpr.java | 23 public class InstanceOfExpr extends CastExpr {
|
D | Visitor.java | 39 public void atCastExpr(CastExpr n) throws CompileError {} in atCastExpr()
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 88 bool VisitCastExpr(CastExpr *E) { in VisitCastExpr() 122 void transformNonObjCToObjCCast(CastExpr *E) { in transformNonObjCToObjCCast() 196 void castToObjCObject(CastExpr *E, bool retained) { in castToObjCObject() 200 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind) { in rewriteToBridgedCast() 205 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind, in rewriteToBridgedCast() 276 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { in rewriteCastForCFRetain() 282 void getBlockMacroRanges(CastExpr *E, SourceRange &Outer, SourceRange &Inner) { in getBlockMacroRanges() 296 void rewriteBlockCopyMacro(CastExpr *E) { in rewriteBlockCopyMacro() 309 void removeBlockReleaseMacro(CastExpr *E) { in removeBlockReleaseMacro() 338 void transformObjCToNonObjCCast(CastExpr *E) { in transformObjCToNonObjCCast()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastToStructChecker.cpp | 26 class CastToStructChecker : public Checker< check::PreStmt<CastExpr> > { 30 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const; 34 void CastToStructChecker::checkPreStmt(const CastExpr *CE, in checkPreStmt()
|
D | CastSizeChecker.cpp | 25 class CastSizeChecker : public Checker< check::PreStmt<CastExpr> > { 29 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const; 91 void CastSizeChecker::checkPreStmt(const CastExpr *CE,CheckerContext &C) const { in checkPreStmt()
|
/external/javassist/src/main/javassist/compiler/ |
D | JvstTypeChecker.java | 86 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr() 110 protected void atCastToRtype(CastExpr expr) throws CompileError { in atCastToRtype() 124 protected void atCastToWrapper(CastExpr expr) throws CompileError { in atCastToWrapper()
|
D | JvstCodeGen.java | 160 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr() 184 protected void atCastToRtype(CastExpr expr) throws CompileError { in atCastToRtype() 200 protected void atCastToWrapper(CastExpr expr) throws CompileError { in atCastToWrapper()
|
D | TypeChecker.java | 291 expr.setThen(new CastExpr(exprType, 0, expr.thenExpr())); in atCondExpr() 293 expr.setElse(new CastExpr(type1, 0, expr.elseExpr())); in atCondExpr() 539 expr.setLeft(new CastExpr(type2, 0, expr.oprand1())); in insertCast() 544 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr()
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.h | 29 class CastExpr; variable 150 const CastExpr *E, 155 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E, 204 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E);
|
D | CGCXXABI.cpp | 99 const CastExpr *E, in EmitMemberPointerConversion() 105 llvm::Constant *CGCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion() 252 llvm::Constant *CGCXXABI::getMemberPointerAdjustment(const CastExpr *E) { in getMemberPointerAdjustment()
|
D | CGExprAgg.cpp | 149 void VisitCastExpr(CastExpr *E); 558 if (CastExpr *castE = dyn_cast<CastExpr>(op)) { in findPeephole() 568 void AggExprEmitter::VisitCastExpr(CastExpr *E) { in VisitCastExpr() 825 } else if (const CastExpr *cast = dyn_cast<CastExpr>(E)) { in isBlockVarRef() 1032 if (const CastExpr *ICE = dyn_cast<CastExpr>(E)) in isSimpleZero()
|
D | CGClass.cpp | 35 CastExpr::path_const_iterator Start, in ComputeNonVirtualBaseClassOffset() 36 CastExpr::path_const_iterator End) { in ComputeNonVirtualBaseClassOffset() 41 for (CastExpr::path_const_iterator I = Start; I != End; ++I) { in ComputeNonVirtualBaseClassOffset() 62 CastExpr::path_const_iterator PathBegin, in GetNonVirtualBaseClassOffset() 63 CastExpr::path_const_iterator PathEnd) { in GetNonVirtualBaseClassOffset() 140 CastExpr::path_const_iterator PathBegin, in GetAddressOfBaseClass() 141 CastExpr::path_const_iterator PathEnd, bool NullCheckValue, in GetAddressOfBaseClass() 145 CastExpr::path_const_iterator Start = PathBegin; in GetAddressOfBaseClass() 245 CastExpr::path_const_iterator PathBegin, in GetAddressOfDerivedClass() 246 CastExpr::path_const_iterator PathEnd, in GetAddressOfDerivedClass() [all …]
|
/external/clang/lib/AST/ |
D | Expr.cpp | 61 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) { in skipRValueSubobjectAdjustments() 1462 bool CastExpr::CastConsistency() const { in CastConsistency() 1573 const char *CastExpr::getCastKindName() const { in getCastKindName() 1690 Expr *CastExpr::getSubExprAsWritten() { in getSubExprAsWritten() 1692 CastExpr *E = this; in getSubExprAsWritten() 1719 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer() 1732 void CastExpr::setCastPath(const CXXCastPath &Path) { in setCastPath() 2274 const CastExpr *CE = cast<CastExpr>(this); in isUnusedResultAWarning() 2307 const CastExpr *ICE = cast<ImplicitCastExpr>(this); in isUnusedResultAWarning() 2443 if (CastExpr *P = dyn_cast<CastExpr>(E)) { in IgnoreParenCasts() [all …]
|
D | ParentMap.cpp | 135 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts() 162 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
|
D | ExprConstant.cpp | 1838 static bool HandleLValueBasePath(EvalInfo &Info, const CastExpr *E, in HandleLValueBasePath() 1840 for (CastExpr::path_const_iterator PathI = E->path_begin(), in HandleLValueBasePath() 3162 static bool HandleBaseToDerivedCast(EvalInfo &Info, const CastExpr *E, in HandleBaseToDerivedCast() 4220 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr() 4393 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr() 4475 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr() 4764 bool VisitCastExpr(const CastExpr* E); 4833 bool PointerExprEvaluator::VisitCastExpr(const CastExpr* E) { in VisitCastExpr() 5065 bool VisitCastExpr(const CastExpr *E); 5076 bool MemberPointerExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr() [all …]
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 67 def CastExpr : DStmt<Expr, 1>; 73 def ImplicitCastExpr : DStmt<CastExpr>; 74 def ExplicitCastExpr : DStmt<CastExpr, 1>;
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 280 if (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) { in stripCasts() 331 void VisitCastExpr(CastExpr *CE); 472 void ClassifyRefs::VisitCastExpr(CastExpr *CE) { in VisitCastExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 235 SVal StoreManager::evalDerivedToBase(SVal Derived, const CastExpr *Cast) { in evalDerivedToBase() 243 for (CastExpr::path_const_iterator I = Cast->path_begin(), in evalDerivedToBase()
|
D | SValBuilder.cpp | 272 const CastExpr *CE = cast<CastExpr>(E); in getConstantVal()
|
D | ExprEngine.cpp | 207 SmallVector<const CastExpr *, 4> Casts; in createTemporaryRegionIfNeeded() 210 while (const CastExpr *CE = dyn_cast<CastExpr>(Inner)) { in createTemporaryRegionIfNeeded() 243 for (SmallVectorImpl<const CastExpr *>::reverse_iterator I = Casts.rbegin(), in createTemporaryRegionIfNeeded() 1172 const CastExpr *C = cast<CastExpr>(S); in Visit() 1430 while (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) { in RecoverCastedSymbol()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 40 class CastExpr; variable 66 const CastExpr *BasePath; 81 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment() 2659 class CastExpr : public Expr { 2666 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer() 2677 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind, in CastExpr() function 2701 CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize) in CastExpr() function 2720 return const_cast<CastExpr *>(this)->getSubExprAsWritten(); in getSubExprAsWritten() 2763 class ImplicitCastExpr : public CastExpr { 2767 : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, BasePathLength) { in ImplicitCastExpr() [all …]
|
/external/clang/lib/Sema/ |
D | SemaCast.cpp | 87 ExprResult complete(CastExpr *castExpr) { in complete() 2440 Expr *CastExpr) { in BuildCStyleCastExpr() argument 2441 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCStyleCastExpr() 2443 Op.OpRange = SourceRange(LPLoc, CastExpr->getLocEnd()); in BuildCStyleCastExpr() 2447 isa<InitListExpr>(CastExpr)); in BuildCStyleCastExpr() 2462 Expr *CastExpr, in BuildCXXFunctionalCastExpr() argument 2465 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCXXFunctionalCastExpr() 2467 Op.OpRange = SourceRange(Op.DestRange.getBegin(), CastExpr->getLocEnd()); in BuildCXXFunctionalCastExpr()
|
D | SemaFixItUtils.cpp | 72 isa<CastExpr>(Expr) || in tryToFixConversion()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | Store.h | 118 SVal evalDerivedToBase(SVal Derived, const CastExpr *Cast);
|