Searched refs:enum_proto (Results 1 – 12 of 12) sorted by relevance
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | FileDescriptor.php | 80 foreach ($proto->getEnumType() as $enum_proto) { 83 $enum_proto,
|
D | Descriptor.php | 207 foreach ($proto->getEnumType() as $enum_proto) { 209 $enum_proto, $file_proto, $message_name_without_package));
|
/third_party/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 912 def _ConvertEnumDescriptor(self, enum_proto, package=None, file_desc=None, argument 930 enum_name = '.'.join((package, enum_proto.name)) 932 enum_name = enum_proto.name 940 for index, value in enumerate(enum_proto.value)] 941 desc = descriptor.EnumDescriptor(name=enum_proto.name, 947 options=_OptionsOrNone(enum_proto),
|
D | descriptor.py | 1088 for enum_proto in desc_proto.enum_type: 1089 full_name = '.'.join(full_message_name + [enum_proto.name]) 1091 enum_proto.name, full_name, None, [ 1094 for ii, enum_val in enumerate(enum_proto.value)],
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 78 enum_proto = message_proto.enum_type.add( 80 enum_proto.value.add(name='FOREIGN_FOO', number=4) 81 enum_proto.value.add(name='FOREIGN_BAR', number=5) 82 enum_proto.value.add(name='FOREIGN_BAZ', number=6) 99 self.my_enum = self.my_message.enum_types_by_name[enum_proto.name]
|
D | descriptor_pool_test.py | 1007 enum_proto = file_proto.enum_type.add(name='TopEnum') 1008 enum_proto.value.add(name='FOREIGN_FOO', number=4)
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | defs.c | 1944 self->enum_proto = NULL; in EnumBuilderContext_alloc() 1973 self->enum_proto = google_protobuf_FileDescriptorProto_add_enum_type( in EnumBuilderContext_initialize() 1977 self->enum_proto, FileBuilderContext_strdup(_file_builder, name)); in EnumBuilderContext_initialize() 1996 self->enum_proto, file_builder->arena); in EnumBuilderContext_value()
|
D | protobuf.h | 160 google_protobuf_EnumDescriptorProto* enum_proto; member
|
D | upb.c | 4517 const google_protobuf_EnumDescriptorProto *enum_proto) { in create_enumdef() argument 4523 name = google_protobuf_EnumDescriptorProto_name(enum_proto); in create_enumdef() 4536 values = google_protobuf_EnumDescriptorProto_value(enum_proto, &n); in create_enumdef()
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 171 EnumValueDescriptorProto* AddEnumValue(EnumDescriptorProto* enum_proto, in AddEnumValue() argument 173 EnumValueDescriptorProto* result = enum_proto->add_value(); in AddEnumValue() 1342 EnumDescriptorProto* enum_proto = AddEnum(&foo_file, "TestEnum"); in SetUp() local 1343 AddEnumValue(enum_proto, "FOO", 1); in SetUp() 1344 AddEnumValue(enum_proto, "BAR", 2); in SetUp() 6114 EnumDescriptorProto* enum_proto = file_proto.add_enum_type(); in TEST_F() local 6115 enum_proto->set_name("BarEnum"); in TEST_F() 6116 EnumValueDescriptorProto* enum_value_proto = enum_proto->add_value(); in TEST_F()
|
/third_party/grpc/third_party/upb/upb/ |
D | def.c | 1722 const google_protobuf_EnumDescriptorProto *enum_proto) { in create_enumdef() argument 1728 name = google_protobuf_EnumDescriptorProto_name(enum_proto); in create_enumdef() 1735 values = google_protobuf_EnumDescriptorProto_value(enum_proto, &n); in create_enumdef()
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 4988 const google_protobuf_EnumDescriptorProto *enum_proto) { in create_enumdef() argument 4994 name = google_protobuf_EnumDescriptorProto_name(enum_proto); in create_enumdef() 5007 values = google_protobuf_EnumDescriptorProto_value(enum_proto, &n); in create_enumdef()
|