/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefCapturedBlockVarChecker.cpp | 39 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S)) 40 if (BR->getDecl() == VD) 41 return BR; 46 const DeclRefExpr *BR = FindBlockDeclRefExpr(child, VD); local 47 if (BR) 48 return BR;
|
H A D | CheckSizeofPointer.cpp | 26 BugReporter &BR; member in class:__anon16411::WalkAST 30 WalkAST(BugReporter &br, AnalysisDeclContext* ac) : BR(br), AC(ac) {} 65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); 66 BR.EmitBasicReport(AC->getDecl(), 83 BugReporter &BR) const { 84 WalkAST walker(BR, mgr.getAnalysisDeclContext(D));
|
H A D | CheckObjCInstMethSignature.cpp | 42 BugReporter &BR, ASTContext &Ctx, 70 BR.getSourceManager()); 72 BR.EmitBasicReport(MethDerived, 80 BugReporter& BR) { 88 ASTContext &Ctx = BR.getContext(); 121 CompareReturnTypes(MethDerived, M, BR, Ctx, ID); 137 BugReporter &BR) const { 138 CheckObjCInstMethSignature(D, BR); 40 CompareReturnTypes(const ObjCMethodDecl *MethDerived, const ObjCMethodDecl *MethAncestor, BugReporter &BR, ASTContext &Ctx, const ObjCImplementationDecl *ID) argument 79 CheckObjCInstMethSignature(const ObjCImplementationDecl *ID, BugReporter& BR) argument
|
H A D | ObjCUnusedIVarsChecker.cpp | 114 BugReporter &BR) { 161 SourceManager &SM = BR.getSourceManager(); 174 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); 175 BR.EmitBasicReport(D, "Unused instance variable", "Optimization", 189 BugReporter &BR) const { 190 checkObjCUnusedIvar(D, BR); 113 checkObjCUnusedIvar(const ObjCImplementationDecl *D, BugReporter &BR) argument
|
H A D | CStringSyntaxChecker.cpp | 34 BugReporter &BR; member in class:__anon16401::WalkAST 85 BR(br), AC(ac) { 146 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); 161 BR.EmitBasicReport(FD, "Anti-pattern in the argument", "C String API", 182 BugReporter &BR) const { 183 WalkAST walker(BR, Mgr.getAnalysisDeclContext(D));
|
H A D | CheckObjCDealloc.cpp | 101 const LangOptions& LOpts, BugReporter& BR) { 105 ASTContext &Ctx = BR.getContext(); 171 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()); 183 BR.EmitBasicReport(D, name, categories::CoreFoundationObjectiveC, 201 BR.EmitBasicReport(MD, name, categories::CoreFoundationObjectiveC, 265 PathDiagnosticLocation::createBegin(*I, BR.getSourceManager()); 267 BR.EmitBasicReport(MD, name, categories::CoreFoundationObjectiveC, 282 BugReporter &BR) const { 285 checkObjCDealloc(cast<ObjCImplementationDecl>(D), mgr.getLangOpts(), BR); 100 checkObjCDealloc(const ObjCImplementationDecl *D, const LangOptions& LOpts, BugReporter& BR) argument
|
H A D | ObjCContainersASTChecker.cpp | 29 BugReporter &BR; member in class:__anon16455::WalkAST 75 : BR(br), AC(ac), ASTC(AC->getASTContext()), 145 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); 146 BR.EmitBasicReport(AC->getDecl(), 166 BugReporter &BR) const { 167 WalkAST walker(BR, Mgr.getAnalysisDeclContext(D));
|
H A D | VirtualCallChecker.cpp | 31 BugReporter &BR; member in class:__anon16492::WalkAST 62 : BR(br), 184 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); 190 BR.EmitBasicReport(AC->getDecl(), 200 BR.EmitBasicReport(AC->getDecl(), 217 BugReporter &BR) const { 218 WalkAST walker(BR, mgr.getAnalysisDeclContext(RD));
|
H A D | CheckerDocumentation.cpp | 173 BugReporter &BR, 181 BugReporter &BR) const {} 302 BugReporter &BR) const {} 172 checkEndAnalysis(ExplodedGraph &G, BugReporter &BR, ExprEngine &Eng) const argument
|
H A D | DirectIvarAssignment.cpp | 71 BugReporter &BR; member in class:__anon16427::DirectIvarAssignment::MethodCrawler 78 : IvarToPropMap(InMap), MD(InMD), InterfD(InID), BR(InBR), DCtx(InDCtx) {} 97 BugReporter &BR) const; 124 BugReporter &BR) const { 161 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, DCtx); 213 BR.EmitBasicReport(MD, 218 BR.getSourceManager(),
|
H A D | LLVMConventionsChecker.cpp | 118 BugReporter &BR; member in class:__anon16437::StringRefCheckerVisitor 122 : BR(br), DeclWithIssue(declWithIssue) {} 136 static void CheckStringRefAssignedTemporary(const Decl *D, BugReporter &BR) { argument 137 StringRefCheckerVisitor walker(D, BR); 181 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); 182 BR.EmitBasicReport(DeclWithIssue, desc, "LLVM Conventions", desc, 218 BugReporter &BR; member in class:__anon16438::ASTFieldVisitor 221 : Root(root), BR(br) {} 228 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR) { argument 234 ASTFieldVisitor walker(R, BR); [all...] |
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(D, "malloc() size overflow", categories::UnixAPI, 220 BR.getSourceManager()), &R, 1); 226 BugReporter &BR) const { 262 OutputPossibleOverflows(PossibleMallocOverflows, D, BR, mgr); 199 OutputPossibleOverflows( SmallVectorImpl<MallocOverflowCheck> &PossibleMallocOverflows, const Decl *D, BugReporter &BR, AnalysisManager &mgr) const argument
|
H A D | NSErrorChecker.cpp | 48 AnalysisManager &mgr, BugReporter &BR) const; 54 BugReporter &BR) const { 77 PathDiagnosticLocation::create(D, BR.getSourceManager()); 78 BR.EmitBasicReport(D, "Bad return type when passing NSError**", 96 AnalysisManager &mgr, BugReporter &BR) const; 102 BugReporter &BR) const { 125 PathDiagnosticLocation::create(D, BR.getSourceManager()); 126 BR.EmitBasicReport(D, "Bad return type when passing CFErrorRef*", 244 BugReporter &BR = *event.BR; local [all...] |
H A D | DeadStoresChecker.cpp | 127 BugReporter& BR; member in class:__anon16415::DeadStoreObs 141 : cfg(cfg), Ctx(ctx), BR(br), AC(ac), Parents(parents), 203 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R); 221 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); 377 PathDiagnosticLocation::create(V, BR.getSourceManager()); 424 BugReporter &BR) const { 440 DeadStoreObs A(cfg, BR.getContext(), BR, AC, pmap, FS.Escaped);
|
H A D | IdempotentOperationChecker.cpp | 346 BugReporter &BR, 434 BR.emitReport(report); 345 checkEndAnalysis(ExplodedGraph &G, BugReporter &BR, ExprEngine &Eng) const argument
|
H A D | CheckSecuritySyntaxOnly.cpp | 52 BugReporter &BR; member in class:__anon16408::WalkAST 63 : BR(br), AC(ac), II_setid(), 64 CheckRand(isArc4RandomAvailable(BR.getContext())), 283 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); 284 BR.EmitBasicReport(AC->getDecl(), 313 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) 319 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); 320 BR.EmitBasicReport(AC->getDecl(), 354 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) 360 PathDiagnosticLocation::createBegin(CE, BR [all...] |
H A D | IvarInvalidationChecker.cpp | 212 BugReporter &BR; member in class:__anon16435::IvarInvalidationCheckerImpl 220 Mgr (InMgr), BR(InBR), Filter(InFilter) {} 459 BR.getContext()).VisitStmt(D->getBody()); 512 BR.getContext()).VisitStmt(D->getBody()); 558 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager()); 560 BR.EmitBasicReport(FirstIvarDecl, "Incomplete invalidation", 576 BR.getSourceManager(), 578 BR.EmitBasicReport(MethodD, "Incomplete invalidation", 582 BR.EmitBasicReport(IvarD, "Incomplete invalidation", 585 BR [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporterVisitor.h | 61 BugReport &BR) = 0; 71 BugReport &BR); 78 BugReport &BR); 111 static void registerStatementVarDecls(BugReport &BR, const Stmt *S, 126 BugReport &BR); 156 BugReport &BR); 178 BugReport &BR); 200 BugReport &BR); 205 BugReport &BR); 267 BugReport &BR) { 264 VisitNode(const ExplodedNode *N, const ExplodedNode *Prev, BugReporterContext &BRC, BugReport &BR) argument [all...] |
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
H A D | RegionCode.java | 31 static final String BR = "BR"; field in class:RegionCode
|
/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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ExprEngine.h | 91 GRBugReporter BR; member in class:clang::ento::ExprEngine 134 BugReporter& getBugReporter() { return BR; }
|
/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/qemu/distrib/jpeg-6b/ |
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/clang/include/clang/StaticAnalyzer/Core/ |
H A D | Checker.h | 36 BugReporter &BR) { 37 ((const CHECKER *)checker)->checkASTDecl(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); 218 BugReporter &BR, ExprEngine &Eng) { 219 ((const CHECKER *)checker)->checkEndAnalysis(G, BR, Eng); 501 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 217 _checkEndAnalysis(void *checker, ExplodedGraph &G, BugReporter &BR, ExprEngine &Eng) argument
|
/external/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 478 void VisitBlockExpr(BlockExpr *BR) { argument 480 IgnoredContexts.insert(BR->getBlockDecl()); 481 Visit(BR->getBlockDecl()->getBody());
|