Lines Matching refs:unicode_data
1337 struct unicode_data { struct
1348 struct unicode_data unicode_data[0x110000]; argument
1349 struct unicode_data *corrections;
1362 static struct unicode_data *corrections_lookup(struct unicode_data *u) in corrections_lookup()
1374 struct unicode_data *left = l; in nfkdi_equal()
1375 struct unicode_data *right = r; in nfkdi_equal()
1391 struct unicode_data *left = l; in nfkdicf_equal()
1392 struct unicode_data *right = r; in nfkdicf_equal()
1415 struct unicode_data *leaf = l; in nfkdi_print()
1428 struct unicode_data *leaf = l; in nfkdicf_print()
1448 struct unicode_data *leaf = l; in nfkdicf_mark()
1457 struct unicode_data *leaf = l; in correction_mark()
1464 struct unicode_data *leaf = l; in nfkdi_size()
1476 struct unicode_data *leaf = l; in nfkdicf_size()
1490 struct unicode_data *leaf = l; in nfkdi_index()
1497 struct unicode_data *leaf = l; in nfkdicf_index()
1504 struct unicode_data *leaf = l; in nfkdi_emit()
1524 struct unicode_data *leaf = l; in nfkdicf_emit()
1547 static void utf8_create(struct unicode_data *data) in utf8_create()
1584 utf8_create(&unicode_data[unichar]); in utf8_init()
1592 struct unicode_data *data; in trees_init()
1677 struct unicode_data *data; in trees_populate()
1689 if (unicode_data[unichar].gen < 0) in trees_populate()
1692 data = corrections_lookup(&unicode_data[unichar]); in trees_populate()
1694 data = &unicode_data[unichar]; in trees_populate()
1740 struct unicode_data *data; in verify()
1754 data = corrections_lookup(&unicode_data[unichar]); in verify()
1756 data = &unicode_data[unichar]; in verify()
1911 print_utf32(unicode_data[unichar].utf32nfkdi); in print_utf32nfkdi()
1918 print_utf32(unicode_data[unichar].utf32nfkdicf); in print_utf32nfkdicf()
2011 unicode_data[unichar].gen = gen; in age_init()
2021 unicode_data[unichar].gen = gen; in age_init()
2037 unicode_data[unichar].gen = -1; in age_init()
2067 unicode_data[unichar].ccc = value; in ccc_init()
2078 unicode_data[unichar].ccc = value; in ccc_init()
2138 unicode_data[unichar].utf32nfkdi = um; in nfkdi_init()
2194 unicode_data[unichar].utf32nfkdicf = um; in nfkdicf_init()
2232 free(unicode_data[unichar].utf32nfkdi); in ignore_init()
2235 unicode_data[unichar].utf32nfkdi = um; in ignore_init()
2236 free(unicode_data[unichar].utf32nfkdicf); in ignore_init()
2239 unicode_data[unichar].utf32nfkdicf = um; in ignore_init()
2253 free(unicode_data[unichar].utf32nfkdi); in ignore_init()
2256 unicode_data[unichar].utf32nfkdi = um; in ignore_init()
2257 free(unicode_data[unichar].utf32nfkdicf); in ignore_init()
2260 unicode_data[unichar].utf32nfkdicf = um; in ignore_init()
2308 corrections = calloc(count, sizeof(struct unicode_data)); in corrections_init()
2321 corrections[count] = unicode_data[unichar]; in corrections_init()
2435 assert(!unicode_data[unichar].utf32nfkdi); in hangul_decompose()
2438 unicode_data[unichar].utf32nfkdi = um; in hangul_decompose()
2440 assert(!unicode_data[unichar].utf32nfkdicf); in hangul_decompose()
2443 unicode_data[unichar].utf32nfkdicf = um; in hangul_decompose()
2450 unicode_data[unichar].utf8nfkdi = malloc(2); in hangul_decompose()
2451 unicode_data[unichar].utf8nfkdi[0] = HANGUL; in hangul_decompose()
2452 unicode_data[unichar].utf8nfkdi[1] = '\0'; in hangul_decompose()
2479 if (!unicode_data[unichar].utf32nfkdi) in nfkdi_decompose()
2484 um = unicode_data[unichar].utf32nfkdi; in nfkdi_decompose()
2486 dc = unicode_data[*um].utf32nfkdi; in nfkdi_decompose()
2499 free(unicode_data[unichar].utf32nfkdi); in nfkdi_decompose()
2502 unicode_data[unichar].utf32nfkdi = um; in nfkdi_decompose()
2505 if (!unicode_data[unichar].utf32nfkdicf) { in nfkdi_decompose()
2508 unicode_data[unichar].utf32nfkdicf = um; in nfkdi_decompose()
2533 if (!unicode_data[unichar].utf32nfkdicf) in nfkdicf_decompose()
2538 um = unicode_data[unichar].utf32nfkdicf; in nfkdicf_decompose()
2540 dc = unicode_data[*um].utf32nfkdicf; in nfkdicf_decompose()
2553 free(unicode_data[unichar].utf32nfkdicf); in nfkdicf_decompose()
2556 unicode_data[unichar].utf32nfkdicf = um; in nfkdicf_decompose()
3189 struct unicode_data *data; in normalization_test()
3222 data = &unicode_data[unichar]; in normalization_test()
3367 unicode_data[unichar].code = unichar; in main()