Home
last modified time | relevance | path

Searched refs:NameInfo (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium/chrome/browser/autofill/
Dcontact_info.cc29 NameInfo::NameInfo() {} in NameInfo() function in NameInfo
31 NameInfo::NameInfo(const NameInfo& info) : FormGroup() { in NameInfo() function in NameInfo
35 NameInfo::~NameInfo() {} in ~NameInfo()
37 NameInfo& NameInfo::operator=(const NameInfo& info) { in operator =()
50 void NameInfo::GetPossibleFieldTypes(const string16& text, in GetPossibleFieldTypes()
70 void NameInfo::GetAvailableFieldTypes(FieldTypeSet* available_types) const { in GetAvailableFieldTypes()
89 string16 NameInfo::GetInfo(AutofillFieldType type) const { in GetInfo()
108 void NameInfo::SetInfo(AutofillFieldType type, const string16& value) { in SetInfo()
122 string16 NameInfo::FullName() const { in FullName()
138 string16 NameInfo::MiddleInitial() const { in MiddleInitial()
[all …]
Dcontact_info.h17 class NameInfo : public FormGroup {
19 NameInfo();
20 NameInfo(const NameInfo& info);
21 virtual ~NameInfo();
23 NameInfo& operator=(const NameInfo& info);
Dcontact_info_unittest.cc15 NameInfo name; in TEST()
Dautofill_profile.h168 std::vector<NameInfo> name_;
/external/clang/include/clang/Sema/
DLookup.h129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo,
136 NameInfo(NameInfo), in ResultKind()
156 NameInfo(Name, NameLoc), in ResultKind()
174 NameInfo(Other.NameInfo), in LookupResult()
189 return NameInfo; in getLookupNameInfo()
193 void setLookupNameInfo(const DeclarationNameInfo &NameInfo) { in setLookupNameInfo() argument
194 this->NameInfo = NameInfo; in setLookupNameInfo()
199 return NameInfo.getName(); in getLookupName()
204 NameInfo.setName(Name); in setLookupName()
517 return NameInfo.getLoc(); in getNameLoc()
[all …]
DSema.h1946 const DeclarationNameInfo &NameInfo,
2807 DeclarationNameInfo &NameInfo,
2821 const DeclarationNameInfo &NameInfo,
2831 const DeclarationNameInfo &NameInfo,
2853 const DeclarationNameInfo &NameInfo);
2856 const DeclarationNameInfo &NameInfo,
2863 const DeclarationNameInfo &NameInfo,
2945 const DeclarationNameInfo &NameInfo,
2986 const DeclarationNameInfo &NameInfo,
3151 DeclarationNameInfo NameInfo,
[all …]
/external/clang/include/clang/AST/
DStmtCXX.h238 DeclarationNameInfo NameInfo; variable
247 DeclarationNameInfo NameInfo, in MSDependentExistsStmt() argument
251 QualifierLoc(QualifierLoc), NameInfo(NameInfo), in MSDependentExistsStmt()
270 DeclarationNameInfo getNameInfo() const { return NameInfo; } in getNameInfo()
DDeclCXX.h1525 const DeclarationNameInfo &NameInfo,
1529 : FunctionDecl(DK, RD, StartLoc, NameInfo, T, TInfo,
1539 const DeclarationNameInfo &NameInfo,
1954 const DeclarationNameInfo &NameInfo,
1958 : CXXMethodDecl(CXXConstructor, RD, StartLoc, NameInfo, T, TInfo, false,
1969 const DeclarationNameInfo &NameInfo,
2175 const DeclarationNameInfo &NameInfo,
2178 : CXXMethodDecl(CXXDestructor, RD, StartLoc, NameInfo, T, TInfo, false,
2187 const DeclarationNameInfo &NameInfo,
2242 const DeclarationNameInfo &NameInfo,
[all …]
DExprCXX.h2263 DeclarationNameInfo NameInfo; variable
2291 const DeclarationNameInfo &NameInfo,
2354 const DeclarationNameInfo &getNameInfo() const { return NameInfo; } in getNameInfo()
2357 DeclarationName getName() const { return NameInfo.getName(); } in getName()
2360 SourceLocation getNameLoc() const { return NameInfo.getLoc(); } in getNameLoc()
2478 const DeclarationNameInfo &NameInfo, in UnresolvedLookupExpr() argument
2484 NameInfo, TemplateArgs, Begin, End, false, false, false), in UnresolvedLookupExpr()
2502 const DeclarationNameInfo &NameInfo,
2510 SourceLocation(), NameInfo,
2519 const DeclarationNameInfo &NameInfo,
[all …]
DDecl.h1551 const DeclarationNameInfo &NameInfo, in FunctionDecl() argument
1555 : DeclaratorDecl(DK, DC, NameInfo.getLoc(), NameInfo.getName(), T, TInfo, in FunctionDecl()
1565 IsConstexpr(isConstexprSpecified), EndRangeLoc(NameInfo.getEndLoc()), in FunctionDecl()
1567 DNLoc(NameInfo.getInfo()) {} in FunctionDecl()
1594 DeclarationNameInfo NameInfo(N, NLoc);
1595 return FunctionDecl::Create(C, DC, StartLoc, NameInfo, T, TInfo,
1603 const DeclarationNameInfo &NameInfo,
DRecursiveASTVisitor.h204 bool TraverseDeclarationNameInfo(DeclarationNameInfo NameInfo);
684 DeclarationNameInfo NameInfo) { in TraverseDeclarationNameInfo() argument
685 switch (NameInfo.getName().getNameKind()) { in TraverseDeclarationNameInfo()
689 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in TraverseDeclarationNameInfo()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp297 bool Sema::DiagnoseUnexpandedParameterPack(const DeclarationNameInfo &NameInfo, in DiagnoseUnexpandedParameterPack() argument
302 switch (NameInfo.getName().getNameKind()) { in DiagnoseUnexpandedParameterPack()
316 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in DiagnoseUnexpandedParameterPack()
317 return DiagnoseUnexpandedParameterPack(NameInfo.getLoc(), TSInfo, UPPC); in DiagnoseUnexpandedParameterPack()
319 if (!NameInfo.getName().getCXXNameType()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
327 .TraverseType(NameInfo.getName().getCXXNameType()); in DiagnoseUnexpandedParameterPack()
329 return DiagnoseUnexpandedParameterPacks(NameInfo.getLoc(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
392 void Sema::collectUnexpandedParameterPacks(const DeclarationNameInfo &NameInfo, in collectUnexpandedParameterPacks() argument
395 .TraverseDeclarationNameInfo(NameInfo); in collectUnexpandedParameterPacks()
DSemaExprMember.cpp442 const DeclarationNameInfo &NameInfo, in ActOnDependentMemberExpr() argument
459 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr()
465 NameInfo.getName().isDependentName() || in ActOnDependentMemberExpr()
475 NameInfo, TemplateArgs)); in ActOnDependentMemberExpr()
641 const DeclarationNameInfo &NameInfo, in BuildMemberReferenceExpr() argument
648 NameInfo, TemplateArgs); in BuildMemberReferenceExpr()
650 LookupResult R(*this, NameInfo, LookupMemberName); in BuildMemberReferenceExpr()
1526 DeclarationNameInfo NameInfo; in ActOnMemberAccessExpr() local
1529 NameInfo, TemplateArgs); in ActOnMemberAccessExpr()
1531 DeclarationName Name = NameInfo.getName(); in ActOnMemberAccessExpr()
[all …]
DSemaDecl.cpp593 DeclarationNameInfo NameInfo(Name, NameLoc); in ClassifyName() local
744 NameInfo, IsAddressOfOperand, in ClassifyName()
3239 DeclarationNameInfo NameInfo; in GetNameFromUnqualifiedId() local
3240 NameInfo.setLoc(Name.StartLocation); in GetNameFromUnqualifiedId()
3246 NameInfo.setName(Name.Identifier); in GetNameFromUnqualifiedId()
3247 NameInfo.setLoc(Name.StartLocation); in GetNameFromUnqualifiedId()
3248 return NameInfo; in GetNameFromUnqualifiedId()
3251 NameInfo.setName(Context.DeclarationNames.getCXXOperatorName( in GetNameFromUnqualifiedId()
3253 NameInfo.setLoc(Name.StartLocation); in GetNameFromUnqualifiedId()
3254 NameInfo.getInfo().CXXOperatorName.BeginOpNameLoc in GetNameFromUnqualifiedId()
[all …]
DTreeTransform.h425 TransformDeclarationNameInfo(const DeclarationNameInfo &NameInfo);
1343 DeclarationNameInfo NameInfo, in RebuildMSDependentExistsStmt() argument
1346 QualifierLoc, NameInfo, Nested); in RebuildMSDependentExistsStmt()
1392 const DeclarationNameInfo &NameInfo, in RebuildDeclRefExpr() argument
1399 return getSema().BuildDeclarationNameExpr(SS, NameInfo, VD); in RebuildDeclRefExpr()
1614 DeclarationNameInfo NameInfo(&Accessor, AccessorLoc); in RebuildExtVectorElementExpr()
1619 NameInfo, in RebuildExtVectorElementExpr()
2074 const DeclarationNameInfo &NameInfo, in RebuildDependentScopeDeclRefExpr() argument
2081 NameInfo, TemplateArgs); in RebuildDependentScopeDeclRefExpr()
2083 return getSema().BuildQualifiedDeclarationNameExpr(SS, NameInfo); in RebuildDependentScopeDeclRefExpr()
[all …]
DSemaTemplateInstantiateDecl.cpp1419 DeclarationNameInfo NameInfo in VisitCXXMethodDecl() local
1423 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
1429 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
1434 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
1441 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
1511 LookupResult Previous(SemaRef, NameInfo, Sema::LookupOrdinaryName, in VisitCXXMethodDecl()
1937 DeclarationNameInfo NameInfo = D->getNameInfo(); in VisitUsingDecl() local
1944 LookupResult Prev(SemaRef, NameInfo, Sema::LookupUsingDeclName, in VisitUsingDecl()
1950 NameInfo, in VisitUsingDecl()
1980 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) { in VisitUsingDecl()
[all …]
DSemaTemplate.cpp409 const DeclarationNameInfo &NameInfo, in ActOnDependentIdExpression() argument
430 NameInfo, in ActOnDependentIdExpression()
434 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression()
440 const DeclarationNameInfo &NameInfo, in BuildDependentDeclRefExpr() argument
445 NameInfo, in BuildDependentDeclRefExpr()
2311 const DeclarationNameInfo &NameInfo, in BuildQualifiedTemplateIdExpr() argument
2318 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in BuildQualifiedTemplateIdExpr()
2321 LookupResult R(*this, NameInfo, LookupOrdinaryName); in BuildQualifiedTemplateIdExpr()
2329 Diag(NameInfo.getLoc(), diag::err_template_kw_refers_to_non_template) in BuildQualifiedTemplateIdExpr()
2330 << NameInfo.getName() << SS.getRange(); in BuildQualifiedTemplateIdExpr()
[all …]
DSemaDeclCXX.cpp1500 DeclarationNameInfo NameInfo = GetNameForDeclarator(D); in ActOnCXXMemberDeclarator() local
1501 DeclarationName Name = NameInfo.getName(); in ActOnCXXMemberDeclarator()
1502 SourceLocation Loc = NameInfo.getLoc(); in ActOnCXXMemberDeclarator()
6138 const DeclarationNameInfo &NameInfo, in BuildUsingDeclaration() argument
6144 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration()
6155 LookupResult Previous(*this, NameInfo, LookupUsingDeclName, in BuildUsingDeclaration()
6192 IdentLoc, NameInfo.getName()); in BuildUsingDeclaration()
6195 QualifierLoc, NameInfo); in BuildUsingDeclaration()
6199 NameInfo, IsTypeName); in BuildUsingDeclaration()
6213 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) { in BuildUsingDeclaration()
[all …]
DSemaExpr.cpp1377 DeclarationNameInfo NameInfo(D->getDeclName(), Loc); in BuildDeclRefExpr() local
1378 return BuildDeclRefExpr(D, Ty, VK, NameInfo, SS); in BuildDeclRefExpr()
1385 const DeclarationNameInfo &NameInfo, in BuildDeclRefExpr() argument
1393 Diag(NameInfo.getLoc(), diag::err_ref_bad_target) in BuildDeclRefExpr()
1410 NameInfo, Ty, VK); in BuildDeclRefExpr()
1434 DeclarationNameInfo &NameInfo, in DecomposeUnqualifiedId() argument
1446 NameInfo = Context.getNameForTemplate(TName, TNameLoc); in DecomposeUnqualifiedId()
1449 NameInfo = GetNameFromUnqualifiedId(Id); in DecomposeUnqualifiedId()
1686 DeclarationNameInfo NameInfo; in ActOnIdExpression() local
1688 DecomposeUnqualifiedId(Id, TemplateArgsBuffer, NameInfo, TemplateArgs); in ActOnIdExpression()
[all …]
DSemaTemplateInstantiate.cpp2519 Sema::SubstDeclarationNameInfo(const DeclarationNameInfo &NameInfo, in SubstDeclarationNameInfo() argument
2521 TemplateInstantiator Instantiator(*this, TemplateArgs, NameInfo.getLoc(), in SubstDeclarationNameInfo()
2522 NameInfo.getName()); in SubstDeclarationNameInfo()
2523 return Instantiator.TransformDeclarationNameInfo(NameInfo); in SubstDeclarationNameInfo()
/external/clang/lib/AST/
DExprCXX.cpp217 const DeclarationNameInfo &NameInfo, in Create() argument
228 TemplateKWLoc, NameInfo, in Create()
250 const DeclarationNameInfo &NameInfo, in OverloadExpr() argument
260 NameInfo.isInstantiationDependent() || in OverloadExpr()
264 NameInfo.containsUnexpandedParameterPack() || in OverloadExpr()
268 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 …]
DDeclCXX.cpp1344 const DeclarationNameInfo &NameInfo, in Create() argument
1348 return new (C) CXXMethodDecl(CXXMethod, RD, StartLoc, NameInfo, T, TInfo, in Create()
1620 const DeclarationNameInfo &NameInfo, in Create() argument
1624 assert(NameInfo.getName().getNameKind() in Create()
1627 return new (C) CXXConstructorDecl(RD, StartLoc, NameInfo, T, TInfo, in Create()
1770 const DeclarationNameInfo &NameInfo, in Create() argument
1773 assert(NameInfo.getName().getNameKind() in Create()
1776 return new (C) CXXDestructorDecl(RD, StartLoc, NameInfo, T, TInfo, isInline, in Create()
1793 const DeclarationNameInfo &NameInfo, in Create() argument
1797 assert(NameInfo.getName().getNameKind() in Create()
[all …]
/external/clang/tools/libclang/
DRecursiveASTVisitor.h197 bool TraverseDeclarationNameInfo(DeclarationNameInfo NameInfo);
620 DeclarationNameInfo NameInfo) { in TraverseDeclarationNameInfo() argument
621 switch (NameInfo.getName().getNameKind()) { in TraverseDeclarationNameInfo()
625 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in TraverseDeclarationNameInfo()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp65 void ReadDeclarationNameInfo(DeclarationNameInfo &NameInfo, in ReadDeclarationNameInfo() argument
67 Reader.ReadDeclarationNameInfo(F, NameInfo, R, I); in ReadDeclarationNameInfo()
1081 ReadDeclarationNameInfo(S->NameInfo, Record, Idx); in VisitMSDependentExistsStmt()
1322 ReadDeclarationNameInfo(E->NameInfo, Record, Idx); in VisitDependentScopeDeclRefExpr()
1353 ReadDeclarationNameInfo(E->NameInfo, Record, Idx); in VisitOverloadExpr()
/external/clang/include/clang/Serialization/
DASTWriter.h576 void AddDeclarationNameInfo(const DeclarationNameInfo &NameInfo,

12