Home
last modified time | relevance | path

Searched refs:method_descriptor (Results 1 – 7 of 7) sorted by relevance

/external/nanopb-c/generator/google/protobuf/
Dservice_reflection.py143 def _WrapCallMethod(srvc, method_descriptor, argument
145 return self._CallMethod(srvc, method_descriptor,
156 def _CallMethod(self, srvc, method_descriptor, argument
167 if method_descriptor.containing_service != self.descriptor:
170 method = getattr(srvc, method_descriptor.name)
173 def _GetRequestClass(self, method_descriptor): argument
184 if method_descriptor.containing_service != self.descriptor:
187 return method_descriptor.input_type._concrete_class
189 def _GetResponseClass(self, method_descriptor): argument
200 if method_descriptor.containing_service != self.descriptor:
[all …]
Dservice.py65 def CallMethod(self, method_descriptor, rpc_controller, argument
93 def GetRequestClass(self, method_descriptor): argument
108 def GetResponseClass(self, method_descriptor): argument
217 def CallMethod(self, method_descriptor, rpc_controller, argument
/external/protobuf/python/google/protobuf/
Dservice_reflection.py143 def _WrapCallMethod(srvc, method_descriptor, argument
145 return self._CallMethod(srvc, method_descriptor,
156 def _CallMethod(self, srvc, method_descriptor, argument
167 if method_descriptor.containing_service != self.descriptor:
170 method = getattr(srvc, method_descriptor.name)
173 def _GetRequestClass(self, method_descriptor): argument
184 if method_descriptor.containing_service != self.descriptor:
187 return method_descriptor.input_type._concrete_class
189 def _GetResponseClass(self, method_descriptor): argument
200 if method_descriptor.containing_service != self.descriptor:
[all …]
Dservice.py65 def CallMethod(self, method_descriptor, rpc_controller, argument
93 def GetRequestClass(self, method_descriptor): argument
108 def GetResponseClass(self, method_descriptor): argument
217 def CallMethod(self, method_descriptor, rpc_controller, argument
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py148 method_descriptor = service_descriptor.FindMethodByName("Foo")
171 method_options = method_descriptor.GetOptions()
334 method_descriptor = service_descriptor.FindMethodByName("Method")
371 method_descriptor.GetOptions().Extensions[
/external/protobuf/src/google/protobuf/
Ddescriptor.cc277 const MethodDescriptor* method_descriptor; member
303 CONSTRUCTOR(MethodDescriptor , METHOD , method_descriptor ) in CONSTRUCTOR()
316 case METHOD : return method_descriptor ->service()->file(); in CONSTRUCTOR()
1266 return (result.type == Symbol::METHOD) ? result.method_descriptor : NULL; in FindMethodByName()
1470 return result.method_descriptor; in FindMethodByName()
/external/python/cpython2/Doc/whatsnew/
D2.4.rst953 :meth:`dict.__contains__` are now implemented as :class:`method_descriptor`