Searched refs:FindServiceByName (Results 1 – 3 of 3) sorted by relevance
320 TEST_F(FileDescriptorTest, FindServiceByName) { in TEST_F() argument321 EXPECT_EQ(foo_service_, foo_file_->FindServiceByName("FooService")); in TEST_F()322 EXPECT_EQ(bar_service_, bar_file_->FindServiceByName("BarService")); in TEST_F()324 EXPECT_TRUE(foo_file_->FindServiceByName("BarService") == NULL); in TEST_F()325 EXPECT_TRUE(bar_file_->FindServiceByName("FooService") == NULL); in TEST_F()326 EXPECT_TRUE(baz_file_->FindServiceByName("FooService") == NULL); in TEST_F()328 EXPECT_TRUE(foo_file_->FindServiceByName("NoSuchService") == NULL); in TEST_F()329 EXPECT_TRUE(foo_file_->FindServiceByName("FooMessage") == NULL); in TEST_F()2380 file->FindServiceByName("TestServiceWithCustomOptions"); in TEST()2805 const ServiceDescriptor* service = file->FindServiceByName( in TEST()[all …]
1063 const ServiceDescriptor* FindServiceByName(const string& name) const;1228 const ServiceDescriptor* FindServiceByName(const string& name) const;
1111 const ServiceDescriptor* DescriptorPool::FindServiceByName( in FindServiceByName() function in google::protobuf::DescriptorPool1357 FileDescriptor::FindServiceByName(const string& key) const { in FindServiceByName() function in google::protobuf::FileDescriptor