Searched refs:enum_options (Results 1 – 5 of 5) sorted by relevance
/external/grpc-grpc/third_party/nanopb/generator/ |
D | nanopb_generator.py | 167 def __init__(self, names, desc, enum_options): argument 170 self.options = enum_options 173 if enum_options.long_names: 179 self.packed = enum_options.packed_enum 1017 enum_options = get_nanopb_suboptions(enum, self.file_options, base_name + enum.name) 1018 self.enums.append(Enum(base_name, enum, enum_options)) 1028 enum_options = get_nanopb_suboptions(enum, message_options, names + enum.name) 1029 self.enums.append(Enum(names, enum, enum_options))
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 182 def __init__(self, names, desc, enum_options): argument 185 self.options = enum_options 188 if enum_options.long_names: 194 self.packed = enum_options.packed_enum 1113 enum_options = get_nanopb_suboptions(enum, self.file_options, base_name + enum.name) 1114 self.enums.append(Enum(base_name, enum, enum_options)) 1124 enum_options = get_nanopb_suboptions(enum, message_options, names + enum.name) 1125 self.enums.append(Enum(names, enum, enum_options))
|
/external/protobuf/python/google/protobuf/internal/ |
D | generator_test.py | 155 enum_options = proto.DESCRIPTOR.enum_types_by_name['AnEnum'].GetOptions() 156 self.assertTrue(enum_options is not None)
|
D | descriptor_test.py | 161 enum_options = enum_descriptor.GetOptions() 163 self.assertEqual(-789, enum_options.Extensions[enum_opt1])
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 1242 string enum_options = OptionsValue( in FixOptionsForEnum() local 1244 if (enum_options != "None") { in FixOptionsForEnum() 1245 PrintDescriptorOptionsFixingCode(descriptor_name, enum_options, printer_); in FixOptionsForEnum()
|