Home
last modified time | relevance | path

Searched refs:LookupKey (Results 1 – 25 of 30) sorted by relevance

12

/external/turbine/java/com/google/turbine/binder/lookup/
DLookupKey.java29 public class LookupKey { class
32 public LookupKey(ImmutableList<Ident> simpleNames) { in LookupKey() method in LookupKey
58 public LookupKey rest() { in rest()
62 return new LookupKey(simpleNames.subList(1, simpleNames.size())); in rest()
DWildImportIndex.java80 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in onDemandImport()
85 LookupResult result = cpi.scope().lookup(new LookupKey(i.type())); in onDemandImport()
95 public LookupResult lookup(LookupKey lookupKey, ResolveFunction unused) { in onDemandImport()
108 LookupResult result = cpi.scope().lookup(new LookupKey(i.type()));
114 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
128 LookupKey lookupKey) {
155 public LookupResult lookup(LookupKey lookup, ResolveFunction resolve) {
DImportScope.java39 LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve); in lookup()
45 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in append()
63 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
74 public LookupResult lookup(LookupKey lookupKey) {
DImportIndex.java100 LookupResult result = cpi.scope().lookup(new LookupKey(i.type())); in namedImport()
116 public LookupResult lookup(LookupKey lookupKey, ResolveFunction unused) { in namedImport()
143 LookupResult base = cpi.scope().lookup(new LookupKey(i.type()));
151 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
167 public LookupResult lookup(LookupKey lookup, ResolveFunction resolve) {
DScope.java28 LookupResult lookup(LookupKey lookupKey); in lookup()
DMemberImportIndex.java58 LookupResult result = tli.scope().lookup(new LookupKey(i.type())); in MemberImportIndex()
76 LookupResult result = tli.scope().lookup(new LookupKey(i.type())); in MemberImportIndex()
DSimpleTopLevelIndex.java137 public LookupResult lookup(LookupKey lookupKey) {
182 public LookupResult lookup(LookupKey lookupKey) { in lookup()
DCompoundScope.java35 public LookupResult lookup(LookupKey key) { in lookup()
DPackageScope.java44 public @Nullable LookupResult lookup(LookupKey lookupKey) { in concat()
DLookupResult.java49 public LookupResult(Symbol sym, LookupKey remaining) { in LookupResult()
DCompoundTopLevelIndex.java47 public LookupResult lookup(LookupKey lookupKey) {
/external/turbine/javatests/com/google/turbine/binder/
DJimageClassBinderTest.java25 import com.google.turbine.binder.lookup.LookupKey;
55 .lookup(new LookupKey(ImmutableList.of(new Ident(-1, "Object")))); in testDefaultJimage()
63 .lookup(new LookupKey(ImmutableList.of(new Ident(-1, "Map"), new Ident(-1, "Entry")))); in testDefaultJimage()
72 new LookupKey( in testDefaultJimage()
DClassPathBinderTest.java35 import com.google.turbine.binder.lookup.LookupKey;
67 LookupResult result = javaLang.lookup(new LookupKey(ImmutableList.of(new Ident(-1, "String")))); in classPathLookup()
71 result = javaLang.lookup(new LookupKey(ImmutableList.of(new Ident(-1, "Object")))); in classPathLookup()
/external/llvm-project/mlir/lib/Support/
DStorageUniquer.cpp31 struct LookupKey { struct in __anon89243b630111::ParametricStorageUniquer
61 static unsigned getHashValue(LookupKey key) { return key.hashValue; } in getHashValue()
66 static bool isEqual(const LookupKey &lhs, const HashedStorage &rhs) { in isEqual()
94 getOrCreateUnsafe(Shard &shard, LookupKey &key, in getOrCreateUnsafe()
126 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual}; in getOrCreate()
217 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual};
/external/llvm/include/llvm/ADT/
DDenseSet.h161 const LookupKeyT &LookupKey) { in insert_as() argument
162 return insert_as(ValueT(V), LookupKey); in insert_as()
165 std::pair<iterator, bool> insert_as(ValueT &&V, const LookupKeyT &LookupKey) { in insert_as() argument
167 return TheMap.insert_as(std::make_pair(std::move(V), Empty), LookupKey); in insert_as()
/external/turbine/javatests/com/google/turbine/binder/lookup/
DTopLevelIndexTest.java108 LookupKey key = lookupKey(ImmutableList.of("java", "util", "List")); in emptyLookup()
119 private LookupKey lookupKey(ImmutableList<String> names) { in lookupKey()
124 return new LookupKey(result.build()); in lookupKey()
/external/llvm-project/llvm/include/llvm/ADT/
DDenseSet.h212 const LookupKeyT &LookupKey) { in insert_as() argument
213 return TheMap.insert_as({V, detail::DenseSetEmpty()}, LookupKey); in insert_as()
216 std::pair<iterator, bool> insert_as(ValueT &&V, const LookupKeyT &LookupKey) { in insert_as() argument
217 return TheMap.insert_as({std::move(V), detail::DenseSetEmpty()}, LookupKey); in insert_as()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDenseSet.h201 const LookupKeyT &LookupKey) { in insert_as() argument
202 return TheMap.insert_as({V, detail::DenseSetEmpty()}, LookupKey); in insert_as()
205 std::pair<iterator, bool> insert_as(ValueT &&V, const LookupKeyT &LookupKey) { in insert_as() argument
206 return TheMap.insert_as({std::move(V), detail::DenseSetEmpty()}, LookupKey); in insert_as()
/external/turbine/java/com/google/turbine/binder/
DJimageClassBinder.java34 import com.google.turbine.binder.lookup.LookupKey;
186 public LookupResult lookup(LookupKey lookupKey) {
205 ? scope.lookup(new LookupKey(names.subList(idx, names.size())))
224 public LookupResult lookup(LookupKey lookupKey) {
DHierarchyBinder.java27 import com.google.turbine.binder.lookup.LookupKey;
128 LookupResult result = lookup(ty, new LookupKey(ImmutableList.copyOf(flat))); in resolveClass()
163 private LookupResult lookup(Tree tree, LookupKey lookup) { in lookup()
DModuleBinder.java37 import com.google.turbine.binder.lookup.LookupKey;
211 LookupKey key = new LookupKey(simpleNames); in resolve()
DTypeBinder.java31 import com.google.turbine.binder.lookup.LookupKey;
79 public LookupResult lookup(LookupKey lookup) { in lookup()
96 public LookupResult lookup(LookupKey lookupKey) { in lookup()
116 public LookupResult lookup(LookupKey lookup) { in lookup()
571 LookupResult lookupResult = scope.lookup(new LookupKey(name)); in bindAnnotations()
657 LookupResult result = scope.lookup(new LookupKey(names)); in bindClassTy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantsContext.h574 using LookupKey = std::pair<TypeClass *, ValType>;
577 using LookupKeyHashed = std::pair<unsigned, LookupKey>;
593 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
600 static unsigned getHashValue(const LookupKey &Val) {
608 static bool isEqual(const LookupKey &LHS, const ConstantClass *RHS) {
649 LookupKey Key(Ty, V);
677 LookupKey Key(CP->getType(), ValType(Operands, CP));
/external/llvm/lib/IR/
DConstantsContext.h545 typedef std::pair<TypeClass *, ValType> LookupKey;
548 typedef std::pair<unsigned, LookupKey> LookupKeyHashed;
561 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
566 static unsigned getHashValue(const LookupKey &Val) {
572 static bool isEqual(const LookupKey &LHS, const ConstantClass *RHS) {
611 LookupKey Key(Ty, V);
639 LookupKey Key(CP->getType(), ValType(Operands, CP));
/external/llvm-project/llvm/lib/IR/
DConstantsContext.h651 using LookupKey = std::pair<TypeClass *, ValType>;
654 using LookupKeyHashed = std::pair<unsigned, LookupKey>;
670 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
677 static unsigned getHashValue(const LookupKey &Val) {
685 static bool isEqual(const LookupKey &LHS, const ConstantClass *RHS) {
726 LookupKey Key(Ty, V);
754 LookupKey Key(CP->getType(), ValType(Operands, CP));

12