Home
last modified time | relevance | path

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

12

/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/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);
Djava_doc_comment.h89 const MethodDescriptor* method);
Djava_doc_comment.cc404 const MethodDescriptor* method) { in WriteMethodDocComment()
/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 …]
Ddescriptor.cc97 const MethodDescriptor* method_descriptor;
121 CONSTRUCTOR(MethodDescriptor, METHOD, method_descriptor) in CONSTRUCTOR()
1474 const MethodDescriptor* DescriptorPool::FindMethodByName( in FindMethodByName()
1741 const MethodDescriptor* ServiceDescriptor::FindMethodByName( in FindMethodByName()
2246 void MethodDescriptor::CopyTo(MethodDescriptorProto* proto) const { in CopyTo()
2925 std::string MethodDescriptor::DebugString() const { in DebugString()
2930 std::string MethodDescriptor::DebugStringWithOptions( in DebugStringWithOptions()
2937 void MethodDescriptor::DebugString( in DebugString()
3030 bool MethodDescriptor::GetSourceLocation(SourceLocation* out_location) const { in GetSourceLocation()
3105 void MethodDescriptor::GetLocationPath(std::vector<int>* output) const { in GetLocationPath()
[all …]
/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/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()
DDescriptors.java1979 public List<MethodDescriptor> getMethods() { in getMethods()
1989 public MethodDescriptor findMethodByName(final String name) { in findMethodByName()
1991 if (result != null && result instanceof MethodDescriptor) { in findMethodByName()
1992 return (MethodDescriptor) result; in findMethodByName()
2002 private MethodDescriptor[] methods;
2012 methods = new MethodDescriptor[proto.getMethodCount()]; in ServiceDescriptor()
2014 methods[i] = new MethodDescriptor(proto.getMethod(i), file, this, i); in ServiceDescriptor()
2021 for (final MethodDescriptor method : methods) { in crossLink()
2039 public static final class MethodDescriptor extends GenericDescriptor { class in Descriptors
2115 private MethodDescriptor( in MethodDescriptor() method in Descriptors.MethodDescriptor
/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()
DDescriptorsTest.java46 import com.google.protobuf.Descriptors.MethodDescriptor;
330 MethodDescriptor fooMethod = service.getMethods().get(0); in testServiceDescriptor()
338 MethodDescriptor barMethod = service.getMethods().get(1); in testServiceDescriptor()
387 MethodDescriptor method = service.findMethodByName("Foo"); in testCustomOptions()
/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()
DDescriptorsTest.java49 import com.google.protobuf.Descriptors.MethodDescriptor;
315 MethodDescriptor fooMethod = service.getMethods().get(0); in testServiceDescriptor()
321 MethodDescriptor barMethod = service.getMethods().get(1); in testServiceDescriptor()
379 MethodDescriptor method = service.findMethodByName("Foo"); in testCustomOptions()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_doc_comment.h46 void WriteMethodDocComment(io::Printer* printer, const MethodDescriptor* method);
Dcsharp_doc_comment.cc108 void WriteMethodDocComment(io::Printer* printer, const MethodDescriptor* method) { in WriteMethodDocComment()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.h71 const MethodDescriptor* descriptor);
Ddescriptor.cc188 const FileDescriptor* GetFileDescriptor(const MethodDescriptor* descriptor) { in GetFileDescriptor()
1692 const MethodDescriptor* method_descriptor = in FindMethodByName()
1783 static const MethodDescriptor* _GetDescriptor( in _GetDescriptor()
1785 return reinterpret_cast<const MethodDescriptor*>(self->descriptor); in _GetDescriptor()
1878 const MethodDescriptor* method_descriptor) { in PyMethodDescriptor_FromDescriptor()
/third_party/protobuf/
Dlibprotobuf.map69 "google::protobuf::MethodDescriptor::input_type() const";
70 "google::protobuf::MethodDescriptor::output_type() const";
85 … "google::protobuf::MethodDescriptor::GetSourceLocation(google::protobuf::SourceLocation*) const";
89 "google::protobuf::MethodDescriptor::DebugString[abi:cxx11]() const";
161 "google::protobuf::MethodDescriptor::DebugString() const";
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py845 class MethodDescriptor(DescriptorBase): class
864 _C_DESCRIPTOR_CLASS = _message.MethodDescriptor
883 super(MethodDescriptor, self).__init__(

12