/external/clang/lib/AST/ |
Mangle.cpp | 117 const NamedDecl *ND = cast<NamedDecl>(DC); 118 if (!shouldMangleDeclName(ND) && ND->getIdentifier()) 119 Stream << ND->getIdentifier()->getName(); 126 mangleName(ND, Stream);
|
TemplateBase.cpp | 351 if (NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getAsDecl())) { 352 if (ND->getDeclName()) { 353 Out << *ND;
|
ASTDiagnostic.cpp | 316 const NamedDecl *ND = reinterpret_cast<const NamedDecl*>(Val); 317 ND->getNameForDiagnostic(S, Context.getPrintingPolicy(), Qualified); 343 NamedDecl *ND = cast<NamedDecl>(DC); 344 if (isa<NamespaceDecl>(ND)) 346 else if (isa<ObjCMethodDecl>(ND)) 348 else if (isa<FunctionDecl>(ND)) 352 ND->getNameForDiagnostic(S, Context.getPrintingPolicy(), true); [all...] |
DeclBase.cpp | 225 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) 226 if (ND->isAnonymousNamespace()) 1028 NamedDecl *ND = cast<NamedDecl>(D); 1031 if (!ND->getDeclName()) return; 1036 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); 1038 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) 1039 Pos->second.remove(ND); 1072 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) 1073 ND->getDeclContext()->getPrimaryContext()-> 1074 makeDeclVisibleInContextWithFlags(ND, false, true) [all...] |
Decl.cpp | 132 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) 133 LV.mergeWithMin(getLVForDecl(ND, OnlyTemplate)); 287 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); 288 if (!ND) continue; 289 if (llvm::Optional<Visibility> Vis = ND->getExplicitVisibility()) { 774 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) 775 return getLVForDecl(ND, OnlyTemplate); [all...] |
ItaniumMangle.cpp | 66 static const CXXRecordDecl *GetLocalClassDecl(const NamedDecl *ND) { 67 const DeclContext *DC = dyn_cast<DeclContext>(ND); 69 DC = getEffectiveDeclContext(ND); 148 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { 152 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(ND)) 156 unsigned &discriminator = Uniquifier[ND]; 261 void mangleName(const NamedDecl *ND); 263 void mangleNameOrStandardSubstitution(const NamedDecl *ND); 266 bool mangleSubstitution(const NamedDecl *ND); 274 bool mangleStandardSubstitution(const NamedDecl *ND); [all...] |
Type.cpp | 47 NamedDecl *ND = NULL; 51 ND = ty->getAs<RecordType>()->getDecl(); 53 ND = ty->getAs<EnumType>()->getDecl(); 55 ND = ty->getAs<TypedefType>()->getDecl(); 60 if (ND) 61 return ND->getIdentifier(); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
AnalyzerStatsChecker.cpp | 98 const NamedDecl *ND = cast<NamedDecl>(D); 99 output << *ND;
|
LLVMConventionsChecker.cpp | 41 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); 42 if (!ND) 44 const IdentifierInfo *II = ND->getIdentifier(); 47 return isa<TranslationUnitDecl>(ND->getDeclContext());
|
CheckSecuritySyntaxOnly.cpp | 201 const NamedDecl *ND = DR->getDecl(); 202 return ND == x || ND == y ? DR : NULL;
|
/frameworks/compile/slang/ |
slang_rs_context.cpp | 158 clang::NamedDecl *const ND = *I; 161 switch (ND->getKind()) { 164 ND)->getCanonicalDecl()->getUnderlyingType().getTypePtr(); 168 T = static_cast<const clang::RecordDecl*>(ND)->getTypeForDecl();
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 191 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); 192 Out << *ND;
|
/external/clang/lib/Sema/ |
CodeCompleteConsumer.cpp | 272 NamedDecl *ND = dyn_cast<NamedDecl>(DC); 273 if (!ND) 289 if (NamedDecl *ND = dyn_cast<NamedDecl>(DC)) { 290 if (ND->getIdentifier()) 390 NamedDecl *ND = dyn_cast<NamedDecl>(DC); 391 if (!ND) 394 ParentKind = getCursorKindForDecl(ND); 402 unsigned CodeCompletionResult::getPriorityFromDecl(NamedDecl *ND) { 403 if (!ND) 407 DeclContext *DC = ND->getDeclContext()->getRedeclContext() [all...] |
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); 555 NamedDecl *ND = i->first.get<NamedDecl *>(); 556 if (isa<ParmVarDecl>(ND)) 559 llvm::tie(Depth, Index) = getDepthAndIndex(ND); 561 Name = ND->getIdentifier(); 656 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); 657 if (isa<ParmVarDecl>(ND)) { [all...] |
SemaExprMember.cpp | 555 NamedDecl *ND = candidate.getCorrectionDecl(); 556 return ND && (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND)); 618 if (NamedDecl *ND = Corrected.getCorrectionDecl()) { 624 R.addDecl(ND); 628 SemaRef.Diag(ND->getLocation(), diag::note_previous_decl) 629 << ND->getDeclName(); [all...] |
/frameworks/base/tools/aapt/ |
Package.cpp | 249 const size_t ND = dir->getDirs().size(); 251 for (i=0; i<ND; i++) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 262 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); 263 if (!ND) 266 while (const DeclContext *Parent = ND->getParent()) { 269 ND = cast<NamespaceDecl>(Parent); 272 return ND->getName() == "std";
|
PathDiagnostic.cpp | 779 else if (const NamedDecl *ND = dyn_cast<NamedDecl>(Callee)) 780 Out << "Calling '" << *ND << "'"; 791 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Caller)) 792 Out << "Entered call from '" << *ND << "'"; 809 else if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Callee)) 810 Out << "Returning from '" << *ND << "'"; [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 232 const NamedDecl *ND = cast<NamedDecl>(D); 233 llvm::errs() << ' ' << *ND << '\n'; 513 if (const FunctionDecl *ND = dyn_cast<FunctionDecl>(D)) { 514 IdentifierInfo *II = ND->getIdentifier();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 238 final int ND = perms.getPermissionCount(AppSecurityPermissions.WHICH_DEVICE); 262 if (NP > 0 || ND > 0) { 276 if (ND > 0) {
|
/external/clang/lib/CodeGen/ |
CGDecl.cpp | 152 const NamedDecl *ND = cast<NamedDecl>(&D); 153 const DeclContext *DC = ND->getDeclContext(); [all...] |
/external/clang/lib/Parse/ |
ParseExpr.cpp | 473 NamedDecl *ND = candidate.getCorrectionDecl(); 474 if (!ND) 477 if (isa<TypeDecl>(ND)) [all...] |
/external/llvm/include/llvm/Analysis/ |
Dominators.h | 110 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)) {
|
/external/webkit/Source/WebKit/android/content/ |
address_detector.cpp | 410 // Handle cases like 12a, 1st, 2nd, 3rd, 7th. 703 ND = 33, // ND North Dakota 791 ND, ND, ND, ND, ND, ND, ND, ND, ND, XX, // 580-58 [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,
|