Lines Matching refs:printf

300 		printf("%#x: illegal val\n", val);  in utf8encode()
428 printf("%s_%x root %p\n", tree->type, tree->maxage, tree->root); in tree_walk()
438 printf("%*snode @ %p bitnum %d nextbyte %d" in tree_walk()
485 printf("nodes %d leaves %d singletons %d\n", in tree_walk()
668 printf("Pruning %s_%x\n", tree->type, tree->maxage); in prune()
808 printf("Pruned %d nodes\n", count); in prune()
826 printf("Marking %s_%x\n", tree->type, tree->maxage); in mark_nodes()
934 printf("Marked %d nodes\n", marked); in mark_nodes()
959 printf("Indexing %s_%x: %d\n", tree->type, tree->maxage, index); in index_nodes()
1018 printf("Final index %d\n", index); in index_nodes()
1070 printf("Sizing %s_%x\n", tree->type, tree->maxage); in size_nodes()
1178 printf("Found %d changes\n", changed); in size_nodes()
1208 printf("Emitting %s_%x\n", tree->type, tree->maxage); in emit()
1313 printf("Emitted %d (%d) leaves", in emit()
1315 printf(" %d (%d+%d+%d+%d) nodes", in emit()
1318 printf(" %d total\n", index - tree->index); in emit()
1419 printf("%*sleaf @ %p code %X ccc %d gen %d", indent, "", leaf, in nfdi_print()
1423 printf(" nfdi \"%s\"", "HANGUL SYLLABLE"); in nfdi_print()
1425 printf(" nfdi \"%s\"", (const char*)leaf->utf8nfdi); in nfdi_print()
1427 printf("\n"); in nfdi_print()
1434 printf("%*sleaf @ %p code %X ccc %d gen %d", indent, "", leaf, in nfdicf_print()
1438 printf(" nfdicf \"%s\"", (const char*)leaf->utf8nfdicf); in nfdicf_print()
1440 printf(" nfdi \"%s\"", "HANGUL SYLLABLE"); in nfdicf_print()
1442 printf(" nfdi \"%s\"", (const char*)leaf->utf8nfdi); in nfdicf_print()
1443 printf("\n"); in nfdicf_print()
1692 printf("Populating %s_%x\n", in trees_populate()
1733 printf("%s_%x idx %d\n", in trees_reduce()
1756 printf("Verifying %s_%x\n", tree->type, tree->maxage); in verify()
1808 printf("%X code %X gen %d ccc %d" in verify()
1814 printf(" gen %d ccc %d" in verify()
1821 printf("\n"); in verify()
1838 printf("Usage: %s [options]\n", argv0); in help()
1839 printf("\n"); in help()
1840 printf("This program creates an a data trie used for parsing and\n"); in help()
1841 printf("normalization of UTF-8 strings. The trie is derived from\n"); in help()
1842 printf("a set of input files from the Unicode character database\n"); in help()
1843 printf("found at: http://www.unicode.org/Public/UCD/latest/ucd/\n"); in help()
1844 printf("\n"); in help()
1845 printf("The generated tree supports two normalization forms:\n"); in help()
1846 printf("\n"); in help()
1847 printf("\tnfdi:\n"); in help()
1848 printf("\t- Apply unicode normalization form NFD.\n"); in help()
1849 printf("\t- Remove any Default_Ignorable_Code_Point.\n"); in help()
1850 printf("\n"); in help()
1851 printf("\tnfdicf:\n"); in help()
1852 printf("\t- Apply unicode normalization form NFD.\n"); in help()
1853 printf("\t- Remove any Default_Ignorable_Code_Point.\n"); in help()
1854 printf("\t- Apply a full casefold (C + F).\n"); in help()
1855 printf("\n"); in help()
1856 printf("These forms were chosen as being most useful when dealing\n"); in help()
1857 printf("with file names: NFD catches most cases where characters\n"); in help()
1858 printf("should be considered equivalent. The ignorables are mostly\n"); in help()
1859 printf("invisible, making names hard to type.\n"); in help()
1860 printf("\n"); in help()
1861 printf("The options to specify the files to be used are listed\n"); in help()
1862 printf("below with their default values, which are the names used\n"); in help()
1863 printf("by version 11.0.0 of the Unicode Character Database.\n"); in help()
1864 printf("\n"); in help()
1865 printf("The input files:\n"); in help()
1866 printf("\t-a %s\n", AGE_NAME); in help()
1867 printf("\t-c %s\n", CCC_NAME); in help()
1868 printf("\t-p %s\n", PROP_NAME); in help()
1869 printf("\t-d %s\n", DATA_NAME); in help()
1870 printf("\t-f %s\n", FOLD_NAME); in help()
1871 printf("\t-n %s\n", NORM_NAME); in help()
1872 printf("\n"); in help()
1873 printf("Additionally, the generated tables are tested using:\n"); in help()
1874 printf("\t-t %s\n", TEST_NAME); in help()
1875 printf("\n"); in help()
1876 printf("Finally, the output file:\n"); in help()
1877 printf("\t-o %s\n", UTF8_NAME); in help()
1878 printf("\n"); in help()
1889 printf("Error %d opening %s: %s\n", error, name, strerror(error)); in open_fail()
1895 printf("Error parsing %s\n", filename); in file_fail()
1901 printf("Error parsing %s:%s\n", filename, line); in line_fail()
1912 printf(" %X", utf32str[i]); in print_utf32()
1917 printf(" %X ->", unichar); in print_utf32nfdi()
1919 printf("\n"); in print_utf32nfdi()
1924 printf(" %X ->", unichar); in print_utf32nfdicf()
1926 printf("\n"); in print_utf32nfdicf()
1945 printf("Parsing %s\n", age_name); in age_init()
1959 printf(" Age V%d_%d_%d\n", in age_init()
1969 printf(" Age V%d_%d\n", major, minor); in age_init()
1978 printf("%d age entries\n", ages_count); in age_init()
1998 printf(" Age V%d_%d_%d = gen %d\n", in age_init()
2008 printf(" Age V%d_%d = %d\n", in age_init()
2021 printf(" %X..%X gen %d\n", first, last, gen); in age_init()
2031 printf(" %X gen %d\n", unichar, gen); in age_init()
2042 printf(" Removing surrogate block D800..DFFF\n"); in age_init()
2047 printf("Found %d entries\n", count); in age_init()
2063 printf("Parsing %s\n", ccc_name); in ccc_init()
2078 printf(" %X..%X ccc %d\n", first, last, value); in ccc_init()
2088 printf(" %X ccc %d\n", unichar, value); in ccc_init()
2097 printf("Found %d entries\n", count); in ccc_init()
2129 printf("Parsing %s\n", data_name); in nfdi_init()
2172 printf("Found %d entries\n", count); in nfdi_init()
2190 printf("Parsing %s\n", fold_name); in nfdicf_init()
2228 printf("Found %d entries\n", count); in nfdicf_init()
2244 printf("Parsing %s\n", prop_name); in ignore_init()
2269 printf(" %X..%X Default_Ignorable_Code_Point\n", in ignore_init()
2288 printf(" %X Default_Ignorable_Code_Point\n", in ignore_init()
2297 printf("Found %d entries\n", count); in ignore_init()
2318 printf("Parsing %s\n", norm_name); in corrections_init()
2367 printf(" %X -> %s -> %s V%d_%d_%d\n", in corrections_init()
2374 printf("Found %d entries\n", count); in corrections_init()
2445 printf("Decomposing hangul\n"); in hangul_decompose()
2486 printf("Created %d entries\n", count); in hangul_decompose()
2501 printf("Decomposing nfdi\n"); in nfdi_decompose()
2541 printf("Processed %d entries\n", count); in nfdi_decompose()
2556 printf("Decomposing nfdicf\n"); in nfdicf_decompose()
2589 printf("Processed %d entries\n", count); in nfdicf_decompose()
3225 printf("Parsing %s\n", test_name); in normalization_test()
3259 printf("Line %s -> %s", buf0, buf1); in normalization_test()
3261 printf(" (ignorables removed)"); in normalization_test()
3262 printf(" failure\n"); in normalization_test()
3268 printf("Ran %d tests with %d failures\n", tests, failures); in normalization_test()
3284 printf("Writing %s\n", utf8_name); in write_file()