Home
last modified time | relevance | path

Searched refs:MethodDescriptor (Results 1 – 25 of 66) sorted by relevance

123

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DServiceDescriptor.cs46 private readonly IList<MethodDescriptor> methods;
53 … (method, i) => new MethodDescriptor(method, file, this, i)); in ServiceDescriptor()
79 public IList<MethodDescriptor> Methods
89 public MethodDescriptor FindMethodByName(String name) in FindMethodByName()
91 return File.DescriptorPool.FindSymbol<MethodDescriptor>(FullName + "." + name); in FindMethodByName()
129 foreach (MethodDescriptor method in methods) in CrossLink()
DMethodDescriptor.cs41 public sealed class MethodDescriptor : DescriptorBase class
106 internal MethodDescriptor(MethodDescriptorProto proto, FileDescriptor file, in MethodDescriptor() method in Google.Protobuf.Reflection.MethodDescriptor
/third_party/protobuf/src/google/protobuf/
Dservice.h124 class MethodDescriptor; // descriptor.h variable
170 virtual void CallMethod(const MethodDescriptor* method,
188 const MethodDescriptor* method) const = 0;
190 const MethodDescriptor* method) const = 0;
280 virtual void CallMethod(const MethodDescriptor* method,
Ddescriptor.h89 class MethodDescriptor; variable
570 friend class MethodDescriptor; variable
1267 const MethodDescriptor* method(int index) const;
1270 const MethodDescriptor* FindMethodByName(ConstStringParam name) const;
1306 MethodDescriptor* methods_;
1316 friend class MethodDescriptor; variable
1325 class PROTOBUF_EXPORT MethodDescriptor {
1401 MethodDescriptor() {} in MethodDescriptor() function
1404 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MethodDescriptor);
1598 friend class MethodDescriptor; variable
[all …]
/third_party/grpc/src/compiler/
Dobjective_c_generator.cc31 using ::grpc::protobuf::MethodDescriptor;
41 const MethodDescriptor* method, in PrintProtoRpcDeclarationAsPragma()
83 void PrintMethodSignature(Printer* printer, const MethodDescriptor* method, in PrintMethodSignature()
108 void PrintSimpleSignature(Printer* printer, const MethodDescriptor* method, in PrintSimpleSignature()
116 void PrintAdvancedSignature(Printer* printer, const MethodDescriptor* method, in PrintAdvancedSignature()
123 void PrintV2Signature(Printer* printer, const MethodDescriptor* method, in PrintV2Signature()
147 const MethodDescriptor* method) { in GetMethodVars()
157 void PrintMethodDeclarations(Printer* printer, const MethodDescriptor* method) { in PrintMethodDeclarations()
169 const MethodDescriptor* method) { in PrintV2MethodDeclarations()
178 void PrintSimpleImplementation(Printer* printer, const MethodDescriptor* method, in PrintSimpleImplementation()
[all …]
Dcsharp_generator.cc33 using grpc::protobuf::MethodDescriptor;
112 const MethodDescriptor* method) { in GenerateDocCommentServerMethod()
144 const MethodDescriptor* method, in GenerateDocCommentClientMethod()
224 std::string GetMethodFieldName(const MethodDescriptor* method) { in GetMethodFieldName()
228 std::string GetMethodRequestParamMaybe(const MethodDescriptor* method, in GetMethodRequestParamMaybe()
243 std::string GetMethodReturnTypeClient(const MethodDescriptor* method) { in GetMethodReturnTypeClient()
264 std::string GetMethodRequestParamServer(const MethodDescriptor* method) { in GetMethodRequestParamServer()
278 std::string GetMethodReturnTypeServer(const MethodDescriptor* method) { in GetMethodReturnTypeServer()
292 std::string GetMethodResponseStreamMaybe(const MethodDescriptor* method) { in GetMethodResponseStreamMaybe()
313 const MethodDescriptor* method = service->method(i); in GetUsedMessages()
[all …]
Dnode_generator.cc28 using grpc::protobuf::MethodDescriptor;
100 const MethodDescriptor* method = service->method(method_num); in GetAllMessages()
158 void PrintMethod(const MethodDescriptor* method, Printer* out) { in PrintMethod()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc140 const MethodDescriptor* method = descriptor_->method(i); in GenerateNewReflectiveServiceMethod()
179 const MethodDescriptor* method = descriptor_->method(i); in GenerateAbstractMethods()
187 const MethodDescriptor* method) { in GetOutput()
210 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod()
257 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallBlockingMethod()
302 const MethodDescriptor* method = descriptor_->method(i); in GenerateGetPrototype()
352 const MethodDescriptor* method = descriptor_->method(i); in GenerateStub()
394 const MethodDescriptor* method = descriptor_->method(i); in GenerateBlockingStub()
417 const MethodDescriptor* method = descriptor_->method(i); in GenerateBlockingStub()
443 io::Printer* printer, const MethodDescriptor* method, in GenerateMethodSignature()
[all …]
Djava_service.h116 const MethodDescriptor* method,
124 const MethodDescriptor* method);
127 std::string GetOutput(const MethodDescriptor* method);
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DBlockingService.java49 Descriptors.MethodDescriptor method, RpcController controller, Message request) in callBlockingMethod()
53 Message getRequestPrototype(Descriptors.MethodDescriptor method); in getRequestPrototype()
56 Message getResponsePrototype(Descriptors.MethodDescriptor method); in getResponsePrototype()
DService.java78 Descriptors.MethodDescriptor method, in callMethod()
100 Message getRequestPrototype(Descriptors.MethodDescriptor method); in getRequestPrototype()
108 Message getResponsePrototype(Descriptors.MethodDescriptor method); in getResponsePrototype()
DBlockingRpcChannel.java46 Descriptors.MethodDescriptor method, in callBlockingMethod()
DRpcChannel.java63 Descriptors.MethodDescriptor method, in callMethod()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_service.cc47 void InitMethodVariables(const MethodDescriptor* method, const Options& options, in InitMethodVariables()
156 const MethodDescriptor* method = descriptor_->method(i); in GenerateMethodSignatures()
214 const MethodDescriptor* method = descriptor_->method(i); in GenerateNotImplementedMethods()
243 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod()
285 const MethodDescriptor* method = descriptor_->method(i); in GenerateGetPrototype()
308 const MethodDescriptor* method = descriptor_->method(i); in GenerateStubMethods()
/third_party/grpc/examples/python/data_transmission/
Ddemo_pb2.py133 _descriptor.MethodDescriptor(
142 _descriptor.MethodDescriptor(
151 _descriptor.MethodDescriptor(
160 _descriptor.MethodDescriptor(
/third_party/grpc/test/cpp/util/
Dservice_describer.h33 std::string DescribeMethod(const grpc::protobuf::MethodDescriptor* method);
37 std::string SummarizeMethod(const grpc::protobuf::MethodDescriptor* method);
Dservice_describer.cc64 std::string DescribeMethod(const grpc::protobuf::MethodDescriptor* method) { in DescribeMethod()
85 std::string SummarizeMethod(const grpc::protobuf::MethodDescriptor* method) { in SummarizeMethod()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java34 import com.google.protobuf.Descriptors.MethodDescriptor;
60 private final Descriptors.MethodDescriptor fooDescriptor =
62 private final Descriptors.MethodDescriptor barDescriptor =
175 MethodDescriptor fooMethod = ServiceWithNoOuter.getDescriptor().findMethodByName("Foo"); in testNewReflectiveService()
203 MethodDescriptor fooMethod = ServiceWithNoOuter.getDescriptor().findMethodByName("Foo"); in testNewReflectiveBlockingService()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java35 import com.google.protobuf.Descriptors.MethodDescriptor;
64 private final Descriptors.MethodDescriptor fooDescriptor =
66 private final Descriptors.MethodDescriptor barDescriptor =
176 MethodDescriptor fooMethod = in testNewReflectiveService()
206 MethodDescriptor fooMethod = in testNewReflectiveBlockingService()
/third_party/grpc/include/grpcpp/impl/codegen/
Dconfig_protobuf.h44 #define GRPC_CUSTOM_METHODDESCRIPTOR ::google::protobuf::MethodDescriptor
85 typedef GRPC_CUSTOM_METHODDESCRIPTOR MethodDescriptor; typedef
/third_party/grpc/examples/python/multiplex/
Droute_guide_pb2.py290 _descriptor.MethodDescriptor(
299 _descriptor.MethodDescriptor(
308 _descriptor.MethodDescriptor(
317 _descriptor.MethodDescriptor(
/third_party/grpc/examples/python/route_guide/
Droute_guide_pb2.py290 _descriptor.MethodDescriptor(
299 _descriptor.MethodDescriptor(
308 _descriptor.MethodDescriptor(
317 _descriptor.MethodDescriptor(
/third_party/grpc/test/build/
Dprotobuf.cc22 bool protobuf_test(const google::protobuf::MethodDescriptor *method) { in protobuf_test()
/third_party/grpc/test/cpp/end2end/
Dproto_server_reflection_test.cc93 const protobuf::MethodDescriptor* method_desc = in CompareMethod()
95 const protobuf::MethodDescriptor* ref_method_desc = in CompareMethod()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_doc_comment.h46 void WriteMethodDocComment(io::Printer* printer, const MethodDescriptor* method);

123