/external/clang/include/clang/Sema/ |
D | Lookup.h | 129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, 136 NameInfo(NameInfo), in ResultKind() 158 NameInfo(Name, NameLoc), in ResultKind() 178 NameInfo(Other.NameInfo), in LookupResult() 199 SemaPtr(std::move(Other.SemaPtr)), NameInfo(std::move(Other.NameInfo)), in LookupResult() 217 NameInfo = std::move(Other.NameInfo); 238 return NameInfo; in getLookupNameInfo() 242 void setLookupNameInfo(const DeclarationNameInfo &NameInfo) { in setLookupNameInfo() argument 243 this->NameInfo = NameInfo; in setLookupNameInfo() 248 return NameInfo.getName(); in getLookupName() [all …]
|
D | Sema.h | 2612 const DeclarationNameInfo &NameInfo, 3777 DeclarationNameInfo &NameInfo, 3792 const DeclarationNameInfo &NameInfo, 3802 const DeclarationNameInfo &NameInfo, 3832 const DeclarationNameInfo &NameInfo, 3838 const DeclarationNameInfo &NameInfo, 3846 const CXXScopeSpec &SS, const DeclarationNameInfo &NameInfo, NamedDecl *D, 3949 NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, 3975 const DeclarationNameInfo &NameInfo, 4144 DeclarationNameInfo NameInfo, [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneGenericNames.java | 119 private transient TextTrieMap<NameInfo> _gnamesTrie; 154 _gnamesTrie = new TextTrieMap<NameInfo>(true); in init() 264 NameInfo info = new NameInfo(canonicalTzID, GenericNameType.LOCATION); in getGenericLocationName() 573 NameInfo info = new NameInfo(tzID.intern(), in getPartialLocationName() 586 private static class NameInfo { class in TimeZoneGenericNames 590 NameInfo(String tzID, GenericNameType type) { in NameInfo() method in TimeZoneGenericNames.NameInfo 638 private static class GenericNameSearchHandler implements ResultHandler<NameInfo> { 651 public boolean handlePrefixMatch(int matchLength, Iterator<NameInfo> values) { in handlePrefixMatch() 653 NameInfo info = values.next(); in handlePrefixMatch()
|
D | TimeZoneNamesImpl.java | 61 private transient TextTrieMap<NameInfo> _namesTrie; 428 _namesTrie = new TextTrieMap<NameInfo>(true); in initialize() 510 private static class NameInfo { class in TimeZoneNamesImpl 519 private static class NameSearchHandler implements ResultHandler<NameInfo> { 532 public boolean handlePrefixMatch(int matchLength, Iterator<NameInfo> values) { in handlePrefixMatch() 534 NameInfo ninfo = values.next(); in handlePrefixMatch() 796 public void addAsMetaZoneIntoTrie(String mzID, TextTrieMap<NameInfo> trie) { 800 public void addAsTimeZoneIntoTrie(String tzID, TextTrieMap<NameInfo> trie) { 804 private void addNamesIntoTrie(String mzID, String tzID, TextTrieMap<NameInfo> trie) { 813 NameInfo info = new NameInfo();
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | TimeZoneGenericNames.java | 123 private transient TextTrieMap<NameInfo> _gnamesTrie; 158 _gnamesTrie = new TextTrieMap<NameInfo>(true); in init() 268 NameInfo info = new NameInfo(canonicalTzID, GenericNameType.LOCATION); in getGenericLocationName() 577 NameInfo info = new NameInfo(tzID.intern(), in getPartialLocationName() 590 private static class NameInfo { class in TimeZoneGenericNames 594 NameInfo(String tzID, GenericNameType type) { in NameInfo() method in TimeZoneGenericNames.NameInfo 643 private static class GenericNameSearchHandler implements ResultHandler<NameInfo> { 656 public boolean handlePrefixMatch(int matchLength, Iterator<NameInfo> values) { in handlePrefixMatch() 658 NameInfo info = values.next(); in handlePrefixMatch()
|
D | TimeZoneNamesImpl.java | 63 private transient TextTrieMap<NameInfo> _namesTrie; 430 _namesTrie = new TextTrieMap<NameInfo>(true); in initialize() 512 private static class NameInfo { class in TimeZoneNamesImpl 521 private static class NameSearchHandler implements ResultHandler<NameInfo> { 534 public boolean handlePrefixMatch(int matchLength, Iterator<NameInfo> values) { in handlePrefixMatch() 536 NameInfo ninfo = values.next(); in handlePrefixMatch() 798 public void addAsMetaZoneIntoTrie(String mzID, TextTrieMap<NameInfo> trie) { 802 public void addAsTimeZoneIntoTrie(String tzID, TextTrieMap<NameInfo> trie) { 806 private void addNamesIntoTrie(String mzID, String tzID, TextTrieMap<NameInfo> trie) { 815 NameInfo info = new NameInfo();
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 1740 SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, in CXXMethodDecl() argument 1744 : FunctionDecl(DK, C, RD, StartLoc, NameInfo, T, TInfo, in CXXMethodDecl() 1753 const DeclarationNameInfo &NameInfo, 2208 const DeclarationNameInfo &NameInfo, in CXXConstructorDecl() argument 2213 : CXXMethodDecl(CXXConstructor, C, RD, StartLoc, NameInfo, T, TInfo, in CXXConstructorDecl() 2228 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, 2420 const DeclarationNameInfo &NameInfo, in CXXDestructorDecl() argument 2423 : CXXMethodDecl(CXXDestructor, C, RD, StartLoc, NameInfo, T, TInfo, in CXXDestructorDecl() 2432 const DeclarationNameInfo &NameInfo, 2469 const DeclarationNameInfo &NameInfo, in CXXConversionDecl() argument [all …]
|
D | StmtCXX.h | 244 DeclarationNameInfo NameInfo; variable 253 DeclarationNameInfo NameInfo, in MSDependentExistsStmt() argument 257 QualifierLoc(QualifierLoc), NameInfo(NameInfo), in MSDependentExistsStmt() 276 DeclarationNameInfo getNameInfo() const { return NameInfo; } in getNameInfo()
|
D | ExprCXX.h | 2485 DeclarationNameInfo NameInfo; variable 2518 const DeclarationNameInfo &NameInfo, 2584 const DeclarationNameInfo &getNameInfo() const { return NameInfo; } in getNameInfo() 2587 DeclarationName getName() const { return NameInfo.getName(); } in getName() 2590 SourceLocation getNameLoc() const { return NameInfo.getLoc(); } in getNameLoc() 2699 const DeclarationNameInfo &NameInfo, in UnresolvedLookupExpr() argument 2704 NameInfo, TemplateArgs, Begin, End, false, false, false), in UnresolvedLookupExpr() 2722 const DeclarationNameInfo &NameInfo, in Create() argument 2727 SourceLocation(), NameInfo, in Create() 2735 const DeclarationNameInfo &NameInfo, [all …]
|
D | Decl.h | 1679 const DeclarationNameInfo &NameInfo, in FunctionDecl() argument 1683 : DeclaratorDecl(DK, DC, NameInfo.getLoc(), NameInfo.getName(), T, TInfo, in FunctionDecl() 1695 HasSkippedBody(false), EndRangeLoc(NameInfo.getEndLoc()), in FunctionDecl() 1697 DNLoc(NameInfo.getInfo()) {} in FunctionDecl() 1728 DeclarationNameInfo NameInfo(N, NLoc); 1729 return FunctionDecl::Create(C, DC, StartLoc, NameInfo, T, TInfo, 1737 const DeclarationNameInfo &NameInfo,
|
D | OpenMPClause.h | 1678 DeclarationNameInfo NameInfo; variable 1693 const DeclarationNameInfo &NameInfo) in OMPReductionClause() argument 1697 QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPReductionClause() 1707 OMPClauseWithPostUpdate(this), ColonLoc(), QualifierLoc(), NameInfo() {} in OMPReductionClause() 1712 void setNameInfo(DeclarationNameInfo DNI) { NameInfo = DNI; } in setNameInfo() 1809 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, 1822 const DeclarationNameInfo &getNameInfo() const { return NameInfo; } in getNameInfo()
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 311 bool Sema::DiagnoseUnexpandedParameterPack(const DeclarationNameInfo &NameInfo, in DiagnoseUnexpandedParameterPack() argument 316 switch (NameInfo.getName().getNameKind()) { in DiagnoseUnexpandedParameterPack() 330 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in DiagnoseUnexpandedParameterPack() 331 return DiagnoseUnexpandedParameterPack(NameInfo.getLoc(), TSInfo, UPPC); in DiagnoseUnexpandedParameterPack() 333 if (!NameInfo.getName().getCXXNameType()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack() 341 .TraverseType(NameInfo.getName().getCXXNameType()); in DiagnoseUnexpandedParameterPack() 343 return DiagnoseUnexpandedParameterPacks(NameInfo.getLoc(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack() 406 void Sema::collectUnexpandedParameterPacks(const DeclarationNameInfo &NameInfo, in collectUnexpandedParameterPacks() argument 409 .TraverseDeclarationNameInfo(NameInfo); in collectUnexpandedParameterPacks()
|
D | SemaExprMember.cpp | 462 const DeclarationNameInfo &NameInfo, in ActOnDependentMemberExpr() argument 479 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr() 485 NameInfo.getName().isDependentName() || in ActOnDependentMemberExpr() 493 NameInfo, TemplateArgs); in ActOnDependentMemberExpr() 669 DeclarationNameInfo NameInfo; in LookupMemberExprInRecord() member 694 LookupResult R(Q.SemaRef, Q.NameInfo, Q.LookupKind, Q.Redecl); in LookupMemberExprInRecord() 721 const DeclarationNameInfo &NameInfo, in BuildMemberReferenceExpr() argument 730 NameInfo, TemplateArgs); in BuildMemberReferenceExpr() 732 LookupResult R(*this, NameInfo, LookupMemberName); in BuildMemberReferenceExpr() 898 const DeclarationNameInfo &NameInfo) { in BuildMSPropertyRefExpr() argument [all …]
|
D | TreeTransform.h | 478 TransformDeclarationNameInfo(const DeclarationNameInfo &NameInfo); 1931 DeclarationNameInfo NameInfo, in RebuildMSDependentExistsStmt() argument 1934 QualifierLoc, NameInfo, Nested); in RebuildMSDependentExistsStmt() 1985 const DeclarationNameInfo &NameInfo, in RebuildDeclRefExpr() argument 1992 return getSema().BuildDeclarationNameExpr(SS, NameInfo, VD); in RebuildDeclRefExpr() 2217 DeclarationNameInfo NameInfo(&Accessor, AccessorLoc); in RebuildExtVectorElementExpr() 2222 NameInfo, in RebuildExtVectorElementExpr() 2660 const DeclarationNameInfo &NameInfo, in RebuildDependentScopeDeclRefExpr() argument 2668 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, NameInfo, in RebuildDependentScopeDeclRefExpr() 2672 SS, NameInfo, IsAddressOfOperand, /*S*/nullptr, RecoveryTSI); in RebuildDependentScopeDeclRefExpr() [all …]
|
D | SemaStmtAsm.cpp | 680 DeclarationNameInfo NameInfo; in LookupInlineAsmVarDeclField() local 681 NameInfo.setLoc(AsmLoc); in LookupInlineAsmVarDeclField() 682 NameInfo.setName(&Context.Idents.get(Member)); in LookupInlineAsmVarDeclField() 686 /*FirstQualifierInScope=*/nullptr, NameInfo, /*TemplateArgs=*/nullptr); in LookupInlineAsmVarDeclField()
|
D | SemaTemplate.cpp | 413 const DeclarationNameInfo &NameInfo, in ActOnDependentIdExpression() argument 443 FirstQualifierInScope, NameInfo, TemplateArgs); in ActOnDependentIdExpression() 446 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression() 452 const DeclarationNameInfo &NameInfo, in BuildDependentDeclRefExpr() argument 455 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in BuildDependentDeclRefExpr() 2914 const DeclarationNameInfo &NameInfo, in CheckVarTemplateId() argument 2918 DeclResult Decl = CheckVarTemplateId(Template, TemplateLoc, NameInfo.getLoc(), in CheckVarTemplateId() 2926 NameInfo.getLoc()); in CheckVarTemplateId() 2929 return BuildDeclarationNameExpr(SS, NameInfo, Var, in CheckVarTemplateId() 2980 const DeclarationNameInfo &NameInfo, in BuildQualifiedTemplateIdExpr() argument [all …]
|
D | SemaDecl.cpp | 779 DeclarationNameInfo NameInfo(Name, NameLoc); in ClassifyName() local 933 NameInfo, IsAddressOfOperand, in ClassifyName() 4568 DeclarationNameInfo NameInfo; in GetNameFromUnqualifiedId() local 4569 NameInfo.setLoc(Name.StartLocation); in GetNameFromUnqualifiedId() 4575 NameInfo.setName(Name.Identifier); in GetNameFromUnqualifiedId() 4576 NameInfo.setLoc(Name.StartLocation); in GetNameFromUnqualifiedId() 4577 return NameInfo; in GetNameFromUnqualifiedId() 4580 NameInfo.setName(Context.DeclarationNames.getCXXOperatorName( in GetNameFromUnqualifiedId() 4582 NameInfo.setLoc(Name.StartLocation); in GetNameFromUnqualifiedId() 4583 NameInfo.getInfo().CXXOperatorName.BeginOpNameLoc in GetNameFromUnqualifiedId() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1837 DeclarationNameInfo NameInfo in VisitCXXMethodDecl() local 1841 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl() 1847 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl() 1852 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl() 1860 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl() 1929 LookupResult Previous(SemaRef, NameInfo, Sema::LookupOrdinaryName, in VisitCXXMethodDecl() 2367 DeclarationNameInfo NameInfo = D->getNameInfo(); in VisitUsingDecl() local 2368 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) in VisitUsingDecl() 2370 NameInfo.setName(SemaRef.Context.DeclarationNames.getCXXConstructorName( in VisitUsingDecl() 2378 LookupResult Prev(SemaRef, NameInfo, Sema::LookupUsingDeclName, in VisitUsingDecl() [all …]
|
D | SemaDeclCXX.cpp | 2010 DeclarationNameInfo NameInfo = GetNameForDeclarator(D); in ActOnCXXMemberDeclarator() local 2011 DeclarationName Name = NameInfo.getName(); in ActOnCXXMemberDeclarator() 2012 SourceLocation Loc = NameInfo.getLoc(); in ActOnCXXMemberDeclarator() 8235 DeclarationNameInfo NameInfo, in BuildUsingDeclaration() argument 8241 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() 8254 DeclarationNameInfo UsingName = NameInfo; in BuildUsingDeclaration() 8294 if (CheckUsingDeclQualifier(UsingLoc, SS, NameInfo, IdentLoc)) in BuildUsingDeclaration() 8306 IdentLoc, NameInfo.getName()); in BuildUsingDeclaration() 8309 QualifierLoc, NameInfo); in BuildUsingDeclaration() 8332 LookupResult R(*this, NameInfo, LookupOrdinaryName); in BuildUsingDeclaration() [all …]
|
D | SemaCoroutine.cpp | 178 DeclarationNameInfo NameInfo(&S.PP.getIdentifierTable().get(Name), Loc); in buildMemberCall() local 184 SourceLocation(), nullptr, NameInfo, /*TemplateArgs=*/nullptr, in buildMemberCall()
|
D | SemaExpr.cpp | 1727 DeclarationNameInfo NameInfo(D->getDeclName(), Loc); in BuildDeclRefExpr() local 1728 return BuildDeclRefExpr(D, Ty, VK, NameInfo, SS); in BuildDeclRefExpr() 1735 const DeclarationNameInfo &NameInfo, in BuildDeclRefExpr() argument 1742 Diag(NameInfo.getLoc(), diag::err_ref_bad_target) in BuildDeclRefExpr() 1753 NeedToCaptureVariable(cast<VarDecl>(D), NameInfo.getLoc()); in BuildDeclRefExpr() 1763 RefersToCapturedVariable, NameInfo.getLoc(), Ty, VK, in BuildDeclRefExpr() 1771 NameInfo, Ty, VK, FoundD); in BuildDeclRefExpr() 1803 DeclarationNameInfo &NameInfo, in DecomposeUnqualifiedId() argument 1815 NameInfo = Context.getNameForTemplate(TName, TNameLoc); in DecomposeUnqualifiedId() 1818 NameInfo = GetNameFromUnqualifiedId(Id); in DecomposeUnqualifiedId() [all …]
|
D | SemaTemplateInstantiate.cpp | 1207 DeclarationNameInfo NameInfo(PD->getDeclName(), Loc); in RebuildParmVarDeclRefExpr() local 1208 return getSema().BuildDeclarationNameExpr(CXXScopeSpec(), NameInfo, PD); in RebuildParmVarDeclRefExpr() 2719 Sema::SubstDeclarationNameInfo(const DeclarationNameInfo &NameInfo, in SubstDeclarationNameInfo() argument 2721 TemplateInstantiator Instantiator(*this, TemplateArgs, NameInfo.getLoc(), in SubstDeclarationNameInfo() 2722 NameInfo.getName()); in SubstDeclarationNameInfo() 2723 return Instantiator.TransformDeclarationNameInfo(NameInfo); in SubstDeclarationNameInfo()
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 217 const DeclarationNameInfo &NameInfo, in Create() argument 231 TemplateKWLoc, NameInfo, in Create() 253 const DeclarationNameInfo &NameInfo, in OverloadExpr() argument 263 NameInfo.isInstantiationDependent() || in OverloadExpr() 267 NameInfo.containsUnexpandedParameterPack() || in OverloadExpr() 271 NameInfo(NameInfo), QualifierLoc(QualifierLoc), in OverloadExpr() 345 const DeclarationNameInfo &NameInfo, in DependentScopeDeclRefExpr() argument 349 (NameInfo.isInstantiationDependent() || in DependentScopeDeclRefExpr() 352 (NameInfo.containsUnexpandedParameterPack() || in DependentScopeDeclRefExpr() 356 QualifierLoc(QualifierLoc), NameInfo(NameInfo), in DependentScopeDeclRefExpr() [all …]
|
D | DeclCXX.cpp | 1531 const DeclarationNameInfo &NameInfo, in Create() argument 1535 return new (C, RD) CXXMethodDecl(CXXMethod, C, RD, StartLoc, NameInfo, in Create() 1824 const DeclarationNameInfo &NameInfo, in Create() argument 1829 assert(NameInfo.getName().getNameKind() in Create() 1835 C, RD, StartLoc, NameInfo, T, TInfo, isExplicit, isInline, in Create() 1963 const DeclarationNameInfo &NameInfo, in Create() argument 1966 assert(NameInfo.getName().getNameKind() in Create() 1969 return new (C, RD) CXXDestructorDecl(C, RD, StartLoc, NameInfo, T, TInfo, in Create() 1995 const DeclarationNameInfo &NameInfo, in Create() argument 1999 assert(NameInfo.getName().getNameKind() in Create() [all …]
|
/external/clang/lib/Parse/ |
D | ParseOpenMP.cpp | 52 void operator()(CXXScopeSpec &SS, DeclarationNameInfo NameInfo) { in operator ()() argument 54 P->getActions().ActOnOpenMPIdExpression(P->getCurScope(), SS, NameInfo); in operator ()() 647 CXXScopeSpec &SS, DeclarationNameInfo NameInfo) { in ParseOpenMPDeclarativeDirectiveWithExtDecl() argument 648 Actions.ActOnOpenMPDeclareTargetName(getCurScope(), SS, NameInfo, MT, in ParseOpenMPDeclarativeDirectiveWithExtDecl()
|