Lines Matching refs:outf
137 def mkdecls(outf, maxwidth=16): argument
138 outf.write("#include <stdio.h>\n")
139 outf.write("#include <stdbool.h>\n")
140 outf.write("#include <stdint.h>\n")
141 outf.write("#include <inttypes.h>\n")
142 outf.write("#include <signal.h>\n")
151 outf.write(re.sub('\s+', ' ',
153 outf.write(re.sub('\s+', ' ',
161 outf.write(re.sub('\s+', ' ',
345 outf = open(args.output, 'w') if args.output else sys.stdout
353 mkdecls(outf, maxwidth=args.maxwidth)
355 outf.write("#line %d \"%s\"\n" % (1, args.input))
360 outf.write(pstmt(p))
362 outf.write(p.m)
369 outf.write(p.tokens[i][1])