/external/protobuf/python/google/protobuf/pyext/ |
descriptor_pool.h | 48 // Wraps operations to the global DescriptorPool which contains information 56 // "Methods" that interacts with this DescriptorPool are in the cdescriptor_pool 62 DescriptorPool* pool; 66 const DescriptorPool* underlay; 73 // This object cache the descriptors that were used, so the DescriptorPool 82 // Descriptor pointers stored here are owned by the DescriptorPool above. 88 // Descriptor pointers are owned by the DescriptorPool above. 116 // The functions below are also exposed as methods of the DescriptorPool type. 158 PyDescriptorPool* GetDescriptorPool_FromPool(const DescriptorPool* pool);
|
descriptor_pool.cc | 31 // Implements the DescriptorPool, which collects all descriptors. 60 static hash_map<const DescriptorPool*, PyDescriptorPool*> descriptor_pool_map; 64 // Create a Python DescriptorPool object, but does not fill the "pool" 91 // Create a Python DescriptorPool, using the given pool as an underlay: 97 const DescriptorPool* underlay) { 102 cpool->pool = new DescriptorPool(underlay); 108 PyErr_SetString(PyExc_ValueError, "DescriptorPool already registered"); 122 cpool->pool = new DescriptorPool(database); 125 cpool->pool = new DescriptorPool(); 130 PyErr_SetString(PyExc_ValueError, "DescriptorPool already registered") [all...] |
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
RubyDescriptorPool.java | 46 @JRubyClass(name = "DescriptorPool") 50 RubyClass cDescriptorPool = protobuf.defineClassUnder("DescriptorPool", runtime.getObject(), new ObjectAllocator() { 58 descriptorPool = (RubyDescriptorPool) cDescriptorPool.newInstance(runtime.getCurrentContext(), Block.NULL_BLOCK); 99 * DescriptorPool.generated_pool => descriptor_pool 101 * Class method that returns the global DescriptorPool. This is a singleton into 108 return descriptorPool; 164 private static RubyDescriptorPool descriptorPool;
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiNullHandleTests.cpp | 57 inline void release (Context& context, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator) 59 context.getDeviceInterface().destroyDescriptorPool(context.getDevice(), descriptorPool, pAllocator); 150 inline void release (Context& context, VkDevice device, VkDescriptorPool descriptorPool, deUint32 numDescriptorSets, const VkDescriptorSet* pDescriptorSets) 153 DE_ASSERT(descriptorPool != DE_NULL); 155 context.getDeviceInterface().freeDescriptorSets(device, descriptorPool, numDescriptorSets, pDescriptorSets); 251 const Unique<VkDescriptorPool> descriptorPool (createDescriptorPool(vk, device, &descriptorPoolCreateInfo)); 253 release(context, device, *descriptorPool, numHandles, pNullHandles); 259 const Unique<VkDescriptorPool> descriptorPool (createDescriptorPool(vk, device, &descriptorPoolCreateInfo, recordingAllocator.getCallbacks())); 262 release(context, device, *descriptorPool, numHandles, pNullHandles);
|
vktApiDescriptorPoolTests.cpp | 77 const Unique<VkDescriptorPool> descriptorPool( 125 *descriptorPool, // descriptorPool 136 VK_CHECK(vkd.resetDescriptorPool(device, *descriptorPool, 0)); 204 const Unique<VkDescriptorPool> descriptorPool(createDescriptorPool(vkd, device, &descriptorPoolCreateInfo)); 233 *descriptorPool, // VkDescriptorPool descriptorPool;
|
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/compiler/ |
importer.h | 67 // 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 in which all imported FileDescriptors and thei [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/compiler/ |
importer.h | 67 // 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 in which all imported FileDescriptors and thei [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/compiler/ |
importer.h | 67 // 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 in which all imported FileDescriptors and thei [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/compiler/ |
importer.h | 67 // 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 in which all imported FileDescriptors and thei [all...] |
/external/protobuf/ruby/tests/ |
stress.rb | 7 pool = Google::Protobuf::DescriptorPool.new
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
ruby_generated_code.rb | 6 Google::Protobuf::DescriptorPool.generated_pool.build do 69 TestMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestMessage").msgclass 70 TestMessage::NestedMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestMessage.NestedMessage").msgclass 71 TestEnum = Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestEnum").enummodule
|
/external/protobuf/src/google/protobuf/util/ |
type_resolver_util.h | 39 class DescriptorPool; 46 const string& url_prefix, const DescriptorPool* pool);
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
type_resolver_util.h | 39 class DescriptorPool; 46 const string& url_prefix, const DescriptorPool* pool);
|
/external/protobuf/src/google/protobuf/ |
dynamic_message.h | 55 class DescriptorPool; // descriptor.h 77 // the DescriptorPool in which the extendee is defined. 81 // the given DescriptorPool. 87 DynamicMessageFactory(const DescriptorPool* pool); 93 // d->file()->pool() == DescriptorPool::generated_pool(), 121 const DescriptorPool* pool_;
|
descriptor.cc | 196 // A DescriptorPool contains a bunch of hash_maps to implement the 390 // DescriptorPool::Tables 392 class DescriptorPool::Tables { 463 // This implements the body of DescriptorPool::Find*ByName(). It should 464 // really be a private method of DescriptorPool, but that would require 468 const DescriptorPool* pool, const string& name); 562 // FileDescriptorTables and DescriptorPool::Tables are interleaved below. 642 DescriptorPool::Tables::Tables() 651 DescriptorPool::Tables::~Tables() { 702 void DescriptorPool::Tables::AddCheckpoint() [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
dynamic_message.h | 49 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_;
|
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
dynamic_message.h | 49 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_;
|
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
dynamic_message.h | 49 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_;
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
dynamic_message.h | 55 class DescriptorPool; // descriptor.h 77 // the DescriptorPool in which the extendee is defined. 81 // the given DescriptorPool. 87 DynamicMessageFactory(const DescriptorPool* pool); 93 // d->file()->pool() == DescriptorPool::generated_pool(), 121 const DescriptorPool* pool_;
|
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
dynamic_message.h | 49 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_;
|
/external/protobuf/php/ext/google/protobuf/ |
def.c | 84 // DescriptorPool 88 PHP_ME(DescriptorPool, addMessage, NULL, ZEND_ACC_PUBLIC) 89 PHP_ME(DescriptorPool, finalize, NULL, ZEND_ACC_PUBLIC) 93 DEFINE_CLASS(DescriptorPool, descriptor_pool, 94 "Google\\Protobuf\\DescriptorPool"); 96 DescriptorPool *generated_pool; // The actual generated pool 102 generated_pool = ALLOC(DescriptorPool); 112 void descriptor_pool_init_c_instance(DescriptorPool* pool TSRMLS_DC) { 120 void descriptor_pool_free_c(DescriptorPool *pool TSRMLS_DC) { 126 PHP_METHOD(DescriptorPool, addMessage) [all...] |
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
FileDescriptor.cs | 46 private FileDescriptor(ByteString descriptorData, FileDescriptorProto proto, FileDescriptor[] dependencies, DescriptorPool pool, bool allowUnknownDependencies, GeneratedClrTypeInfo generatedCodeInfo) 49 DescriptorPool = pool; 182 internal DescriptorPool DescriptorPool { get; } 203 T result = DescriptorPool.FindSymbol<T>(name); 232 // DescriptorPool's lookup tables. In the linking step, we look up all 233 // type references in the DescriptorPool, so that, for example, a 242 DescriptorPool pool = new DescriptorPool(dependencies);
|
EnumDescriptor.cs | 65 File.DescriptorPool.AddSymbol(this); 103 return File.DescriptorPool.FindEnumValueByNumber(this, number); 113 return File.DescriptorPool.FindSymbol<EnumValueDescriptor>(FullName + "." + name);
|
MethodDescriptor.cs | 76 file.DescriptorPool.AddSymbol(this); 88 IDescriptor lookup = File.DescriptorPool.LookupSymbol(Proto.InputType, this); 95 lookup = File.DescriptorPool.LookupSymbol(Proto.OutputType, this);
|
/external/protobuf/src/google/protobuf/compiler/ |
importer.h | 67 // 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 { 155 // the file is already in the DescriptorPool, the existing FileDescriptor 156 // will be returned. The FileDescriptor is property of the DescriptorPool, 166 // DescriptorPool so that they can be cross-linked). 169 // The DescriptorPool in which all imported FileDescriptors and thei [all...] |