Home
last modified time | relevance | path

Searched refs:LookupResult (Results 1 – 25 of 61) sorted by relevance

123

/external/turbine/java/com/google/turbine/binder/lookup/
DWildImportIndex.java77 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in onDemandImport()
82 LookupResult result = cpi.lookup(new LookupKey(i.type())); in onDemandImport()
92 public LookupResult lookup(LookupKey lookupKey, ResolveFunction unused) { in onDemandImport()
107 LookupResult result = cpi.lookup(new LookupKey(i.type()));
113 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
123 private static LookupResult resolveMember(
135 return new LookupResult(member, lookupKey);
139 LookupResult result,
156 public LookupResult lookup(LookupKey lookup, ResolveFunction resolve) {
162 LookupResult result = scope.lookup(lookup, resolve);
DImportScope.java40 default ClassSymbol resolve(SourceFile source, int position, LookupResult result) { in resolve()
53 LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve); in lookup()
59 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in append()
60 LookupResult result = next.lookup(lookupKey, resolve); in append()
77 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
88 public LookupResult lookup(LookupKey lookupKey) {
DImportIndex.java103 LookupResult result = cpi.lookup(new LookupKey(i.type())); in namedImport()
111 public LookupResult lookup(LookupKey lookupKey, ResolveFunction unused) { in namedImport()
112 return new LookupResult(sym, lookupKey); in namedImport()
125 LookupResult base = cpi.lookup(new LookupKey(i.type()));
131 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
133 return new LookupResult(result, lookupKey);
139 public LookupResult lookup(LookupKey lookup, ResolveFunction resolve) {
DTopLevelIndex.java130 public LookupResult lookup(LookupKey lookupKey) { in lookup()
138 return new LookupResult(curr.sym, lookupKey); in lookup()
168 public LookupResult lookup(LookupKey lookupKey) { in lookup()
171 return new LookupResult(result.sym, lookupKey); in lookup()
DLookupResult.java31 public class LookupResult { class
46 public LookupResult(Symbol sym, LookupKey remaining) { in LookupResult() method in LookupResult
DCompoundScope.java35 public LookupResult lookup(LookupKey key) { in lookup()
36 LookupResult result = scope.lookup(key); in lookup()
DMemberImportIndex.java55 LookupResult result = tli.lookup(new LookupKey(i.type())); in MemberImportIndex()
66 LookupResult result1 = tli.lookup(new LookupKey(i.type())); in MemberImportIndex()
DScope.java28 LookupResult lookup(LookupKey lookupKey); in lookup()
DCanonicalSymbolResolver.java29 ClassSymbol resolve(SourceFile source, int position, LookupResult result); in resolve()
/external/clang/include/clang/Sema/
DLookup.h30 class LookupResult {
129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo,
151 LookupResult(Sema &SemaRef, DeclarationName Name,
173 LookupResult(TemporaryToken _, const LookupResult &Other) in LookupResult() function
190 LookupResult(const LookupResult &) = delete;
191 LookupResult &operator=(const LookupResult &) = delete;
193 LookupResult(LookupResult &&Other) in LookupResult() function
209 LookupResult &operator=(LookupResult &&Other) {
231 ~LookupResult() { in ~LookupResult()
423 void addAllDecls(const LookupResult &Other) { in addAllDecls()
[all …]
DExternalSemaSource.h33 class LookupResult; variable
98 virtual bool LookupUnqualified(LookupResult &R, Scope *S) { return false; } in LookupUnqualified()
DMultiplexExternalSemaSource.h27 class LookupResult; variable
232 bool LookupUnqualified(LookupResult &R, Scope *S) override;
DSema.h128 class LookupResult; variable
286 bool shouldLinkPossiblyHiddenDecl(LookupResult &Old, const NamedDecl *New);
1688 void CheckShadow(Scope *S, VarDecl *D, const LookupResult& R);
1708 LookupResult &Previous);
1710 LookupResult &Previous, bool &Redeclaration);
1713 LookupResult &Previous,
1717 bool CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous);
1724 LookupResult &Previous,
1739 FunctionDecl *NewFD, LookupResult &Previous,
2209 LookupResult &OldDecls);
[all …]
/external/clang/lib/Sema/
DSemaLookup.cpp295 void LookupResult::configure() { in configure()
324 bool LookupResult::sanity() const { in sanity()
342 void LookupResult::deletePaths(CXXBasePaths *Paths) { in deletePaths()
470 void LookupResult::resolveKind() { in resolveKind()
620 setAmbiguous(LookupResult::AmbiguousReference); in resolveKind()
622 ResultKind = LookupResult::FoundUnresolvedValue; in resolveKind()
624 ResultKind = LookupResult::FoundOverloaded; in resolveKind()
626 ResultKind = LookupResult::Found; in resolveKind()
629 void LookupResult::addDeclsFromBasePaths(const CXXBasePaths &P) { in addDeclsFromBasePaths()
637 void LookupResult::setAmbiguousBaseSubobjects(CXXBasePaths &P) { in setAmbiguousBaseSubobjects()
[all …]
DSemaTemplateVariadic.cpp837 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName); in ActOnSizeofParameterPackExpr()
842 case LookupResult::Found: in ActOnSizeofParameterPackExpr()
846 case LookupResult::NotFound: in ActOnSizeofParameterPackExpr()
847 case LookupResult::NotFoundInCurrentInstantiation: in ActOnSizeofParameterPackExpr()
858 case LookupResult::FoundOverloaded: in ActOnSizeofParameterPackExpr()
859 case LookupResult::FoundUnresolvedValue: in ActOnSizeofParameterPackExpr()
862 case LookupResult::Ambiguous: in ActOnSizeofParameterPackExpr()
DSemaExprMember.cpp90 const LookupResult &R) { in ClassifyImplicitMemberAccess()
237 LookupResult &R, in BuildPossibleImplicitMemberExpr()
529 const LookupResult &R) { in CheckQualifiedMemberReference()
539 for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I) { in CheckQualifiedMemberReference()
614 static bool LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, in LookupMemberExprInRecord()
694 LookupResult R(Q.SemaRef, Q.NameInfo, Q.LookupKind, Q.Redecl); in LookupMemberExprInRecord()
710 static ExprResult LookupMemberExpr(Sema &S, LookupResult &R,
732 LookupResult R(*this, NameInfo, LookupMemberName); in BuildMemberReferenceExpr()
966 LookupResult &R, in BuildMemberReferenceExpr()
1283 static ExprResult LookupMemberExpr(Sema &S, LookupResult &R, in LookupMemberExpr()
[all …]
DSemaDecl.cpp302 LookupResult Result(*this, &II, NameLoc, Kind); in getTypeName()
334 case LookupResult::NotFound: in getTypeName()
335 case LookupResult::NotFoundInCurrentInstantiation: in getTypeName()
375 case LookupResult::FoundOverloaded: in getTypeName()
376 case LookupResult::FoundUnresolvedValue: in getTypeName()
380 case LookupResult::Ambiguous: in getTypeName()
386 if (Result.getAmbiguityKind() == LookupResult::AmbiguousTagHiding) { in getTypeName()
392 for (LookupResult::iterator Res = Result.begin(), ResEnd = Result.end(); in getTypeName()
419 case LookupResult::Found: in getTypeName()
552 LookupResult R(*this, &II, SourceLocation(), LookupTagName); in isTagName()
[all …]
DSemaCXXScopeSpec.cpp368 LookupResult Found(*this, NNS->getAsIdentifier(), SourceLocation(), in FindFirstQualifierInScope()
388 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()
491 LookupResult Found(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier()
584 LookupResult R(*this, Found.getLookupNameInfo(), LookupOrdinaryName); in BuildCXXNestedNameSpecifier()
669 LookupResult FoundOuter(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier()
/external/clang/include/clang/Basic/
DFileSystemStatCache.h56 enum LookupResult { enum
95 virtual LookupResult getStat(const char *Path, FileData &Data, bool isFile,
99 LookupResult statChained(const char *Path, FileData &Data, bool isFile, in statChained()
124 LookupResult getStat(const char *Path, FileData &Data, bool isFile,
/external/turbine/javatests/com/google/turbine/binder/lookup/
DTopLevelIndexTest.java44 LookupResult result = index.lookup(new LookupKey(ImmutableList.of("java", "util", "Map"))); in simple()
51 LookupResult result = in nested()
84 LookupResult result = index.lookup(new LookupKey(ImmutableList.of("java", "Foo"))); in overrideClass()
96 LookupResult packageResult = in overrideClass()
/external/clang/lib/Basic/
DFileSystemStatCache.cpp46 LookupResult R; in get()
109 MemorizeStatCalls::LookupResult
112 LookupResult Result = statChained(Path, Data, isFile, F, FS); in getStat()
/external/turbine/java/com/google/turbine/binder/
DHierarchyBinder.java27 import com.google.turbine.binder.lookup.LookupResult;
117 LookupResult result = lookup(ty, new LookupKey(flat)); in resolveClass()
138 private LookupResult lookup(Tree tree, LookupKey lookup) { in lookup()
150 return new LookupResult(result, lookup); in lookup()
DTypeBinder.java32 import com.google.turbine.binder.lookup.LookupResult;
75 public LookupResult lookup(LookupKey lookup) { in lookup()
77 return new LookupResult(sym, lookup); in lookup()
92 public LookupResult lookup(LookupKey lookupKey) { in lookup()
94 ? new LookupResult(tps.get(lookupKey.first()), lookupKey) in lookup()
113 public LookupResult lookup(LookupKey lookup) { in lookup()
119 return new LookupResult(result, lookup); in lookup()
123 return new LookupResult(result, lookup); in lookup()
558 LookupResult lookupResult = scope.lookup(new LookupKey(tree.name())); in bindAnnotations()
625 LookupResult result = scope.lookup(new LookupKey(names)); in bindClassTy()
[all …]
DResolve.java30 import com.google.turbine.binder.lookup.LookupResult;
107 public ClassSymbol resolve(SourceFile source, int position, LookupResult result) {
/external/turbine/javatests/com/google/turbine/binder/
DClassPathBinderTest.java30 import com.google.turbine.binder.lookup.LookupResult;
68 LookupResult result = javaLang.lookup(new LookupKey(Arrays.asList("String"))); in classPathLookup()

123