Searched refs:ND (Results 1 - 25 of 97) sorted by relevance

1234

/freebsd-10.0-release/contrib/llvm/include/llvm/MC/
H A DMCInstrInfo.h35 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, argument
39 InstrNameData = ND;
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DItaniumMangle.cpp67 static const CXXRecordDecl *GetLocalClassDecl(const NamedDecl *ND) { argument
68 const DeclContext *DC = dyn_cast<DeclContext>(ND);
70 DC = getEffectiveDeclContext(ND);
151 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { argument
155 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(ND))
159 unsigned &discriminator = Uniquifier[ND];
264 void mangleName(const NamedDecl *ND);
266 void mangleNameOrStandardSubstitution(const NamedDecl *ND);
269 bool mangleSubstitution(const NamedDecl *ND);
277 bool mangleStandardSubstitution(const NamedDecl *ND);
279 addSubstitution(const NamedDecl *ND) argument
299 mangleUnqualifiedName(const NamedDecl *ND) argument
514 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) argument
533 isLambda(const NamedDecl *ND) argument
541 mangleName(const NamedDecl *ND) argument
596 mangleUnscopedName(const NamedDecl *ND) argument
606 mangleUnscopedTemplateName(const TemplateDecl *ND) argument
1041 mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name, unsigned KnownArity) argument
1224 mangleNestedName(const NamedDecl *ND, const DeclContext *DC, bool NoFunction) argument
1264 mangleLocalName(const NamedDecl *ND) argument
1424 const NamedDecl *ND = cast<NamedDecl>(DC); local
1469 mangleTemplatePrefix(const TemplateDecl *ND) argument
1824 mangleNameOrStandardSubstitution(const NamedDecl *ND) argument
[all...]
H A DMangle.cpp117 const NamedDecl *ND = cast<NamedDecl>(DC); local
118 if (!shouldMangleDeclName(ND) && ND->getIdentifier())
119 Stream << ND->getIdentifier()->getName();
126 mangleName(ND, Stream);
H A DDeclBase.cpp239 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC))
240 if (ND->isAnonymousNamespace())
1078 NamedDecl *ND = cast<NamedDecl>(D); local
1081 if (!ND->getDeclName()) return;
1086 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName());
1088 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND)
1089 Pos->second.remove(ND);
1122 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1123 ND->getDeclContext()->getPrimaryContext()->
1124 makeDeclVisibleInContextWithFlags(ND, fals
[all...]
H A DMicrosoftMangle.cpp78 void mangleName(const NamedDecl *ND);
88 void mangleUnqualifiedName(const NamedDecl *ND) { argument
89 mangleUnqualifiedName(ND, ND->getDeclName());
91 void mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name);
99 void mangleUnscopedTemplateName(const TemplateDecl *ND);
318 void MicrosoftCXXNameMangler::mangleName(const NamedDecl *ND) { argument
320 const DeclContext *DC = ND->getDeclContext();
323 mangleUnqualifiedName(ND);
327 if (isa<FunctionDecl>(DC) && ND
376 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) argument
396 mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOpenMP.cpp31 NamedDecl *ND = Candidate.getCorrectionDecl(); local
32 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(ND)) {
34 Actions.isDeclInScope(ND, Actions.getCurLexicalContext(),
111 NamedDecl *ND = cast<NamedDecl>(VD); local
112 if (!isDeclInScope(ND, getCurLexicalContext(), CurScope)) {
H A DSemaCodeComplete.cpp81 void Add(const NamedDecl *ND, unsigned Index) { argument
84 DeclOrVector = ND;
100 DeclIndexPair(ND, Index));
269 /// \param ND the declaration that we are inspecting.
273 bool isInterestingDecl(const NamedDecl *ND,
326 bool IsOrdinaryName(const NamedDecl *ND) const;
327 bool IsOrdinaryNonTypeName(const NamedDecl *ND) const;
328 bool IsIntegralConstantValue(const NamedDecl *ND) const;
329 bool IsOrdinaryNonValueName(const NamedDecl *ND) const;
330 bool IsNestedNameSpecifier(const NamedDecl *ND) cons
484 isInterestingDecl(const NamedDecl *ND, bool &AsNestedNameSpecifier) const argument
655 getDeclUsageType(ASTContext &C, const NamedDecl *ND) argument
714 getBasePriority(const NamedDecl *ND) argument
854 const NamedDecl *ND = I->first; local
1257 FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, bool InBaseClass) argument
2053 AddResultTypeChunk(ASTContext &Context, const PrintingPolicy &Policy, const NamedDecl *ND, CodeCompletionBuilder &Result) argument
2441 AddTypedNameChunk(ASTContext &Context, const PrintingPolicy &Policy, const NamedDecl *ND, CodeCompletionBuilder &Result) argument
2548 const NamedDecl *ND = Declaration; local
2622 const NamedDecl *ND = Declaration; local
5342 NamedDecl *ND = LookupSingleName(S, Super, SuperLoc, local
[all...]
H A DSemaLookup.cpp896 if (NamedDecl *ND = R.getAcceptableDecl(*I)) {
898 R.addDecl(ND);
947 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) {
948 R.addDecl(ND);
1031 if (NamedDecl *ND = R.getAcceptableDecl(*I)) {
1037 R.addDecl(ND);
1115 if (NamedDecl *ND = dyn_cast<NamedDecl>(*RD)) {
1116 if (LookupResult::isVisible(ND))
1117 return ND;
1317 NamespaceDecl *ND local
1333 NamespaceDecl *ND = Queue.back(); local
2821 add(NamedDecl *ND) argument
2844 checkHidden(NamedDecl *ND) argument
3255 FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, bool InBaseClass) argument
3293 addName(StringRef Name, NamedDecl *ND, unsigned Distance, NestedNameSpecifier *NNS, bool isKeyword) argument
3443 NamespaceDecl *ND = dyn_cast_or_null<NamespaceDecl>(DC); local
3469 AddNamespace(NamespaceDecl *ND) argument
3503 NamespaceDecl *ND = dyn_cast_or_null<NamespaceDecl>(*C); local
[all...]
H A DSemaTemplateVariadic.cpp517 getDepthAndIndex(NamedDecl *ND) { argument
518 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND))
521 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
524 TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(ND);
552 NamedDecl *ND = i->first.get<NamedDecl *>(); local
553 if (isa<ParmVarDecl>(ND))
556 llvm::tie(Depth, Index) = getDepthAndIndex(ND);
558 Name = ND->getIdentifier();
653 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); local
654 if (isa<ParmVarDecl>(ND)) {
778 NamedDecl *ND = candidate.getCorrectionDecl(); local
[all...]
H A DCodeCompleteConsumer.cpp271 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); local
272 if (!ND)
288 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) {
289 if (ND->getIdentifier())
388 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); local
389 if (!ND)
H A DSema.cpp394 NamedDecl *ND = I->first; local
397 if (ND->isInvalidDecl()) continue;
400 if (ND->hasAttr<WeakRefAttr>()) continue;
402 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) {
409 if (cast<VarDecl>(ND)->hasDefinition() != VarDecl::DeclarationOnly)
411 if (ND->hasExternalLinkage())
415 Undefined.push_back(std::make_pair(ND, I->second));
436 NamedDecl *ND = I->first; local
438 if (ND->getLinkage() != ExternalLinkage) {
439 S.Diag(ND
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclFriend.h136 if (NamedDecl *ND = getFriendDecl()) {
137 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND))
139 if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(ND)) {
143 return SourceRange(getFriendLoc(), ND->getLocEnd());
H A DDeclContextInternals.h73 void setOnlyValue(NamedDecl *ND) { argument
75 Data = ND;
78 assert(*(NamedDecl **)&Data == ND &&
/freebsd-10.0-release/sys/netpfil/ipfw/
H A Ddn_sched_rr.c206 ND("called");
221 ND("called");
230 ND("called");
255 ND("called, q->quantum %d", q->quantum);
271 ND("called");
/freebsd-10.0-release/usr.sbin/ndp/
H A Dndp.c931 #define ND nd.ndi macro
932 newflags = ND.flags;
983 SETVALUE("basereachable", ND.basereachable);
984 SETVALUE("retrans", ND.retrans);
985 SETVALUE("curhlim", ND.chlim);
987 ND.flags = newflags;
996 if (!ND.initialized) {
1005 printf("linkmtu=%d", ND.linkmtu);
1006 printf(", maxmtu=%d", ND.maxmtu);
1007 printf(", curhlim=%d", ND
1062 #undef ND macro
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DASTMerge.cpp64 if (NamedDecl *ND = dyn_cast<NamedDecl>(*D))
65 if (IdentifierInfo *II = ND->getIdentifier())
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp98 const NamedDecl *ND = cast<NamedDecl>(D); local
99 output << *ND; local
H A DLLVMConventionsChecker.cpp42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); local
43 if (!ND)
45 const IdentifierInfo *II = ND->getIdentifier();
48 return isa<TranslationUnitDecl>(ND->getDeclContext());
H A DObjCSelfInitChecker.cpp52 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND);
389 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND) { argument
390 if (!ND)
393 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND);
/freebsd-10.0-release/sys/netinet6/
H A Dnd6.c99 /* preventing too many loops in ND option parsing */
100 static VNET_DEFINE(int, nd6_maxndopt) = 10; /* max # of ND options allowed */
105 * ND entries */
218 * Reset ND level link MTU. This function is called when the physical MTU
219 * changes, which means we might have to adjust the ND level MTU.
284 * Take one ND option.
332 * Parse multiple ND options.
333 * This function is much easier to use, for ND routines that do not need
1318 #define ND ndi->ndi macro
1320 bzero(&ND, sizeo
1452 #undef ND macro
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Support/
H A DBlkExprDeclBitVector.h120 operator()(const NamedDecl *ND, const AnalysisDataTy& AD) { argument
121 return getBit(AD.getIdx(ND));
124 bool operator()(const NamedDecl *ND, const AnalysisDataTy& AD) const { argument
125 return getBit(AD.getIdx(ND));
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DCallGraph.cpp209 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD))
210 return ND->printName(os);
230 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl()))
231 return ND->getNameAsString();
/freebsd-10.0-release/sys/netpfil/ipfw/test/
H A Dmylist.h44 ND("called on %p", entry);
H A Dmain.c105 ND("q %p id %d current length %d", q, m->flow_id, i);
163 ND("loop %d enqueue fail", i );
165 ND("enqueue ok");
551 ND(1, "state %d pending %2d", c->state, c->pending);
569 ND(1, "backlog %d p %p prev %p next %p", i, h, h->prev, h->next);
575 ND(2, "backlog %d empty", i);
578 ND(1, "before %d p %p prev %p next %p", i+1, h+1, h[1].prev, h[1].next);
580 ND(1, " after %d p %p prev %p next %p", i+1, h+1, h[1].prev, h[1].next);
582 ND(2, "backlog %d full", i+1);
620 ND(
[all...]
/freebsd-10.0-release/sys/dev/netmap/
H A Dnetmap.c344 ND("--- prefix is '%.*s' ---", namelen, name);
357 ND("found '%.*s' at %d", namelen, name, i);
628 ND("want to disconnect %s from the bridge", ifp->if_xname);
656 ND("marking bridge %d as free", b - nm_bridges);
735 ND("ready to release memory for %p", handle);
753 ND("cdev %p foff %jd size %jd objp %p prot %d", cdev,
757 ND("returns obj %p", obj);
761 ND("initialize cdev_pager_ops");
802 ND(5, "handling fault at ofs 0x%x", offset);
809 ND("reques
[all...]

Completed in 316 milliseconds

1234