Home
last modified time | relevance | path

Searched refs:BR (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DShortNumberUtilTest.java58 assertTrue(shortUtil.connectsToEmergencyNumber("911", RegionCode.BR)); in testConnectsToEmergencyNumber_BR()
59 assertTrue(shortUtil.connectsToEmergencyNumber("190", RegionCode.BR)); in testConnectsToEmergencyNumber_BR()
60 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.BR)); in testConnectsToEmergencyNumber_BR()
65 assertFalse(shortUtil.connectsToEmergencyNumber("9111", RegionCode.BR)); in testConnectsToEmergencyNumberLongNumber_BR()
66 assertFalse(shortUtil.connectsToEmergencyNumber("1900", RegionCode.BR)); in testConnectsToEmergencyNumberLongNumber_BR()
67 assertFalse(shortUtil.connectsToEmergencyNumber("9996", RegionCode.BR)); in testConnectsToEmergencyNumberLongNumber_BR()
114 assertTrue(shortUtil.isEmergencyNumber("911", RegionCode.BR)); in testIsEmergencyNumber_BR()
115 assertTrue(shortUtil.isEmergencyNumber("190", RegionCode.BR)); in testIsEmergencyNumber_BR()
116 assertFalse(shortUtil.isEmergencyNumber("999", RegionCode.BR)); in testIsEmergencyNumber_BR()
120 assertFalse(shortUtil.isEmergencyNumber("9111", RegionCode.BR)); in testIsEmergencyNumberLongNumber_BR()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp52 BugReporter &BR; member in __anon073bb0b50111::WalkAST
63 : BR(br), AC(ac), II_setid(), in WalkAST()
64 CheckRand(isArc4RandomAvailable(BR.getContext())), in WalkAST()
283 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
284 BR.EmitBasicReport(AC->getDecl(), in checkLoopConditionForFloat()
314 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
320 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
321 BR.EmitBasicReport(AC->getDecl(), in checkCall_gets()
356 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
362 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
[all …]
DLLVMConventionsChecker.cpp118 BugReporter &BR; member in __anon206b37bc0111::StringRefCheckerVisitor
122 : BR(br), DeclWithIssue(declWithIssue) {} in StringRefCheckerVisitor()
136 static void CheckStringRefAssignedTemporary(const Decl *D, BugReporter &BR) { in CheckStringRefAssignedTemporary() argument
137 StringRefCheckerVisitor walker(D, BR); in CheckStringRefAssignedTemporary()
181 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl()
182 BR.EmitBasicReport(DeclWithIssue, desc, "LLVM Conventions", desc, in VisitVarDecl()
218 BugReporter &BR; member in __anon206b37bc0211::ASTFieldVisitor
221 : Root(root), BR(br) {} in ASTFieldVisitor()
228 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR) { in CheckASTMemory() argument
234 ASTFieldVisitor walker(R, BR); in CheckASTMemory()
[all …]
DCheckObjCInstMethSignature.cpp42 BugReporter &BR, ASTContext &Ctx, in CompareReturnTypes() argument
70 BR.getSourceManager()); in CompareReturnTypes()
72 BR.EmitBasicReport(MethDerived, in CompareReturnTypes()
80 BugReporter& BR) { in CheckObjCInstMethSignature() argument
88 ASTContext &Ctx = BR.getContext(); in CheckObjCInstMethSignature()
121 CompareReturnTypes(MethDerived, M, BR, Ctx, ID); in CheckObjCInstMethSignature()
137 BugReporter &BR) const { in checkASTDecl()
138 CheckObjCInstMethSignature(D, BR); in checkASTDecl()
DCheckSizeofPointer.cpp26 BugReporter &BR; member in __anon3109cd850111::WalkAST
30 WalkAST(BugReporter &br, AnalysisDeclContext* ac) : BR(br), AC(ac) {} in WalkAST()
65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
66 BR.EmitBasicReport(AC->getDecl(), in VisitUnaryExprOrTypeTraitExpr()
83 BugReporter &BR) const { in checkASTCodeBody()
84 WalkAST walker(BR, mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DNSErrorChecker.cpp48 AnalysisManager &mgr, BugReporter &BR) const;
54 BugReporter &BR) const { in checkASTDecl()
77 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
78 BR.EmitBasicReport(D, "Bad return type when passing NSError**", in checkASTDecl()
96 AnalysisManager &mgr, BugReporter &BR) const;
102 BugReporter &BR) const { in checkASTDecl()
125 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
126 BR.EmitBasicReport(D, "Bad return type when passing CFErrorRef*", in checkASTDecl()
244 BugReporter &BR = *event.BR; in checkEvent() local
272 BR.emitReport(report); in checkEvent()
DUndefCapturedBlockVarChecker.cpp39 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S)) in FindBlockDeclRefExpr() local
40 if (BR->getDecl() == VD) in FindBlockDeclRefExpr()
41 return BR; in FindBlockDeclRefExpr()
46 const DeclRefExpr *BR = FindBlockDeclRefExpr(child, VD); in FindBlockDeclRefExpr() local
47 if (BR) in FindBlockDeclRefExpr()
48 return BR; in FindBlockDeclRefExpr()
DDebugCheckers.cpp33 BugReporter &BR) const { in checkASTCodeBody()
55 BugReporter &BR) const { in checkASTCodeBody()
75 BugReporter &BR) const { in checkASTCodeBody()
95 BugReporter &BR) const { in checkASTCodeBody()
116 BugReporter &BR) const { in checkASTDecl()
136 BugReporter &BR) const { in checkASTDecl()
158 BugReporter &BR) const { in checkEndOfTranslationUnit()
DCheckObjCDealloc.cpp101 const LangOptions& LOpts, BugReporter& BR) { in checkObjCDealloc() argument
105 ASTContext &Ctx = BR.getContext(); in checkObjCDealloc()
171 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()); in checkObjCDealloc()
183 BR.EmitBasicReport(D, name, categories::CoreFoundationObjectiveC, in checkObjCDealloc()
201 BR.EmitBasicReport(MD, name, categories::CoreFoundationObjectiveC, in checkObjCDealloc()
265 PathDiagnosticLocation::createBegin(*I, BR.getSourceManager()); in checkObjCDealloc()
267 BR.EmitBasicReport(MD, name, categories::CoreFoundationObjectiveC, in checkObjCDealloc()
282 BugReporter &BR) const { in checkASTDecl()
285 checkObjCDealloc(cast<ObjCImplementationDecl>(D), mgr.getLangOpts(), BR); in checkASTDecl()
DVirtualCallChecker.cpp31 BugReporter &BR; member in __anon4171fa4e0111::WalkAST
62 : BR(br), in WalkAST()
184 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in ReportVirtualCall()
190 BR.EmitBasicReport(AC->getDecl(), in ReportVirtualCall()
200 BR.EmitBasicReport(AC->getDecl(), in ReportVirtualCall()
217 BugReporter &BR) const { in checkASTDecl()
218 WalkAST walker(BR, mgr.getAnalysisDeclContext(RD)); in checkASTDecl()
DObjCContainersASTChecker.cpp29 BugReporter &BR; member in __anon016c0e870111::WalkAST
75 : BR(br), AC(ac), ASTC(AC->getASTContext()), in WalkAST()
145 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
146 BR.EmitBasicReport(AC->getDecl(), in VisitCallExpr()
166 BugReporter &BR) const { in checkASTCodeBody()
167 WalkAST walker(BR, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DMallocOverflowSecurityChecker.cpp44 BugReporter &BR) const;
52 const Decl *D, BugReporter &BR, AnalysisManager &mgr) const;
201 const Decl *D, BugReporter &BR, AnalysisManager &mgr) const { in OutputPossibleOverflows() argument
207 CheckOverflowOps c(PossibleMallocOverflows, BR.getContext()); in OutputPossibleOverflows()
217 BR.EmitBasicReport(D, "malloc() size overflow", categories::UnixAPI, in OutputPossibleOverflows()
220 BR.getSourceManager()), &R, 1); in OutputPossibleOverflows()
226 BugReporter &BR) const { in checkASTCodeBody()
262 OutputPossibleOverflows(PossibleMallocOverflows, D, BR, mgr); in checkASTCodeBody()
DCStringSyntaxChecker.cpp34 BugReporter &BR; member in __anondc542c6c0111::WalkAST
85 BR(br), AC(ac) { in WalkAST()
144 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
159 BR.EmitBasicReport(FD, "Anti-pattern in the argument", "C String API", in VisitCallExpr()
180 BugReporter &BR) const { in checkASTCodeBody()
181 WalkAST walker(BR, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DDirectIvarAssignment.cpp71 BugReporter &BR; member in __anon0271891c0111::DirectIvarAssignment::MethodCrawler
78 : IvarToPropMap(InMap), MD(InMD), InterfD(InID), BR(InBR), DCtx(InDCtx) {} in MethodCrawler()
97 BugReporter &BR) const;
124 BugReporter &BR) const { in checkASTDecl()
161 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, DCtx); in checkASTDecl()
213 BR.EmitBasicReport(MD, in VisitBinaryOperator()
218 BR.getSourceManager(), in VisitBinaryOperator()
DObjCMissingSuperCallChecker.cpp73 BugReporter &BR) const;
170 BugReporter &BR) const { in checkASTDecl()
171 ASTContext &Ctx = BR.getContext(); in checkASTDecl()
204 BR.getSourceManager(), in checkASTDecl()
215 BR.EmitBasicReport(MD, Name, categories::CoreFoundationObjectiveC, in checkASTDecl()
DObjCUnusedIVarsChecker.cpp114 BugReporter &BR) { in checkObjCUnusedIvar() argument
161 SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar()
174 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); in checkObjCUnusedIvar()
175 BR.EmitBasicReport(D, "Unused instance variable", "Optimization", in checkObjCUnusedIvar()
189 BugReporter &BR) const { in checkASTDecl()
190 checkObjCUnusedIvar(D, BR); in checkASTDecl()
DMallocSizeofChecker.cpp176 BugReporter &BR) const { in checkASTCodeBody()
178 CastedAllocFinder Finder(&BR.getContext()); in checkASTCodeBody()
201 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
206 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
237 BR.getSourceManager(), ADC); in checkASTCodeBody()
239 BR.EmitBasicReport(D, "Allocator sizeof operand mismatch", in checkASTCodeBody()
DDeadStoresChecker.cpp123 BugReporter& BR; member in __anone0b70ff90211::DeadStoreObs
137 : cfg(cfg), Ctx(ctx), BR(br), AC(ac), Parents(parents), in DeadStoreObs()
199 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R); in Report()
217 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl()
372 PathDiagnosticLocation::create(V, BR.getSourceManager()); in observeStmt()
421 BugReporter &BR) const { in checkASTCodeBody()
437 DeadStoreObs A(cfg, BR.getContext(), BR, AC, pmap, FS.Escaped); in checkASTCodeBody()
DIvarInvalidationChecker.cpp212 BugReporter &BR; member in __anona85333ff0111::IvarInvalidationCheckerImpl
220 Mgr (InMgr), BR(InBR), Filter(InFilter) {} in IvarInvalidationCheckerImpl()
456 BR.getContext()).VisitStmt(D->getBody()); in visit()
509 BR.getContext()).VisitStmt(D->getBody()); in visit()
545 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager()); in reportNoInvalidationMethod()
547 BR.EmitBasicReport(FirstIvarDecl, "Incomplete invalidation", in reportNoInvalidationMethod()
562 BR.getSourceManager(), in reportIvarNeedsInvalidation()
564 BR.EmitBasicReport(MethodD, "Incomplete invalidation", in reportIvarNeedsInvalidation()
725 BugReporter &BR) const { in checkASTDecl()
726 IvarInvalidationCheckerImpl Walker(Mgr, BR, Filter); in checkASTDecl()
DCheckerDocumentation.cpp172 BugReporter &BR, in checkEndAnalysis() argument
180 BugReporter &BR) const {} in checkEndOfTranslationUnit()
290 BugReporter &BR) const {} in checkASTDecl()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h61 BugReport &BR) = 0;
71 BugReport &BR);
78 BugReport &BR);
113 static void registerStatementVarDecls(BugReport &BR, const Stmt *S);
125 BugReport &BR);
148 BugReport &BR);
163 BugReport &BR);
181 BugReport &BR);
186 BugReport &BR);
248 BugReport &BR) { in VisitNode() argument
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp99 BugReport &BR) { in getEndPath() argument
106 BugReport &BR) { in getDefaultEndPath() argument
111 llvm::tie(Beg, End) = BR.getRanges(); in getDefaultEndPath()
116 BR.getDescription(), in getDefaultEndPath()
165 BugReport &BR) { in addVisitorIfNecessary() argument
215 BR.markInteresting(CalleeContext); in addVisitorIfNecessary()
216 BR.addVisitor(new ReturnVisitor(CalleeContext, InitiallySuppressed)); in addVisitorIfNecessary()
228 BugReport &BR) { in visitNodeInitial() argument
274 BR.markInteresting(V); in visitNodeInitial()
275 ReturnVisitor::addVisitorIfNecessary(N, RetE, BR); in visitNodeInitial()
[all …]
/external/bison/doc/
Dbison.x15 .BR .y .
28 .BR parse.tab.cxx ,
35 .BR parse.tab.c .
50 .BR \- .
53 .BR \-\-file-prefix ,
55 .BR = .
Dcommon.x2 .BR lex (1),
3 .BR flex (1),
4 .BR yacc (1).
/external/iptables/extensions/
Dlibip6t_eui64.man6 .BR PREROUTING ,
7 .BR INPUT
9 .BR FORWARD

12345678910>>...12