Home
last modified time | relevance | path

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

/third_party/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py82 service_descriptor = unittest_pb2.TestService.GetDescriptor()
83 srvc.CallMethod(service_descriptor.methods[1], rpc_controller,
85 self.assertTrue(srvc.GetRequestClass(service_descriptor.methods[1]) is
87 self.assertTrue(srvc.GetResponseClass(service_descriptor.methods[1]) is
106 srvc.CallMethod(service_descriptor.methods[1], rpc_controller,
Ddescriptor_test.py156 service_descriptor = (unittest_custom_options_pb2.
158 method_descriptor = service_descriptor.FindMethodByName('Foo')
181 service_options = service_descriptor.GetOptions()
358 service_descriptor =\
360 method_descriptor = service_descriptor.FindMethodByName("Method")
393 service_descriptor.GetOptions().Extensions[
666 service_descriptor = unittest_pb2.DESCRIPTOR.services_by_name['TestService']
667 self.assertEqual(service_descriptor.name, 'TestService')
668 self.assertEqual(service_descriptor.methods[0].name, 'Foo')
669 self.assertIs(service_descriptor.file, unittest_pb2.DESCRIPTOR)
[all …]
/third_party/protobuf/python/google/protobuf/
Dservice_reflection.py140 def __init__(self, service_descriptor): argument
147 self.descriptor = service_descriptor
258 def __init__(self, service_descriptor): argument
265 self.descriptor = service_descriptor
Dsymbol_database.py111 def RegisterServiceDescriptor(self, service_descriptor): argument
120 self.pool._AddServiceDescriptor(service_descriptor)
Ddescriptor_pool.py702 service_descriptor = self.FindServiceByName(service_name)
703 return service_descriptor.methods_by_name[method_name]
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc367 const ServiceDescriptor* service_descriptor = in FindServiceByName() local
370 if (service_descriptor == NULL) { in FindServiceByName()
377 return PyServiceDescriptor_FromDescriptor(service_descriptor); in FindServiceByName()
555 const ServiceDescriptor* service_descriptor = in AddServiceDescriptor() local
557 if (!service_descriptor) { in AddServiceDescriptor()
560 if (service_descriptor != in AddServiceDescriptor()
562 service_descriptor->full_name())) { in AddServiceDescriptor()
565 service_descriptor->full_name().c_str()); in AddServiceDescriptor()
Ddescriptor_containers.h99 namespace service_descriptor {
Ddescriptor.cc1653 namespace service_descriptor { namespace
1759 service_descriptor::Methods, // tp_methods
1761 service_descriptor::Getters, // tp_getset
1766 const ServiceDescriptor* service_descriptor) { in PyServiceDescriptor_FromDescriptor() argument
1768 &PyServiceDescriptor_Type, service_descriptor, NULL); in PyServiceDescriptor_FromDescriptor()
Ddescriptor_containers.cc1441 namespace service_descriptor { namespace
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dservice_reflection_test.py77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
78 srvc.CallMethod(service_descriptor.methods[1], rpc_controller,
97 srvc.CallMethod(service_descriptor.methods[1], rpc_controller,
Ddescriptor_test.py146 service_descriptor =\
148 method_descriptor = service_descriptor.FindMethodByName("Foo")
168 service_options = service_descriptor.GetOptions()
327 service_descriptor =\
329 method_descriptor = service_descriptor.FindMethodByName("Method")
362 service_descriptor.GetOptions().Extensions[
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dmpegts.c575 static const guint8 service_descriptor[] = { variable
630 if (desc->data[i] != service_descriptor[i]) in GST_START_TEST()
632 desc->data[i], service_descriptor[i], i); in GST_START_TEST()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc96 const ServiceDescriptor* service_descriptor; member
120 CONSTRUCTOR(ServiceDescriptor, SERVICE, service_descriptor) in CONSTRUCTOR()
140 return service_descriptor->file(); in CONSTRUCTOR()
1471 return (result.type == Symbol::SERVICE) ? result.service_descriptor : nullptr; in FindServiceByName()
1787 return result.service_descriptor; in FindServiceByName()