Lines Matching refs:outfile
11 def main(infile, outfile): argument
31 print >>outfile, '// Generated from Unicode Bidi Mirroring tables\n'
32 print >>outfile, '#ifndef MIRRORING_PROPERTY_H_'
33 print >>outfile, '#define MIRRORING_PROPERTY_H_\n'
34 print >>outfile, '#include <stdint.h>'
35 print >>outfile, 'struct mirroring_property {'
36 print >>outfile, ' uint32_t a;'
37 print >>outfile, ' uint32_t b;'
38 print >>outfile, '};\n'
39 print >>outfile, 'static const struct mirroring_property mirroring_properties[] = {'
41 print >>outfile, ' {0x%x, 0x%x},' % pair
42 print >>outfile, '};\n'
43 print >>outfile, 'static const unsigned mirroring_properties_count = %d;\n' % len(pairs)
44 print >>outfile, '#endif // MIRRORING_PROPERTY_H_'