Home
last modified time | relevance | path

Searched refs:lookupMethod (Results 1 – 18 of 18) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DMutableHandlerRegistryTest.java112 ServerMethodDefinition<?, ?> method = registry.lookupMethod("basic/flow"); in simpleLookup()
115 assertNull(registry.lookupMethod("/basic/flow")); in simpleLookup()
116 assertNull(registry.lookupMethod("basic/basic")); in simpleLookup()
117 assertNull(registry.lookupMethod("flow/flow")); in simpleLookup()
118 assertNull(registry.lookupMethod("completely/random")); in simpleLookup()
133 ServerMethodDefinition<?, ?> method = registry.lookupMethod("basic/flow"); in simpleLookupWithBindable()
142 ServerCallHandler<?, ?> handler = registry.lookupMethod("basic/flow").getServerCallHandler(); in multiServiceLookup()
144 handler = registry.lookupMethod("multi/couple").getServerCallHandler(); in multiServiceLookup()
146 handler = registry.lookupMethod("multi/few").getServerCallHandler(); in multiServiceLookup()
153 assertNotNull(registry.lookupMethod("multi/couple")); in removeAndLookup()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DHandlerRegistry.java48 public abstract ServerMethodDefinition<?, ?> lookupMethod( in lookupMethod() method in HandlerRegistry
58 public final ServerMethodDefinition<?, ?> lookupMethod(String methodName) { in lookupMethod() method in HandlerRegistry
59 return lookupMethod(methodName, null); in lookupMethod()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DHandlerRegistryBenchmark.java98 public void lookupMethod(Blackhole bh) { in lookupMethod() method in HandlerRegistryBenchmark
100 bh.consume(registry.lookupMethod(fullMethodName)); in lookupMethod()
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DMutableHandlerRegistry.java90 public ServerMethodDefinition<?, ?> lookupMethod(String methodName, @Nullable String authority) { in lookupMethod() method in MutableHandlerRegistry
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DInternalHandlerRegistry.java51 public ServerMethodDefinition<?, ?> lookupMethod(String methodName, @Nullable String authority) { in lookupMethod() method in InternalHandlerRegistry
DAbstractServerImplBuilder.java70 public ServerMethodDefinition<?, ?> lookupMethod(
DServerImpl.java464 ServerMethodDefinition<?, ?> method = registry.lookupMethod(methodName); in streamCreated()
466 method = fallbackRegistry.lookupMethod(methodName, stream.getAuthority()); in streamCreated()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerImplTest.java168 public ServerMethodDefinition<?, ?> lookupMethod(
170 return mutableFallbackRegistry.lookupMethod(methodName, authority);
504 verify(fallbackRegistry, never()).lookupMethod(any(String.class), any(String.class)); in basicExchangeHelper()
515 verify(fallbackRegistry).lookupMethod("Waiter/serve", AUTHORITY); in basicExchangeHelper()
756 verify(fallbackRegistry, never()).lookupMethod(any(String.class), any(String.class)); in exceptionInStartCallPropagatesToStream()
759 verify(fallbackRegistry).lookupMethod("Waiter/serve", AUTHORITY); in exceptionInStartCallPropagatesToStream()
1092 verify(fallbackRegistry).lookupMethod("Service1/Method2", AUTHORITY); in handlerRegistryPriorities()
/external/clang/include/clang/AST/
DDeclObjC.h1743 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
1750 return lookupMethod(Sel, true/*isInstance*/); in lookupInstanceMethod()
1755 return lookupMethod(Sel, false/*isInstance*/); in lookupClassMethod()
1773 return lookupMethod(Sel, !IsClassProperty/*isInstance*/, in lookupPropertyAccessor()
2077 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
2079 return lookupMethod(Sel, true/*isInstance*/); in lookupInstanceMethod()
2082 return lookupMethod(Sel, false/*isInstance*/); in lookupClassMethod()
/external/skia/tools/bookmaker/
DincludeWriter.h166 int lookupMethod(const PunctuationState punctuation, const Word word,
DincludeWriter.cpp2319 int IncludeWriter::lookupMethod(const PunctuationState punctuation, const Word word, in lookupMethod() function in IncludeWriter
2465 lastWrite = this->lookupMethod(punctuation, word, lastSpace, run, in rewriteBlock()
2625 lastWrite = this->lookupMethod(punctuation, word, lastSpace, run, lastWrite, data, in rewriteBlock()
/external/skqp/tools/bookmaker/
DincludeWriter.h166 int lookupMethod(const PunctuationState punctuation, const Word word,
DincludeWriter.cpp2320 int IncludeWriter::lookupMethod(const PunctuationState punctuation, const Word word, in lookupMethod() function in IncludeWriter
2466 lastWrite = this->lookupMethod(punctuation, word, lastSpace, run, in rewriteBlock()
2626 lastWrite = this->lookupMethod(punctuation, word, lastSpace, run, lastWrite, data, in rewriteBlock()
/external/clang/lib/AST/
DDeclObjC.cpp653 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod() function in ObjCInterfaceDecl
682 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
693 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
1820 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel, in lookupMethod() function in ObjCProtocolDecl
1834 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp367 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
420 SuperClass->lookupMethod(MDecl->getSelector(), in ActOnStartOfObjCMethodDef()
2662 (!Super || !Super->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2677 IDecl->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2694 (!Super || !Super->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2700 if (C && IDecl->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2845 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, true)) in CheckCategoryVsClassMethodMatches()
2852 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, false)) in CheckCategoryVsClassMethodMatches()
4414 if (auto *IMD = IDecl->lookupMethod(ObjCMethod->getSelector(), in ActOnMethodDeclaration()
4702 Method = IDecl->lookupMethod(Method->getSelector(), /*isInstance=*/true, in GetIvarBackingPropertyAccessor()
DSemaExprObjC.cpp1721 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1732 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1746 if ((MD = PROTO->lookupMethod(Sel, Instance))) { in LookupMethodInQualifiedType()
3890 ClassMethod = RelatedClass->lookupMethod(Sel, false); in checkObjCBridgeRelatedComponents()
3904 InstanceMethod = RelatedClass->lookupMethod(Sel, true); in checkObjCBridgeRelatedComponents()
DSemaObjCProperty.cpp1622 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp865 D = IDecl->lookupMethod(Sel, true); in canBeOverridenInSubclass()