Lines Matching refs:fdesc
624 def parse_file(fdesc, file_options): argument
631 if fdesc.package:
632 base_name = Names(fdesc.package.split('.'))
636 for enum in fdesc.enum_type:
640 for names, message in iterate_messages(fdesc, base_name):
647 for names, extension in iterate_extensions(fdesc, base_name):
981 def process_file(filename, fdesc, options): argument
998 if not fdesc:
1000 fdesc = descriptor.FileDescriptorSet.FromString(data).file[0]
1019 file_options = get_nanopb_suboptions(fdesc, toplevel_options, Names([filename]))
1020 enums, messages, extensions = parse_file(fdesc, file_options)
1031 dependencies = [d for d in fdesc.dependency if d not in excludes]
1096 for fdesc in request.proto_file:
1097 if fdesc.name == filename:
1098 results = process_file(filename, fdesc, options)