Lines Matching refs:unicode_data
1339 struct unicode_data { struct
1350 struct unicode_data unicode_data[0x110000]; argument
1351 struct unicode_data *corrections;
1364 static struct unicode_data *corrections_lookup(struct unicode_data *u) in corrections_lookup()
1376 struct unicode_data *left = l; in nfdi_equal()
1377 struct unicode_data *right = r; in nfdi_equal()
1393 struct unicode_data *left = l; in nfdicf_equal()
1394 struct unicode_data *right = r; in nfdicf_equal()
1417 struct unicode_data *leaf = l; in nfdi_print()
1432 struct unicode_data *leaf = l; in nfdicf_print()
1453 struct unicode_data *leaf = l; in nfdicf_mark()
1462 struct unicode_data *leaf = l; in correction_mark()
1469 struct unicode_data *leaf = l; in nfdi_size()
1481 struct unicode_data *leaf = l; in nfdicf_size()
1495 struct unicode_data *leaf = l; in nfdi_index()
1502 struct unicode_data *leaf = l; in nfdicf_index()
1509 struct unicode_data *leaf = l; in nfdi_emit()
1530 struct unicode_data *leaf = l; in nfdicf_emit()
1554 static void utf8_create(struct unicode_data *data) in utf8_create()
1591 utf8_create(&unicode_data[unichar]); in utf8_init()
1599 struct unicode_data *data; in trees_init()
1684 struct unicode_data *data; in trees_populate()
1696 if (unicode_data[unichar].gen < 0) in trees_populate()
1699 data = corrections_lookup(&unicode_data[unichar]); in trees_populate()
1701 data = &unicode_data[unichar]; in trees_populate()
1747 struct unicode_data *data; in verify()
1761 data = corrections_lookup(&unicode_data[unichar]); in verify()
1763 data = &unicode_data[unichar]; in verify()
1918 print_utf32(unicode_data[unichar].utf32nfdi); in print_utf32nfdi()
1925 print_utf32(unicode_data[unichar].utf32nfdicf); in print_utf32nfdicf()
2018 unicode_data[unichar].gen = gen; in age_init()
2028 unicode_data[unichar].gen = gen; in age_init()
2044 unicode_data[unichar].gen = -1; in age_init()
2074 unicode_data[unichar].ccc = value; in ccc_init()
2085 unicode_data[unichar].ccc = value; in ccc_init()
2164 unicode_data[unichar].utf32nfdi = um; in nfdi_init()
2220 unicode_data[unichar].utf32nfdicf = um; in nfdicf_init()
2258 free(unicode_data[unichar].utf32nfdi); in ignore_init()
2261 unicode_data[unichar].utf32nfdi = um; in ignore_init()
2262 free(unicode_data[unichar].utf32nfdicf); in ignore_init()
2265 unicode_data[unichar].utf32nfdicf = um; in ignore_init()
2279 free(unicode_data[unichar].utf32nfdi); in ignore_init()
2282 unicode_data[unichar].utf32nfdi = um; in ignore_init()
2283 free(unicode_data[unichar].utf32nfdicf); in ignore_init()
2286 unicode_data[unichar].utf32nfdicf = um; in ignore_init()
2334 corrections = calloc(count, sizeof(struct unicode_data)); in corrections_init()
2347 corrections[count] = unicode_data[unichar]; in corrections_init()
2461 assert(!unicode_data[unichar].utf32nfdi); in hangul_decompose()
2464 unicode_data[unichar].utf32nfdi = um; in hangul_decompose()
2466 assert(!unicode_data[unichar].utf32nfdicf); in hangul_decompose()
2469 unicode_data[unichar].utf32nfdicf = um; in hangul_decompose()
2476 unicode_data[unichar].utf8nfdi = malloc(2); in hangul_decompose()
2477 unicode_data[unichar].utf8nfdi[0] = HANGUL; in hangul_decompose()
2478 unicode_data[unichar].utf8nfdi[1] = '\0'; in hangul_decompose()
2505 if (!unicode_data[unichar].utf32nfdi) in nfdi_decompose()
2510 um = unicode_data[unichar].utf32nfdi; in nfdi_decompose()
2512 dc = unicode_data[*um].utf32nfdi; in nfdi_decompose()
2525 free(unicode_data[unichar].utf32nfdi); in nfdi_decompose()
2528 unicode_data[unichar].utf32nfdi = um; in nfdi_decompose()
2531 if (!unicode_data[unichar].utf32nfdicf) { in nfdi_decompose()
2534 unicode_data[unichar].utf32nfdicf = um; in nfdi_decompose()
2559 if (!unicode_data[unichar].utf32nfdicf) in nfdicf_decompose()
2564 um = unicode_data[unichar].utf32nfdicf; in nfdicf_decompose()
2566 dc = unicode_data[*um].utf32nfdicf; in nfdicf_decompose()
2579 free(unicode_data[unichar].utf32nfdicf); in nfdicf_decompose()
2582 unicode_data[unichar].utf32nfdicf = um; in nfdicf_decompose()
3216 struct unicode_data *data; in normalization_test()
3249 data = &unicode_data[unichar]; in normalization_test()
3408 unicode_data[unichar].code = unichar; in main()