/external/clang/lib/AST/ |
Mangle.cpp | 96 const NamedDecl *ND = cast<NamedDecl>(DC); 97 if (!shouldMangleDeclName(ND) && ND->getIdentifier()) 98 Stream << ND->getIdentifier()->getName(); 105 mangleName(ND, Stream);
|
TemplateBase.cpp | 355 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); 357 if (ND->getDeclName()) { 359 ND->printQualifiedName(Out);
|
DeclBase.cpp | 239 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) 240 if (ND->isAnonymousNamespace()) 1080 NamedDecl *ND = cast<NamedDecl>(D); 1083 if (!ND->getDeclName()) return; 1088 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); 1090 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) 1091 Pos->second.remove(ND); [all...] |
ASTDiagnostic.cpp | 315 const NamedDecl *ND = reinterpret_cast<const NamedDecl*>(Val); 316 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), Qualified); 342 NamedDecl *ND = cast<NamedDecl>(DC); 343 if (isa<NamespaceDecl>(ND)) 345 else if (isa<ObjCMethodDecl>(ND)) 347 else if (isa<FunctionDecl>(ND)) 351 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true); [all...] |
Decl.cpp | 324 if (NamedDecl *ND = dyn_cast<NamedDecl>(arg.getAsDecl())) { 325 assert(!usesTypeVisibility(ND)); 326 LV.merge(getLVForDecl(ND, computation)); 605 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); 606 if (!ND) continue; 607 if (Optional<Visibility> Vis = getExplicitVisibility(ND, computation)) { [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
AnalyzerStatsChecker.cpp | 98 const NamedDecl *ND = cast<NamedDecl>(D); 99 output << *ND;
|
LLVMConventionsChecker.cpp | 42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); 43 if (!ND) 45 const IdentifierInfo *II = ND->getIdentifier(); 48 return isa<TranslationUnitDecl>(ND->getDeclContext());
|
CheckSecuritySyntaxOnly.cpp | 194 const NamedDecl *ND = DR->getDecl(); 195 return ND == x || ND == y ? DR : NULL;
|
/frameworks/compile/slang/ |
slang_rs_context.cpp | 160 clang::NamedDecl *const ND = *I; 163 switch (ND->getKind()) { 166 ND)->getCanonicalDecl()->getUnderlyingType().getTypePtr(); 170 T = static_cast<const clang::RecordDecl*>(ND)->getTypeForDecl();
|
/external/clang/lib/Sema/ |
SemaOpenMP.cpp | 38 NamedDecl *ND = Candidate.getCorrectionDecl(); 39 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(ND)) { 41 Actions.isDeclInScope(ND, Actions.getCurLexicalContext(), 118 NamedDecl *ND = cast<NamedDecl>(VD); 119 if (!isDeclInScope(ND, getCurLexicalContext(), CurScope)) {
|
CodeCompleteConsumer.cpp | 271 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); 272 if (!ND) 288 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) { 289 if (ND->getIdentifier()) 388 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); 389 if (!ND)
|
SemaTemplateVariadic.cpp | 518 getDepthAndIndex(NamedDecl *ND) { 519 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) 522 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 525 TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(ND); 553 NamedDecl *ND = i->first.get<NamedDecl *>(); 554 if (isa<ParmVarDecl>(ND)) 557 llvm::tie(Depth, Index) = getDepthAndIndex(ND); 559 Name = ND->getIdentifier(); 654 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); 655 if (isa<ParmVarDecl>(ND)) { [all...] |
Sema.cpp | 391 NamedDecl *ND = I->first; 394 if (ND->isInvalidDecl()) continue; 397 if (ND->hasAttr<WeakRefAttr>()) continue; 399 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { 406 if (cast<VarDecl>(ND)->hasDefinition() != VarDecl::DeclarationOnly) 408 if (ND->isExternallyVisible()) 412 Undefined.push_back(std::make_pair(ND, I->second)); 433 NamedDecl *ND = I->first; 435 if (!ND->isExternallyVisible()) { 436 S.Diag(ND->getLocation(), diag::warn_undefined_internal [all...] |
SemaExprMember.cpp | 564 NamedDecl *ND = candidate.getCorrectionDecl(); 565 return ND && (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND)); 652 NamedDecl *ND = Corrected.getCorrectionDecl(); 653 SemaRef.Diag(ND->getLocation(), diag::note_previous_decl) 654 << ND->getDeclName(); [all...] |
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 197 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); 198 Out << *ND;
|
/frameworks/base/tools/aapt/ |
Package.cpp | 252 const size_t ND = dir->getDirs().size(); 254 for (i=0; i<ND; i++) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 129 final int ND = perms.getPermissionCount(AppSecurityPermissions.WHICH_DEVICE); 156 if (NP > 0 || ND > 0) { 170 if (ND > 0) {
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CallEvent.h | 301 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl()); 302 if (!ND) 304 return ND->getIdentifier(); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 387 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); 388 if (!ND) 391 while (const DeclContext *Parent = ND->getParent()) { 394 ND = cast<NamespaceDecl>(Parent); 397 return ND->getName() == "std"; [all...] |
BugReporterVisitors.cpp | [all...] |
PathDiagnostic.cpp | 171 const NamedDecl *ND = dyn_cast<NamedDecl>(CP->getCallee()); 172 if (ND) { 175 os << " (within a call to '" << ND->getDeclName() << "')"; [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 252 const NamedDecl *ND = cast<NamedDecl>(D); 253 llvm::errs() << ' ' << *ND << '\n'; 542 if (const FunctionDecl *ND = dyn_cast<FunctionDecl>(D)) { 543 IdentifierInfo *II = ND->getIdentifier();
|
/external/clang/lib/Parse/ |
ParseExpr.cpp | 434 NamedDecl *ND = candidate.getCorrectionDecl(); 435 if (!ND) 438 if (isa<TypeDecl>(ND)) [all...] |
/external/llvm/include/llvm/Analysis/ |
Dominators.h | 110 const NodeT *Nd = (*I)->getBlock(); 111 OtherChildren.insert(Nd); 259 typename InvTraits::NodeType *ND = *PI; 260 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && 261 DT.isReachableFromEntry(ND)) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
EnumSetTest.java | 104 IN, SN, SB, TE, I, XE, CS, BA, LA, CE, PR, ND, PM, SM, EU, GD, TB, DY, HO, ER, TM, YB, LU,
|