Lines Matching refs:outfp
43 outfp = bkfile.open(base + file, 'w')
53 writecode(outfp, mangled, str)
54 outfp.close()
57 outfp = bkfile.open(base + 'frozen.c', 'w')
59 outfp.write('extern unsigned char M_%s[];\n' % mangled)
60 outfp.write(header)
62 outfp.write('\t{"%s", M_%s, %d},\n' % (mod, mangled, size))
63 outfp.write('\n')
69 outfp.write('\t{"%s", NULL, 0},\n' % (mod,))
70 outfp.write(trailer)
71 outfp.write(entry_point)
72 outfp.close()
80 def writecode(outfp, mod, str): argument
81 outfp.write('unsigned char M_%s[] = {' % mod)
83 outfp.write('\n\t')
85 outfp.write('%d,' % ord(c))
86 outfp.write('\n};\n')