Home
last modified time | relevance | path

Searched refs:ND (Results 76 – 100 of 207) sorted by relevance

123456789

/freebsd/tools/tools/netmap/
H A Dlb.c414 ND("spec %s num_groups %d", spec, glob_arg.num_groups); in parse_pipes()
539 ND("curmf %2x ts->flags %2x shadow_head %3u head %3u tail %3u", in forward_packet()
609 ND(1, "revoked %d buffers from %s", j, lq->name); in forward_packet()
786 ND("freeq <- %d", s.buf_idx); in main()
924 ND(5, "polling %d file descriptors", polli); in main()
1046 ND(1, in main()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp995 void addDecl(const NamedDecl *ND);
1010 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() argument
1013 const IdentifierInfo *II = ND->getIdentifier(); in addDecl()
1026 BestDecl = ND; in addDecl()
1102 if (const NamedDecl *ND = Corrector.getBestDecl()) { in correctTypoInTParamReference() local
1103 const IdentifierInfo *II = ND->getIdentifier(); in correctTypoInTParamReference()
H A DTemplateBase.cpp516 NamedDecl *ND = getAsDecl(); in print() local
518 if (auto *TPO = dyn_cast<TemplateParamObjectDecl>(ND)) { in print()
524 if (auto *VD = dyn_cast<ValueDecl>(ND)) { in print()
528 ND->printQualifiedName(Out); in print()
H A DODRHash.cpp207 for (auto *ND : TPL->asArray()) { in AddTemplateParameterList() local
208 AddSubDecl(ND); in AddTemplateParameterList()
797 const NamedDecl *ND = dyn_cast<NamedDecl>(D); in AddDecl() local
798 AddBoolean(ND); in AddDecl()
799 if (!ND) { in AddDecl()
804 AddDeclarationName(ND->getDeclName()); in AddDecl()
H A DNestedNameSpecifier.cpp152 NamedDecl *ND = static_cast<NamedDecl *>(Specifier); in getKind() local
153 if (isa<CXXRecordDecl>(ND)) in getKind()
155 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias; in getKind()
H A DTextNodeDumper.cpp265 if (auto *ND = dyn_cast<NamedDecl>(D)) in Visit() local
267 const_cast<NamedDecl *>(ND))) in Visit()
269 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) in Visit() local
270 if (!ND->isUnconditionallyVisible()) in Visit()
728 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { in dumpBareDeclRef() local
730 OS << " '" << ND->getDeclName() << '\''; in dumpBareDeclRef()
737 void TextNodeDumper::dumpName(const NamedDecl *ND) { in dumpName() argument
738 if (ND->getDeclName()) { in dumpName()
740 OS << ' ' << ND->getDeclName(); in dumpName()
H A DDeclCXX.cpp724 if (auto *ND = dyn_cast<NamedDecl>(DUnderlying)) { in addedMember() local
725 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1617 static CXXMethodDecl *getInvokerAsMethod(NamedDecl *ND) { in getInvokerAsMethod() argument
1618 if (const auto *InvokerTemplate = dyn_cast<FunctionTemplateDecl>(ND)) in getInvokerAsMethod()
1620 return cast<CXXMethodDecl>(ND); in getInvokerAsMethod()
1628 for (NamedDecl *ND : Invoker) { in getLambdaStaticInvoker()
1630 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker()
1632 return getInvokerAsMethod(ND); in getLambdaStaticInvoker()
2222 for (auto *ND : RD->lookup(getDeclName())) { in getCorrespondingMethodDeclaredInClass() local
2223 auto *MD = dyn_cast<CXXMethodDecl>(ND); in getCorrespondingMethodDeclaredInClass()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp141 std::string getDeviceSideName(const NamedDecl *ND) override;
271 std::string CGNVCUDARuntime::getDeviceSideName(const NamedDecl *ND) { in getDeviceSideName() argument
274 if (auto *FD = dyn_cast<FunctionDecl>(ND)) in getDeviceSideName()
277 GD = GlobalDecl(ND); in getDeviceSideName()
284 if (MC->shouldMangleDeclName(ND)) { in getDeviceSideName()
290 DeviceSideName = std::string(ND->getIdentifier()->getName()); in getDeviceSideName()
293 if (CGM.getContext().shouldExternalize(ND) && in getDeviceSideName()
298 CGM.printPostfixForExternalizedDecl(Out, ND); in getDeviceSideName()
H A DCGCUDARuntime.h97 virtual std::string getDeviceSideName(const NamedDecl *ND) = 0;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp67 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { in isFunctionLocalSymbol() local
68 switch (ND->getFormalLinkage()) { in isFunctionLocalSymbol()
492 if (auto *ND = dyn_cast<NamedDecl>(D)) { in printSymbolName() local
498 DeclarationName DeclName = ND->getDeclName(); in printSymbolName()
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dgoogle,cros-ec-keyb.yaml93 * 102ND key is not used for US keyboards.
106 /* ] Y 102ND [ */
/freebsd/sys/netpfil/ipfw/test/
H A Ddn_test.h23 #define ND(fmt, args...) do {} while (0) macro
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp698 uint32_t ND = Func.getNumValueDataForSite(VK, S); in validateRecord() local
701 for (uint32_t I = 0; I < ND; I++) in validateRecord()
746 uint32_t ND = Func.getNumValueDataForSite(VK, S); in writeRecordInText() local
747 OS << ND << "\n"; in writeRecordInText()
749 for (uint32_t I = 0; I < ND; I++) { in writeRecordInText()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp217 std::vector<std::string> getUSRsForDeclaration(const NamedDecl *ND, in getUSRsForDeclaration() argument
219 AdditionalUSRFinder Finder(ND, Context); in getUSRsForDeclaration()
/freebsd/tools/test/stress2/misc/
H A Drename11.sh102 for (i = 0; i < ND; i++) {
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp93 bool IsType = isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in ValidateCandidate()
611 if (ND && !ND->isInline() && !ND->isAnonymousNamespace()) in synthesizeCurrentNestedNameSpecifier()
5466 if (!ND || !ND->isPlaceholderVar(getLangOpts())) in DiagPlaceholderFieldDeclDefinitions()
5469 First = ND; in DiagPlaceholderFieldDeclDefinitions()
6813 return ND; in ActOnTypedefDeclarator()
7089 if (isa<FunctionDecl>(ND) || !ND.isExternallyVisible()) { in checkAttributesAfterMerging()
7116 << &ND << Attr; in checkAttributesAfterMerging()
8615 << IsGlobal << ND; in checkGlobalOrExternCConflict()
11571 OldDecl = ND; in CheckMultiVersionAdditionalDecl()
11592 OldDecl = ND; in CheckMultiVersionAdditionalDecl()
[all …]
H A DSemaExprMember.cpp639 NamedDecl *ND = candidate.getCorrectionDecl(); in ValidateCandidate() local
642 if (!ND || !(isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND))) in ValidateCandidate()
646 if (Record->containsDecl(ND)) in ValidateCandidate()
653 if (BSTy->getDecl()->containsDecl(ND)) in ValidateCandidate()
756 for (NamedDecl *ND : TC) in LookupMemberExprInRecord()
757 R.addDecl(ND); in LookupMemberExprInRecord()
H A DSemaConcept.cpp165 SatisfactionStackRAII(Sema &SemaRef, const NamedDecl *ND, in SatisfactionStackRAII()
168 if (ND) { in SatisfactionStackRAII()
169 SemaRef.PushSatisfactionStackEntry(ND, FSNID); in SatisfactionStackRAII()
740 CalculateTemplateDepthForConstraints(Sema &S, const NamedDecl *ND, in CalculateTemplateDepthForConstraints() argument
743 ND, ND->getLexicalDeclContext(), /*Final=*/false, /*Innermost=*/nullptr, in CalculateTemplateDepthForConstraints()
H A DSemaDeclCXX.cpp4391 if (ND->getDeclContext() != ND->getDeclContext()) in DiagRedefinedPlaceholderFieldDecl()
4395 Diag(ND->getLocation(), diag::note_reference_placeholder) << ND; in DiagRedefinedPlaceholderFieldDecl()
4403 ValueDecl *ND = nullptr; in tryLookupUnambiguousFieldDecl() local
4407 if (ND) { in tryLookupUnambiguousFieldDecl()
4417 return ND; in tryLookupUnambiguousFieldDecl()
10386 NamedDecl *ND = *I; in FindHiddenVirtualMethods() local
12116 return isa<NamespaceDecl>(ND) || isa<NamespaceAliasDecl>(ND); in ValidateCandidate()
12734 if (!ND || isa<NamespaceDecl>(ND)) in ValidateCandidate()
12994 if (!ND) in BuildUsingDeclaration()
13024 R.addDecl(ND); in BuildUsingDeclaration()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp277 DefinedSVal SValBuilder::getMemberPointer(const NamedDecl *ND) { in getMemberPointer() argument
278 assert(!ND || (isa<CXXMethodDecl, FieldDecl, IndirectFieldDecl>(ND))); in getMemberPointer()
280 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) { in getMemberPointer()
290 return nonloc::PointerToMember(ND); in getMemberPointer()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp236 if (const auto *ND = dyn_cast<NamespaceDecl>(RD->getDeclContext())) in isKnownSmartPointer() local
237 if (ND->getNameAsString() == "os") in isKnownSmartPointer()
901 static QualType getCallableReturnType(const NamedDecl *ND) { in getCallableReturnType() argument
902 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) { in getCallableReturnType()
904 } else if (const auto *MD = dyn_cast<ObjCMethodDecl>(ND)) { in getCallableReturnType()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp107 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { in DeclRead() local
109 ND->printQualifiedName(llvm::outs()); in DeclRead()
132 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) in DeclRead() local
133 if (NamesToCheck.find(ND->getNameAsString()) != NamesToCheck.end()) { in DeclRead()
138 << ND; in DeclRead()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp221 if (const auto *ND = dyn_cast<NamedDecl>(D)) in dump() local
222 OS << " \"" << ND->getDeclName() << '"'; in dump()
/freebsd/tools/regression/usr.bin/env/
H A Dregress-env.rgdata320 sb_args:-S/bin/sh [%-script.pathname-%] ${A} ${NB} ${C} ${ND} ${NE} ${F} S:
324 setenv:ND=
343 sb_args:-S/bin/sh [%-script.pathname-%] ${A} ${NB} "${NB}" ${NB} ${C} "${ND}" ${NE} ${F} S:
347 setenv:ND=
/freebsd/lib/libc/net/
H A Dprotocols83 sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary

123456789