Home
last modified time | relevance | path

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

12345678910>>...15

/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.cpp59 BugReporter &BR; member in __anon44958f950111::WalkAST
70 : BR(br), AC(ac), II_setid(), in WalkAST()
71 CheckRand(isArc4RandomAvailable(BR.getContext())), in WalkAST()
289 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
290 BR.EmitBasicReport(AC->getDecl(), in checkLoopConditionForFloat()
320 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
326 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
327 BR.EmitBasicReport(AC->getDecl(), in checkCall_gets()
362 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
368 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
[all …]
DLLVMConventionsChecker.cpp117 BugReporter &BR; member in __anon5894ba9c0111::StringRefCheckerVisitor
121 : BR(br), DeclWithIssue(declWithIssue) {} in StringRefCheckerVisitor()
135 static void CheckStringRefAssignedTemporary(const Decl *D, BugReporter &BR) { in CheckStringRefAssignedTemporary() argument
136 StringRefCheckerVisitor walker(D, BR); in CheckStringRefAssignedTemporary()
180 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl()
181 BR.EmitBasicReport(DeclWithIssue, desc, "LLVM Conventions", desc, in VisitVarDecl()
217 BugReporter &BR; member in __anon5894ba9c0211::ASTFieldVisitor
220 : Root(root), BR(br) {} in ASTFieldVisitor()
227 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR) { in CheckASTMemory() argument
233 ASTFieldVisitor walker(R, BR); in CheckASTMemory()
[all …]
DCheckObjCInstMethSignature.cpp43 BugReporter &BR, ASTContext &Ctx, in CompareReturnTypes() argument
71 BR.getSourceManager()); in CompareReturnTypes()
73 BR.EmitBasicReport(MethDerived, in CompareReturnTypes()
81 BugReporter& BR) { in CheckObjCInstMethSignature() argument
89 ASTContext &Ctx = BR.getContext(); in CheckObjCInstMethSignature()
122 CompareReturnTypes(MethDerived, M, BR, Ctx, ID); in CheckObjCInstMethSignature()
138 BugReporter &BR) const { in checkASTDecl()
139 CheckObjCInstMethSignature(D, BR); in checkASTDecl()
DCheckSizeofPointer.cpp26 BugReporter &BR; member in __anonfe24e0650111::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()
DUndefCapturedBlockVarChecker.cpp38 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S)) in FindBlockDeclRefExpr() local
39 if (BR->getDecl() == VD) in FindBlockDeclRefExpr()
40 return BR; in FindBlockDeclRefExpr()
45 const DeclRefExpr *BR = FindBlockDeclRefExpr(child, VD); in FindBlockDeclRefExpr() local
46 if (BR) in FindBlockDeclRefExpr()
47 return BR; in FindBlockDeclRefExpr()
DNSErrorChecker.cpp47 AnalysisManager &mgr, BugReporter &BR) const;
53 BugReporter &BR) const { in checkASTDecl()
76 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
77 BR.EmitBasicReport(D, "Bad return type when passing NSError**", in checkASTDecl()
95 AnalysisManager &mgr, BugReporter &BR) const;
101 BugReporter &BR) const { in checkASTDecl()
124 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
125 BR.EmitBasicReport(D, "Bad return type when passing CFErrorRef*", in checkASTDecl()
257 BugReporter &BR = *event.BR; in checkEvent() local
288 BR.EmitReport(report); in checkEvent()
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()
DCheckObjCDealloc.cpp100 const LangOptions& LOpts, BugReporter& BR) { in checkObjCDealloc() argument
104 ASTContext &Ctx = BR.getContext(); in checkObjCDealloc()
170 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()); in checkObjCDealloc()
182 BR.EmitBasicReport(D, name, categories::CoreFoundationObjectiveC, in checkObjCDealloc()
200 BR.EmitBasicReport(MD, name, categories::CoreFoundationObjectiveC, in checkObjCDealloc()
264 PathDiagnosticLocation::createBegin(*I, BR.getSourceManager()); in checkObjCDealloc()
266 BR.EmitBasicReport(MD, name, categories::CoreFoundationObjectiveC, in checkObjCDealloc()
281 BugReporter &BR) const { in checkASTDecl()
284 checkObjCDealloc(cast<ObjCImplementationDecl>(D), mgr.getLangOpts(), BR); in checkASTDecl()
DVirtualCallChecker.cpp30 BugReporter &BR; member in __anon0e8d0d2e0111::WalkAST
61 : BR(br), in WalkAST()
183 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in ReportVirtualCall()
189 BR.EmitBasicReport(AC->getDecl(), in ReportVirtualCall()
199 BR.EmitBasicReport(AC->getDecl(), in ReportVirtualCall()
216 BugReporter &BR) const { in checkASTDecl()
217 WalkAST walker(BR, mgr.getAnalysisDeclContext(RD)); in checkASTDecl()
DObjCContainersASTChecker.cpp29 BugReporter &BR; member in __anonea01c9670111::WalkAST
77 : BR(br), AC(ac), ASTC(AC->getASTContext()), in WalkAST()
146 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
147 BR.EmitBasicReport(AC->getDecl(), in VisitCallExpr()
167 BugReporter &BR) const { in checkASTCodeBody()
168 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 __anon5c7f774c0111::WalkAST
86 BR(br), AC(ac), ASTC(AC->getASTContext()) { in WalkAST()
145 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
160 BR.EmitBasicReport(FD, "Anti-pattern in the argument", "C String API", in VisitCallExpr()
181 BugReporter &BR) const { in checkASTCodeBody()
182 WalkAST walker(BR, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DObjCUnusedIVarsChecker.cpp112 BugReporter &BR) { in checkObjCUnusedIvar() argument
159 SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar()
172 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); in checkObjCUnusedIvar()
173 BR.EmitBasicReport(D, "Unused instance variable", "Optimization", in checkObjCUnusedIvar()
187 BugReporter &BR) const { in checkASTDecl()
188 checkObjCUnusedIvar(D, BR); in checkASTDecl()
DMallocSizeofChecker.cpp175 BugReporter &BR) const { in checkASTCodeBody()
177 CastedAllocFinder Finder(&BR.getContext()); in checkASTCodeBody()
200 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
205 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
236 BR.getSourceManager(), ADC); in checkASTCodeBody()
238 BR.EmitBasicReport(D, "Allocator sizeof operand mismatch", in checkASTCodeBody()
DDeadStoresChecker.cpp124 BugReporter& BR; member in __anon5b4b46d90211::DeadStoreObs
138 : cfg(cfg), Ctx(ctx), BR(br), AC(ac), Parents(parents), in DeadStoreObs()
200 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R); in Report()
218 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl()
373 PathDiagnosticLocation::create(V, BR.getSourceManager()); in observeStmt()
422 BugReporter &BR) const { in checkASTCodeBody()
429 DeadStoreObs A(cfg, BR.getContext(), BR, AC, pmap, FS.Escaped); in checkASTCodeBody()
DCheckerDocumentation.cpp171 BugReporter &BR, in checkEndAnalysis() argument
179 BugReporter &BR) const {} in checkEndOfTranslationUnit()
255 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);
128 BugReport &BR);
147 BugReport &BR);
162 BugReport &BR);
177 BugReport &BR);
182 BugReport &BR);
249 BugReport &BR);
DBugReporter.h475 GRBugReporter &BR;
477 BugReporterContext(GRBugReporter& br) : BR(br) {}
481 GRBugReporter& getBugReporter() { return BR; }
483 ExplodedGraph &getGraph() { return BR.getGraph(); }
486 return BR.getStateManager();
494 return BR.getContext();
498 return BR.getSourceManager();
/external/llvm/lib/CodeGen/
DLiveIntervalAnalysis.cpp1026 BundleRanges BR = createBundleRanges(Entering, Internal, Exiting); in moveAllRangesInto() local
1038 moveAllEnteringFromInto(OldIdx, Entering, BR); in moveAllRangesInto()
1039 moveAllInternalFromInto(OldIdx, Internal, BR); in moveAllRangesInto()
1040 moveAllExitingFromInto(OldIdx, Exiting, BR); in moveAllRangesInto()
1144 BundleRanges BR; in createBundleRanges() local
1150 BR[LI->reg].Use = LR; in createBundleRanges()
1158 BR[LI->reg].Dead = LR; in createBundleRanges()
1160 BR[LI->reg].EC = LR; in createBundleRanges()
1168 BR[LI->reg].Def = LR; in createBundleRanges()
1171 return BR; in createBundleRanges()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp98 BugReport &BR) { in getEndPath() argument
105 BugReport &BR) { in getDefaultEndPath() argument
110 llvm::tie(Beg, End) = BR.getRanges(); in getDefaultEndPath()
115 BR.getDescription(), in getDefaultEndPath()
153 BugReport &BR) { in addVisitorIfNecessary() argument
177 BR.addVisitor(new ReturnVisitor(CEE->getCalleeContext())); in addVisitorIfNecessary()
184 BugReport &BR) { in VisitNode() argument
223 bugreporter::trackNullOrUndefValue(N, RetE, BR); in VisitNode()
235 BR.markInteresting(V); in VisitNode()
261 BugReport &BR) { in VisitNode() argument
[all …]
/external/iptables/extensions/
Dlibip6t_eui64.man6 .BR PREROUTING ,
7 .BR INPUT
9 .BR FORWARD
/external/jpeg/
Djcphuff.c625 unsigned int BR; in encode_mcu_AC_refine() local
663 BR = 0; /* BR = count of buffered bits added now */ in encode_mcu_AC_refine()
680 emit_buffered_bits(entropy, BR_buffer, BR); in encode_mcu_AC_refine()
682 BR = 0; in encode_mcu_AC_refine()
692 BR_buffer[BR++] = (char) (temp & 1); in encode_mcu_AC_refine()
707 emit_buffered_bits(entropy, BR_buffer, BR); in encode_mcu_AC_refine()
709 BR = 0; in encode_mcu_AC_refine()
713 if (r > 0 || BR > 0) { /* If there are trailing zeroes, */ in encode_mcu_AC_refine()
715 entropy->BE += BR; /* concat my correction bits to older ones */ in encode_mcu_AC_refine()
/external/clang/include/clang/StaticAnalyzer/Core/
DChecker.h36 BugReporter &BR) { in _checkDecl() argument
37 ((const CHECKER *)checker)->checkASTDecl(llvm::cast<DECL>(D), mgr, BR); in _checkDecl()
55 BugReporter &BR) { in _checkBody() argument
56 ((const CHECKER *)checker)->checkASTCodeBody(D, mgr, BR); in _checkBody()
72 BugReporter &BR) { in _checkEndOfTranslationUnit() argument
73 ((const CHECKER *)checker)->checkEndOfTranslationUnit(TU, mgr, BR); in _checkEndOfTranslationUnit()
218 BugReporter &BR, ExprEngine &Eng) { in _checkEndAnalysis() argument
219 ((const CHECKER *)checker)->checkEndAnalysis(G, BR, Eng); in _checkEndAnalysis()
465 BugReporter *BR; member
/external/qemu/distrib/jpeg-6b/
Djcphuff.c625 unsigned int BR; in encode_mcu_AC_refine() local
663 BR = 0; /* BR = count of buffered bits added now */ in encode_mcu_AC_refine()
680 emit_buffered_bits(entropy, BR_buffer, BR); in encode_mcu_AC_refine()
682 BR = 0; in encode_mcu_AC_refine()
692 BR_buffer[BR++] = (char) (temp & 1); in encode_mcu_AC_refine()
707 emit_buffered_bits(entropy, BR_buffer, BR); in encode_mcu_AC_refine()
709 BR = 0; in encode_mcu_AC_refine()
713 if (r > 0 || BR > 0) { /* If there are trailing zeroes, */ in encode_mcu_AC_refine()
715 entropy->BE += BR; /* concat my correction bits to older ones */ in encode_mcu_AC_refine()

12345678910>>...15