Home
last modified time | relevance | path

Searched refs:descriptor_pool (Results 1 – 25 of 35) sorted by relevance

12

/third_party/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c489 rb_gc_mark(self->descriptor_pool); in Descriptor_mark()
517 self->descriptor_pool = Qnil; in Descriptor_alloc()
546 VALUE descriptor_pool, VALUE ptr) { in Descriptor_initialize() argument
554 self->descriptor_pool = descriptor_pool; in Descriptor_initialize()
568 return get_filedef_obj(self->descriptor_pool, upb_msgdef_file(self->msgdef)); in Descriptor_file_descriptor()
597 VALUE obj = get_fielddef_obj(self->descriptor_pool, field); in Descriptor_each()
617 return get_fielddef_obj(self->descriptor_pool, field); in Descriptor_lookup()
635 VALUE obj = get_oneofdef_obj(self->descriptor_pool, oneof); in Descriptor_each_oneof()
655 return get_oneofdef_obj(self->descriptor_pool, oneof); in Descriptor_lookup_oneof()
680 rb_gc_mark(self->descriptor_pool); in FileDescriptor_mark()
[all …]
Dprotobuf.h125 VALUE descriptor_pool; member
130 VALUE descriptor_pool; // Owns the upb_filedef. member
135 VALUE descriptor_pool; // Owns the upb_fielddef. member
140 VALUE descriptor_pool; // Owns the upb_oneofdef. member
146 VALUE descriptor_pool; // Owns the upb_enumdef. member
167 VALUE descriptor_pool; member
171 VALUE descriptor_pool; member
212 VALUE Descriptor_initialize(VALUE _self, VALUE cookie, VALUE descriptor_pool,
229 VALUE descriptor_pool, VALUE ptr);
239 VALUE descriptor_pool, VALUE ptr);
[all …]
Dencode_decode.c902 const VALUE descriptor_pool = (VALUE)closure; in add_handlers_for_message() local
905 ruby_to_Descriptor(get_msgdef_obj(descriptor_pool, msgdef)); in add_handlers_for_message()
959 DescriptorPool* pool = ruby_to_DescriptorPool(desc->descriptor_pool); in get_fill_handlers()
964 DescriptorPool* pool = ruby_to_DescriptorPool(desc->descriptor_pool); in msgdef_decodermethod()
969 DescriptorPool* pool = ruby_to_DescriptorPool(desc->descriptor_pool); in msgdef_jsonparsermethod()
974 DescriptorPool* pool = ruby_to_DescriptorPool(desc->descriptor_pool); in msgdef_pb_serialize_handlers()
980 DescriptorPool* pool = ruby_to_DescriptorPool(desc->descriptor_pool); in msgdef_json_serialize_handlers()
/third_party/protobuf/python/google/protobuf/
Djson_format.py107 descriptor_pool=None, argument
135 descriptor_pool,
145 descriptor_pool=None, argument
172 descriptor_pool,
192 descriptor_pool=None, argument
197 self.descriptor_pool = descriptor_pool
331 sub_message = _CreateMessageFromTypeUrl(type_url, self.descriptor_pool)
397 def _CreateMessageFromTypeUrl(type_url, descriptor_pool): argument
400 pool = db.pool if descriptor_pool is None else descriptor_pool
411 def Parse(text, message, ignore_unknown_fields=False, descriptor_pool=None): argument
[all …]
Dtext_format.py133 descriptor_pool=None, argument
193 descriptor_pool,
232 descriptor_pool=None, argument
245 descriptor_pool=descriptor_pool,
300 def _BuildMessageFromTypeName(type_name, descriptor_pool): argument
312 if descriptor_pool is None:
313 from google.protobuf import descriptor_pool as pool_mod
314 descriptor_pool = pool_mod.Default()
318 message_descriptor = descriptor_pool.FindMessageTypeByName(type_name)
345 descriptor_pool=None, argument
[all …]
Dsymbol_database.py62 from google.protobuf import descriptor_pool
189 _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default())
Dmessage_factory.py43 from google.protobuf import descriptor_pool
61 self.pool = pool or descriptor_pool.DescriptorPool()
Ddescriptor.py957 from google.protobuf import descriptor_pool
958 pool = descriptor_pool.Default()
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py61 from google.protobuf import descriptor_pool
128 assert descriptor_pool.Default().FindFileContainingSymbol(
130 assert descriptor_pool.Default().FindFileContainingSymbol(
132 assert descriptor_pool.Default().FindFileContainingSymbol(
397 self.pool = descriptor_pool.DescriptorPool(db)
409 self.pool = descriptor_pool.DescriptorPool()
473 pool = descriptor_pool.DescriptorPool()
550 self.pool = descriptor_pool.Default()
586 self.pool = descriptor_pool.DescriptorPool()
624 self.pool = descriptor_pool.DescriptorPool(descriptor_db=self.db)
[all …]
Dproto_builder_test.py45 from google.protobuf import descriptor_pool
83 pool = descriptor_pool.DescriptorPool()
Dkeywords_test.py39 from google.protobuf import descriptor_pool
46 self.pool = descriptor_pool.Default()
Dsymbol_database_test.py42 from google.protobuf import descriptor_pool
52 db = symbol_database.SymbolDatabase(pool=descriptor_pool.Default())
Dmessage_factory_test.py48 from google.protobuf import descriptor_pool
97 pool = descriptor_pool.DescriptorPool(db)
161 pool = descriptor_pool.DescriptorPool()
Dtext_format_test.py62 from google.protobuf import descriptor_pool
1318 text_format.Merge(text, message, descriptor_pool=descriptor_pool.Default())
1321 message, descriptor_pool=descriptor_pool.Default()),
1652 descriptor_pool=descriptor_pool.Default()),
1692 empty_pool = descriptor_pool.DescriptorPool()
1694 text_format.MessageToString(message, descriptor_pool=empty_pool),
1736 descriptor_pool=descriptor_pool.Default()),
1836 empty_pool = descriptor_pool.DescriptorPool()
1837 text_format.Merge(text, message, descriptor_pool=empty_pool)
Djson_format_test.py57 from google.protobuf import descriptor_pool
690 empty_pool = descriptor_pool.DescriptorPool()
692 json_format.MessageToJson(message, True, descriptor_pool=empty_pool)
1194 empty_pool = descriptor_pool.DescriptorPool()
1197 descriptor_pool=empty_pool)
Ddescriptor_test.py52 from google.protobuf import descriptor_pool
435 self.assertEqual(unittest_pb2.DESCRIPTOR.pool, descriptor_pool.Default())
483 return descriptor_pool.DescriptorPool()
/third_party/protobuf/python/docs/google/protobuf/
Ddescriptor_pool.rst15 google.protobuf.descriptor_pool
18 .. automodule:: google.protobuf.descriptor_pool
/third_party/grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
D_base.py18 from google.protobuf import descriptor_pool
23 _POOL = descriptor_pool.Default()
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc855 std::unique_ptr<DescriptorPool> descriptor_pool; in Run() local
899 descriptor_pool.reset(new DescriptorPool(descriptor_set_in_database.get(), in Run()
915 descriptor_pool.reset(new DescriptorPool( in Run()
920 descriptor_pool->EnforceWeakDependencies(true); in Run()
921 if (!ParseInputFiles(descriptor_pool.get(), disk_source_tree.get(), in Run()
1012 if (!EncodeOrDecode(descriptor_pool.get())) { in Run()
1147 DescriptorPool* descriptor_pool, DiskSourceTree* source_tree, in ParseInputFiles() argument
1166 descriptor_pool->AddUnusedImportTrackFile(input_file); in ParseInputFiles()
1175 descriptor_pool->FindFileByName(input_file); in ParseInputFiles()
1212 descriptor_pool->ClearUnusedImportTrackFiles(); in ParseInputFiles()
Dcommand_line_interface.h284 bool ParseInputFiles(DescriptorPool* descriptor_pool,
/third_party/protobuf/python/docs/
Dindex.rst37 google/protobuf/descriptor_pool
/third_party/grpc/src/python/grpcio_tests/tests/reflection/
D_reflection_servicer_test.py24 from google.protobuf import descriptor_pool
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1390 VkDescriptorPoolCreateInfo descriptor_pool = {}; in init_descriptor_pool() local
1391 descriptor_pool.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; in init_descriptor_pool()
1392 descriptor_pool.pNext = NULL; in init_descriptor_pool()
1393 descriptor_pool.maxSets = 1; in init_descriptor_pool()
1394 descriptor_pool.poolSizeCount = use_texture ? 2 : 1; in init_descriptor_pool()
1395 descriptor_pool.pPoolSizes = type_count; in init_descriptor_pool()
1397 res = vkCreateDescriptorPool(info.device, &descriptor_pool, NULL, &info.desc_pool); in init_descriptor_pool()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1401 VkDescriptorPoolCreateInfo descriptor_pool = {}; in init_descriptor_pool() local
1402 descriptor_pool.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; in init_descriptor_pool()
1403 descriptor_pool.pNext = NULL; in init_descriptor_pool()
1404 descriptor_pool.maxSets = 1; in init_descriptor_pool()
1405 descriptor_pool.poolSizeCount = use_texture ? 2 : 1; in init_descriptor_pool()
1406 descriptor_pool.pPoolSizes = type_count; in init_descriptor_pool()
1408 res = vkCreateDescriptorPool(info.device, &descriptor_pool, NULL, &info.desc_pool); in init_descriptor_pool()
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/
Dmemory.txt61 dEQP-VK.memory.device_memory_report.create_and_destroy_object.descriptor_pool

12