Lines Matching refs:fh
174 def parse_file(self, fh):
176 for line in fh:
183 def pkk_output_header(fh):
213 ), file=fh)
216 def pkk_output_source(fh):
228 ), file=fh)
248 ), file=fh)
266 with open(pkk_cfg.in_file, "r", encoding="UTF-8") as fh:
267 enums = hdrparser.parse_file(fh)
286 with open(pkk_cfg.out_header, "w", encoding="UTF-8") as fh:
287 pkk_output_header(fh)
290 with open(pkk_cfg.out_source, "w", encoding="UTF-8") as fh:
291 pkk_output_source(fh)