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

123

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddynamic_message.h49 class DescriptorPool; // descriptor.h
71 // the DescriptorPool in which the extendee 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.cc173 // A DescriptorPool contains a bunch of hash_maps to implement the
323 // DescriptorPool::Tables
325 class DescriptorPool::Tables {
388 // This implements the body of DescriptorPool::Find*ByName(). It should
389 // really be a private method of DescriptorPool, but that would require
393 const DescriptorPool* pool, const string& name) const;
487 // FileDescriptorTables and DescriptorPool::Tables are interleaved below.
542 DescriptorPool::Tables::Tables()
550 DescriptorPool::Tables::~Tables() {
575 void DescriptorPool
845 DescriptorPool::DescriptorPool() function in class:google::protobuf::DescriptorPool
854 DescriptorPool::DescriptorPool(DescriptorDatabase* fallback_database, function in class:google::protobuf::DescriptorPool
865 DescriptorPool::DescriptorPool(const DescriptorPool* underlay) function in class:google::protobuf::DescriptorPool
[all...]
H A Ddescriptor.h74 class DescriptorPool;
122 // Use DescriptorPool to construct your own descriptors.
297 // Must be constructed using DescriptorPool.
314 // - Given a DescriptorPool, call DescriptorPool::FindExtensionByNumber().
318 // Use DescriptorPool to construct your own descriptors.
575 // Must be constructed using DescriptorPool.
584 // for a generated enum type, call TypeName_descriptor(). Use DescriptorPool
663 // Must be constructed using DescriptorPool.
676 // EnumDescriptor::FindValueByNumber(). Use DescriptorPool t
1058 class LIBPROTOBUF_EXPORT DescriptorPool { class in namespace:google::protobuf
[all...]
H A Ddescriptor_database.h59 // This is useful if you want to create a DescriptorPool which loads
62 // calling DescriptorPool::BuildFile() for each one. Instead, a DescriptorPool
314 DescriptorPoolDatabase(const DescriptorPool& pool);
329 const DescriptorPool& pool_;
H A Ddescriptor_unittest.cc248 DescriptorPool pool_;
397 // All messages created from the same DescriptorPool share the same lookup
466 DescriptorPool pool_;
510 // All messages in the same DescriptorPool share a single lookup table for
716 DescriptorPool pool_;
851 // All enums created from the same DescriptorPool share the same lookup
893 DescriptorPool pool_;
1060 DescriptorPool pool_;
1167 // All messages created from the same DescriptorPool share the same lookup
1236 DescriptorPool pool
[all...]
/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_;
/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
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
H A Dpython_descriptor.h81 google::protobuf::DescriptorPool* GetDescriptorPool();
H A Dpython_descriptor.cc48 static google::protobuf::DescriptorPool* g_descriptor_pool = NULL;
152 const google::protobuf::DescriptorPool* pool;
276 google::protobuf::DescriptorPool* GetDescriptorPool() {
278 g_descriptor_pool = new google::protobuf::DescriptorPool(
279 google::protobuf::DescriptorPool::generated_pool());
308 if (google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
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 Dcommand_line_interface.h52 class DescriptorPool; // descriptor.h
244 bool EncodeOrDecode(const DescriptorPool* pool);
252 // depends on it, so that you can call DescriptorPool::BuildFile() on them
H A Dparser.cc354 DescriptorPool::ErrorCollector::ErrorLocation location) {
536 message, DescriptorPool::ErrorCollector::NAME);
660 location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::TYPE);
679 location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::NAME);
689 field, DescriptorPool::ErrorCollector::NUMBER);
717 group, DescriptorPool::ErrorCollector::NAME);
788 field, DescriptorPool::ErrorCollector::DEFAULT_VALUE);
986 uninterpreted_option, DescriptorPool::ErrorCollector::OPTION_NAME);
1007 uninterpreted_option, DescriptorPool::ErrorCollector::OPTION_VALUE);
1106 range, DescriptorPool
[all...]
H A Dparser.h82 // and column numbers for errors reported by DescriptorPool during validation.
246 DescriptorPool::ErrorCollector::ErrorLocation location);
437 // DescriptorPool when validating descriptors -- to line and column numbers
443 // DescriptorPool.
455 DescriptorPool::ErrorCollector::ErrorLocation location,
460 DescriptorPool::ErrorCollector::ErrorLocation location,
468 pair<const Message*, DescriptorPool::ErrorCollector::ErrorLocation>,
H A Dplugin.cc113 DescriptorPool pool;
/external/chromium_org/third_party/protobuf/python/google/protobuf/
H A Dmessage_factory.py74 _POOL = descriptor_pool.DescriptorPool(_DB)
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
H A DDescriptors.java230 // DescriptorPool's lookup tables. In the linking step, we look up all
231 // type references in the DescriptorPool, so that, for example, a
235 final DescriptorPool pool = new DescriptorPool(dependencies);
345 private final DescriptorPool pool;
349 final DescriptorPool pool)
537 new DescriptorPool.DescriptorIntPair(this, number));
966 DescriptorPool.SearchFilter.TYPES_ONLY);
984 DescriptorPool.SearchFilter.TYPES_ONLY);
1226 new DescriptorPool
1615 private static final class DescriptorPool { class in class:Descriptors
1623 DescriptorPool(final FileDescriptor[] dependencies) { method in class:Descriptors.DescriptorPool
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream.h136 class DescriptorPool;
397 // The given DescriptorPool must contain m->GetDescriptor(). It is not
406 // 2) Use a DescriptorPool which has m->GetDescriptor()->pool() as an
407 // "underlay". Read the documentation for DescriptorPool for more
419 // DescriptorPool::generated_pool(), the factory MUST return the same
444 void SetExtensionRegistry(const DescriptorPool* pool,
447 // Get the DescriptorPool set via SetExtensionRegistry(), or NULL if no pool
449 const DescriptorPool* GetExtensionPool();
508 const DescriptorPool* extension_pool_;
1063 inline void CodedInputStream::SetExtensionRegistry(const DescriptorPool* poo
[all...]
/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/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dmessage_factory_test.py90 pool = descriptor_pool.DescriptorPool(db)

Completed in 283 milliseconds

123