/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckSizeofPointer.cpp | 26 BugReporter &BR; member in class:__anon3035::WalkAST 30 WalkAST(BugReporter &br, AnalysisContext* ac) : BR(br), AC(ac) {} 65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); 66 BR.EmitBasicReport("Potential unintended use of sizeof() on pointer type", 82 BugReporter &BR) const { 83 WalkAST walker(BR, mgr.getAnalysisContext(D));
|
H A D | UndefCapturedBlockVarChecker.cpp | 37 if (const BlockDeclRefExpr *BR = dyn_cast<BlockDeclRefExpr>(S)) 38 if (BR->getDecl() == VD) 39 return BR; 44 const BlockDeclRefExpr *BR = FindBlockDeclRefExpr(child, VD); local 45 if (BR) 46 return BR;
|
H A D | CheckObjCInstMethSignature.cpp | 43 BugReporter &BR, ASTContext &Ctx, 71 BR.getSourceManager()); 73 BR.EmitBasicReport("Incompatible instance method return type", 79 BugReporter& BR) { 87 ASTContext &Ctx = BR.getContext(); 120 CompareReturnTypes(MethDerived, M, BR, Ctx, ID); 136 BugReporter &BR) const { 137 CheckObjCInstMethSignature(D, BR); 41 CompareReturnTypes(const ObjCMethodDecl *MethDerived, const ObjCMethodDecl *MethAncestor, BugReporter &BR, ASTContext &Ctx, const ObjCImplementationDecl *ID) argument 78 CheckObjCInstMethSignature(const ObjCImplementationDecl *ID, BugReporter& BR) argument
|
H A D | CheckSecuritySyntaxOnly.cpp | 38 BugReporter &BR; member in class:__anon3032::WalkAST 47 : BR(br), AC(ac), II_setid(), 48 CheckRand(isArc4RandomAvailable(BR.getContext())) {} 258 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); 259 BR.EmitBasicReport(bugType, "Security", os.str(), 285 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) 291 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); 292 BR.EmitBasicReport("Potential buffer overflow in call to 'gets'", 323 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) 329 PathDiagnosticLocation::createBegin(CE, BR [all...] |
H A D | LLVMConventionsChecker.cpp | 118 BugReporter &BR; member in class:__anon3051::StringRefCheckerVisitor 120 StringRefCheckerVisitor(BugReporter &br) : BR(br) {} 134 static void CheckStringRefAssignedTemporary(const Decl *D, BugReporter &BR) { argument 135 StringRefCheckerVisitor walker(BR); 179 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); 180 BR.EmitBasicReport(desc, "LLVM Conventions", desc, 216 BugReporter &BR; member in class:__anon3052::ASTFieldVisitor 219 : Root(root), BR(br) {} 226 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR) { argument 232 ASTFieldVisitor walker(R, BR); [all...] |
H A D | DebugCheckers.cpp | 30 BugReporter &BR) const { 50 BugReporter &BR) const { 70 BugReporter &BR) const {
|
H A D | NSErrorChecker.cpp | 47 AnalysisManager &mgr, BugReporter &BR) const; 53 BugReporter &BR) const { 76 PathDiagnosticLocation::create(D, BR.getSourceManager()); 77 BR.EmitBasicReport("Bad return type when passing NSError**", 95 AnalysisManager &mgr, BugReporter &BR) const; 101 BugReporter &BR) const { 124 PathDiagnosticLocation::create(D, BR.getSourceManager()); 125 BR.EmitBasicReport("Bad return type when passing CFErrorRef*", 257 BugReporter &BR = *event.BR; local [all...] |
H A D | ObjCUnusedIVarsChecker.cpp | 103 BugReporter &BR) { 150 SourceManager &SM = BR.getSourceManager(); 163 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); 164 BR.EmitBasicReport("Unused instance variable", "Optimization", 178 BugReporter &BR) const { 179 checkObjCUnusedIvar(D, BR); 102 checkObjCUnusedIvar(const ObjCImplementationDecl *D, BugReporter &BR) argument
|
H A D | CheckObjCDealloc.cpp | 100 const LangOptions& LOpts, BugReporter& BR) { 104 ASTContext &Ctx = BR.getContext(); 170 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()); 182 BR.EmitBasicReport(name, os.str(), DLoc); 199 BR.EmitBasicReport(name, os.str(), DLoc); 264 PathDiagnosticLocation::createBegin((*I), BR.getSourceManager()); 266 BR.EmitBasicReport(name, category, os.str(), SDLoc); 280 BugReporter &BR) const { 283 checkObjCDealloc(cast<ObjCImplementationDecl>(D), mgr.getLangOptions(), BR); 99 checkObjCDealloc(const ObjCImplementationDecl *D, const LangOptions& LOpts, BugReporter& BR) argument
|
H A D | AdjustedReturnValueChecker.cpp | 64 const BlockTextRegion *BR = BD->getCodeRegion(); local 65 const BlockPointerType *BT=BR->getLocationType()->getAs<BlockPointerType>();
|
H A D | MallocOverflowSecurityChecker.cpp | 44 BugReporter &BR) const; 52 const Decl *D, BugReporter &BR, AnalysisManager &mgr) const; 201 const Decl *D, BugReporter &BR, AnalysisManager &mgr) const { 207 CheckOverflowOps c(PossibleMallocOverflows, BR.getContext()); 217 BR.EmitBasicReport("MallocOverflowSecurityChecker", 220 BR.getSourceManager()), 227 BugReporter &BR) const { 263 OutputPossibleOverflows(PossibleMallocOverflows, D, BR, mgr); 199 OutputPossibleOverflows( llvm::SmallVectorImpl<MallocOverflowCheck> &PossibleMallocOverflows, const Decl *D, BugReporter &BR, AnalysisManager &mgr) const argument
|
H A D | NSAutoreleasePoolChecker.cpp | 70 BugReporter &BR = C.getBugReporter(); local 72 const SourceManager &SM = BR.getSourceManager();
|
H A D | DeadStoresChecker.cpp | 74 BugReporter& BR; member in class:__anon3039::DeadStoreObs 87 : cfg(cfg), Ctx(ctx), BR(br), AC(ac), Parents(parents), 135 BR.EmitBasicReport(BugType, "Dead store", os.str(), L, R); 153 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); 301 PathDiagnosticLocation::create(V, BR.getSourceManager()); 350 BugReporter &BR) const { 357 DeadStoreObs A(cfg, BR.getContext(), BR, AC, pmap, FS.Escaped);
|
H A D | StackAddrEscapeChecker.cpp | 67 else if (const BlockDataRegion *BR = dyn_cast<BlockDataRegion>(R)) { 68 const BlockDecl *BD = BR->getCodeRegion()->getDecl();
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporterVisitor.h | 43 BugReport &BR) = 0; 53 BugReport &BR); 60 BugReport &BR); 79 static void registerStatementVarDecls(BugReport &BR, const Stmt *S); 94 BugReport &BR); 111 BugReport &BR); 124 BugReport &BR); 138 BugReport &BR);
|
H A D | BugType.h | 48 virtual void FlushReports(BugReporter& BR);
|
H A D | BugReporter.h | 377 GRBugReporter &BR; member in class:clang::ento::BugReporterContext 379 BugReporterContext(GRBugReporter& br) : BR(br) {} 383 GRBugReporter& getBugReporter() { return BR; } 385 ExplodedGraph &getGraph() { return BR.getGraph(); } 389 BR.addNotableSymbol(Sym); 394 return BR.isNotable(Sym); 398 return BR.getStateManager(); 406 return BR.getContext(); 410 return BR.getSourceManager();
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 79 BugReport &BR) { 86 BugReport &BR) { 99 const Stmt *S = BR.getStmt(); 109 llvm::tie(Beg, End) = BR.getRanges(); 114 BR.getDescription(), 133 BugReport &BR) { 261 BugReport &BR) { 381 BugReport &BR) { 403 BR.addVisitor(bugreporter::getTrackNullOrUndefValueVisitor(N, Receiver)); 412 void FindLastStoreBRVisitor::registerStatementVarDecls(BugReport &BR, argument 77 getEndPath(BugReporterContext &BRC, const ExplodedNode *EndPathNode, BugReport &BR) argument 84 getDefaultEndPath(BugReporterContext &BRC, const ExplodedNode *EndPathNode, BugReport &BR) argument 130 VisitNode(const ExplodedNode *N, const ExplodedNode *PrevN, BugReporterContext &BRC, BugReport &BR) argument 258 VisitNode(const ExplodedNode *N, const ExplodedNode *PrevN, BugReporterContext &BRC, BugReport &BR) argument 378 VisitNode(const ExplodedNode *N, const ExplodedNode *PrevN, BugReporterContext &BRC, BugReport &BR) argument 449 VisitNode(const ExplodedNode *N, const ExplodedNode *Prev, BugReporterContext &BRC, BugReport &BR) argument [all...] |
H A D | CheckerManager.cpp | 56 BugReporter &BR) { 77 (*I)(D, mgr, BR); 81 BugReporter &BR) { 85 BodyCheckers[i](D, mgr, BR); 282 BugReporter &BR, 285 EndAnalysisCheckers[i](G, BR, Eng); 481 BugReporter &BR) { 483 EndOfTranslationUnitCheckers[i](TU, mgr, BR); 55 runCheckersOnASTDecl(const Decl *D, AnalysisManager& mgr, BugReporter &BR) argument 80 runCheckersOnASTBody(const Decl *D, AnalysisManager& mgr, BugReporter &BR) argument 281 runCheckersForEndAnalysis(ExplodedGraph &G, BugReporter &BR, ExprEngine &Eng) argument 478 runCheckersOnEndOfTranslationUnit( const TranslationUnitDecl *TU, AnalysisManager &mgr, BugReporter &BR) argument
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 183 BugReporter BR(*Mgr); 184 checkerMgr->runCheckersOnASTDecl(D, *Mgr, BR); 218 BugReporter BR(*Mgr); 219 checkerMgr->runCheckersOnASTDecl(*MI, *Mgr, BR); 239 BugReporter BR(*Mgr); 241 checkerMgr->runCheckersOnASTDecl(TU, *Mgr, BR); 245 checkerMgr->runCheckersOnEndOfTranslationUnit(TU, *Mgr, BR); 291 BugReporter BR(*Mgr); 295 checkerMgr->runCheckersOnASTBody(*WI, *Mgr, BR);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | PartialInlining.cpp | 53 BranchInst *BR = dyn_cast<BranchInst>(entryBlock->getTerminator()); local 54 if (!BR || BR->isUnconditional())
|
/external/llvm/lib/Target/Alpha/ |
H A D | AlphaInstrInfo.cpp | 99 BuildMI(&MBB, DL, get(Alpha::BR)).addMBB(TBB); 117 BuildMI(&MBB, DL, get(Alpha::BR)).addMBB(FBB); 240 if (LastInst->getOpcode() == Alpha::BR) { 263 // If the block ends with Alpha::BR and Alpha::COND_BRANCH_*, handle it. 266 LastInst->getOpcode() == Alpha::BR) { 276 if (SecondLastInst->getOpcode() == Alpha::BR && 277 LastInst->getOpcode() == Alpha::BR) { 298 if (I->getOpcode() != Alpha::BR &&
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
H A D | Checker.h | 36 BugReporter &BR) { 37 ((const CHECKER *)checker)->checkASTDecl(llvm::cast<DECL>(D), mgr, BR); local 55 BugReporter &BR) { 56 ((const CHECKER *)checker)->checkASTCodeBody(D, mgr, BR); 72 BugReporter &BR) { 73 ((const CHECKER *)checker)->checkEndOfTranslationUnit(TU, mgr, BR); 188 BugReporter &BR, ExprEngine &Eng) { 189 ((const CHECKER *)checker)->checkEndAnalysis(G, BR, Eng); 431 BugReporter *BR; member in struct:clang::ento::ImplicitNullDerefEvent 35 _checkDecl(void *checker, const Decl *D, AnalysisManager& mgr, BugReporter &BR) argument 54 _checkBody(void *checker, const Decl *D, AnalysisManager& mgr, BugReporter &BR) argument 69 _checkEndOfTranslationUnit(void *checker, const TranslationUnitDecl *TU, AnalysisManager& mgr, BugReporter &BR) argument 187 _checkEndAnalysis(void *checker, ExplodedGraph &G, BugReporter &BR, ExprEngine &Eng) argument
|
/external/jpeg/ |
H A D | jcphuff.c | 625 unsigned int BR; local 663 BR = 0; /* BR = count of buffered bits added now */ 680 emit_buffered_bits(entropy, BR_buffer, BR); 682 BR = 0; 692 BR_buffer[BR++] = (char) (temp & 1); 707 emit_buffered_bits(entropy, BR_buffer, BR); 709 BR = 0; 713 if (r > 0 || BR > 0) { /* If there are trailing zeroes, */ 715 entropy->BE += BR; /* conca [all...] |
/external/skia/samplecode/ |
H A D | SamplePatch.cpp | 88 const int BR = TR + nv; local 89 const int BL = BR + nu; 100 SkScalarMul(Uv, edge[BL].fX) + SkScalarMul(uv, edge[BR].fX); 102 SkScalarMul(Uv, edge[BL].fY) + SkScalarMul(uv, edge[BR].fY); 106 SkScalarMul(v, edge[BR+nu-iu].fX) + 110 SkScalarMul(v, edge[BR+nu-iu].fY) +
|