Home
last modified time | relevance | path

Searched refs:FindMethodByName (Results 1 – 15 of 15) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DServiceDescriptor.cs89 public MethodDescriptor FindMethodByName(String name) in FindMethodByName() method in Google.Protobuf.Reflection.ServiceDescriptor
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc380 static PyObject* FindMethodByName(PyObject* self, PyObject* arg) { in FindMethodByName() function
388 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindMethodByName( in FindMethodByName()
663 { "FindMethodByName", FindMethodByName, METH_O,
Ddescriptor.cc1685 static PyObject* FindMethodByName(PyBaseDescriptor *self, PyObject* arg) { in FindMethodByName() function
1693 _GetDescriptor(self)->FindMethodByName(StringParam(name, name_size)); in FindMethodByName()
1725 { "FindMethodByName", (PyCFunction)FindMethodByName, METH_O },
Ddescriptor_containers.cc1458 return GetDescriptor(self)->FindMethodByName(name); in GetByName()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorDeclarationTest.cs68 var method = service.FindMethodByName("Foo"); in MethodComments()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py148 method_descriptor = service_descriptor.FindMethodByName("Foo")
329 method_descriptor = service_descriptor.FindMethodByName("Method")
/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1582 TEST_F(ServiceDescriptorTest, FindMethodByName) { in TEST_F() argument
1583 EXPECT_EQ(foo_, service_->FindMethodByName("Foo")); in TEST_F()
1584 EXPECT_EQ(bar_, service_->FindMethodByName("Bar")); in TEST_F()
1585 EXPECT_EQ(foo2_, service2_->FindMethodByName("Foo")); in TEST_F()
1586 EXPECT_EQ(baz2_, service2_->FindMethodByName("Baz")); in TEST_F()
1588 EXPECT_TRUE(service_->FindMethodByName("NoSuchMethod") == nullptr); in TEST_F()
1589 EXPECT_TRUE(service_->FindMethodByName("Baz") == nullptr); in TEST_F()
1590 EXPECT_TRUE(service2_->FindMethodByName("Bar") == nullptr); in TEST_F()
3008 const MethodDescriptor* method = service->FindMethodByName("Foo"); in TEST()
3450 const MethodDescriptor* method = service->FindMethodByName("Method"); in TEST()
[all …]
Ddescriptor.h1270 const MethodDescriptor* FindMethodByName(ConstStringParam name) const;
1693 const MethodDescriptor* FindMethodByName(ConstStringParam name) const;
Ddescriptor.cc1474 const MethodDescriptor* DescriptorPool::FindMethodByName( in FindMethodByName() function in google::protobuf::DescriptorPool
1741 const MethodDescriptor* ServiceDescriptor::FindMethodByName( in FindMethodByName() function in google::protobuf::ServiceDescriptor
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py249 self.assertRaises(KeyError, self.pool.FindMethodByName, '')
262 self.assertRaises(error_type, self.pool.FindMethodByName, 0)
390 method = self.pool.FindMethodByName('protobuf_unittest.TestService.Foo')
393 self.pool.FindMethodByName('protobuf_unittest.TestService.Doesnotexist')
Ddescriptor_test.py158 method_descriptor = service_descriptor.FindMethodByName('Foo')
360 method_descriptor = service_descriptor.FindMethodByName("Method")
920 method_descriptor = unittest_pb2.TestService.DESCRIPTOR.FindMethodByName(
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py824 def FindMethodByName(self, name): member in ServiceDescriptor
870 return _message.default_pool.FindMethodByName(full_name)
Ddescriptor_pool.py688 def FindMethodByName(self, full_name): member in DescriptorPool
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc1262 foo_(descriptor_->FindMethodByName("Foo")),
1263 bar_(descriptor_->FindMethodByName("Bar")),
/third_party/protobuf/
DCHANGES.txt487 * Added DescriptorPool.FindMethodByName() method in pure python (c extension already has it)