Lines Matching refs:subdesc
620 for subname, subdesc in iterate_messages(desc, names):
621 for extension in subdesc.extension:
913 def get_nanopb_suboptions(subdesc, options, name):
914 '''Get copy of options, and merge information from subdesc.'''
926 if isinstance(subdesc.options, descriptor.FieldOptions):
928 elif isinstance(subdesc.options, descriptor.FileOptions):
930 elif isinstance(subdesc.options, descriptor.MessageOptions):
932 elif isinstance(subdesc.options, descriptor.EnumOptions):
937 if subdesc.options.HasExtension(ext_type):
938 ext = subdesc.options.Extensions[ext_type]