Home
last modified time | relevance | path

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

/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_server.py26 def _implementation(descriptors_to_servicers, method_descriptor): argument
27 servicer = descriptors_to_servicers[method_descriptor.containing_service]
28 return getattr(servicer, method_descriptor.name)
69 def _invoke(self, service_behavior, method_descriptor, handler, argument
72 method_descriptor)
86 def invoke_unary_unary(self, method_descriptor, handler, argument
89 _unary_unary_service(request), method_descriptor, handler,
92 def invoke_unary_stream(self, method_descriptor, handler, argument
95 _unary_stream_service(request), method_descriptor, handler,
98 def invoke_stream_unary(self, method_descriptor, handler, argument
[all …]
/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/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_channel.py74 def take_unary_unary(self, method_descriptor): argument
75 return _channel_rpc.unary_unary(self._state, method_descriptor)
77 def take_unary_stream(self, method_descriptor): argument
78 return _channel_rpc.unary_stream(self._state, method_descriptor)
80 def take_stream_unary(self, method_descriptor): argument
81 return _channel_rpc.stream_unary(self._state, method_descriptor)
83 def take_stream_stream(self, method_descriptor): argument
84 return _channel_rpc.stream_stream(self._state, method_descriptor)
D_channel_rpc.py98 def unary_unary(channel_state, method_descriptor): argument
99 rpc_state = channel_state.take_rpc_state(method_descriptor)
105 def unary_stream(channel_state, method_descriptor): argument
106 rpc_state = channel_state.take_rpc_state(method_descriptor)
112 def stream_unary(channel_state, method_descriptor): argument
113 rpc_state = channel_state.take_rpc_state(method_descriptor)
117 def stream_stream(channel_state, method_descriptor): argument
118 rpc_state = channel_state.take_rpc_state(method_descriptor)
D_channel_state.py37 def take_rpc_state(self, method_descriptor): argument
39 method_descriptor.containing_service.full_name,
40 method_descriptor.name)
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/
D_common.py42 for method_descriptor in service_descriptor.methods_by_name.values():
44 method_descriptor.name)
45 rpc_names_to_descriptors[rpc_name] = method_descriptor
145 def invoke_unary_unary(self, method_descriptor, handler, argument
150 def invoke_unary_stream(self, method_descriptor, handler, argument
155 def invoke_stream_unary(self, method_descriptor, handler, argument
160 def invoke_stream_stream(self, method_descriptor, handler, argument
D__init__.py220 def take_unary_unary(self, method_descriptor): argument
239 def take_unary_stream(self, method_descriptor): argument
258 def take_stream_unary(self, method_descriptor): argument
277 def take_stream_stream(self, method_descriptor): argument
498 def invoke_unary_unary(self, method_descriptor, invocation_metadata, argument
516 def invoke_unary_stream(self, method_descriptor, invocation_metadata, argument
534 def invoke_stream_unary(self, method_descriptor, invocation_metadata, argument
551 def invoke_stream_stream(self, method_descriptor, invocation_metadata, argument
/external/grpc-grpc/test/cpp/util/
Dproto_file_parser.cc137 const protobuf::MethodDescriptor* method_descriptor = nullptr; in GetFullMethodName() local
144 if (method_descriptor) { in GetFullMethodName()
147 error_stream << method_descriptor->full_name() << " "; in GetFullMethodName()
151 method_descriptor = method_desc; in GetFullMethodName()
155 if (!method_descriptor) { in GetFullMethodName()
162 known_methods_[method] = method_descriptor->full_name(); in GetFullMethodName()
164 return method_descriptor->full_name(); in GetFullMethodName()
/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`
/external/python/cpython3/Doc/whatsnew/
D2.4.rst953 :meth:`dict.__contains__` are now implemented as :class:`method_descriptor`