Home
last modified time | relevance | path

Searched refs:enum_proto (Results 1 – 4 of 4) sorted by relevance

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pool.py296 def _ConvertEnumDescriptor(self, enum_proto, package=None, file_desc=None, argument
312 enum_name = '.'.join((package, enum_proto.name))
314 enum_name = enum_proto.name
322 for index, value in enumerate(enum_proto.value)]
323 desc = descriptor.EnumDescriptor(name=enum_proto.name,
329 options=enum_proto.options)
330 scope[enum_proto.name] = desc
488 for enum_proto in enum_protos:
490 enum_name = '.'.join((package, enum_proto.name))
492 enum_name = enum_proto.name
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py401 def _ConvertEnumDescriptor(self, enum_proto, package=None, file_desc=None, argument
417 enum_name = '.'.join((package, enum_proto.name))
419 enum_name = enum_proto.name
427 for index, value in enumerate(enum_proto.value)]
428 desc = descriptor.EnumDescriptor(name=enum_proto.name,
434 options=enum_proto.options)
Ddescriptor.py806 for enum_proto in desc_proto.enum_type:
807 full_name = '.'.join(full_message_name + [enum_proto.name])
809 enum_proto.name, full_name, None, [
811 for ii, enum_val in enumerate(enum_proto.value)])
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc142 EnumValueDescriptorProto* AddEnumValue(EnumDescriptorProto* enum_proto, in AddEnumValue() argument
144 EnumValueDescriptorProto* result = enum_proto->add_value(); in AddEnumValue()
956 EnumDescriptorProto* enum_proto = AddEnum(&foo_file, "TestEnum"); in SetUp() local
957 AddEnumValue(enum_proto, "FOO", 1); in SetUp()
958 AddEnumValue(enum_proto, "BAR", 2); in SetUp()