Searched refs:DescriptorPool (Results 1 - 25 of 29) sorted by relevance

12

/external/protobuf/src/google/protobuf/
H A Ddynamic_message.h49 class DescriptorPool; // descriptor.h
71 // the DescriptorPool in which the exendee is defined.
75 // the given DescriptorPool.
81 DynamicMessageFactory(const DescriptorPool* pool);
87 // d->file()->pool() == DescriptorPool::generated_pool(),
115 const DescriptorPool* pool_;
H A Ddescriptor.cc156 // A DescriptorPool contains a bunch of hash_maps to implement the
305 // DescriptorPool::Tables
307 class DescriptorPool::Tables {
345 // This implements the body of DescriptorPool::Find*ByName(). It should
346 // really be a private method of DescriptorPool, but that would require
350 const DescriptorPool* pool, const string& name) const;
426 // FileDescriptorTables and DescriptorPool::Tables are interleaved below.
481 DescriptorPool::Tables::Tables()
486 DescriptorPool::Tables::~Tables() {
502 void DescriptorPool
751 DescriptorPool::DescriptorPool() function in class:google::protobuf::DescriptorPool
760 DescriptorPool::DescriptorPool(DescriptorDatabase* fallback_database, function in class:google::protobuf::DescriptorPool
771 DescriptorPool::DescriptorPool(const DescriptorPool* underlay) function in class:google::protobuf::DescriptorPool
[all...]
H A Ddescriptor.h74 class DescriptorPool;
107 // Use DescriptorPool to construct your own descriptors.
271 // Must be constructed using DescriptorPool.
288 // - Given a DescriptorPool, call DescriptorPool::FindExtensionByNumber().
292 // Use DescriptorPool to construct your own descriptors.
532 // Must be constructed using DescriptorPool.
541 // for a generated enum type, call TypeName_descriptor(). Use DescriptorPool
609 // Must be constructed using DescriptorPool.
622 // EnumDescriptor::FindValueByNumber(). Use DescriptorPool t
932 class LIBPROTOBUF_EXPORT DescriptorPool { class in namespace:google::protobuf
[all...]
H A Ddescriptor_database.h58 // This is useful if you want to create a DescriptorPool which loads
61 // calling DescriptorPool::BuildFile() for each one. Instead, a DescriptorPool
313 DescriptorPoolDatabase(const DescriptorPool& pool);
328 const DescriptorPool& pool_;
H A Ddynamic_message_unittest.cc58 DescriptorPool pool_;
H A Dmessage.cc247 GOOGLE_DCHECK_EQ(descriptor->file()->pool(), DescriptorPool::generated_pool())
269 if (type->file()->pool() != DescriptorPool::generated_pool()) return NULL;
H A Ddescriptor_unittest.cc246 DescriptorPool pool_;
395 // All messages created from the same DescriptorPool share the same lookup
464 DescriptorPool pool_;
508 // All messages in the same DescriptorPool share a single lookup table for
714 DescriptorPool pool_;
849 // All enums created from the same DescriptorPool share the same lookup
891 DescriptorPool pool_;
1058 DescriptorPool pool_;
1165 // All messages created from the same DescriptorPool share the same lookup
1234 DescriptorPool pool
[all...]
H A Ddynamic_message.cc174 const DescriptorPool* pool; // The factory's DescriptorPool.
441 DynamicMessageFactory::DynamicMessageFactory(const DescriptorPool* pool)
461 type->file()->pool() == DescriptorPool::generated_pool()) {
H A Dgenerated_message_reflection.h49 class DescriptorPool;
116 // pool: DescriptorPool to search for extension definitions. Only
128 const DescriptorPool* pool,
285 const DescriptorPool* descriptor_pool_;
H A Dextension_set_heavy.cc50 // DescriptorPool, using the given MessageFactory to construct sub-objects.
54 DescriptorPoolExtensionFinder(const DescriptorPool* pool,
63 const DescriptorPool* pool_;
69 const DescriptorPool* pool,
H A Dmessage_unittest.cc269 DescriptorPool pool;
H A Dextension_set_unittest.cc526 DescriptorPool dynamic_pool(DescriptorPool::generated_pool());
H A Ddescriptor.pb.cc83 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
98 ::google::protobuf::DescriptorPool::generated_pool(),
120 ::google::protobuf::DescriptorPool::generated_pool(),
141 ::google::protobuf::DescriptorPool::generated_pool(),
157 ::google::protobuf::DescriptorPool::generated_pool(),
179 ::google::protobuf::DescriptorPool::generated_pool(),
198 ::google::protobuf::DescriptorPool::generated_pool(),
215 ::google::protobuf::DescriptorPool::generated_pool(),
232 ::google::protobuf::DescriptorPool::generated_pool(),
250 ::google::protobuf::DescriptorPool
[all...]
H A Ddescriptor_database.cc392 DescriptorPoolDatabase::DescriptorPoolDatabase(const DescriptorPool& pool)
H A Ddescriptor_database_unittest.cc152 DescriptorPool pool_;
/external/protobuf/src/google/protobuf/compiler/
H A Dparser.h79 // and column numbers for errors reported by DescriptorPool during validation.
186 DescriptorPool::ErrorCollector::ErrorLocation location,
192 DescriptorPool::ErrorCollector::ErrorLocation location);
303 // DescriptorPool when validating descriptors -- to line and column numbers
316 DescriptorPool::ErrorCollector::ErrorLocation location,
321 DescriptorPool::ErrorCollector::ErrorLocation location,
329 pair<const Message*, DescriptorPool::ErrorCollector::ErrorLocation>,
H A Dimporter.h67 // code locations for error reporting. However, when a DescriptorPool wraps
69 // of the database is called at a time, even if the DescriptorPool is used
89 // Gets a DescriptorPool::ErrorCollector which records errors to the
92 // from the information given to it by the DescriptorPool.
93 DescriptorPool::ErrorCollector* GetValidationErrorCollector() {
112 class LIBPROTOBUF_EXPORT ValidationErrorCollector : public DescriptorPool::ErrorCollector {
149 // the file is already in the DescriptorPool, the existing FileDescriptor
150 // will be returned. The FileDescriptor is property of the DescriptorPool,
160 // DescriptorPool so that they can be cross-linked).
163 // The DescriptorPool i
[all...]
H A Dparser.cc255 DescriptorPool::ErrorCollector::ErrorLocation location,
264 DescriptorPool::ErrorCollector::ErrorLocation location) {
396 RecordLocation(message, DescriptorPool::ErrorCollector::NAME);
449 RecordLocation(field, DescriptorPool::ErrorCollector::TYPE);
460 RecordLocation(field, DescriptorPool::ErrorCollector::NAME);
466 RecordLocation(field, DescriptorPool::ErrorCollector::NUMBER);
479 RecordLocation(group, DescriptorPool::ErrorCollector::NAME,
530 RecordLocation(field, DescriptorPool::ErrorCollector::DEFAULT_VALUE);
679 DescriptorPool::ErrorCollector::OPTION_NAME);
691 DescriptorPool
[all...]
H A Dcommand_line_interface.h52 class DescriptorPool; // descriptor.h
223 bool EncodeOrDecode(const DescriptorPool* pool);
231 // depends on it, so that you can call DescriptorPool::BuildFile() on them
H A Dplugin.cc106 DescriptorPool pool;
H A Dplugin.pb.cc35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
52 ::google::protobuf::DescriptorPool::generated_pool(),
68 ::google::protobuf::DescriptorPool::generated_pool(),
85 ::google::protobuf::DescriptorPool::generated_pool(),
126 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
H A Dparser_unittest.cc72 class MockValidationErrorCollector : public DescriptorPool::ErrorCollector {
147 // Parse the text as a file and validate it (with a DescriptorPool), and
169 DescriptorPool pool_;
1011 // Test that errors detected by DescriptorPool correctly report line and
H A Dcommand_line_interface.cc667 DescriptorPool pool;
1214 bool CommandLineInterface::EncodeOrDecode(const DescriptorPool* pool) {
/external/protobuf/src/google/protobuf/io/
H A Dcoded_stream.h123 class DescriptorPool;
376 // The given DescriptorPool must contain m->GetDescriptor(). It is not
385 // 2) Use a DescriptorPool which has m->GetDescriptor()->pool() as an
386 // "underlay". Read the documentation for DescriptorPool for more
398 // DescriptorPool::generated_pool(), the factory MUST return the same
423 void SetExtensionRegistry(DescriptorPool* pool, MessageFactory* factory);
425 // Get the DescriptorPool set via SetExtensionRegistry(), or NULL if no pool
427 const DescriptorPool* GetExtensionPool();
481 const DescriptorPool* extension_pool_;
1020 inline void CodedInputStream::SetExtensionRegistry(DescriptorPool* poo
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DDescriptors.java215 // DescriptorPool's lookup tables. In the linking step, we look up all
216 // type references in the DescriptorPool, so that, for example, a
220 final DescriptorPool pool = new DescriptorPool(dependencies);
329 private final DescriptorPool pool;
333 final DescriptorPool pool)
510 new DescriptorPool.DescriptorIntPair(this, number));
1197 new DescriptorPool.DescriptorIntPair(this, number));
1510 * {@code DescriptorPool}'s life easier.
1584 private static final class DescriptorPool { class in class:Descriptors
1585 DescriptorPool(final FileDescriptor[] dependencies) { method in class:Descriptors.DescriptorPool
[all...]

Completed in 217 milliseconds

12