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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/lib/StaticAnalyzer/Checkers/
BuiltinFunctionChecker.cpp 27 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
32 bool BuiltinFunctionChecker::evalCall(const CallExpr *CE,
35 const FunctionDecl *FD = C.getCalleeDecl(CE);
52 assert (CE->arg_begin() != CE->arg_end());
53 SVal X = state->getSVal(*(CE->arg_begin()), LCtx);
54 C.addTransition(state->BindExpr(CE, LCtx, X));
62 RM.getAllocaRegion(CE, C.blockCount(), C.getLocationContext());
68 state->getSVal(*(CE->arg_begin()), LCtx).castAs<DefinedOrUnknownSVal>();
77 C.addTransition(state->BindExpr(CE, LCtx, loc::MemRegionVal(R)))
    [all...]
UnixAPIChecker.cpp 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;
56 const CallExpr *CE,
    [all...]
ExprInspectionChecker.cpp 24 void analyzerEval(const CallExpr *CE, CheckerContext &C) const;
25 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const;
26 void analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const;
27 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const;
28 void analyzerWarnOnDeadSymbol(const CallExpr *CE, CheckerContext &C) const;
29 void analyzerExplain(const CallExpr *CE, CheckerContext &C) const;
30 void analyzerGetExtent(const CallExpr *CE, CheckerContext &C) const;
38 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
45 bool ExprInspectionChecker::evalCall(const CallExpr *CE,
49 FnCheck Handler = llvm::StringSwitch<FnCheck>(C.getCalleeName(CE))
    [all...]
PthreadLockChecker.cpp 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,
85 StringRef FName = C.getCalleeName(CE);
89 if (CE->getNumArgs() != 1 && CE->getNumArgs() != 2
    [all...]
GenericTaintChecker.cpp 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;
75 ProgramStateRef postScanf(const CallExpr *CE, CheckerContext &C) const;
76 ProgramStateRef postSocket(const CallExpr *CE, CheckerContext &C) const;
77 ProgramStateRef postRetTaint(const CallExpr *CE, CheckerContext &C) const;
80 ProgramStateRef preFscanf(const CallExpr *CE, CheckerContext &C) const
    [all...]
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...]
CStringSyntaxChecker.cpp 57 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) {
58 const FunctionDecl *FD = CE->getDirectCallee();
62 sameDecl(CE->getArg(0), WithArg));
82 bool containsBadStrncatPattern(const CallExpr *CE);
93 void VisitCallExpr(CallExpr *CE);
103 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) {
104 if (CE->getNumArgs() != 3)
106 const Expr *DstArg = CE->getArg(0);
107 const Expr *SrcArg = CE->getArg(1);
108 const Expr *LenArg = CE->getArg(2)
    [all...]
VirtualCallChecker.cpp 113 void VisitCallExpr(CallExpr *CE);
114 void VisitCXXMemberCallExpr(CallExpr *CE);
118 void ReportVirtualCall(const CallExpr *CE, bool isPure);
133 void WalkAST::VisitCallExpr(CallExpr *CE) {
134 VisitChildren(CE);
135 Enqueue(CE);
138 void WalkAST::VisitCXXMemberCallExpr(CallExpr *CE) {
139 VisitChildren(CE);
143 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) {
162 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee())
    [all...]
MacOSXAPIChecker.cpp 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
39 void CheckDispatchOnce(CheckerContext &C, const CallExpr *CE,
52 void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext &C, const CallExpr *CE,
54 if (CE->getNumArgs() < 1)
61 state->getSVal(CE->getArg(0), C.getLocationContext()).getAsRegion();
77 if (CE->getLocStart().isMacroID()) {
96 report->addRange(CE->getArg(0)->getSourceRange());
104 void MacOSXAPIChecker::checkPreStmt(const CallExpr *CE,
106 StringRef Name = C.getCalleeName(CE);
119 (this->*SC)(C, CE, Name)
    [all...]
ObjCContainersChecker.cpp 54 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const;
55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
84 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE,
86 StringRef Name = C.getCalleeName(CE);
87 if (Name.empty() || CE->getNumArgs() < 1)
92 if (CE->getNumArgs() < 3)
97 addSizeInfo(CE, CE->getArg(2), C);
102 addSizeInfo(CE->getArg(0), CE, C)
    [all...]
ChrootChecker.cpp 55 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
56 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
59 void Chroot(CheckerContext &C, const CallExpr *CE) const;
60 void Chdir(CheckerContext &C, const CallExpr *CE) const;
65 bool ChrootChecker::evalCall(const CallExpr *CE, CheckerContext &C) const {
66 const FunctionDecl *FD = C.getCalleeDecl(CE);
77 Chroot(C, CE);
81 Chdir(C, CE);
88 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const {
98 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const
    [all...]
CastToStructChecker.cpp 30 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
34 void CastToStructChecker::checkPreStmt(const CastExpr *CE,
36 const Expr *E = CE->getSubExpr();
39 QualType ToTy = Ctx.getCanonicalType(CE->getType());
67 R->addRange(CE->getSourceRange());
ObjCContainersASTChecker.cpp 81 void VisitCallExpr(CallExpr *CE);
85 static StringRef getCalleeName(CallExpr *CE) {
86 const FunctionDecl *FD = CE->getDirectCallee();
97 void WalkAST::VisitCallExpr(CallExpr *CE) {
98 StringRef Name = getCalleeName(CE);
106 if (CE->getNumArgs() != 4)
109 Arg = CE->getArg(ArgNum)->IgnoreParenCasts();
113 if (CE->getNumArgs() != 6)
117 Arg = CE->getArg(ArgNum)->IgnoreParenCasts();
121 Arg = CE->getArg(ArgNum)->IgnoreParenCasts()
    [all...]
NoReturnFunctionChecker.cpp 35 void checkPostCall(const CallEvent &CE, CheckerContext &C) const;
41 void NoReturnFunctionChecker::checkPostCall(const CallEvent &CE,
45 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CE.getDecl()))
48 const Expr *Callee = CE.getOriginExpr();
52 if (!BuildSinks && CE.isGlobalCFunction()) {
53 if (const IdentifierInfo *II = CE.getCalleeIdentifier()) {
CheckSecuritySyntaxOnly.cpp 79 void VisitCallExpr(CallExpr *CE);
87 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
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);
100 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD)
    [all...]
  /libcore/ojluni/src/main/java/java/time/chrono/
IsoEra.java 70 * A definition has therefore been created with two eras - 'Current era' (CE) for
83 * <td>2</td><td>CE</td><td>2</td>
86 * <td>1</td><td>CE</td><td>1</td>
116 CE;
122 * {@code IsoEra} is an enum representing the ISO eras of BCE/CE.
125 * @param isoEra the BCE/CE value to represent, from 0 (BCE) to 1 (CE)
134 return CE;
144 * The era BCE has the value 0, while the era CE has the value 1.
146 * @return the era value, from 0 (BCE) to 1 (CE)
    [all...]
  /external/clang/unittests/Tooling/
FixItTest.cpp 38 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) {
39 EXPECT_EQ("foo(x, y)", getText(*CE, *Context));
40 EXPECT_EQ("foo(x, y)", getText(CE->getSourceRange(), *Context));
42 Expr *P0 = CE->getArg(0);
43 Expr *P1 = CE->getArg(1);
49 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) {
50 EXPECT_EQ("APPLY(foo, x, y)", getText(*CE, *Context));
59 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) {
60 EXPECT_EQ("F OO", getText(*CE, *Context));
61 Expr *P0 = CE->getArg(0)
    [all...]
RecursiveASTVisitorTestCallVisitor.cpp 104 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *CE) {
105 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc());
107 TraverseCXXOperatorCallExpr(CE);
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86WinCOFFStreamer.cpp 20 X86WinCOFFStreamer(MCContext &C, MCAsmBackend &AB, MCCodeEmitter *CE,
22 : MCWinCOFFStreamer(C, AB, *CE, OS) {}
53 MCCodeEmitter *CE, bool RelaxAll,
55 X86WinCOFFStreamer *S = new X86WinCOFFStreamer(C, AB, CE, OS);
  /external/llvm/lib/Target/XCore/
XCoreLowerThreadLocal.cpp 78 createReplacementInstr(ConstantExpr *CE, Instruction *Instr) {
80 unsigned OpCode = CE->getOpcode();
83 SmallVector<Value *,4> CEOpVec(CE->op_begin(), CE->op_end());
86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0],
106 CE->getOperand(0), CE->getOperand(1),
107 CE->getName()));
122 CE->getOperand(0), CE->getType()
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
MPIChecker.h 36 void checkPreCall(const CallEvent &CE, CheckerContext &Ctx) const {
38 checkUnmatchedWaits(CE, Ctx);
39 checkDoubleNonblocking(CE, Ctx);
86 /// \param CE MPI wait call using the request(s)
89 const clang::ento::MemRegion *const MR, const clang::ento::CallEvent &CE,
95 /// \param CE MPI wait call
97 topRegionUsedByWait(const clang::ento::CallEvent &CE) const;
  /external/llvm/unittests/Support/
ErrorTest.cpp 85 static Error handleCustomError(const CustomError &CE) { return Error(); }
87 static void handleCustomErrorVoid(const CustomError &CE) {}
89 static Error handleCustomErrorUP(std::unique_ptr<CustomError> CE) {
93 static void handleCustomErrorUPVoid(std::unique_ptr<CustomError> CE) {}
172 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) {
173 CaughtErrorInfo = CE.getInfo();
194 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {});
198 [](const CustomError &CE) mutable { return Error::success(); });
201 [](const CustomError &CE) mutable {});
204 [](CustomError &CE) { return Error::success(); })
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
IntrinsicInst.cpp 35 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C))
36 if (CE->isCast())
37 return CE->getOperand(0);
  /frameworks/compile/slang/
slang_rs_foreach_lowering.h 44 void VisitCallExpr(clang::CallExpr *CE);
56 const clang::FunctionDecl* matchKernelLaunchCall(clang::CallExpr* CE,
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/
local_label_coff.d 3 # This test is only valid on COFF based targets, except Windows CE.
4 # There are ELF and Windows CE versions of this test.

Completed in 430 milliseconds

1 2 3 4 5 6 7 8 91011>>