Lines Matching refs:outfile
10 def main(infile, outfile): argument
14 print >>outfile, '// Generated from Unicode tables\n'
15 print >>outfile, '#ifndef COMBINING_PROPERTIES_H_'
16 print >>outfile, '#define COMBINING_PROPERTIES_H_\n'
17 print >>outfile, '#include <stdint.h>'
18 print >>outfile, 'struct combining_property {'
19 print >>outfile, ' uint32_t range_start;'
20 print >>outfile, ' uint32_t range_end;'
21 print >>outfile, ' uint8_t klass;'
22 print >>outfile, '};\n'
23 print >>outfile, 'static const struct combining_property combining_properties[] = {'
25 print >>outfile, ' {0x%x, 0x%x, %s},' % (start, end, value)
26 print >>outfile, '};\n'
27 print >>outfile, 'static const unsigned combining_properties_count = %d;\n' % len(ranges)
28 print >>outfile, '#endif // COMBINING_PROPERTIES_H_'