Home
last modified time | relevance | path

Searched refs:MethodType (Results 1 – 25 of 180) sorted by relevance

12345678

/external/grpc-grpc-java/core/src/test/java/io/grpc/
DMethodDescriptorTest.java25 import io.grpc.MethodDescriptor.MethodType;
43 .setType(MethodType.CLIENT_STREAMING) in createMethodDescriptor()
49 assertEquals(MethodType.CLIENT_STREAMING, descriptor.getType()); in createMethodDescriptor()
58 .setType(MethodType.SERVER_STREAMING) in idempotent()
71 assertEquals(MethodType.SERVER_STREAMING, newDescriptor.getType()); in idempotent()
78 .setType(MethodType.UNARY) in safe()
89 assertEquals(MethodType.UNARY, newDescriptor.getType()); in safe()
96 .setType(MethodType.SERVER_STREAMING) in safeAndNonUnary()
109 .setType(MethodType.SERVER_STREAMING) in sampledToLocalTracing()
124 .setType(MethodType.SERVER_STREAMING) in sampledToLocalTracing()
[all …]
DServiceDescriptorTest.java21 import io.grpc.MethodDescriptor.MethodType;
70 .setType(MethodType.UNARY) in failsOnNonMatchingNames()
86 .setType(MethodType.UNARY) in failsOnNonDuplicateNames()
92 .setType(MethodType.UNARY) in failsOnNonDuplicateNames()
109 .setType(MethodType.UNARY) in toStringTest()
116 .setType(MethodType.UNARY) in toStringTest()
/external/grpc-grpc/src/csharp/Grpc.Core/
DMethod.cs27 public enum MethodType enum
50 MethodType Type { get; }
76 readonly MethodType type;
91 …public Method(MethodType type, string serviceName, string name, Marshaller<TRequest> requestMarsha… in Method()
104 public MethodType Type
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvokeDynamicSupport.java10 import static java.lang.invoke.MethodType.methodType;
18 import java.lang.invoke.MethodType;
50 public static CallSite bootstrapInit(MethodHandles.Lookup caller, String name, MethodType type) { in bootstrapInit()
59 public static CallSite bootstrap(MethodHandles.Lookup caller, String name, MethodType type, in bootstrap()
69 public static CallSite bootstrapStatic(MethodHandles.Lookup caller, String name, MethodType type, in bootstrapStatic()
80 MethodType type, String callee) throws IllegalAccessException { in bootstrapIntrinsic()
92 …private static MethodHandle getMethodHandle(String className, String methodName, MethodType type) { in getMethodHandle()
150 MethodType type = site.type(); in bindWithFallback()
174 MethodType type = EXCEPTION_HANDLER.type().changeReturnType(mh.type().returnType()); in cleanStackTraces()
DInvokeDynamicClassInstrumentor.java3 import static java.lang.invoke.MethodType.methodType;
8 import java.lang.invoke.MethodType;
27 MethodType bootstrap =
28 methodType(CallSite.class, MethodHandles.Lookup.class, String.class, MethodType.class);
DRoboCallSite.java3 import java.lang.invoke.MethodType;
9 public RoboCallSite(MethodType type, Class<?> theClass) { in RoboCallSite()
DClassHandler.java4 import java.lang.invoke.MethodType;
92 MethodHandle findShadowMethodHandle(Class<?> theClass, String name, MethodType methodType, in findShadowMethodHandle()
DInterceptor.java4 import java.lang.invoke.MethodType;
22 …abstract public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMeth… in getMethodHandle()
DMethodCallSite.java6 import java.lang.invoke.MethodType;
13 public MethodCallSite(Class<?> theClass, MethodType type, String name, MethodHandle original, in MethodCallSite()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAndroidInterceptors.java5 import static java.lang.invoke.MethodType.methodType;
11 import java.lang.invoke.MethodType;
61 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti… in getMethodHandle()
92 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
125 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
156 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
193 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
224 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
246 …@Override public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMet…
/external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/
DBootstrapMethodReferenceTest.java19 import java.lang.invoke.MethodType;
71 final MethodType methodType = MethodType.methodType(CallSite.class, in test()
72 MethodHandles.Lookup.class, String.class, MethodType.class); in test()
116 final String name, final MethodType type) throws Exception { in bootstrap()
118 "callTarget", MethodType.methodType(int.class))); in bootstrap()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DMethodDescriptor.java42 private final MethodType type;
81 public enum MethodType { enum in MethodDescriptor
211 MethodType type, String fullMethodName, in create()
219 MethodType type, in MethodDescriptor()
236 Preconditions.checkArgument(!safe || type == MethodType.UNARY, in MethodDescriptor()
245 public MethodType getType() { in getType()
457 private MethodType type;
495 public Builder<ReqT, RespT> setType(MethodType type) { in setType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DMethodType.java20 public class MethodType { class
26 public static MethodType fromMethodUsage(MethodUsage methodUsage) { in fromMethodUsage()
27 …return new MethodType(methodUsage.getDeclaration().getTypeParameters(), methodUsage.getParamTypes(… in fromMethodUsage()
31 …public MethodType(List<ResolvedTypeParameterDeclaration> typeParameters, List<ResolvedType> formal… in MethodType() method in MethodType
/external/protobuf/src/google/protobuf/stubs/
Dcallback.h141 typedef void (Class::*MethodType)(); typedef
143 MethodClosure0(Class* object, MethodType method, bool self_deleting) in MethodClosure0()
155 MethodType method_;
185 typedef void (Class::*MethodType)(Arg1 arg1); typedef
187 MethodClosure1(Class* object, MethodType method, bool self_deleting, in MethodClosure1()
201 MethodType method_;
233 typedef void (Class::*MethodType)(Arg1 arg1, Arg2 arg2); typedef
235 MethodClosure2(Class* object, MethodType method, bool self_deleting, in MethodClosure2()
249 MethodType method_;
353 typedef R (T::*MethodType)(P1, P2, P3, P4, P5, A1, A2); typedef
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/scan/
Dtestdata_golden.txt24 …g.String, java.lang.invoke.MethodType, java.lang.invoke.MethodType, java.lang.invoke.MethodHandle,…
32 -keep class java.lang.invoke.MethodType {
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DMockServiceHelper.cs62 MethodType.Unary, in MockServiceHelper()
69 MethodType.ClientStreaming, in MockServiceHelper()
76 MethodType.ServerStreaming, in MockServiceHelper()
83 MethodType.DuplexStreaming, in MockServiceHelper()
/external/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/
DSimpleServiceTest.java19 import static io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING;
20 import static io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING;
21 import static io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING;
22 import static io.grpc.MethodDescriptor.MethodType.UNARY;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DAndroidInterceptorsIntegrationTest.java10 import java.lang.invoke.MethodType;
63 MethodType methodType = in invokeDynamic()
64 MethodType.methodType( in invokeDynamic()
/external/skia/tools/bookmaker/
DselfCheck.cpp83 Definition::MethodType::kConstructor == csChild->fMethodType in checkMethod()
84 || Definition::MethodType::kDestructor == csChild->fMethodType in checkMethod()
85 || Definition::MethodType::kOperator == csChild->fMethodType in checkMethod()
/external/skqp/tools/bookmaker/
DselfCheck.cpp83 Definition::MethodType::kConstructor == csChild->fMethodType in checkMethod()
84 || Definition::MethodType::kDestructor == csChild->fMethodType in checkMethod()
85 || Definition::MethodType::kOperator == csChild->fMethodType in checkMethod()
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/
DTestServiceGrpc.java41 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
50 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getEmptyCallMethod()
73 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
82 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getUnaryCallMethod()
105 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
114 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getCacheableUnaryCallMethod()
137 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
146 .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) in getStreamingOutputCallMethod()
169 methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
178 .setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) in getStreamingInputCallMethod()
[all …]
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_meta_path.py4 from types import MethodType
74 setattr(importer, self.finder_name, MethodType(wrapped_call, importer))
92 setattr(importer, self.finder_name, MethodType(wrapped_call, importer))
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DTestMethodDescriptors.java21 import io.grpc.MethodDescriptor.MethodType;
44 .setType(MethodType.UNARY) in voidMethod()
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/channelz/v1/
DChannelzGrpc.java41 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
50 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getGetTopChannelsMethod()
73 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
82 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getGetServersMethod()
105 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
114 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getGetServerSocketsMethod()
137 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
146 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getGetChannelMethod()
169 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
178 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getGetSubchannelMethod()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DBenchmarkServiceGrpc.cs36 grpc::MethodType.Unary,
43 grpc::MethodType.DuplexStreaming,
50 grpc::MethodType.ClientStreaming,
57 grpc::MethodType.ServerStreaming,
64 grpc::MethodType.DuplexStreaming,

12345678