Lines Matching refs:utf8nfkdi
1344 char *utf8nfkdi; member
1381 if (left->utf8nfkdi && right->utf8nfkdi && in nfkdi_equal()
1382 strcmp(left->utf8nfkdi, right->utf8nfkdi) == 0) in nfkdi_equal()
1384 if (left->utf8nfkdi || right->utf8nfkdi) in nfkdi_equal()
1405 if (left->utf8nfkdi && right->utf8nfkdi && in nfkdicf_equal()
1406 strcmp(left->utf8nfkdi, right->utf8nfkdi) == 0) in nfkdicf_equal()
1408 if (left->utf8nfkdi || right->utf8nfkdi) in nfkdicf_equal()
1419 if (leaf->utf8nfkdi && leaf->utf8nfkdi[0] == HANGUL) in nfkdi_print()
1421 else if (leaf->utf8nfkdi) in nfkdi_print()
1422 printf(" nfkdi \"%s\"", (const char*)leaf->utf8nfkdi); in nfkdi_print()
1434 else if (leaf->utf8nfkdi && leaf->utf8nfkdi[0] == HANGUL) in nfkdicf_print()
1436 else if (leaf->utf8nfkdi) in nfkdicf_print()
1437 printf(" nfkdi \"%s\"", (const char*)leaf->utf8nfkdi); in nfkdicf_print()
1469 else if (leaf->utf8nfkdi) in nfkdi_size()
1470 size += strlen(leaf->utf8nfkdi) + 1; in nfkdi_size()
1483 else if (leaf->utf8nfkdi) in nfkdicf_size()
1484 size += strlen(leaf->utf8nfkdi) + 1; in nfkdicf_size()
1511 } else if (leaf->utf8nfkdi) { in nfkdi_emit()
1513 s = (unsigned char*)leaf->utf8nfkdi; in nfkdi_emit()
1536 } else if (leaf->utf8nfkdi) { in nfkdicf_emit()
1538 s = (unsigned char*)leaf->utf8nfkdi; in nfkdicf_emit()
1554 if (data->utf8nfkdi) { in utf8_create()
1555 assert(data->utf8nfkdi[0] == HANGUL); in utf8_create()
1565 data->utf8nfkdi = strdup(utf); in utf8_create()
1573 if (!data->utf8nfkdi || strcmp(data->utf8nfkdi, utf)) in utf8_create()
1774 if (data->utf8nfkdi[0] != HANGUL) in verify()
1777 if (!data->utf8nfkdi) { in verify()
1779 } else if (strcmp(data->utf8nfkdi, in verify()
1785 !data->utf8nfkdi) { in verify()
1791 } else if (strcmp(data->utf8nfkdi, in verify()
1805 data->utf8nfkdi); in verify()
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()
3223 if (data->utf8nfkdi && !*data->utf8nfkdi) in normalization_test()