Home
last modified time | relevance | path

Searched refs:lookupMethod (Results 1 – 25 of 25) 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/javassist/src/main/javassist/compiler/
DMemberResolver.java77 public Method lookupMethod(CtClass clazz, CtClass currentClass, MethodInfo current, in lookupMethod() method in MemberResolver
97 Method m = lookupMethod(clazz, methodName, argTypes, argDims, in lookupMethod()
104 private Method lookupMethod(CtClass clazz, String methodName, in lookupMethod() method in MemberResolver
144 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
156 Method r = lookupMethod(intf, methodName, in lookupMethod()
167 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
DTypeChecker.java766 = resolver.lookupMethod(targetClass, thisClass, thisMethod, in atMethodCallCore()
DMemberCodeGen.java604 found = resolver.lookupMethod(targetClass, thisClass, thisMethod, in atMethodCallCore()
/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/llvm-project/clang/include/clang/AST/
DDeclObjC.h1839 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
1846 return lookupMethod(Sel, true/*isInstance*/); in lookupInstanceMethod()
1851 return lookupMethod(Sel, false/*isInstance*/); in lookupClassMethod()
1870 return lookupMethod(Sel, !IsClassProperty/*isInstance*/, in lookupPropertyAccessor()
2193 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
2196 return lookupMethod(Sel, true/*isInstance*/); in lookupInstanceMethod()
2200 return lookupMethod(Sel, false/*isInstance*/); in lookupClassMethod()
/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/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/llvm-project/clang/lib/AST/
DDeclObjC.cpp684 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod() function in ObjCInterfaceDecl
713 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
723 if ((MethodDecl = Protocol->lookupMethod(Sel, isInstance))) in lookupMethod()
1948 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel, in lookupMethod() function in ObjCProtocolDecl
1962 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/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp439 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
490 SuperClass->lookupMethod(MDecl->getSelector(), in ActOnStartOfObjCMethodDef()
2755 (!Super || !Super->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2770 IDecl->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2787 (!Super || !Super->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2793 if (C && IDecl->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2944 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, true)) in CheckCategoryVsClassMethodMatches()
2951 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, false)) in CheckCategoryVsClassMethodMatches()
4868 if (auto *IMD = IDecl->lookupMethod(ObjCMethod->getSelector(), in ActOnMethodDeclaration()
4937 if (auto *IMD = P->lookupMethod(ObjCMethod->getSelector(), in ActOnMethodDeclaration()
[all …]
DSemaExprObjC.cpp1281 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/true)) in findMethodInCurrentClass()
1285 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/false)) in findMethodInCurrentClass()
1940 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1951 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1965 if ((MD = PROTO->lookupMethod(Sel, Instance))) { in LookupMethodInQualifiedType()
4270 ClassMethod = RelatedClass->lookupMethod(Sel, false); in checkObjCBridgeRelatedComponents()
4284 InstanceMethod = RelatedClass->lookupMethod(Sel, true); in checkObjCBridgeRelatedComponents()
DSemaObjCProperty.cpp1850 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor()
2425 auto *ExistingGetter = CatDecl->getClassInterface()->lookupMethod( in ProcessPropertyDecl()
2441 auto *ExistingSetter = CatDecl->getClassInterface()->lookupMethod( in ProcessPropertyDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp1123 D = IDecl->lookupMethod(Sel, true); in canBeOverridenInSubclass()
1231 Val = Interface->lookupMethod(LookupSelector, InstanceMethod); in lookupRuntimeDefinition()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp865 D = IDecl->lookupMethod(Sel, true); in canBeOverridenInSubclass()