/external/clang/unittests/AST/ |
NamedDeclPrinterTest.cpp | 41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id"); 42 if (!ND) 51 ND->printQualifiedName(Out, Policy);
|
/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 | 204 const NamedDecl *ND = DR->getDecl(); 205 return ND == x || ND == y ? DR : nullptr;
|
/frameworks/compile/slang/ |
slang_rs_context.cpp | 141 clang::NamedDecl *const ND = *I; 144 switch (ND->getKind()) { 147 ND)->getCanonicalDecl()->getUnderlyingType().getTypePtr(); 151 T = static_cast<const clang::RecordDecl*>(ND)->getTypeForDecl();
|
/external/clang/lib/AST/ |
Mangle.cpp | 58 static bool isExternC(const NamedDecl *ND) { 59 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) 61 return cast<VarDecl>(ND)->isExternC(); 65 const NamedDecl *ND) { 71 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && 75 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND); 218 const NamedDecl *ND = cast<NamedDecl>(DC); 219 if (!shouldMangleDeclName(ND) && ND->getIdentifier()) 220 Stream << ND->getIdentifier()->getName() [all...] |
TemplateBase.cpp | 359 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); 361 if (ND->getDeclName()) { 363 ND->printQualifiedName(Out);
|
DeclPrinter.cpp | [all...] |
DeclBase.cpp | 246 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) 247 if (ND->isAnonymousNamespace()) 806 const NamespaceDecl *ND = cast<NamespaceDecl>(this); 807 if (ND->isInline()) { 808 return ND->getParent()->isStdNamespace(); 814 const IdentifierInfo *II = ND->getIdentifier(); [all...] |
ASTDiagnostic.cpp | 330 const NamedDecl *ND = reinterpret_cast<const NamedDecl*>(Val); 331 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), Qualified); 365 NamedDecl *ND = cast<NamedDecl>(DC); 366 if (isa<NamespaceDecl>(ND)) 368 else if (isa<ObjCMethodDecl>(ND)) 370 else if (isa<FunctionDecl>(ND)) 374 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true); [all...] |
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 197 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); 198 Out << *ND;
|
/external/clang/lib/Sema/ |
CodeCompleteConsumer.cpp | 270 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); 271 if (!ND) 287 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) { 288 if (ND->getIdentifier()) 387 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); 388 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 std::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 | 428 NamedDecl *ND = I->first; 431 if (ND->isInvalidDecl()) continue; 434 if (ND->hasAttr<WeakRefAttr>()) continue; 436 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { 443 if (cast<VarDecl>(ND)->hasDefinition() != VarDecl::DeclarationOnly) 445 if (ND->isExternallyVisible()) 449 Undefined.push_back(std::make_pair(ND, I->second)); 481 NamedDecl *ND = I->first; 483 if (ND->hasAttr<DLLImportAttr>() || ND->hasAttr<DLLExportAttr>()) [all...] |
SemaExprMember.cpp | 561 NamedDecl *ND = candidate.getCorrectionDecl(); 564 if (!ND || !(isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND))) 568 if (Record->containsDecl(ND)) 576 if (BSTy->getDecl()->containsDecl(ND)) [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 136 final int ND = perms.getPermissionCount(AppSecurityPermissions.WHICH_DEVICE); 163 if (NP > 0 || ND > 0) { 177 if (ND > 0) { [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CallEvent.h | 294 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl()); 295 if (!ND) 297 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->isStdNamespace(); [all...] |
BugReporterVisitors.cpp | [all...] |
PathDiagnostic.cpp | 173 const NamedDecl *ND = dyn_cast<NamedDecl>(CP->getCallee()); 174 if (ND) { 177 os << " (within a call to '" << ND->getDeclName() << "')"; [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 271 const NamedDecl *ND = cast<NamedDecl>(D); 272 llvm::errs() << ' ' << *ND << '\n'; 566 if (const FunctionDecl *ND = dyn_cast<FunctionDecl>(D)) { 567 IdentifierInfo *II = ND->getIdentifier();
|
/external/llvm/include/llvm/Support/ |
GenericDomTree.h | 109 const NodeT *Nd = (*I)->getBlock(); 110 OtherChildren.insert(Nd); 253 typename InvTraits::NodeType *ND = *PI; 254 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && 255 DT.isReachableFromEntry(ND)) {
|
/external/clang/lib/Parse/ |
ParseExpr.cpp | 432 NamedDecl *ND = candidate.getCorrectionDecl(); 433 if (!ND) 436 if (isa<TypeDecl>(ND)) [all...] |
/frameworks/base/tools/aapt/ |
AaptAssets.cpp | 770 const size_t ND = mDirs.size(); 793 for (j = 0; j < ND; j++) { 804 for (i = 0; i < ND; i++) { 812 for (j = i+1; j < ND; j++) { 833 const size_t ND=getDirs().size(); 835 for (i=0; i<ND; i++) { [all...] |
/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,
|