HomeSort by relevance Sort by last modified time
    Searched refs:field_options (Results 1 - 3 of 3) sorted by null

  /external/nanopb-c/generator/
nanopb_generator.py 162 def __init__(self, struct_name, desc, field_options):
175 if field_options.HasField("max_size"):
176 self.max_size = field_options.max_size
178 if field_options.HasField("max_count"):
179 self.max_count = field_options.max_count
208 if field_options.type == nanopb_pb2.FT_DEFAULT:
210 field_options.type = nanopb_pb2.FT_STATIC
212 field_options.type = nanopb_pb2.FT_CALLBACK
214 if field_options.type == nanopb_pb2.FT_STATIC and not can_be_static:
218 if field_options.type == nanopb_pb2.FT_STATIC
    [all...]
  /external/protobuf/python/google/protobuf/internal/
descriptor_test.py 156 field_options = field_descriptor.GetOptions()
158 self.assertEqual(8765432109, field_options.Extensions[field_opt1])
160 self.assertEqual(42, field_options.Extensions[field_opt2])
  /external/protobuf/src/google/protobuf/compiler/python/
python_generator.cc 1207 string field_options = OptionsValue( local
    [all...]

Completed in 295 milliseconds