Searched refs:FindFileContainingExtension (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database_unittest.cc317 TEST_P(DescriptorDatabaseTest, FindFileContainingExtension) {
340 EXPECT_TRUE(database_->FindFileContainingExtension("Foo", 5, &file));
346 EXPECT_TRUE(database_->FindFileContainingExtension("Foo", 32, &file));
353 EXPECT_TRUE(database_->FindFileContainingExtension("corge.Bar", 70, &file));
361 EXPECT_FALSE(database_->FindFileContainingExtension("Bar", 56, &file));
363 database_->FindFileContainingExtension("corge.Bar", 56, &file));
369 EXPECT_FALSE(database_->FindFileContainingExtension("Foo", 12, &file));
376 database_->FindFileContainingExtension("NoSuchType", 5, &file));
382 EXPECT_FALSE(database_->FindFileContainingExtension("Bar", 70, &file));
650 TEST_F(MergedDescriptorDatabaseTest, FindFileContainingExtension) {
[all...]
H A Ddescriptor_database.h85 virtual bool FindFileContainingExtension(const string& containing_type,
93 // FindFileContainingExtension will return true on all of the found
117 // FindFileContainingExtension() is mostly-implemented. It works if and only
122 // extending. Therefore, calling FindFileContainingExtension() with the
148 bool FindFileContainingExtension(const string& containing_type,
265 // The same caveats regarding FindFileContainingExtension() apply as with
293 bool FindFileContainingExtension(const string& containing_type,
322 bool FindFileContainingExtension(const string& containing_type,
351 bool FindFileContainingExtension(const string& containing_type,
H A Ddescriptor_database.cc279 bool SimpleDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::SimpleDescriptorDatabase
369 bool EncodedDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::EncodedDescriptorDatabase
416 bool DescriptorPoolDatabase::FindFileContainingExtension( function in class:google::protobuf::DescriptorPoolDatabase
494 bool MergedDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::MergedDescriptorDatabase
499 if (sources_[i]->FindFileContainingExtension(
H A Ddescriptor_unittest.cc4075 bool FindFileContainingExtension(const string& containing_type, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
4111 bool FindFileContainingExtension(const string& containing_type, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
4115 return wrapped_db_->FindFileContainingExtension(
4140 bool FindFileContainingExtension(const string& containing_type, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
4379 // If FindFileContainingSymbol() or FindFileContainingExtension() return a
H A Ddescriptor.cc1399 if (!fallback_database_->FindFileContainingExtension(
/external/protobuf/src/google/protobuf/
H A Ddescriptor_database_unittest.cc317 TEST_P(DescriptorDatabaseTest, FindFileContainingExtension) {
340 EXPECT_TRUE(database_->FindFileContainingExtension("Foo", 5, &file));
346 EXPECT_TRUE(database_->FindFileContainingExtension("Foo", 32, &file));
353 EXPECT_TRUE(database_->FindFileContainingExtension("corge.Bar", 70, &file));
361 EXPECT_FALSE(database_->FindFileContainingExtension("Bar", 56, &file));
363 database_->FindFileContainingExtension("corge.Bar", 56, &file));
369 EXPECT_FALSE(database_->FindFileContainingExtension("Foo", 12, &file));
376 database_->FindFileContainingExtension("NoSuchType", 5, &file));
382 EXPECT_FALSE(database_->FindFileContainingExtension("Bar", 70, &file));
650 TEST_F(MergedDescriptorDatabaseTest, FindFileContainingExtension) {
[all...]
H A Ddescriptor_database.h84 virtual bool FindFileContainingExtension(const string& containing_type,
92 // FindFileContainingExtension will return true on all of the found
116 // FindFileContainingExtension() is mostly-implemented. It works if and only
121 // extending. Therefore, calling FindFileContainingExtension() with the
147 bool FindFileContainingExtension(const string& containing_type,
264 // The same caveats regarding FindFileContainingExtension() apply as with
292 bool FindFileContainingExtension(const string& containing_type,
321 bool FindFileContainingExtension(const string& containing_type,
350 bool FindFileContainingExtension(const string& containing_type,
H A Ddescriptor_database.cc279 bool SimpleDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::SimpleDescriptorDatabase
369 bool EncodedDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::EncodedDescriptorDatabase
416 bool DescriptorPoolDatabase::FindFileContainingExtension( function in class:google::protobuf::DescriptorPoolDatabase
494 bool MergedDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::MergedDescriptorDatabase
499 if (sources_[i]->FindFileContainingExtension(
H A Ddescriptor_unittest.cc3625 bool FindFileContainingExtension(const string& containing_type, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
3661 bool FindFileContainingExtension(const string& containing_type, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
3665 return wrapped_db_->FindFileContainingExtension(
3690 bool FindFileContainingExtension(const string& containing_type, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
3892 // If FindFileContainingSymbol() or FindFileContainingExtension() return a
H A Ddescriptor.cc1269 if (!fallback_database_->FindFileContainingExtension(
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter.h75 // FindFileContainingExtension(); these will always return false.
102 bool FindFileContainingExtension(const string& containing_type,
H A Dimporter.cc155 bool SourceTreeDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.h75 // FindFileContainingExtension(); these will always return false.
102 bool FindFileContainingExtension(const string& containing_type,
H A Dimporter.cc155 bool SourceTreeDescriptorDatabase::FindFileContainingExtension( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase

Completed in 1139 milliseconds