Lines Matching refs:OUTPUT

630     open OUTPUT,">$filename.new" or die "Cannot create $filename";
632 printf OUTPUT "/* Unicode collation element table */\n";
633 printf OUTPUT "/* generated from %s */\n", $SORTKEYS;
634 printf OUTPUT "/* DO NOT EDIT!! */\n\n";
636 printf OUTPUT "const unsigned int collation_table[%d] =\n{\n", $ranges*256;
637 printf OUTPUT " /* index */\n";
638 printf OUTPUT "%s,\n", DUMP_ARRAY( "0x%08x", 0, @offsets );
642 printf OUTPUT " /* defaults */\n";
643 printf OUTPUT "%s", DUMP_ARRAY( "0x%08x", 0, (0xffffffff) x 256 );
650 printf OUTPUT ",\n /* 0x%02x00 .. 0x%02xff */\n", $i, $i;
651 printf OUTPUT "%s", DUMP_ARRAY( "0x%08x", 0xffffffff, @keys[($i<<8) .. ($i<<8)+255] );
653 printf OUTPUT "\n};\n";
654 close OUTPUT;
738 printf OUTPUT "static const WCHAR cp2uni[512] =\n";
739 printf OUTPUT "{\n%s", DUMP_ARRAY( "0x%04x", $defw, @cp2uni[0 .. 255] );
740 printf OUTPUT ",\n /* glyphs */\n%s\n};\n\n",
745 printf OUTPUT "static const WCHAR cp2uni[256] =\n";
746 printf OUTPUT "{\n%s\n};\n\n", DUMP_ARRAY( "0x%04x", $defw, @cp2uni[0 .. 255] );
763 printf OUTPUT "static const unsigned char uni2cp_low[%d] =\n{\n", $subtables*256;
767 printf OUTPUT " /* 0x%02x00 .. 0x%02xff */\n", $i, $i;
768 printf OUTPUT "%s,\n", DUMP_ARRAY( "0x%02x", $def, @uni2cp[($i<<8) .. ($i<<8)+255] );
770 printf OUTPUT " /* defaults */\n";
771 printf OUTPUT "%s\n};\n\n", DUMP_ARRAY( "0x%02x", 0, ($def) x 256 );
782 printf OUTPUT "static const unsigned short uni2cp_high[256] =\n";
783 printf OUTPUT "{\n%s\n};\n\n", DUMP_ARRAY( "0x%04x", 0, @offsets );
787 printf OUTPUT "const struct sbcs_table cptable_%03d =\n{\n", $codepage;
788 printf OUTPUT " { %d, 1, 0x%04x, 0x%04x, \"%s\" },\n",
790 printf OUTPUT " cp2uni,\n";
791 if ($has_glyphs) { printf OUTPUT " cp2uni + 256,\n"; }
792 else { printf OUTPUT " cp2uni,\n"; }
793 printf OUTPUT " uni2cp_low,\n";
794 printf OUTPUT " uni2cp_high\n};\n";
823 printf OUTPUT "static const WCHAR cp2uni[%d] =\n", 256 * ($#lblist + 2 + $unused);
824 printf OUTPUT "{\n%s,\n", DUMP_ARRAY( "0x%04x", $defw, @cp2uni[0 .. 255] );
830 printf OUTPUT " /* unused lead bytes */\n";
831 printf OUTPUT "%s,\n", DUMP_ARRAY( "0x%04x", 0, ($defw) x 256 );
839 printf OUTPUT " /* lead byte %02x */\n", $lblist[$y];
840 printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", $defw, @cp2uni[$base .. $base+255] );
841 printf OUTPUT ($y < $#lblist) ? ",\n" : "\n};\n\n";
854 printf OUTPUT "static const unsigned char cp2uni_leadbytes[256] =\n";
855 printf OUTPUT "{\n%s\n};\n\n", DUMP_ARRAY( "0x%02x", 0, @offsets );
871 printf OUTPUT "static const unsigned short uni2cp_low[%d] =\n{\n", $subtables*256;
875 printf OUTPUT " /* 0x%02x00 .. 0x%02xff */\n", $y, $y;
876 printf OUTPUT "%s,\n", DUMP_ARRAY( "0x%04x", $def, @uni2cp[($y<<8) .. ($y<<8)+255] );
878 printf OUTPUT " /* defaults */\n";
879 printf OUTPUT "%s\n};\n\n", DUMP_ARRAY( "0x%04x", 0, ($def) x 256 );
890 printf OUTPUT "static const unsigned short uni2cp_high[256] =\n";
891 printf OUTPUT "{\n%s\n};\n\n", DUMP_ARRAY( "0x%04x", 0, @offsets );
895 printf OUTPUT "const struct dbcs_table cptable_%03d =\n{\n", $codepage;
896 printf OUTPUT " { %d, 2, 0x%04x, 0x%04x, \"%s\" },\n",
898 printf OUTPUT " cp2uni,\n";
899 printf OUTPUT " cp2uni_leadbytes,\n";
900 printf OUTPUT " uni2cp_low,\n";
901 printf OUTPUT " uni2cp_high,\n";
902 printf OUTPUT " {\n %s\n }\n", DUMP_ARRAY( "0x%02x", 0, @lb_ranges, 0, 0 );
903 printf OUTPUT "};\n";
937 open OUTPUT,">$filename.new" or die "Cannot create $filename";
939 printf OUTPUT "/* Unicode case mappings */\n";
940 printf OUTPUT "/* Automatically generated; DO NOT EDIT!! */\n\n";
941 printf OUTPUT "#include \"wine/unicode.h\"\n\n";
947 close OUTPUT;
1003 printf OUTPUT "const WCHAR %s[%d] =\n", $name, $index * 256 + 512 - $removed;
1004 printf OUTPUT "{\n /* index */\n";
1005 printf OUTPUT "%s,\n", DUMP_ARRAY( "0x%04x", 256, @filled );
1006 printf OUTPUT " /* defaults */\n";
1007 printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", 0, (0) x 256 );
1012 printf OUTPUT ",\n /* 0x%02x%02x .. 0x%02xff */\n", $i, $lowerbounds[$index], $i;
1013 printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", 0,
1017 printf OUTPUT "\n};\n";
1026 open OUTPUT,">$filename.new" or die "Cannot create $filename";
1028 printf OUTPUT "/* Unicode ctype tables */\n";
1029 printf OUTPUT "/* Automatically generated; DO NOT EDIT!! */\n\n";
1030 printf OUTPUT "#include \"wine/unicode.h\"\n\n";
1058 printf OUTPUT "const unsigned short wine_wctype_table[%d] =\n{\n", $#array+1;
1059 printf OUTPUT " /* offsets */\n%s,\n", DUMP_ARRAY( "0x%04x", 0, @array[0..255] );
1060 printf OUTPUT " /* values */\n%s\n};\n", DUMP_ARRAY( "0x%04x", 0, @array[256..$#array] );
1062 close OUTPUT;
1073 open OUTPUT,">$filename.new" or die "Cannot create $filename";
1075 printf OUTPUT "/* Unicode char composition */\n";
1076 printf OUTPUT "/* Automatically generated; DO NOT EDIT!! */\n\n";
1077 printf OUTPUT "#include \"wine/unicode.h\"\n\n";
1109 printf OUTPUT "const WCHAR unicode_compose_table[0x%x] =\n{\n", 2*$pos;
1110 printf OUTPUT " /* second chars + offsets */\n%s", DUMP_ARRAY( "0x%04x", 0, @table );
1123 printf OUTPUT ",\n /* 0x%04x */\n%s", $i, DUMP_ARRAY( "0x%04x", 0, @table );
1125 printf OUTPUT "\n};\n\nconst unsigned int unicode_compose_table_size = %d;\n\n", $count;
1166 printf OUTPUT "const WCHAR unicode_decompose_table[%d] =\n", $total;
1167 printf OUTPUT "{\n /* index */\n";
1168 printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", 0, @filled_idx );
1169 printf OUTPUT ",\n /* null sub-index */\n%s", DUMP_ARRAY( "0x%04x", 0, ($null_offset) x 16 );
1178 printf OUTPUT ",\n /* sub-index %02x */\n", $i;
1179 printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", 0, @table );
1184 printf OUTPUT ",\n /* null mapping */\n";
1185 printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", 0, (0) x 32 );
1199 printf OUTPUT ",\n /* 0x%03x0 .. 0x%03xf */\n", $i, $i;
1200 printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", 0, @table );
1203 printf OUTPUT "\n};\n";
1204 close OUTPUT;
1295 open OUTPUT,">$output.new" or die "Cannot create $output";
1301 printf OUTPUT "/* code page %03d (%s) */\n", $codepage, $comment;
1302 printf OUTPUT "/* generated from %s */\n", $MAPPREFIX . $filename;
1303 printf OUTPUT "/* DO NOT EDIT!! */\n\n";
1304 printf OUTPUT "#include \"wine/unicode.h\"\n\n";
1308 close OUTPUT;
1336 open OUTPUT,">$output.new" or die "Cannot create $output";
1342 printf OUTPUT "/* code page %03d (%s) */\n", $codepage, $comment;
1345 printf OUTPUT "/* generated from %s */\n", $MAPPREFIX . $filename;
1346 printf OUTPUT "/* DO NOT EDIT!! */\n\n";
1350 printf OUTPUT "/* Automatically generated; DO NOT EDIT!! */\n\n";
1352 printf OUTPUT "#include \"wine/unicode.h\"\n\n";
1356 close OUTPUT;