Home
last modified time | relevance | path

Searched refs:DR (Results 1 – 25 of 49) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsEnum() local
38 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum()
52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsStaticLocal() local
54 if (DR) in containsStaticLocal()
55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal()
DBugReporterVisitors.cpp317 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) { in getTrackNullOrUndefValueVisitor() local
318 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in getTrackNullOrUndefValueVisitor()
414 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Head)) { in registerStatementVarDecls() local
415 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in registerStatementVarDecls()
564 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) { in patternMatch() local
565 const bool quotes = isa<VarDecl>(DR->getDecl()); in patternMatch()
570 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()), in patternMatch()
582 Out << DR->getDecl()->getDeclName().getAsString(); in patternMatch()
724 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(CondVarExpr)) { in VisitConditionVariable() local
725 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitConditionVariable()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp171 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, in CheckDeclRef() argument
173 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef()
174 CheckVarDecl(VD, DR, Val, dsk, Live); in CheckDeclRef()
187 const DeclRefExpr *DR; in isIncrement() local
189 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement()
190 if (DR->getDecl() == VD) in isIncrement()
193 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement()
194 if (DR->getDecl() == VD) in isIncrement()
214 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS())) in observeStmt() local
215 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt()
[all …]
DIdempotentOperationChecker.cpp94 static bool isConstantOrPseudoConstant(const DeclRefExpr *DR,
495 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in isUnused() local
496 if (!DR) in isUnused()
499 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); in isUnused()
701 const DeclRefExpr *DR, in isConstantOrPseudoConstant() argument
704 if (DR->getType().isConstQualified()) in isConstantOrPseudoConstant()
708 if (isa<EnumConstantDecl>(DR->getDecl())) in isConstantOrPseudoConstant()
711 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); in isConstantOrPseudoConstant()
728 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsNonLocalVarDecl() local
730 if (DR) in containsNonLocalVarDecl()
[all …]
DDereferenceChecker.cpp58 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); in AddDerefSource() local
59 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in AddDerefSource()
62 Ranges.push_back(DR->getSourceRange()); in AddDerefSource()
164 if (const DeclRefExpr *DR = in checkLocation() local
166 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in checkLocation()
DMallocOverflowSecurityChecker.cpp135 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) { in CheckExpr() local
136 const Decl * EdreD = DR->getDecl(); in CheckExpr()
DObjCSelfInitChecker.cpp376 if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts())) in isSelfVar() local
377 return (DR->getDecl() == analCtx->getSelfDecl()); in isSelfVar()
DCheckSecuritySyntaxOnly.cpp199 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) { in getIncrementedVar() local
200 const NamedDecl *ND = DR->getDecl(); in getIncrementedVar()
201 return ND == x || ND == y ? DR : NULL; in getIncrementedVar()
/external/clang/lib/Analysis/
DLiveVariables.cpp214 void VisitDeclRefExpr(DeclRefExpr *DR);
339 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) in VisitBinaryOperator() local
340 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitBinaryOperator()
351 observer->observerKill(DR); in VisitBinaryOperator()
368 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() argument
369 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) in VisitDeclRefExpr()
370 if (!isAlwaysAlive(D) && LV.inAssignment.find(DR) == LV.inAssignment.end()) in VisitDeclRefExpr()
385 DeclRefExpr *DR = 0; in VisitObjCForCollectionStmt() local
392 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt()
393 VD = cast<VarDecl>(DR->getDecl()); in VisitObjCForCollectionStmt()
[all …]
DPseudoConstantAnalysis.cpp69 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in getDecl() local
70 return DR->getDecl(); in getDecl()
201 const DeclRefExpr *DR = cast<DeclRefExpr>(Head); in RunAnalysis() local
202 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in RunAnalysis()
DUninitializedValues.cpp477 const DeclRefExpr *DR in VisitDeclStmt() local
480 if (DR->getDecl() == vd) { in VisitDeclStmt()
586 const DeclRefExpr *DR = in ProcessUses() local
589 const VarDecl *VD = cast<VarDecl>(DR->getDecl()); in ProcessUses()
595 reportUninit(DR, VD, isAlwaysUninit(vals[VD])); in ProcessUses()
599 if (DR == lastDR) { in ProcessUses()
DAnalysisDeclContext.cpp356 void VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() argument
358 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitDeclRefExpr()
362 } else if (DR->refersToEnclosingLocal()) { in VisitDeclRefExpr()
/external/clang/include/clang/Analysis/Visitors/
DCFGRecStmtDeclVisitor.h41 void VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() argument
42 static_cast<ImplClass*>(this)->VisitDecl(DR->getDecl()); in VisitDeclRefExpr()
/external/qemu/hw/
Dgoldfish_pipe.c39 # define DR(...) D(__VA_ARGS__) macro
41 # define DR(...) (void)0 macro
1081 DR("%s: command=%d (0x%x)", __FUNCTION__, value, value); in pipe_dev_write()
1086 DR("%s: size=%d (0x%x)", __FUNCTION__, value, value); in pipe_dev_write()
1091 DR("%s: address=%d (0x%x)", __FUNCTION__, value, value); in pipe_dev_write()
1096 DR("%s: channel=%d (0x%x)", __FUNCTION__, value, value); in pipe_dev_write()
1114 DR("%s: REG_STATUS status=%d (0x%x)", __FUNCTION__, dev->status, dev->status); in pipe_dev_read()
1120 DR("%s: channel=0x%x wanted=%d", __FUNCTION__, in pipe_dev_read()
1132 DR("%s: no signaled channels", __FUNCTION__); in pipe_dev_read()
1136 DR("%s: wakes %d", __FUNCTION__, dev->wakes); in pipe_dev_read()
/external/dropbear/libtommath/etc/
Ddrprimes.281 DR safe primes for 28-bit digits.
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/de-DE/
Dde-DE_kdt_phr.pkb10 …��\<�˵�����,��M8%$�����x�.]%��k!GK���^TTu����Z�D ��k���/ ,9�֮�� �H�xl�b-F��G�H��a��<@�DR
/external/oprofile/events/mips/74K/
Devents30 …(waiting for downstream to unclog) due to MTC0/MFC0 sequence in pipe, EHB, or blocked DD, DR, or DS
31 event:0xd counters:0,2 um:zero minimum:500 name:DDQ0_FULL_DR_STALLS : 13-0 DR stage stall cycles du…
32 event:0xe counters:0,2 um:zero minimum:500 name:ALCB_FULL_DR_STALLS : 14-0 DR stage stall cycles du…
33 event:0xf counters:0,2 um:zero minimum:500 name:CLDQ_FULL_DR_STALLS : 15-0 DR stage stall cycles du…
107 event:0x40d counters:1,3 um:zero minimum:500 name:DDQ1_FULL_DR_STALLS : 13-1 DR stage stall cycles …
108 event:0x40e counters:1,3 um:zero minimum:500 name:AGCB_FULL_DR_STALLS : 14-1 DR stage stall cycles …
109 event:0x40f counters:1,3 um:zero minimum:500 name:IODQ_FULL_DR_STALLS : 15-1 DR stage stall cycles …
/external/clang/include/clang/Analysis/Analyses/
DLiveVariables.h68 virtual void observerKill(const DeclRefExpr *DR) {} in observerKill() argument
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/fr-FR/
Dfr-FR_nk0_kdt_mgc1.pkb20 DR����Dײ:�
Dfr-FR_kdt_g2p.pkb83 �y��"1]KŰTBD�7g6�T?S]�Tg� DR��!I��M��b�q/KSQ�iD�J�Hh~��*sz��h�ʚ���EN�r��,��H���l�`��A…
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h291 void VisitCommonDeclRefExpr(const Expr *DR, const NamedDecl *D,
318 void VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *DR, ExplodedNode *Pred,
/external/clang/lib/Sema/
DSemaChecking.cpp1209 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) { in SemaBuiltinVAStart() local
1210 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) { in SemaBuiltinVAStart()
1537 const DeclRefExpr *DR = cast<DeclRefExpr>(E); in SemaCheckStringLiteral() local
1541 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in SemaCheckStringLiteral()
1543 QualType T = DR->getType(); in SemaCheckStringLiteral()
3043 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var. in CheckReturnStackAddr() local
3046 << DR->getDecl()->getDeclName() << diagRange; in CheckReturnStackAddr()
3114 DeclRefExpr *DR = cast<DeclRefExpr>(E); in EvalAddr() local
3116 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl())) in EvalAddr()
3122 refVars.push_back(DR); in EvalAddr()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h199 const DeclRefExpr *DR,
/external/openfst/src/test/
Dalgo_test.h665 DeterminizeFst<Arc> DR(R); in TestOptimize()
667 Reverse(DR, &RD); in TestOptimize()
1060 DeterminizeFst<Arc> DR(R); in TestOptimize()
1062 Reverse(DR, &RD); in TestOptimize()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/it-IT/
Dit-IT_kdt_posp.pkb89 H[\iᑀeLg ��b�J\w\����K�����8b�z!�C�2'����8 1�� 2ޤ�¥���U�;z�B�~�DR~��*�!0Z�o\�\�\ٕ�Qd…

12