Lines Matching refs:fprintf
1283 else fprintf(out, ","); in write_case()
1284 fprintf(out, "\n\t0x%08lx, 0x%08lx, 0x%08lx", in write_case()
1361 fprintf(out, in write_cdata()
1374 fprintf(out, PREF "unsigned short _ucprop_size = %d;\n\n", NUMPROPS); in write_cdata()
1376 fprintf(out, PREF "unsigned short _ucprop_offsets[] = {"); in write_cdata()
1379 if (i) fprintf(out, ","); in write_cdata()
1380 if (!(i&7)) fprintf(out, "\n\t"); in write_cdata()
1381 else fprintf(out, " "); in write_cdata()
1382 fprintf(out, "0x%04x", propcnt[i]); in write_cdata()
1384 fprintf(out, "\n};\n\n"); in write_cdata()
1386 fprintf(out, PREF "unsigned int _ucprop_ranges[] = {"); in write_cdata()
1392 if (k) fprintf(out, ","); in write_cdata()
1393 if (!(k&3)) fprintf(out,"\n\t"); in write_cdata()
1394 else fprintf(out, " "); in write_cdata()
1396 fprintf(out, "0x%08lx", (unsigned long) proptbl[i].ranges[j]); in write_cdata()
1400 fprintf(out, "\n};\n\n"); in write_cdata()
1436 fprintf(out, PREF "unsigned int _uccase_size = %ld;\n\n", in write_cdata()
1439 fprintf(out, in write_cdata()
1444 fprintf(out, PREF "unsigned short _uccase_len[2] = {%ld, %ld};\n\n", in write_cdata()
1446 fprintf(out, PREF "unsigned int _uccase_map[] = {"); in write_cdata()
1467 fprintf(out, "\t0"); in write_cdata()
1469 fprintf(out, "\n};\n\n"); in write_cdata()
1530 fprintf(out, PREF "ac_uint4 _uccomp_size = %ld;\n\n", in write_cdata()
1533 fprintf(out, PREF "ac_uint4 _uccomp_data[] = {"); in write_cdata()
1540 if (i) fprintf(out, ","); in write_cdata()
1541 fprintf(out, "\n\t0x%08lx, 0x%08lx, 0x%08lx, 0x%08lx", in write_cdata()
1546 fprintf(out, "\t0"); in write_cdata()
1548 fprintf(out, "\n};\n\n"); in write_cdata()
1590 fprintf(out, PREF "ac_uint4 _ucdcmp_size = %ld;\n\n", in write_cdata()
1593 fprintf(out, PREF "ac_uint4 _ucdcmp_nodes[] = {"); in write_cdata()
1600 fprintf(out, "\n\t0x%08lx, 0x%08lx,", in write_cdata()
1608 fprintf(out, "\n\t0x%08lx\n};\n\n", (unsigned long) idx); in write_cdata()
1610 fprintf(out, PREF "ac_uint4 _ucdcmp_decomp[] = {"); in write_cdata()
1617 if (k) fprintf(out, ","); in write_cdata()
1618 if (!(k&3)) fprintf(out,"\n\t"); in write_cdata()
1619 else fprintf(out, " "); in write_cdata()
1621 fprintf(out, "0x%08lx", (unsigned long) decomps[i].decomp[j]); in write_cdata()
1623 fprintf(out, "\n};\n\n"); in write_cdata()
1682 fprintf(out, PREF "ac_uint4 _uckdcmp_size = %ld;\n\n", in write_cdata()
1685 fprintf(out, PREF "ac_uint4 _uckdcmp_nodes[] = {"); in write_cdata()
1692 fprintf(out, "\n\t0x%08lx, 0x%08lx,", in write_cdata()
1700 fprintf(out, "\n\t0x%08lx\n};\n\n", (unsigned long) idx); in write_cdata()
1702 fprintf(out, PREF "ac_uint4 _uckdcmp_decomp[] = {"); in write_cdata()
1710 if (k) fprintf(out, ","); in write_cdata()
1711 if (!(k&3)) fprintf(out,"\n\t"); in write_cdata()
1712 else fprintf(out, " "); in write_cdata()
1714 fprintf(out, "0x%08lx", (unsigned long) kdecomps[i].decomp[j]); in write_cdata()
1716 fprintf(out, "\n};\n\n"); in write_cdata()
1780 fprintf(out, PREF "ac_uint4 _uccmcl_size = %ld;\n\n", (long) ccl_used); in write_cdata()
1782 fprintf(out, PREF "ac_uint4 _uccmcl_nodes[] = {"); in write_cdata()
1789 if (i) fprintf(out, ","); in write_cdata()
1790 if (!(i&3)) fprintf(out, "\n\t"); in write_cdata()
1791 else fprintf(out, " "); in write_cdata()
1792 fprintf(out, "0x%08lx", (unsigned long) ccl[i]); in write_cdata()
1795 fprintf(out, "\t0"); in write_cdata()
1797 fprintf(out, "\n};\n\n"); in write_cdata()
1839 fprintf(out, PREF "ac_uint4 _ucnum_size = %lu;\n\n", in write_cdata()
1842 fprintf(out, PREF "ac_uint4 _ucnum_nodes[] = {"); in write_cdata()
1849 if (i) fprintf(out, ","); in write_cdata()
1850 if (!(i&1)) fprintf(out, "\n\t"); in write_cdata()
1851 else fprintf(out, " "); in write_cdata()
1852 fprintf(out, "0x%08lx, 0x%08lx", in write_cdata()
1855 fprintf(out, "\n};\n\n"); in write_cdata()
1857 fprintf(out, PREF "short _ucnum_vals[] = {"); in write_cdata()
1859 if (i) fprintf(out, ","); in write_cdata()
1860 if (!(i&3)) fprintf(out, "\n\t"); in write_cdata()
1861 else fprintf(out, " "); in write_cdata()
1863 fprintf(out, "%6d, 0x%04x", in write_cdata()
1866 fprintf(out, "0x%04x, 0x%04x", in write_cdata()
1870 fprintf(out, "\n};\n\n"); in write_cdata()
1914 fprintf(stderr, in usage()
1916 fprintf(stderr, " datafile1 datafile2 ...\n\n"); in usage()
1917 fprintf(stderr, in usage()
1919 fprintf(stderr, " directory (default: .).\n"); in usage()
1920 fprintf(stderr, in usage()
1922 fprintf(stderr, " that should be excluded.\n"); in usage()
1952 fprintf(stderr, in main()
1968 fprintf(stderr, "%s: unable to open ctype file %s\n", in main()