Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDescriptorPool.cpp34 DescriptorPool::DescriptorPool(const VkDescriptorPoolCreateInfo *pCreateInfo, void *mem) in DescriptorPool() function in vk::DescriptorPool
40 void DescriptorPool::destroy(const VkAllocationCallbacks *pAllocator) in destroy()
45 size_t DescriptorPool::ComputeRequiredAllocationSize(const VkDescriptorPoolCreateInfo *pCreateInfo) in ComputeRequiredAllocationSize()
58 VkResult DescriptorPool::allocateSets(uint32_t descriptorSetCount, const VkDescriptorSetLayout *pSetLayouts, VkDescriptorSet *pDescriptorSets) in allocateSets()
79 uint8_t *DescriptorPool::findAvailableMemory(size_t size) in findAvailableMemory()
121 VkResult DescriptorPool::allocateSets(size_t *sizes, uint32_t numAllocs, VkDescriptorSet *pDescriptorSets) in allocateSets()
177 void DescriptorPool::freeSets(uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets) in freeSets()
185 void DescriptorPool::freeSet(const VkDescriptorSet descriptorSet) in freeSet()
195 VkResult DescriptorPool
[all...]
H A DVkDescriptorPool.hpp23 class DescriptorPool : public Object<DescriptorPool, VkDescriptorPool> class
26 DescriptorPool(const VkDescriptorPoolCreateInfo *pCreateInfo, void *mem);
59 static inline DescriptorPool *Cast(VkDescriptorPool object) in Cast()
61 return DescriptorPool::Cast(object); in Cast()
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.cc379 // A DescriptorPool contains a bunch of hash-maps to implement the
502 // DescriptorPool::Tables
504 class DescriptorPool::Tables {
570 // destruction. This only has 20-ish entries and is one per DescriptorPool,
581 // This implements the body of DescriptorPool::Find*ByName(). It should
582 // really be a private method of DescriptorPool, but that would require
585 Symbol FindByNameHelper(const DescriptorPool* pool, StringPiece name);
693 // FileDescriptorTables and DescriptorPool::Tables are interleaved below.
789 DescriptorPool::Tables::Tables() in Tables()
816 DescriptorPool
1248 DescriptorPool::DescriptorPool() DescriptorPool() function in google::protobuf::DescriptorPool
1260 DescriptorPool::DescriptorPool(DescriptorDatabase* fallback_database, DescriptorPool() function in google::protobuf::DescriptorPool
1273 DescriptorPool::DescriptorPool(const DescriptorPool* underlay) DescriptorPool() function in google::protobuf::DescriptorPool
[all...]
H A Ddescriptor.h92 class DescriptorPool;
232 // Use DescriptorPool to construct your own descriptors.
278 // only be the case if this descriptor comes from a DescriptorPool
429 // DescriptorPool::generated_pool()
434 // DescriptorPool::FindAllExtensions.
563 // Must be constructed using DescriptorPool.
566 friend class DescriptorPool;
583 // - Given a DescriptorPool, call DescriptorPool::FindExtensionByNumber() or
584 // DescriptorPool
1630 class PROTOBUF_EXPORT DescriptorPool { global() class
[all...]
/third_party/protobuf/php/ext/google/protobuf/
H A Ddef.c714 // DescriptorPool
717 typedef struct DescriptorPool { struct
720 } DescriptorPool; typedef
725 static DescriptorPool *GetPool(const zval* this_ptr) { in GetPool()
726 return (DescriptorPool*)Z_OBJ_P(this_ptr); in GetPool()
730 * Object handler to create an DescriptorPool.
733 DescriptorPool *intern = emalloc(sizeof(DescriptorPool)); in DescriptorPool_create()
742 * Object handler to free an DescriptorPool.
745 DescriptorPool* inter in DescriptorPool_destructor()
[all...]
/third_party/protobuf/php/src/Google/Protobuf/
H A DDescriptorPool.php35 class DescriptorPool class
42 * @return DescriptorPool
47 self::$pool = new DescriptorPool(\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool());
H A DAny.php272 $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
303 $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
316 $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
/third_party/protobuf/php/tests/
H A DDescriptorsTest.php8 use Google\Protobuf\DescriptorPool;
50 $pool = DescriptorPool::getGeneratedPool();
61 $pool = DescriptorPool::getGeneratedPool();
79 $pool = DescriptorPool::getGeneratedPool();
96 $pool = DescriptorPool::getGeneratedPool();
114 $pool = DescriptorPool::getGeneratedPool();
138 $pool = DescriptorPool::getGeneratedPool();
213 $pool = DescriptorPool::getGeneratedPool();
224 $pool = DescriptorPool::getGeneratedPool();
236 $pool = DescriptorPool
[all...]
/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_pool.h48 // Wraps operations to the global DescriptorPool which contains information
54 // "Methods" that interacts with this DescriptorPool are in the cdescriptor_pool
60 DescriptorPool* pool;
64 DescriptorPool::ErrorCollector* error_collector;
68 const DescriptorPool* underlay;
75 // TODO(amauryfa): Don't create the Factory from the DescriptorPool, but
80 // Descriptor pointers are owned by the DescriptorPool above.
91 // The functions below are also exposed as methods of the DescriptorPool type.
127 PyDescriptorPool* GetDescriptorPool_FromPool(const DescriptorPool* pool);
H A Ddescriptor_pool.cc31 // Implements the DescriptorPool, which collects all descriptors.
65 static std::unordered_map<const DescriptorPool*, PyDescriptorPool*>*
72 class BuildFileErrorCollector : public DescriptorPool::ErrorCollector {
102 // Create a Python DescriptorPool object, but does not fill the "pool"
129 // Create a Python DescriptorPool, using the given pool as an underlay:
135 const DescriptorPool* underlay) { in PyDescriptorPool_NewWithUnderlay()
140 cpool->pool = new DescriptorPool(underlay); in PyDescriptorPool_NewWithUnderlay()
146 PyErr_SetString(PyExc_ValueError, "DescriptorPool already registered"); in PyDescriptorPool_NewWithUnderlay()
161 cpool->pool = new DescriptorPool(database, cpool->error_collector); in PyDescriptorPool_NewWithDatabase()
164 cpool->pool = new DescriptorPool(); in PyDescriptorPool_NewWithDatabase()
[all...]
/third_party/protobuf/src/google/protobuf/util/
H A Djson_util.cc231 kTypeUrlPrefix, DescriptorPool::generated_pool()); in InitGeneratedTypeResolver()
244 const DescriptorPool* pool = message.GetDescriptor()->file()->pool(); in MessageToJsonString()
246 pool == DescriptorPool::generated_pool() in MessageToJsonString()
252 if (pool != DescriptorPool::generated_pool()) { in MessageToJsonString()
260 const DescriptorPool* pool = message->GetDescriptor()->file()->pool(); in JsonStringToMessage()
262 pool == DescriptorPool::generated_pool() in JsonStringToMessage()
273 if (pool != DescriptorPool::generated_pool()) { in JsonStringToMessage()
H A Dtype_resolver_util.h40 class DescriptorPool;
49 const std::string& url_prefix, const DescriptorPool* pool);
/third_party/protobuf/benchmarks/util/
H A Dprotoc-gen-proto2_to_proto3.cc12 using google::protobuf::DescriptorPool;
29 DescriptorPool* GetPool() { in GetPool()
30 static DescriptorPool *pool = new DescriptorPool(); in GetPool()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generated_code_proto2_pb.rb6 Google::Protobuf::DescriptorPool.generated_pool.build do
72 TestMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestMessage").msgclass
73 TestMessage::NestedMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestMessage.NestedMessage").msgclass
74 TestEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestEnum").enummodule
H A Druby_generated_code_pb.rb6 Google::Protobuf::DescriptorPool.generated_pool.build do
71 TestMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestMessage").msgclass
72 TestMessage::NestedMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestMessage.NestedMessage").msgclass
73 TestEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("A.B.C.TestEnum").enummodule
H A Druby_generated_pkg_explicit_legacy_pb.rb6 Google::Protobuf::DescriptorPool.generated_pool.build do
17 Four = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.two.a_three.and.Four").msgclass
H A Druby_generated_pkg_explicit_pb.rb6 Google::Protobuf::DescriptorPool.generated_pool.build do
17 Four = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.two.a_three.Four").msgclass
H A Druby_generated_pkg_implicit_pb.rb6 Google::Protobuf::DescriptorPool.generated_pool.build do
17 Four = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.two.a_three.Four").msgclass
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DEnumDescriptor.cs66 File.DescriptorPool.AddSymbol(this); in EnumDescriptor()
115 return File.DescriptorPool.FindEnumValueByNumber(this, number); in FindValueByNumber()
125 return File.DescriptorPool.FindSymbol<EnumValueDescriptor>(FullName + "." + name); in FindValueByName()
H A DMethodDescriptor.cs112 file.DescriptorPool.AddSymbol(this); in MethodDescriptor()
124 IDescriptor lookup = File.DescriptorPool.LookupSymbol(Proto.InputType, this); in CrossLink()
131 lookup = File.DescriptorPool.LookupSymbol(Proto.OutputType, this); in CrossLink()
H A DFileDescriptor.cs83 private FileDescriptor(ByteString descriptorData, FileDescriptorProto proto, IEnumerable<FileDescriptor> dependencies, DescriptorPool pool, bool allowUnknownDependencies, GeneratedClrTypeInfo generatedCodeInfo) in FileDescriptor()
86 DescriptorPool = pool; in FileDescriptor()
319 internal DescriptorPool DescriptorPool { get; } property in Google.Protobuf.Reflection.FileDescriptor
340 T result = DescriptorPool.FindSymbol<T>(name);
369 // DescriptorPool's lookup tables. In the linking step, we look up all in BuildFrom()
370 // type references in the DescriptorPool, so that, for example, a in BuildFrom()
379 DescriptorPool pool = new DescriptorPool(dependencies); in BuildFrom()
489 // TODO: See if we can build a single DescriptorPool instea in BuildFromByteStrings()
[all...]
H A DMessageDescriptor.cs116 file.DescriptorPool.AddSymbol(this); in MessageDescriptor()
269 public FieldDescriptor FindFieldByName(String name) => File.DescriptorPool.FindSymbol<FieldDescriptor>(FullName + "." + name);
276 public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this, number); in FindFieldByNumber()
285 File.DescriptorPool.FindSymbol<T>(FullName + "." + name);
H A DEnumValueDescriptor.cs52 file.DescriptorPool.AddSymbol(this); in EnumValueDescriptor()
53 file.DescriptorPool.AddEnumValueByNumber(this); in EnumValueDescriptor()
/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter.h71 // code locations for error reporting. However, when a DescriptorPool wraps
73 // of the database is called at a time, even if the DescriptorPool is used
98 // Gets a DescriptorPool::ErrorCollector which records errors to the
101 // from the information given to it by the DescriptorPool.
102 DescriptorPool::ErrorCollector* GetValidationErrorCollector() { in GetValidationErrorCollector()
124 : public DescriptorPool::ErrorCollector {
163 // the file is already in the DescriptorPool, the existing FileDescriptor
164 // will be returned. The FileDescriptor is property of the DescriptorPool,
174 // DescriptorPool so that they can be cross-linked).
177 // The DescriptorPool i
[all...]
H A Dparser.cc474 DescriptorPool::ErrorCollector::ErrorLocation location) { in RecordLegacyLocation()
637 DescriptorPool::ErrorCollector::OTHER); in Parse()
760 DescriptorPool::ErrorCollector::NAME); in ParseMessageDefinition()
969 location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::TYPE); in ParseMessageFieldNoLabel()
1042 location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::NAME); in ParseMessageFieldNoLabel()
1064 DescriptorPool::ErrorCollector::NUMBER); in ParseMessageFieldNoLabel()
1092 DescriptorPool::ErrorCollector::NAME); in ParseMessageFieldNoLabel()
1238 DescriptorPool::ErrorCollector::DEFAULT_VALUE); in ParseDefaultAssignment()
1373 DescriptorPool::ErrorCollector::OPTION_NAME); in ParseJsonName()
1380 field, DescriptorPool in ParseJsonName()
[all...]

Completed in 18 milliseconds

123456