Home
last modified time | relevance | path

Searched refs:enum_types (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dextended_descriptor.py114 enum_types = messages.MessageField( variable in ExtendedMessageDescriptor
140 enum_types = messages.MessageField( variable in ExtendedFileDescriptor
150 _PrintEnums(proto_printer, file_descriptor.enum_types)
153 file_descriptor.enum_types, file_descriptor.package)
201 _FetchCustomMappings(descriptor.enum_types, package))
217 return not any((message_type.enum_types,
294 PrintIndentedDescriptions(self.__printer, message_type.enum_types,
340 _PrintEnums(self, message_type.enum_types)
430 PrintIndentedDescriptions(self.__printer, message_type.enum_types,
450 _PrintEnums(self, message_type.enum_types)
[all …]
Dmessage_registry.py145 self.__current_env.enum_types.append(new_descriptor)
/external/protobuf/python/google/protobuf/
Ddescriptor.py242 nested_types, enum_types, extensions, options=None, argument
272 self.enum_types = enum_types
273 for enum_type in self.enum_types:
275 self.enum_types_by_name = dict((t.name, t) for t in enum_types)
277 (v.name, v) for t in enum_types for v in t.values)
805 enum_types = {}
812 enum_types[full_name] = enum_desc
836 elif full_type_name in enum_types:
837 enum_desc = enum_types[full_type_name]
849 nested_types.values(), enum_types.values(), [])
Ddescriptor_pool.py379 enum_types=enums,
389 for enum in desc.enum_types:
600 for enum in desc.enum_types:
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dgenerate_proto.py61 write_enums(file_descriptor.enum_types)
116 if message.enum_types:
117 write_enums(message.enum_types)
Dgenerate_python_test.py111 enum_types=None): argument
132 if enum_types:
133 file_descriptor.enum_types = list(enum_types)
188 self.DoMessageTest([field], enum_types=[enum])
325 message.enum_types = [inner_enum]
Dgenerate_python.py135 if not (message.enum_types or message.message_types or message.fields):
139 _write_enums(message.enum_types, out)
216 _write_enums(file_descriptor.enum_types, out)
Dprotorpc_test_pb2.py83 enum_types=[
118 enum_types=[
146 enum_types=[
230 enum_types=[
315 enum_types=[
351 enum_types=[
Ddescriptor.py243 enum_types = messages.MessageField(EnumDescriptor, 4, repeated=True) variable in MessageDescriptor
289 enum_types = messages.MessageField(EnumDescriptor, 5, repeated=True) variable in FileDescriptor
415 message_descriptor.enum_types = enum_descriptors
508 descriptor.enum_types = enum_descriptors
Ddefinition.py155 for enum in message_descriptor.enum_types or []:
220 for enum_descriptor in file_descriptor.enum_types or []:
Ddescriptor_test.py253 expected.enum_types = [descriptor.describe_enum(MessageWithEnum.Mood),
434 expected.enum_types = [enum1, enum2]
Ddefinition_test.py483 file_descriptor.enum_types = [enum_descriptor]
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py198 enum_types=[
296 enum_types=[
331 enum_types=[
400 enum_types=[
477 enum_types=[
521 enum_types=[
563 enum_types=[
605 enum_types=[
654 enum_types=[
745 enum_types=[
[all …]
Ddescriptor.py227 nested_types, enum_types, extensions, options=None, argument
255 self.enum_types = enum_types
256 for enum_type in self.enum_types:
258 self.enum_types_by_name = dict((t.name, t) for t in enum_types)
260 (v.name, v) for t in enum_types for v in t.values)
Ddescriptor_pool.py279 enum_types=enums,
289 for enum in desc.enum_types:
/external/nanopb-c/generator/proto/
Dplugin_pb2.py50 enum_types=[
92 enum_types=[
126 enum_types=[
Dnanopb_pb2.py135 enum_types=[
/external/nanopb-c/generator/google/protobuf/compiler/
Dplugin_pb2.py54 enum_types=[
96 enum_types=[
130 enum_types=[
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/static/
Dforms.js614 if (message.enum_types) {
615 $.each(message.enum_types, function(enumIndex, enumerated) {
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py85 enum_types=[
639 result.nested_types[0].enum_types[0])
Ddescriptor_pool_test.py117 nested_enum1 = msg1.enum_types[0]
138 nested_enum2 = msg2.enum_types[0]
Dreflection_test.py1008 containing_type=None, nested_types=[], enum_types=[],
2808 nested_types=[], enum_types=[],
2812 nested_types=[leaf_desc], enum_types=[],
2816 nested_types=[], enum_types=[],
2821 enum_types=[], extensions=[])
Dcpp_message.py414 for enum_type in message_descriptor.enum_types:
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1925 ScopedPyObjectPtr enum_types(PyObject_GetAttrString(descriptor, in CheckAndGetInteger() local
1927 if (enum_types == NULL) { in CheckAndGetInteger()
1930 ScopedPyObjectPtr type_iter(PyObject_GetIter(enum_types)); in CheckAndGetInteger()
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py242 for enum_type in descriptor.enum_types:

12