Lines Matching refs:infile
122 def make_api_ref(infile): argument
128 line = infile.readline()
132 line = infile.readline()
135 functions.append(process_function('function', infile))
137 types.append(process_function('type', infile))
139 types.append(process_struct(infile))
141 enums.append(process_enum(infile))
143 macros.append(process_macro(infile))
145 macros.append(process_macrosection(infile))
147 types.append(process_typedef(infile))
209 def process_macro(infile): argument
210 content = read_content(infile)
211 line = infile.readline()
215 def process_macrosection(infile): argument
216 content = read_content(infile)
219 def process_typedef(infile): argument
220 content = read_content(infile)
221 typedef = infile.readline()
226 def process_enum(infile): argument
229 content = read_content(infile)
231 line = infile.readline()
235 member_content = read_content(infile)
236 line = infile.readline()
249 def process_struct(infile): argument
252 content = read_content(infile)
254 line = infile.readline()
258 member_content = read_content(infile)
259 line = infile.readline()
273 def process_function(domain, infile): argument
274 content = read_content(infile)
277 line = infile.readline()
289 filename = os.path.basename(infile.name)
292 def read_content(infile): argument
295 line = infile.readline()
334 for infile in args.files:
335 m, e, t, f = make_api_ref(infile)