Home
last modified time | relevance | path

Searched refs:DescriptorPool (Results 1 – 25 of 97) sorted by relevance

1234

/external/protobuf/src/google/protobuf/
Ddescriptor.cc392 class DescriptorPool::Tables {
468 const DescriptorPool* pool, const string& name);
642 DescriptorPool::Tables::Tables() in Tables()
651 DescriptorPool::Tables::~Tables() { in ~Tables()
702 void DescriptorPool::Tables::AddCheckpoint() { in AddCheckpoint()
706 void DescriptorPool::Tables::ClearLastCheckpoint() { in ClearLastCheckpoint()
718 void DescriptorPool::Tables::RollbackToLastCheckpoint() { in RollbackToLastCheckpoint()
767 inline Symbol DescriptorPool::Tables::FindSymbol(const string& key) const { in FindSymbol()
794 Symbol DescriptorPool::Tables::FindByNameHelper( in FindByNameHelper()
795 const DescriptorPool* pool, const string& name) { in FindByNameHelper()
[all …]
Ddynamic_message.h55 class DescriptorPool; // descriptor.h variable
87 DynamicMessageFactory(const DescriptorPool* pool);
121 const DescriptorPool* pool_;
Ddescriptor.h85 class DescriptorPool; variable
1167 const DescriptorPool* pool() const;
1292 const DescriptorPool* pool_;
1355 class LIBPROTOBUF_EXPORT DescriptorPool {
1358 DescriptorPool();
1384 explicit DescriptorPool(DescriptorDatabase* fallback_database,
1387 ~DescriptorPool();
1392 static const DescriptorPool* generated_pool();
1543 explicit DescriptorPool(const DescriptorPool* underlay);
1556 static DescriptorPool* internal_generated_pool();
[all …]
Ddescriptor_unittest.cc182 class MockErrorCollector : public DescriptorPool::ErrorCollector {
318 DescriptorPool pool_;
471 DescriptorPool pool; in TEST_F()
482 DescriptorPool pool; in TEST_F()
672 DescriptorPool pool_;
958 DescriptorPool pool_;
1061 DescriptorPool pool_;
1238 DescriptorPool pool_;
1405 DescriptorPool pool_;
1581 DescriptorPool pool_;
[all …]
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h12 struct DescriptorPool;
22 typedef struct DescriptorPool DescriptorPool; typedef
38 extern DescriptorPool* generated_pool; // The actual generated pool
64 struct DescriptorPool { struct
181 DescriptorPool* php_to_descriptor_pool(zval* value TSRMLS_DC);
183 void descriptor_pool_free_c(DescriptorPool* object TSRMLS_DC);
185 void descriptor_pool_init_c_instance(DescriptorPool* pool TSRMLS_DC);
186 PHP_METHOD(DescriptorPool, addMessage);
187 PHP_METHOD(DescriptorPool, finalize);
Ddef.c88 PHP_ME(DescriptorPool, addMessage, NULL, ZEND_ACC_PUBLIC)
89 PHP_ME(DescriptorPool, finalize, NULL, ZEND_ACC_PUBLIC)
93 DEFINE_CLASS(DescriptorPool, descriptor_pool,
96 DescriptorPool *generated_pool; // The actual generated pool
102 generated_pool = ALLOC(DescriptorPool); in ZEND_FUNCTION()
112 void descriptor_pool_init_c_instance(DescriptorPool* pool TSRMLS_DC) { in descriptor_pool_init_c_instance()
120 void descriptor_pool_free_c(DescriptorPool *pool TSRMLS_DC) { in descriptor_pool_free_c()
126 PHP_METHOD(DescriptorPool, addMessage) { in PHP_METHOD() argument
160 PHP_METHOD(DescriptorPool, finalize) { in PHP_METHOD() argument
161 DescriptorPool *self = php_to_descriptor_pool(getThis() TSRMLS_CC); in PHP_METHOD()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFileDescriptor.cs46 …iptorData, FileDescriptorProto proto, FileDescriptor[] dependencies, DescriptorPool pool, bool all… in FileDescriptor()
49 DescriptorPool = pool; in FileDescriptor()
182 internal DescriptorPool DescriptorPool { get; } property in Google.Protobuf.Reflection.FileDescriptor
203 T result = DescriptorPool.FindSymbol<T>(name);
242 DescriptorPool pool = new DescriptorPool(dependencies); in BuildFrom()
DMethodDescriptor.cs76 file.DescriptorPool.AddSymbol(this); in MethodDescriptor()
88 IDescriptor lookup = File.DescriptorPool.LookupSymbol(Proto.InputType, this); in CrossLink()
95 lookup = File.DescriptorPool.LookupSymbol(Proto.OutputType, this); in CrossLink()
DEnumDescriptor.cs65 File.DescriptorPool.AddSymbol(this); in EnumDescriptor()
103 return File.DescriptorPool.FindEnumValueByNumber(this, number); in FindValueByNumber()
113 return File.DescriptorPool.FindSymbol<EnumValueDescriptor>(FullName + "." + name); in FindValueByName()
DMessageDescriptor.cs96 file.DescriptorPool.AddSymbol(this); in MessageDescriptor()
201 …public FieldDescriptor FindFieldByName(String name) => File.DescriptorPool.FindSymbol<FieldDescrip…
208 …public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this… in FindFieldByNumber()
217 File.DescriptorPool.FindSymbol<T>(FullName + "." + name);
DEnumValueDescriptor.cs49 file.DescriptorPool.AddSymbol(this); in EnumValueDescriptor()
50 file.DescriptorPool.AddEnumValueByNumber(this); in EnumValueDescriptor()
DServiceDescriptor.cs53 file.DescriptorPool.AddSymbol(this); in ServiceDescriptor()
78 return File.DescriptorPool.FindSymbol<MethodDescriptor>(FullName + "." + name); in FindMethodByName()
DFieldDescriptor.cs93 file.DescriptorPool.AddSymbol(this); in FieldDescriptor()
261 File.DescriptorPool.LookupSymbol(Proto.TypeName, this); in CrossLink()
316 File.DescriptorPool.AddFieldByNumber(this); in CrossLink()
DDescriptorPool.cs43 internal sealed class DescriptorPool class
56 internal DescriptorPool(FileDescriptor[] dependencyFiles) in DescriptorPool() method in Google.Protobuf.Reflection.DescriptorPool
103 dependency.DescriptorPool.descriptorsByName.TryGetValue(fullName, out result);
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc60 static hash_map<const DescriptorPool*, PyDescriptorPool*> descriptor_pool_map;
97 const DescriptorPool* underlay) { in PyDescriptorPool_NewWithUnderlay()
102 cpool->pool = new DescriptorPool(underlay); in PyDescriptorPool_NewWithUnderlay()
122 cpool->pool = new DescriptorPool(database); in PyDescriptorPool_NewWithDatabase()
125 cpool->pool = new DescriptorPool(); in PyDescriptorPool_NewWithDatabase()
387 class BuildFileErrorCollector : public DescriptorPool::ErrorCollector {
556 DescriptorPool::generated_pool()); in InitDescriptorPool()
562 std::make_pair(DescriptorPool::generated_pool(), in InitDescriptorPool()
576 PyDescriptorPool* GetDescriptorPool_FromPool(const DescriptorPool* pool) { in GetDescriptorPool_FromPool()
579 pool == DescriptorPool::generated_pool()) { in GetDescriptorPool_FromPool()
[all …]
Ddescriptor_pool.h62 DescriptorPool* pool;
66 const DescriptorPool* underlay;
158 PyDescriptorPool* GetDescriptorPool_FromPool(const DescriptorPool* pool);
/external/protobuf/src/google/protobuf/compiler/
Dimporter.h93 DescriptorPool::ErrorCollector* GetValidationErrorCollector() { in GetValidationErrorCollector()
112 class LIBPROTOBUF_EXPORT ValidationErrorCollector : public DescriptorPool::ErrorCollector {
171 inline const DescriptorPool* pool() const { in pool()
180 DescriptorPool pool_;
Dparser.cc398 DescriptorPool::ErrorCollector::ErrorLocation location) { in RecordLegacyLocation()
658 message, DescriptorPool::ErrorCollector::NAME); in ParseMessageDefinition()
821 location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::TYPE); in ParseMessageFieldNoLabel()
894 location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::NAME); in ParseMessageFieldNoLabel()
904 field, DescriptorPool::ErrorCollector::NUMBER); in ParseMessageFieldNoLabel()
932 group, DescriptorPool::ErrorCollector::NAME); in ParseMessageFieldNoLabel()
1079 field, DescriptorPool::ErrorCollector::DEFAULT_VALUE); in ParseDefaultAssignment()
1216 field, DescriptorPool::ErrorCollector::OPTION_VALUE); in ParseJsonName()
1316 uninterpreted_option, DescriptorPool::ErrorCollector::OPTION_NAME); in ParseOption()
1339 uninterpreted_option, DescriptorPool::ErrorCollector::OPTION_VALUE); in ParseOption()
[all …]
Dparser.h251 DescriptorPool::ErrorCollector::ErrorLocation location);
547 DescriptorPool::ErrorCollector::ErrorLocation location,
552 DescriptorPool::ErrorCollector::ErrorLocation location,
560 pair<const Message*, DescriptorPool::ErrorCollector::ErrorLocation>,
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.h39 class DescriptorPool; variable
46 const string& url_prefix, const DescriptorPool* pool);
Dtype_resolver_util.cc71 const DescriptorPool* pool) in DescriptorPoolTypeResolver()
247 const DescriptorPool* pool_;
253 const DescriptorPool* pool) { in NewTypeResolverForDescriptorPool()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp403 class DescriptorPool class
406 DescriptorPool (VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo) in DescriptorPool() function in vk::__anonfb9acbbc0111::DescriptorPool
410 ~DescriptorPool (void) in ~DescriptorPool()
427 VkDescriptorSet DescriptorPool::allocate (VkDescriptorSetLayout setLayout) in allocate()
444 void DescriptorPool::free (VkDescriptorSet set) in free()
465 void DescriptorPool::reset (void) in reset()
879DescriptorPool* const poolImpl = reinterpret_cast<DescriptorPool*>((deUintptr)pAllocateInfo->descr… in allocateDescriptorSets()
908DescriptorPool* const poolImpl = reinterpret_cast<DescriptorPool*>((deUintptr)descriptorPool.getIn… in freeDescriptorSets()
916DescriptorPool* const poolImpl = reinterpret_cast<DescriptorPool*>((deUintptr)descriptorPool.getIn… in resetDescriptorPool()
/external/protobuf/benchmarks/
Dgenerate_datasets.cc37 using google::protobuf::DescriptorPool;
57 DescriptorPool::generated_pool()->FindMessageTypeByName(message_name); in WriteFileWithPayloads()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py65 self.pool = descriptor_pool.DescriptorPool()
264 self.pool = descriptor_pool.DescriptorPool(db)
270 self.pool = descriptor_pool.DescriptorPool()
341 pool = descriptor_pool.DescriptorPool()
522 pool = descriptor_pool.DescriptorPool()
558 pool = descriptor_pool.DescriptorPool()
596 pool = descriptor_pool.DescriptorPool()
611 pool = descriptor_pool.DescriptorPool()
623 pool = descriptor_pool.DescriptorPool()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h139 class DescriptorPool; variable
498 void SetExtensionRegistry(const DescriptorPool* pool,
503 const DescriptorPool* GetExtensionPool();
563 const DescriptorPool* extension_pool_;
1221 inline void CodedInputStream::SetExtensionRegistry(const DescriptorPool* pool, in SetExtensionRegistry()
1227 inline const DescriptorPool* CodedInputStream::GetExtensionPool() { in GetExtensionPool()

1234