Home
last modified time | relevance | path

Searched refs:Marshaller (Results 1 – 25 of 77) sorted by relevance

1234

/external/grpc-grpc-java/core/src/main/java/io/grpc/
DMethodDescriptor.java44 private final Marshaller<ReqT> requestMarshaller;
45 private final Marshaller<RespT> responseMarshaller;
142 public interface Marshaller<T> { interface in MethodDescriptor
169 public interface ReflectableMarshaller<T> extends Marshaller<T> {
212 Marshaller<RequestT> requestMarshaller, in create()
213 Marshaller<ResponseT> responseMarshaller) { in create()
221 Marshaller<ReqT> requestMarshaller, in MethodDescriptor()
222 Marshaller<RespT> responseMarshaller, in MethodDescriptor()
310 public Marshaller<ReqT> getRequestMarshaller() { in getRequestMarshaller()
320 public Marshaller<RespT> getResponseMarshaller() { in getResponseMarshaller()
[all …]
DInternalClientInterceptors.java19 import io.grpc.MethodDescriptor.Marshaller;
28 final Marshaller<ReqT> reqMarshaller, in wrapClientInterceptor()
29 final Marshaller<RespT> respMarshaller) { in wrapClientInterceptor()
DClientInterceptors.java20 import io.grpc.MethodDescriptor.Marshaller;
100 final Marshaller<WReqT> reqMarshaller, in wrapClientInterceptor()
101 final Marshaller<WRespT> respMarshaller) { in wrapClientInterceptor()
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
DMarshalling.cpp57 Marshaller::Marshaller(llvm::StringRef RemoteIndexRoot, in Marshaller() function in clang::clangd::remote::Marshaller
79 Marshaller::fromProtobuf(const LookupRequest *Message) { in fromProtobuf()
89 Marshaller::fromProtobuf(const FuzzyFindRequest *Message) { in fromProtobuf()
113 Marshaller::fromProtobuf(const RefsRequest *Message) { in fromProtobuf()
129 Marshaller::fromProtobuf(const RelationsRequest *Message) { in fromProtobuf()
143 llvm::Expected<clangd::Symbol> Marshaller::fromProtobuf(const Symbol &Message) { in fromProtobuf()
182 llvm::Expected<clangd::Ref> Marshaller::fromProtobuf(const Ref &Message) { in fromProtobuf()
195 Marshaller::fromProtobuf(const Relation &Message) { in fromProtobuf()
207 LookupRequest Marshaller::toProtobuf(const clangd::LookupRequest &From) { in toProtobuf()
214 FuzzyFindRequest Marshaller::toProtobuf(const clangd::FuzzyFindRequest &From) { in toProtobuf()
[all …]
DMarshalling.h36 class Marshaller {
38 Marshaller() = delete;
39 Marshaller(llvm::StringRef RemoteIndexRoot, llvm::StringRef LocalIndexRoot);
/external/grpc-grpc/src/csharp/Grpc.Core/
DMarshaller.cs27 public class Marshaller<T> class
37 public Marshaller(Func<T, byte[]> serializer, Func<byte[], T> deserializer) in Marshaller() method in Grpc.Core.Marshaller
74 … public static Marshaller<T> Create<T>(Func<T, byte[]> serializer, Func<byte[], T> deserializer) in Create()
76 return new Marshaller<T>(serializer, deserializer); in Create()
82 public static Marshaller<string> StringMarshaller
86 return new Marshaller<string>(System.Text.Encoding.UTF8.GetBytes,
DMethod.cs79 readonly Marshaller<TRequest> requestMarshaller;
80 readonly Marshaller<TResponse> responseMarshaller;
91 …(MethodType type, string serviceName, string name, Marshaller<TRequest> requestMarshaller, Marshal… in Method()
137 public Marshaller<TRequest> RequestMarshaller
148 public Marshaller<TResponse> ResponseMarshaller
DCallInvocationDetails.cs35 readonly Marshaller<TRequest> requestMarshaller;
36 readonly Marshaller<TResponse> responseMarshaller;
71 …tails(Channel channel, string method, string host, Marshaller<TRequest> requestMarshaller, Marshal… in CallInvocationDetails()
117 public Marshaller<TRequest> RequestMarshaller
128 public Marshaller<TResponse> ResponseMarshaller
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/
DMarshallingTests.cpp93 Marshaller ProtobufMarshaller( in TEST()
150 Marshaller ProtobufMarshaller(testPath("home/"), testPath("home/")); in TEST()
205 Marshaller WrongMarshaller(testPath("nothome/"), testPath("home/")); in TEST()
227 Marshaller ProtobufMarshaller(testPath("llvm-project/"), in TEST()
256 Marshaller ProtobufMarshaller(testPath(""), testPath("")); in TEST()
303 Marshaller ProtobufMarshaller(testPath("remote/"), testPath("local/")); in TEST()
314 Marshaller ProtobufMarshaller(testPath("remote/"), testPath("local/")); in TEST()
327 Marshaller ProtobufMarshaller(testPath("remote/"), testPath("local/")); in TEST()
345 Marshaller ProtobufMarshaller(testPath("remote/"), testPath("local/")); in TEST()
360 Marshaller ProtobufMarshaller(testPath("remote/"), testPath("local/")); in TEST()
[all …]
/external/oss-fuzz/projects/go-json-iterator/
Dfuzz_json.go72 Q Marshaller
82 type Marshaller struct { struct
86 func (m *Marshaller) MarshalJSON() ([]byte, error) { argument
90 func (m *Marshaller) UnmarshalJSON(data []byte) error { argument
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DJsonMarshaller.java25 import io.grpc.MethodDescriptor.Marshaller;
47 public static <T extends Message> Marshaller<T> jsonMarshaller(final T defaultInstance) { in jsonMarshaller()
58 public static <T extends Message> Marshaller<T> jsonMarshaller( in jsonMarshaller()
63 return new Marshaller<T>() { in jsonMarshaller()
/external/grpc-grpc-java/protobuf-nano/src/main/java/io/grpc/protobuf/nano/
DNanoUtils.java23 import io.grpc.MethodDescriptor.Marshaller;
42 public static <T extends MessageNano> Marshaller<T> marshaller(MessageNanoFactory<T> factory) { in marshaller()
46 private static final class MessageMarshaller<T extends MessageNano> implements Marshaller<T> {
/external/grpc-grpc-java/protobuf-lite/src/test/java/io/grpc/protobuf/lite/
DProtoLiteUtilsTest.java34 import io.grpc.MethodDescriptor.Marshaller;
56 private Marshaller<Type> marshaller = ProtoLiteUtils.marshaller(Type.getDefaultInstance());
100 Marshaller<Enum> enumMarshaller = ProtoLiteUtils.marshaller(Enum.getDefaultInstance()); in testMismatch()
108 Marshaller<Enum> enumMarshaller = ProtoLiteUtils.marshaller(Enum.getDefaultInstance()); in introspection()
139 Marshaller<Empty> marshaller = ProtoLiteUtils.marshaller(Empty.getDefaultInstance()); in testEmpty()
222 Marshaller<Type> marshaller = ProtoLiteUtils.marshaller(Type.getDefaultInstance()); in parseFromKnowLengthInputStream()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DWorkerServiceGrpc.cs32 …static readonly grpc::Marshaller<global::Grpc.Testing.ServerArgs> __Marshaller_grpc_testing_Server…
33 …static readonly grpc::Marshaller<global::Grpc.Testing.ServerStatus> __Marshaller_grpc_testing_Serv…
34 …static readonly grpc::Marshaller<global::Grpc.Testing.ClientArgs> __Marshaller_grpc_testing_Client…
35 …static readonly grpc::Marshaller<global::Grpc.Testing.ClientStatus> __Marshaller_grpc_testing_Clie…
36 …static readonly grpc::Marshaller<global::Grpc.Testing.CoreRequest> __Marshaller_grpc_testing_CoreR…
37 …static readonly grpc::Marshaller<global::Grpc.Testing.CoreResponse> __Marshaller_grpc_testing_Core…
38 …static readonly grpc::Marshaller<global::Grpc.Testing.Void> __Marshaller_grpc_testing_Void = grpc:…
DGenericService.cs40 …readonly static Marshaller<byte[]> ByteArrayMarshaller = new Marshaller<byte[]>((b) => b, (b) => b…
DTestGrpc.cs37 …static readonly grpc::Marshaller<global::Grpc.Testing.Empty> __Marshaller_grpc_testing_Empty = grp…
38 …static readonly grpc::Marshaller<global::Grpc.Testing.SimpleRequest> __Marshaller_grpc_testing_Sim…
39 …static readonly grpc::Marshaller<global::Grpc.Testing.SimpleResponse> __Marshaller_grpc_testing_Si…
40 …static readonly grpc::Marshaller<global::Grpc.Testing.StreamingOutputCallRequest> __Marshaller_grp…
41 …static readonly grpc::Marshaller<global::Grpc.Testing.StreamingOutputCallResponse> __Marshaller_gr…
42 …static readonly grpc::Marshaller<global::Grpc.Testing.StreamingInputCallRequest> __Marshaller_grpc…
43 …static readonly grpc::Marshaller<global::Grpc.Testing.StreamingInputCallResponse> __Marshaller_grp…
551 …static readonly grpc::Marshaller<global::Grpc.Testing.Empty> __Marshaller_grpc_testing_Empty = grp…
672 …static readonly grpc::Marshaller<global::Grpc.Testing.ReconnectParams> __Marshaller_grpc_testing_R…
673 …static readonly grpc::Marshaller<global::Grpc.Testing.Empty> __Marshaller_grpc_testing_Empty = grp…
[all …]
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DTestMethodDescriptors.java57 public static MethodDescriptor.Marshaller<Void> voidMarshaller() { in voidMarshaller()
61 private static final class NoopMarshaller implements MethodDescriptor.Marshaller<Void> {
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/
DProtoUtils.java23 import io.grpc.MethodDescriptor.Marshaller;
56 public static <T extends Message> Marshaller<T> marshaller(final T defaultInstance) { in marshaller()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/
DRouteGuideGrpc.cs33 …static readonly grpc::Marshaller<global::Routeguide.Point> __Marshaller_routeguide_Point = grpc::M…
34 …static readonly grpc::Marshaller<global::Routeguide.Feature> __Marshaller_routeguide_Feature = grp…
35 …static readonly grpc::Marshaller<global::Routeguide.Rectangle> __Marshaller_routeguide_Rectangle =…
36 …static readonly grpc::Marshaller<global::Routeguide.RouteSummary> __Marshaller_routeguide_RouteSum…
37 …static readonly grpc::Marshaller<global::Routeguide.RouteNote> __Marshaller_routeguide_RouteNote =…
/external/grpc-grpc-java/protobuf/src/test/java/io/grpc/protobuf/
DProtoUtilsTest.java23 import io.grpc.MethodDescriptor.Marshaller;
37 Marshaller<Type> marshaller = ProtoUtils.marshaller(Type.getDefaultInstance()); in testRoundtrip()
/external/dagger2/java/dagger/grpc/server/
DProxyServerCallHandler.java21 import io.grpc.MethodDescriptor.Marshaller;
103 private static final Marshaller<InputStream> IDENTITY_MARSHALLER =
104 new Marshaller<InputStream>() {
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinaryLogProviderTest.java36 import io.grpc.MethodDescriptor.Marshaller;
62 Marshaller<String> delegate() {
69 Marshaller<Integer> delegate() {
388 implements MethodDescriptor.Marshaller<T> {
392 abstract MethodDescriptor.Marshaller<T> delegate();
408 private static class StringMarshaller implements MethodDescriptor.Marshaller<String> {
426 private static class IntegerMarshaller implements MethodDescriptor.Marshaller<Integer> {
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DBinaryLogProvider.java32 import io.grpc.MethodDescriptor.Marshaller;
47 public static final Marshaller<byte[]> BYTEARRAY_MARSHALLER = new ByteArrayMarshaller();
113 private static final class ByteArrayMarshaller implements Marshaller<byte[]> {
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMathGrpc.cs30 …static readonly grpc::Marshaller<global::Math.DivArgs> __Marshaller_math_DivArgs = grpc::Marshalle…
31 …static readonly grpc::Marshaller<global::Math.DivReply> __Marshaller_math_DivReply = grpc::Marshal…
32 …static readonly grpc::Marshaller<global::Math.FibArgs> __Marshaller_math_FibArgs = grpc::Marshalle…
33 …static readonly grpc::Marshaller<global::Math.Num> __Marshaller_math_Num = grpc::Marshallers.Creat…
/external/grpc-grpc-java/netty/src/jmh/java/io/grpc/netty/
DMethodDescriptorBenchmark.java39 private static final MethodDescriptor.Marshaller<Void> marshaller =
40 new MethodDescriptor.Marshaller<Void>() {

1234