/external/javassist/src/main/javassist/compiler/ast/ |
CallExpr.java | 25 public class CallExpr extends Expr { 28 private CallExpr(ASTree _head, ASTList _tail) { 41 public static CallExpr makeCall(ASTree target, ASTree args) { 42 return new CallExpr(target, new ASTList(args));
|
Visitor.java | 38 public void atCallExpr(CallExpr n) throws CompileError {}
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ExprInspectionChecker.cpp | 23 void analyzerEval(const CallExpr *CE, CheckerContext &C) const; 24 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const; 25 void analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const; 26 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const; 28 typedef void (ExprInspectionChecker::*FnCheck)(const CallExpr *, 32 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 36 bool ExprInspectionChecker::evalCall(const CallExpr *CE, 55 static const char *getArgumentValueString(const CallExpr *CE, 87 void ExprInspectionChecker::analyzerEval(const CallExpr *CE, 104 void ExprInspectionChecker::analyzerWarnIfReached(const CallExpr *CE [all...] |
MacOSXAPIChecker.cpp | 33 class MacOSXAPIChecker : public Checker< check::PreStmt<CallExpr> > { 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 43 const CallExpr *, 52 void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 104 void MacOSXAPIChecker::checkPreStmt(const CallExpr *CE,
|
UnixAPIChecker.cpp | 32 class UnixAPIChecker : public Checker< check::PreStmt<CallExpr> > { 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckOpen(CheckerContext &C, const CallExpr *CE) const; 40 void CheckPthreadOnce(CheckerContext &C, const CallExpr *CE) const; 41 void CheckCallocZero(CheckerContext &C, const CallExpr *CE) const; 42 void CheckMallocZero(CheckerContext &C, const CallExpr *CE) const; 43 void CheckReallocZero(CheckerContext &C, const CallExpr *CE) const; 44 void CheckReallocfZero(CheckerContext &C, const CallExpr *CE) const; 45 void CheckAllocaZero(CheckerContext &C, const CallExpr *CE) const; 46 void CheckVallocZero(CheckerContext &C, const CallExpr *CE) const [all...] |
VirtualCallChecker.cpp | 35 typedef const CallExpr * WorkListUnit; 41 // PreVisited : A CallExpr to this FunctionDecl is in the worklist, but the 43 // PostVisited : A CallExpr to this FunctionDecl is in the worklist, and the 46 PreVisited, /**< A CallExpr to this FunctionDecl is in the 49 PostVisited /**< A CallExpr to this FunctionDecl is in the 56 /// The CallExpr whose body is currently being visited. This is used for 59 const CallExpr *visitingCallExpr; 68 /// This method adds a CallExpr to the worklist and marks the callee as 96 SaveAndRestore<const CallExpr *> SaveCall(visitingCallExpr, WLUnit); 113 void VisitCallExpr(CallExpr *CE) [all...] |
ChrootChecker.cpp | 41 class ChrootChecker : public Checker<eval::Call, check::PreStmt<CallExpr> > { 54 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 58 void Chroot(CheckerContext &C, const CallExpr *CE) const; 59 void Chdir(CheckerContext &C, const CallExpr *CE) const; 64 bool ChrootChecker::evalCall(const CallExpr *CE, CheckerContext &C) const { 87 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const { 97 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const { 124 void ChrootChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const {
|
StreamChecker.cpp | 76 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 80 void Fopen(CheckerContext &C, const CallExpr *CE) const; 81 void Tmpfile(CheckerContext &C, const CallExpr *CE) const; 82 void Fclose(CheckerContext &C, const CallExpr *CE) const; 83 void Fread(CheckerContext &C, const CallExpr *CE) const; 84 void Fwrite(CheckerContext &C, const CallExpr *CE) const; 85 void Fseek(CheckerContext &C, const CallExpr *CE) const; 86 void Ftell(CheckerContext &C, const CallExpr *CE) const; 87 void Rewind(CheckerContext &C, const CallExpr *CE) const; 88 void Fgetpos(CheckerContext &C, const CallExpr *CE) const [all...] |
GenericTaintChecker.cpp | 31 class GenericTaintChecker : public Checker< check::PostStmt<CallExpr>, 32 check::PreStmt<CallExpr> > { 36 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 38 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 53 bool checkPre(const CallExpr *CE, CheckerContext &C) const; 56 void addSourcesPre(const CallExpr *CE, CheckerContext &C) const; 59 bool propagateFromPre(const CallExpr *CE, CheckerContext &C) const; 62 void addSourcesPost(const CallExpr *CE, CheckerContext &C) const; 73 typedef ProgramStateRef (GenericTaintChecker::*FnCheck)(const CallExpr *, 75 ProgramStateRef postScanf(const CallExpr *CE, CheckerContext &C) const [all...] |
PthreadLockChecker.cpp | 52 class PthreadLockChecker : public Checker< check::PostStmt<CallExpr> > { 64 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 66 void AcquireLock(CheckerContext &C, const CallExpr *CE, SVal lock, 69 void ReleaseLock(CheckerContext &C, const CallExpr *CE, SVal lock) const; 70 void DestroyLock(CheckerContext &C, const CallExpr *CE, SVal Lock) const; 71 void InitLock(CheckerContext &C, const CallExpr *CE, SVal Lock) const; 72 void reportUseDestroyedBug(CheckerContext &C, const CallExpr *CE) const; 81 void PthreadLockChecker::checkPostStmt(const CallExpr *CE, 124 void PthreadLockChecker::AcquireLock(CheckerContext &C, const CallExpr *CE, 194 void PthreadLockChecker::ReleaseLock(CheckerContext &C, const CallExpr *CE [all...] |
CStringSyntaxChecker.cpp | 57 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) { 82 bool containsBadStrncatPattern(const CallExpr *CE); 93 void VisitCallExpr(CallExpr *CE); 103 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) { 135 void WalkAST::VisitCallExpr(CallExpr *CE) {
|
CheckSecuritySyntaxOnly.cpp | 78 void VisitCallExpr(CallExpr *CE); 86 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 88 typedef void (WalkAST::*FnCheck)(const CallExpr *, 93 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 94 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 95 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 96 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 97 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 98 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 99 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) [all...] |
ObjCContainersChecker.cpp | 31 class ObjCContainersChecker : public Checker< check::PreStmt<CallExpr>, 32 check::PostStmt<CallExpr> > { 53 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 54 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 80 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE, 103 void ObjCContainersChecker::checkPreStmt(const CallExpr *CE,
|
BuiltinFunctionChecker.cpp | 27 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 32 bool BuiltinFunctionChecker::evalCall(const CallExpr *CE,
|
MallocSizeofChecker.cpp | 31 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair; 43 const CallExpr *AllocCall; 47 const CallExpr *AllocCall) 92 TypeCallPair VisitCallExpr(const CallExpr *E) { 188 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(),
|
ObjCContainersASTChecker.cpp | 82 void VisitCallExpr(CallExpr *CE); 86 static StringRef getCalleeName(CallExpr *CE) { 98 void WalkAST::VisitCallExpr(CallExpr *CE) {
|
CStringChecker.cpp | 62 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 76 const CallExpr *) const; 78 void evalMemcpy(CheckerContext &C, const CallExpr *CE) const; 79 void evalMempcpy(CheckerContext &C, const CallExpr *CE) const; 80 void evalMemmove(CheckerContext &C, const CallExpr *CE) const; 81 void evalBcopy(CheckerContext &C, const CallExpr *CE) const; 82 void evalCopyCommon(CheckerContext &C, const CallExpr *CE, 90 void evalMemcmp(CheckerContext &C, const CallExpr *CE) const; 92 void evalstrLength(CheckerContext &C, const CallExpr *CE) const; 93 void evalstrnLength(CheckerContext &C, const CallExpr *CE) const [all...] |
/external/clang/examples/analyzer-plugin/ |
MainCallChecker.cpp | 10 class MainCallChecker : public Checker < check::PreStmt<CallExpr> > { 14 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 18 void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const {
|
/frameworks/compile/slang/ |
slang_rs_check_ast.h | 46 void WarnOnSetElementAt(clang::CallExpr*); 62 void VisitCallExpr(clang::CallExpr *CE);
|
/external/clang/unittests/AST/ |
ASTTypeTraitsTest.cpp | 51 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<CallExpr>())); 53 EXPECT_FALSE(DNT<CallExpr>().isBaseOf(DNT<BinaryOperator>())); 54 EXPECT_FALSE(DNT<BinaryOperator>().isBaseOf(DNT<CallExpr>())); 72 EXPECT_EQ("CallExpr", DNT<CallExpr>().asStringRef());
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 241 const FunctionDecl *getCalleeDecl(const CallExpr *CE) const; 247 const IdentifierInfo *getCalleeIdentifier(const CallExpr *CE) const { 256 StringRef getCalleeName(const CallExpr *CE) const {
|
/external/clang/lib/ARCMigrate/ |
TransUnbridgedCasts.cpp | 135 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) { 276 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { 357 CallExpr *callE; 417 bool isPassedToCFRetain(Expr *E, CallExpr *&callE) const { 418 if ((callE = dyn_cast_or_null<CallExpr>( 431 if (CallExpr *callE = dyn_cast_or_null<CallExpr>(
|
TransGCCalls.cpp | 37 bool VisitCallExpr(CallExpr *E) {
|
/external/clang/include/clang/AST/ |
EvaluatedExprVisitor.h | 70 void VisitCallExpr(CallExpr *CE) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerContext.cpp | 22 const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const {
|