Searched refs:pool_ (Results 1 - 13 of 13) sorted by relevance

/external/protobuf/src/google/protobuf/
H A Ddynamic_message_unittest.cc58 DescriptorPool pool_; member in class:google::protobuf::DynamicMessageTest
69 DynamicMessageTest(): factory_(&pool_) {}
86 ASSERT_TRUE(pool_.BuildFile(unittest_import_public_file) != NULL);
87 ASSERT_TRUE(pool_.BuildFile(unittest_import_file) != NULL);
88 ASSERT_TRUE(pool_.BuildFile(unittest_file) != NULL);
90 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes");
95 pool_.FindMessageTypeByName("protobuf_unittest.TestAllExtensions");
100 pool_.FindMessageTypeByName("protobuf_unittest.TestPackedTypes");
105 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2");
179 pool_
[all...]
H A Ddynamic_message.h117 const DescriptorPool* pool_; member in class:google::protobuf::DynamicMessageFactory
H A Ddescriptor_unittest.cc216 foo_file_ = pool_.BuildFile(foo_file);
219 bar_file_ = pool_.BuildFile(bar_file);
222 baz_file_ = pool_.BuildFile(baz_file);
248 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::FileDescriptorTest
345 EXPECT_EQ(foo_extension_, pool_.FindExtensionByNumber(foo_message_, 1));
346 EXPECT_EQ(bar_extension_, pool_.FindExtensionByNumber(bar_message_, 1));
348 EXPECT_TRUE(pool_.FindExtensionByNumber(foo_message_, 2) == NULL);
356 EXPECT_EQ(foo_file_, pool_.BuildFile(file));
360 EXPECT_TRUE(pool_.BuildFile(file) == NULL);
438 foo_file_ = pool_
466 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::DescriptorTest
711 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::OneofDescriptorTest
814 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::StylizedFieldNamesTest
991 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::EnumDescriptorTest
1158 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::ServiceDescriptorTest
1334 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::NestedDescriptorTest
1517 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::ExtensionDescriptorTest
1714 scoped_ptr<DescriptorPool> pool_; member in class:google::protobuf::descriptor_unittest::MiscTest
2144 scoped_ptr<DescriptorPool> pool_; member in class:google::protobuf::descriptor_unittest::AllowUnknownDependenciesTest
2970 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::ValidationErrorTest
5339 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::SourceLocationTest
5463 DescriptorPool pool_; member in class:google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest
[all...]
H A Ddescriptor_database.cc394 : pool_(pool) {}
400 const FileDescriptor* file = pool_.FindFileByName(filename);
410 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name);
421 const Descriptor* extendee = pool_.FindMessageTypeByName(containing_type);
425 pool_.FindExtensionByNumber(extendee, field_number);
436 const Descriptor* extendee = pool_.FindMessageTypeByName(extendee_type);
440 pool_.FindAllExtensions(extendee, &extensions);
H A Ddescriptor_database_unittest.cc141 DescriptorPoolDatabaseTestCase() : database_(pool_) {}
148 return pool_.BuildFile(file);
152 DescriptorPool pool_; member in class:google::protobuf::__anon13510::DescriptorPoolDatabaseTestCase
H A Ddescriptor_database.h330 const DescriptorPool& pool_; member in class:google::protobuf::DescriptorPoolDatabase
H A Ddynamic_message.cc523 : pool_(NULL), delegate_to_generated_factory_(false),
528 : pool_(pool), delegate_to_generated_factory_(false),
564 type_info->pool = (pool_ == NULL) ? type->file()->pool() : pool_;
H A Ddescriptor.cc2293 const DescriptorPool* pool_; member in class:google::protobuf::DescriptorBuilder
2721 : pool_(pool),
2816 MutexLockMaybe lock((pool == pool_) ? NULL : pool->mutex_);
2839 return FindSymbolNotEnforcingDepsHelper(pool_, name);
2847 if (!pool_->enforce_dependencies_) {
2960 if (result.IsNull() && pool_->allow_unknown_) {
3003 placeholder_file->pool_ = pool_;
3078 placeholder->pool_ = pool_;
[all...]
H A Dextension_set_heavy.cc83 : pool_(pool), factory_(factory), containing_type_(containing_type) {}
89 const DescriptorPool* pool_; member in class:google::protobuf::internal::DescriptorPoolExtensionFinder
246 pool_->FindExtensionByNumber(containing_type_, number);
H A Ddescriptor.h1105 const DescriptorPool* pool_; member in class:google::protobuf::FileDescriptor
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.cc190 pool_(&database_, database_.GetValidationErrorCollector()) {
191 pool_.EnforceWeakDependencies(true);
198 return pool_.FindFileByName(filename);
202 pool_.AddUnusedImportTrackFile(file_name);
206 pool_.ClearUnusedImportTrackFiles();
H A Dimporter.h166 return &pool_;
174 DescriptorPool pool_; member in class:google::protobuf::compiler::Importer
H A Dparser_unittest.cc170 EXPECT_TRUE(pool_.BuildFileCollectingErrors(
176 DescriptorPool pool_; member in class:google::protobuf::compiler::__anon13495::ParserTest
1187 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL);
1341 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL);
1362 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != NULL);
1391 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL);
1477 ASSERT_TRUE(pool_.BuildFile(public_import_proto) != NULL);
1482 ASSERT_TRUE(pool_.BuildFile(import_proto) != NULL);
1483 const FileDescriptor* actual = pool_.BuildFile(parsed);
1526 ASSERT_TRUE(pool_
[all...]

Completed in 843 milliseconds