/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | dynamic_message_unittest.cc | 65 DescriptorPool pool_; member in google::protobuf::DynamicMessageTest 78 DynamicMessageTest(): factory_(&pool_) {} in DynamicMessageTest() 98 ASSERT_TRUE(pool_.BuildFile(unittest_import_public_file) != NULL); in SetUp() 99 ASSERT_TRUE(pool_.BuildFile(unittest_import_file) != NULL); in SetUp() 100 ASSERT_TRUE(pool_.BuildFile(unittest_file) != NULL); in SetUp() 101 ASSERT_TRUE(pool_.BuildFile(unittest_no_field_presence_file) != NULL); in SetUp() 103 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes"); in SetUp() 108 pool_.FindMessageTypeByName("protobuf_unittest.TestAllExtensions"); in SetUp() 113 pool_.FindMessageTypeByName("protobuf_unittest.TestPackedTypes"); in SetUp() 118 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2"); in SetUp() [all …]
|
D | descriptor_unittest.cc | 285 foo_file_ = pool_.BuildFile(foo_file); in SetUp() 288 bar_file_ = pool_.BuildFile(bar_file); in SetUp() 291 baz_file_ = pool_.BuildFile(baz_file); in SetUp() 317 DescriptorPool pool_; member in google::protobuf::descriptor_unittest::FileDescriptorTest 414 EXPECT_EQ(foo_extension_, pool_.FindExtensionByNumber(foo_message_, 1)); in TEST_F() 415 EXPECT_EQ(bar_extension_, pool_.FindExtensionByNumber(bar_message_, 1)); in TEST_F() 417 EXPECT_TRUE(pool_.FindExtensionByNumber(foo_message_, 2) == NULL); in TEST_F() 425 EXPECT_EQ(foo_file_, pool_.BuildFile(file)); in TEST_F() 429 EXPECT_TRUE(pool_.BuildFile(file) == NULL); in TEST_F() 439 const FileDescriptor* proto2_descriptor = pool_.BuildFile(proto_syntax2); in TEST_F() [all …]
|
D | descriptor_database.cc | 393 : pool_(pool) {} in DescriptorPoolDatabase() 399 const FileDescriptor* file = pool_.FindFileByName(filename); in FindFileByName() 409 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol() 420 const Descriptor* extendee = pool_.FindMessageTypeByName(containing_type); in FindFileContainingExtension() 424 pool_.FindExtensionByNumber(extendee, field_number); in FindFileContainingExtension() 435 const Descriptor* extendee = pool_.FindMessageTypeByName(extendee_type); in FindAllExtensionNumbers() 439 pool_.FindAllExtensions(extendee, &extensions); in FindAllExtensionNumbers()
|
D | dynamic_message.h | 121 const DescriptorPool* pool_;
|
D | descriptor_database_unittest.cc | 146 DescriptorPoolDatabaseTestCase() : database_(pool_) {} in DescriptorPoolDatabaseTestCase() 153 return pool_.BuildFile(file); in AddToDatabase() 157 DescriptorPool pool_; member in google::protobuf::__anon901a2e9a0111::DescriptorPoolDatabaseTestCase
|
D | dynamic_message.cc | 613 : pool_(NULL), delegate_to_generated_factory_(false), in DynamicMessageFactory() 618 : pool_(pool), delegate_to_generated_factory_(false), in DynamicMessageFactory() 654 type_info->pool = (pool_ == NULL) ? type->file()->pool() : pool_; in GetPrototypeNoLock()
|
D | descriptor.cc | 2785 const DescriptorPool* pool_; member in google::protobuf::DescriptorBuilder 3232 : pool_(pool), in DescriptorBuilder() 3327 MutexLockMaybe lock((pool == pool_) ? NULL : pool->mutex_); in FindSymbolNotEnforcingDepsHelper() 3350 return FindSymbolNotEnforcingDepsHelper(pool_, name); in FindSymbolNotEnforcingDeps() 3358 if (!pool_->enforce_dependencies_) { in FindSymbol() 3471 if (result.IsNull() && pool_->allow_unknown_) { in LookupSymbol() 3579 placeholder->pool_ = pool_; in NewPlaceholderFile() 3777 if (pool_->fallback_database_ == NULL) { in AddImportError() 3841 if (pool_->fallback_database_ != NULL) { in BuildFile() 3845 (pool_->underlay_ == NULL || in BuildFile() [all …]
|
D | descriptor_database.h | 330 const DescriptorPool& pool_;
|
D | extension_set_heavy.cc | 83 : pool_(pool), factory_(factory), containing_type_(containing_type) {} in DescriptorPoolExtensionFinder() 89 const DescriptorPool* pool_; member in google::protobuf::internal::DescriptorPoolExtensionFinder 289 pool_->FindExtensionByNumber(containing_type_, number); in Find()
|
D | map_test.cc | 2640 const DescriptorPool* pool_; member in google::protobuf::internal::MapFieldInDynamicMessageTest 2647 : pool_(DescriptorPool::generated_pool()), factory_(pool_) {} in MapFieldInDynamicMessageTest() 2651 pool_->FindMessageTypeByName("protobuf_unittest.TestMap"); in SetUp() 2653 pool_->FindMessageTypeByName("protobuf_unittest.TestRecursiveMapMessage"); in SetUp()
|
D | descriptor.h | 1298 const DescriptorPool* pool_; variable
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 226 : pool_(pool), method_(method), localizer_(method) {} in Visitor() 231 Visitor sub_visitor(pool_, method_); in Visit() 237 localized->values[i] = std::unique_ptr<Item>(plural->values[i]->Clone(pool_)); in Visit() 271 std::unique_ptr<String> localized = util::make_unique<String>(pool_->MakeRef(result)); in Visit() 278 item = PseudolocalizeStyledString(string, method_, pool_); in Visit() 286 StringPool* pool_; member in aapt::__anon7e02baf00111::Visitor
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | importer.cc | 206 pool_(&database_, database_.GetValidationErrorCollector()) { in Importer() 207 pool_.EnforceWeakDependencies(true); in Importer() 214 return pool_.FindFileByName(filename); in Import() 218 pool_.AddUnusedImportTrackFile(file_name); in AddUnusedImportTrackFile() 222 pool_.ClearUnusedImportTrackFiles(); in ClearUnusedImportTrackFiles()
|
D | importer.h | 172 return &pool_; in pool() 180 DescriptorPool pool_; variable
|
D | parser_unittest.cc | 173 EXPECT_TRUE(pool_.BuildFileCollectingErrors( in ExpectHasValidationErrors() 179 DescriptorPool pool_; member in google::protobuf::compiler::__anon458863de0111::ParserTest 1472 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F() 1626 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F() 1647 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != NULL); in TEST_F() 1676 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F() 1783 ASSERT_TRUE(pool_.BuildFile(public_import_proto) != NULL); in TEST_F() 1788 ASSERT_TRUE(pool_.BuildFile(import_proto) != NULL); in TEST_F() 1789 const FileDescriptor* actual = pool_.BuildFile(parsed); in TEST_F() 1832 ASSERT_TRUE(pool_.BuildFile(import_proto) != NULL); in TEST_F() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | type_resolver_util.cc | 72 : url_prefix_(url_prefix), pool_(pool) {} in DescriptorPoolTypeResolver() 86 const Descriptor* descriptor = pool_->FindMessageTypeByName(message_name); in ResolveMessageType() 107 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType() 247 const DescriptorPool* pool_; member in google::protobuf::util::__anon85889f850111::DescriptorPoolTypeResolver
|
/frameworks/base/tools/aapt2/ |
D | StringPool.cpp | 84 return entry_->pool_->styles_.size() + entry_->index_; in index() 188 entry->pool_ = this; in MakeRefImpl() 197 if (ref.entry_->pool_ == this) { in MakeRef() 254 entry->pool_ = this; in Merge()
|
D | StringPool.h | 133 const StringPool* pool_; variable
|