Searched refs:FindServiceByName (Results 1 – 3 of 3) sorted by relevance
390 TEST_F(FileDescriptorTest, FindServiceByName) { in TEST_F() argument391 EXPECT_EQ(foo_service_, foo_file_->FindServiceByName("FooService")); in TEST_F()392 EXPECT_EQ(bar_service_, bar_file_->FindServiceByName("BarService")); in TEST_F()394 EXPECT_TRUE(foo_file_->FindServiceByName("BarService") == NULL); in TEST_F()395 EXPECT_TRUE(bar_file_->FindServiceByName("FooService") == NULL); in TEST_F()396 EXPECT_TRUE(baz_file_->FindServiceByName("FooService") == NULL); in TEST_F()398 EXPECT_TRUE(foo_file_->FindServiceByName("NoSuchService") == NULL); in TEST_F()399 EXPECT_TRUE(foo_file_->FindServiceByName("FooMessage") == NULL); in TEST_F()2711 file->FindServiceByName("TestServiceWithCustomOptions"); in TEST()3136 const ServiceDescriptor* service = file->FindServiceByName( in TEST()[all …]
1242 const ServiceDescriptor* FindServiceByName(const string& name) const;1417 const ServiceDescriptor* FindServiceByName(const string& name) const;
1257 const ServiceDescriptor* DescriptorPool::FindServiceByName( in FindServiceByName() function in google::protobuf::DescriptorPool1508 FileDescriptor::FindServiceByName(const string& key) const { in FindServiceByName() function in google::protobuf::FileDescriptor