HomeSort by relevance Sort by last modified time
    Searched refs:CallExpr (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /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 analyzerCrash(const CallExpr *CE, CheckerContext &C) const;
27 typedef void (ExprInspectionChecker::*FnCheck)(const CallExpr *,
31 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
35 bool ExprInspectionChecker::evalCall(const CallExpr *CE,
53 static const char *getArgumentValueString(const CallExpr *CE,
85 void ExprInspectionChecker::analyzerEval(const CallExpr *CE,
102 void ExprInspectionChecker::analyzerCheckInlined(const CallExpr *CE,
122 void ExprInspectionChecker::analyzerCrash(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 34 typedef const CallExpr * WorkListUnit;
40 // PreVisited : A CallExpr to this FunctionDecl is in the worklist, but the
42 // PostVisited : A CallExpr to this FunctionDecl is in the worklist, and the
45 PreVisited, /**< A CallExpr to this FunctionDecl is in the
48 PostVisited /**< A CallExpr to this FunctionDecl is in the
55 /// The CallExpr whose body is currently being visited. This is used for
58 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 74 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
78 void Fopen(CheckerContext &C, const CallExpr *CE) const;
79 void Tmpfile(CheckerContext &C, const CallExpr *CE) const;
80 void Fclose(CheckerContext &C, const CallExpr *CE) const;
81 void Fread(CheckerContext &C, const CallExpr *CE) const;
82 void Fwrite(CheckerContext &C, const CallExpr *CE) const;
83 void Fseek(CheckerContext &C, const CallExpr *CE) const;
84 void Ftell(CheckerContext &C, const CallExpr *CE) const;
85 void Rewind(CheckerContext &C, const CallExpr *CE) const;
86 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;
39 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
54 bool checkPre(const CallExpr *CE, CheckerContext &C) const;
57 void addSourcesPre(const CallExpr *CE, CheckerContext &C) const;
60 bool propagateFromPre(const CallExpr *CE, CheckerContext &C) const;
63 void addSourcesPost(const CallExpr *CE, CheckerContext &C) const;
74 typedef ProgramStateRef (GenericTaintChecker::*FnCheck)(const CallExpr *,
76 ProgramStateRef postScanf(const CallExpr *CE, CheckerContext &C) const
    [all...]
PthreadLockChecker.cpp 27 class PthreadLockChecker : public Checker< check::PostStmt<CallExpr> > {
36 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const;
38 void AcquireLock(CheckerContext &C, const CallExpr *CE, SVal lock,
41 void ReleaseLock(CheckerContext &C, const CallExpr *CE, SVal lock) const;
49 void PthreadLockChecker::checkPostStmt(const CallExpr *CE,
87 void PthreadLockChecker::AcquireLock(CheckerContext &C, const CallExpr *CE,
150 void PthreadLockChecker::ReleaseLock(CheckerContext &C, const CallExpr *CE,
CStringSyntaxChecker.cpp 56 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) {
81 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 68 void VisitCallExpr(CallExpr *CE);
76 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
78 typedef void (WalkAST::*FnCheck)(const CallExpr *,
83 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
84 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
85 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
86 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
87 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
88 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
89 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,
CStringChecker.cpp 60 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
74 const CallExpr *) const;
76 void evalMemcpy(CheckerContext &C, const CallExpr *CE) const;
77 void evalMempcpy(CheckerContext &C, const CallExpr *CE) const;
78 void evalMemmove(CheckerContext &C, const CallExpr *CE) const;
79 void evalBcopy(CheckerContext &C, const CallExpr *CE) const;
80 void evalCopyCommon(CheckerContext &C, const CallExpr *CE,
88 void evalMemcmp(CheckerContext &C, const CallExpr *CE) const;
90 void evalstrLength(CheckerContext &C, const CallExpr *CE) const;
91 void evalstrnLength(CheckerContext &C, const CallExpr *CE) const
    [all...]
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) {
189 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(),
ObjCContainersASTChecker.cpp 81 void VisitCallExpr(CallExpr *CE);
85 static StringRef getCalleeName(CallExpr *CE) {
97 void WalkAST::VisitCallExpr(CallExpr *CE) {
  /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 {
  /external/clang/unittests/AST/
ASTTypeTraitsTest.cpp 35 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<CallExpr>()));
37 EXPECT_FALSE(DNT<CallExpr>().isBaseOf(DNT<BinaryOperator>()));
38 EXPECT_FALSE(DNT<BinaryOperator>().isBaseOf(DNT<CallExpr>()));
56 EXPECT_EQ("CallExpr", DNT<CallExpr>().asStringRef());
  /frameworks/compile/slang/
slang_rs_check_ast.h 45 void WarnOnSetElementAt(clang::CallExpr*);
58 void VisitCallExpr(clang::CallExpr *CE);
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CheckerContext.h 236 const FunctionDecl *getCalleeDecl(const CallExpr *CE) const;
242 const IdentifierInfo *getCalleeIdentifier(const CallExpr *CE) const {
251 StringRef getCalleeName(const CallExpr *CE) const {
  /external/clang/lib/ARCMigrate/
TransUnbridgedCasts.cpp 127 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) {
268 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) {
349 CallExpr *callE;
409 bool isPassedToCFRetain(Expr *E, CallExpr *&callE) const {
410 if ((callE = dyn_cast_or_null<CallExpr>(
423 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 {

Completed in 584 milliseconds

1 2 3 4 5