Searched refs:field_options (Results 1 – 3 of 3) sorted by relevance
162 def __init__(self, struct_name, desc, field_options): argument175 if field_options.HasField("max_size"):176 self.max_size = field_options.max_size178 if field_options.HasField("max_count"):179 self.max_count = field_options.max_count208 if field_options.type == nanopb_pb2.FT_DEFAULT:210 field_options.type = nanopb_pb2.FT_STATIC212 field_options.type = nanopb_pb2.FT_CALLBACK214 if field_options.type == nanopb_pb2.FT_STATIC and not can_be_static:218 if field_options.type == nanopb_pb2.FT_STATIC:[all …]
156 field_options = field_descriptor.GetOptions()158 self.assertEqual(8765432109, field_options.Extensions[field_opt1])160 self.assertEqual(42, field_options.Extensions[field_opt2])
1207 string field_options = OptionsValue( in FixOptionsForField() local1209 if (field_options != "None") { in FixOptionsForField()1223 PrintDescriptorOptionsFixingCode(field_name, field_options, printer_); in FixOptionsForField()