From 44a3eaeba04ef78835ca741592c376428ada5f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 2 Dec 2017 10:30:25 +0100 Subject: New upstream version 0.9.8 --- lib/unictype/categ_byname.h | 436 ++++++++++++++++++++++---------------------- 1 file changed, 215 insertions(+), 221 deletions(-) (limited to 'lib/unictype/categ_byname.h') diff --git a/lib/unictype/categ_byname.h b/lib/unictype/categ_byname.h index a8b740d3..59102f31 100644 --- a/lib/unictype/categ_byname.h +++ b/lib/unictype/categ_byname.h @@ -1,5 +1,5 @@ -/* ANSI-C code produced by gperf version 3.0.4 */ -/* Command-line: gperf -m 10 ./unictype/categ_byname.gperf */ +/* ANSI-C code produced by gperf version 3.1 */ +/* Command-line: gperf -m 10 ../../lib/unictype/categ_byname.gperf */ /* Computed positions: -k'1-2,7,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ @@ -26,10 +26,10 @@ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ -#error "gperf generated tables don't work with this execution character set. Please report a bug to ." +#error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif -#line 2 "./unictype/categ_byname.gperf" +#line 2 "../../lib/unictype/categ_byname.gperf" struct named_category { int name; unsigned int category_index; }; #define TOTAL_KEYWORDS 103 @@ -88,7 +88,7 @@ inline #endif #endif static unsigned int -general_category_hash (register const char *str, register unsigned int len) +general_category_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { @@ -119,7 +119,7 @@ general_category_hash (register const char *str, register unsigned int len) 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151 }; - register int hval = len; + register unsigned int hval = len; switch (hval) { @@ -357,256 +357,250 @@ static const struct general_category_stringpool_t general_category_stringpool_co static const struct named_category general_category_names[] = { {-1}, -#line 14 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str1, UC_CATEGORY_INDEX_L}, -#line 17 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str2, UC_CATEGORY_INDEX_Ll}, -#line 46 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str3, UC_CATEGORY_INDEX_C}, -#line 15 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str4, UC_CATEGORY_INDEX_LC}, -#line 47 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str5, UC_CATEGORY_INDEX_Cc}, -#line 27 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str6, UC_CATEGORY_INDEX_Nl}, +#line 14 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str1, UC_CATEGORY_INDEX_L}, +#line 17 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str2, UC_CATEGORY_INDEX_Ll}, +#line 46 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str3, UC_CATEGORY_INDEX_C}, +#line 15 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str4, UC_CATEGORY_INDEX_LC}, +#line 47 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str5, UC_CATEGORY_INDEX_Cc}, +#line 27 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str6, UC_CATEGORY_INDEX_Nl}, {-1}, {-1}, -#line 25 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str9, UC_CATEGORY_INDEX_N}, -#line 30 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str10, UC_CATEGORY_INDEX_Pc}, -#line 51 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str11, UC_CATEGORY_INDEX_Cn}, -#line 18 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str12, UC_CATEGORY_INDEX_Lt}, -#line 29 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str13, UC_CATEGORY_INDEX_P}, +#line 25 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str9, UC_CATEGORY_INDEX_N}, +#line 30 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str10, UC_CATEGORY_INDEX_Pc}, +#line 51 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str11, UC_CATEGORY_INDEX_Cn}, +#line 18 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str12, UC_CATEGORY_INDEX_Lt}, +#line 29 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str13, UC_CATEGORY_INDEX_P}, {-1}, -#line 111 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str15, UC_CATEGORY_INDEX_Cc}, -#line 20 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str16, UC_CATEGORY_INDEX_Lo}, -#line 50 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str17, UC_CATEGORY_INDEX_Co}, -#line 16 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str18, UC_CATEGORY_INDEX_Lu}, +#line 111 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str15, UC_CATEGORY_INDEX_Cc}, +#line 20 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str16, UC_CATEGORY_INDEX_Lo}, +#line 50 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str17, UC_CATEGORY_INDEX_Co}, +#line 16 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str18, UC_CATEGORY_INDEX_Lu}, {-1}, -#line 28 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str20, UC_CATEGORY_INDEX_No}, -#line 48 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str21, UC_CATEGORY_INDEX_Cf}, -#line 36 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str22, UC_CATEGORY_INDEX_Po}, -#line 102 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str23, UC_CATEGORY_INDEX_So}, -#line 98 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str24, UC_CATEGORY_INDEX_Sc}, -#line 97 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str25, UC_CATEGORY_INDEX_Sc}, -#line 35 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str26, UC_CATEGORY_INDEX_Pf}, -#line 112 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str27, UC_CATEGORY_INDEX_Cf}, -#line 86 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str28, UC_CATEGORY_INDEX_Pe}, -#line 87 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str29, UC_CATEGORY_INDEX_Pe}, +#line 28 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str20, UC_CATEGORY_INDEX_No}, +#line 48 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str21, UC_CATEGORY_INDEX_Cf}, +#line 36 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str22, UC_CATEGORY_INDEX_Po}, +#line 102 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str23, UC_CATEGORY_INDEX_So}, +#line 98 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str24, UC_CATEGORY_INDEX_Sc}, +#line 97 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str25, UC_CATEGORY_INDEX_Sc}, +#line 35 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str26, UC_CATEGORY_INDEX_Pf}, +#line 112 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str27, UC_CATEGORY_INDEX_Cf}, +#line 86 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str28, UC_CATEGORY_INDEX_Pe}, +#line 87 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str29, UC_CATEGORY_INDEX_Pe}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -#line 85 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str36, UC_CATEGORY_INDEX_Ps}, -#line 81 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str37, UC_CATEGORY_INDEX_Pc}, -#line 80 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str38, UC_CATEGORY_INDEX_Pc}, -#line 92 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str39, UC_CATEGORY_INDEX_Po}, -#line 93 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str40, UC_CATEGORY_INDEX_Po}, -#line 84 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str41, UC_CATEGORY_INDEX_Ps}, -#line 110 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str42, UC_CATEGORY_INDEX_C}, -#line 72 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str43, UC_CATEGORY_INDEX_N}, +#line 85 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str36, UC_CATEGORY_INDEX_Ps}, +#line 81 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str37, UC_CATEGORY_INDEX_Pc}, +#line 80 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str38, UC_CATEGORY_INDEX_Pc}, +#line 92 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str39, UC_CATEGORY_INDEX_Po}, +#line 93 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str40, UC_CATEGORY_INDEX_Po}, +#line 84 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str41, UC_CATEGORY_INDEX_Ps}, +#line 110 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str42, UC_CATEGORY_INDEX_C}, +#line 72 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str43, UC_CATEGORY_INDEX_N}, {-1}, -#line 79 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str45, UC_CATEGORY_INDEX_P}, -#line 39 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str46, UC_CATEGORY_INDEX_Sc}, -#line 44 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str47, UC_CATEGORY_INDEX_Zl}, -#line 94 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str48, UC_CATEGORY_INDEX_S}, -#line 63 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str49, UC_CATEGORY_INDEX_Lo}, -#line 33 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str50, UC_CATEGORY_INDEX_Pe}, +#line 79 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str45, UC_CATEGORY_INDEX_P}, +#line 39 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str46, UC_CATEGORY_INDEX_Sc}, +#line 44 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str47, UC_CATEGORY_INDEX_Zl}, +#line 94 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str48, UC_CATEGORY_INDEX_S}, +#line 63 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str49, UC_CATEGORY_INDEX_Lo}, +#line 33 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str50, UC_CATEGORY_INDEX_Pe}, {-1}, -#line 52 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str52, UC_CATEGORY_INDEX_L}, -#line 77 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str53, UC_CATEGORY_INDEX_No}, -#line 53 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str54, UC_CATEGORY_INDEX_LC}, -#line 23 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str55, UC_CATEGORY_INDEX_Mc}, -#line 78 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str56, UC_CATEGORY_INDEX_No}, +#line 52 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str52, UC_CATEGORY_INDEX_L}, +#line 77 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str53, UC_CATEGORY_INDEX_No}, +#line 53 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str54, UC_CATEGORY_INDEX_LC}, +#line 23 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str55, UC_CATEGORY_INDEX_Mc}, +#line 78 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str56, UC_CATEGORY_INDEX_No}, {-1}, -#line 41 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str58, UC_CATEGORY_INDEX_So}, -#line 45 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str59, UC_CATEGORY_INDEX_Zp}, -#line 75 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str60, UC_CATEGORY_INDEX_Nl}, -#line 22 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str61, UC_CATEGORY_INDEX_Mn}, -#line 76 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str62, UC_CATEGORY_INDEX_Nl}, -#line 58 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str63, UC_CATEGORY_INDEX_Ll}, -#line 57 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str64, UC_CATEGORY_INDEX_Ll}, +#line 41 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str58, UC_CATEGORY_INDEX_So}, +#line 45 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str59, UC_CATEGORY_INDEX_Zp}, +#line 75 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str60, UC_CATEGORY_INDEX_Nl}, +#line 22 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str61, UC_CATEGORY_INDEX_Mn}, +#line 76 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str62, UC_CATEGORY_INDEX_Nl}, +#line 58 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str63, UC_CATEGORY_INDEX_Ll}, +#line 57 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str64, UC_CATEGORY_INDEX_Ll}, {-1}, -#line 101 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str66, UC_CATEGORY_INDEX_So}, +#line 101 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str66, UC_CATEGORY_INDEX_So}, {-1}, {-1}, -#line 64 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str69, UC_CATEGORY_INDEX_Lo}, -#line 56 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str70, UC_CATEGORY_INDEX_Lu}, -#line 55 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str71, UC_CATEGORY_INDEX_Lu}, +#line 64 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str69, UC_CATEGORY_INDEX_Lo}, +#line 56 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str70, UC_CATEGORY_INDEX_Lu}, +#line 55 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str71, UC_CATEGORY_INDEX_Lu}, {-1}, {-1}, -#line 54 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str74, UC_CATEGORY_INDEX_LC}, -#line 67 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str75, UC_CATEGORY_INDEX_Mn}, -#line 66 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str76, UC_CATEGORY_INDEX_Mn}, +#line 54 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str74, UC_CATEGORY_INDEX_LC}, +#line 67 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str75, UC_CATEGORY_INDEX_Mn}, +#line 66 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str76, UC_CATEGORY_INDEX_Mn}, {-1}, -#line 95 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str78, UC_CATEGORY_INDEX_Sm}, +#line 95 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str78, UC_CATEGORY_INDEX_Sm}, {-1}, {-1}, -#line 109 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str81, UC_CATEGORY_INDEX_Zp}, -#line 108 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str82, UC_CATEGORY_INDEX_Zp}, -#line 115 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str83, UC_CATEGORY_INDEX_Co}, -#line 114 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str84, UC_CATEGORY_INDEX_Co}, -#line 37 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str85, UC_CATEGORY_INDEX_S}, +#line 109 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str81, UC_CATEGORY_INDEX_Zp}, +#line 108 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str82, UC_CATEGORY_INDEX_Zp}, +#line 115 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str83, UC_CATEGORY_INDEX_Co}, +#line 114 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str84, UC_CATEGORY_INDEX_Co}, +#line 37 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str85, UC_CATEGORY_INDEX_S}, {-1}, -#line 49 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str87, UC_CATEGORY_INDEX_Cs}, -#line 89 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str88, UC_CATEGORY_INDEX_Pi}, -#line 88 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str89, UC_CATEGORY_INDEX_Pi}, +#line 49 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str87, UC_CATEGORY_INDEX_Cs}, +#line 89 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str88, UC_CATEGORY_INDEX_Pi}, +#line 88 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str89, UC_CATEGORY_INDEX_Pi}, {-1}, -#line 42 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str91, UC_CATEGORY_INDEX_Z}, -#line 32 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str92, UC_CATEGORY_INDEX_Ps}, -#line 100 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str93, UC_CATEGORY_INDEX_Sk}, -#line 99 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str94, UC_CATEGORY_INDEX_Sk}, -#line 24 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str95, UC_CATEGORY_INDEX_Me}, -#line 113 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str96, UC_CATEGORY_INDEX_Cs}, +#line 42 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str91, UC_CATEGORY_INDEX_Z}, +#line 32 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str92, UC_CATEGORY_INDEX_Ps}, +#line 100 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str93, UC_CATEGORY_INDEX_Sk}, +#line 99 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str94, UC_CATEGORY_INDEX_Sk}, +#line 24 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str95, UC_CATEGORY_INDEX_Me}, +#line 113 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str96, UC_CATEGORY_INDEX_Cs}, {-1}, -#line 90 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str98, UC_CATEGORY_INDEX_Pf}, -#line 91 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str99, UC_CATEGORY_INDEX_Pf}, +#line 90 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str98, UC_CATEGORY_INDEX_Pf}, +#line 91 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str99, UC_CATEGORY_INDEX_Pf}, {-1}, {-1}, -#line 103 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str102, UC_CATEGORY_INDEX_Z}, -#line 21 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str103, UC_CATEGORY_INDEX_M}, -#line 19 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str104, UC_CATEGORY_INDEX_Lm}, -#line 83 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str105, UC_CATEGORY_INDEX_Pd}, -#line 107 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str106, UC_CATEGORY_INDEX_Zl}, +#line 103 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str102, UC_CATEGORY_INDEX_Z}, +#line 21 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str103, UC_CATEGORY_INDEX_M}, +#line 19 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str104, UC_CATEGORY_INDEX_Lm}, +#line 83 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str105, UC_CATEGORY_INDEX_Pd}, +#line 107 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str106, UC_CATEGORY_INDEX_Zl}, {-1}, -#line 105 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str108, UC_CATEGORY_INDEX_Zs}, +#line 105 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str108, UC_CATEGORY_INDEX_Zs}, {-1}, -#line 82 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str110, UC_CATEGORY_INDEX_Pd}, +#line 82 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str110, UC_CATEGORY_INDEX_Pd}, {-1}, {-1}, -#line 116 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str113, UC_CATEGORY_INDEX_Cn}, +#line 116 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str113, UC_CATEGORY_INDEX_Cn}, {-1}, {-1}, {-1}, {-1}, -#line 62 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str118, UC_CATEGORY_INDEX_Lm}, -#line 61 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str119, UC_CATEGORY_INDEX_Lm}, -#line 65 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str120, UC_CATEGORY_INDEX_M}, +#line 62 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str118, UC_CATEGORY_INDEX_Lm}, +#line 61 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str119, UC_CATEGORY_INDEX_Lm}, +#line 65 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str120, UC_CATEGORY_INDEX_M}, {-1}, -#line 106 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str122, UC_CATEGORY_INDEX_Zl}, -#line 60 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str123, UC_CATEGORY_INDEX_Lt}, -#line 59 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str124, UC_CATEGORY_INDEX_Lt}, -#line 74 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str125, UC_CATEGORY_INDEX_Nd}, -#line 73 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str126, UC_CATEGORY_INDEX_Nd}, +#line 106 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str122, UC_CATEGORY_INDEX_Zl}, +#line 60 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str123, UC_CATEGORY_INDEX_Lt}, +#line 59 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str124, UC_CATEGORY_INDEX_Lt}, +#line 74 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str125, UC_CATEGORY_INDEX_Nd}, +#line 73 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str126, UC_CATEGORY_INDEX_Nd}, {-1}, -#line 96 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str128, UC_CATEGORY_INDEX_Sm}, +#line 96 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str128, UC_CATEGORY_INDEX_Sm}, {-1}, -#line 104 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str130, UC_CATEGORY_INDEX_Zs}, -#line 43 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str131, UC_CATEGORY_INDEX_Zs}, -#line 34 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str132, UC_CATEGORY_INDEX_Pi}, -#line 69 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str133, UC_CATEGORY_INDEX_Mc}, -#line 68 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str134, UC_CATEGORY_INDEX_Mc}, +#line 104 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str130, UC_CATEGORY_INDEX_Zs}, +#line 43 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str131, UC_CATEGORY_INDEX_Zs}, +#line 34 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str132, UC_CATEGORY_INDEX_Pi}, +#line 69 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str133, UC_CATEGORY_INDEX_Mc}, +#line 68 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str134, UC_CATEGORY_INDEX_Mc}, {-1}, {-1}, {-1}, -#line 26 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str138, UC_CATEGORY_INDEX_Nd}, +#line 26 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str138, UC_CATEGORY_INDEX_Nd}, {-1}, -#line 31 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str140, UC_CATEGORY_INDEX_Pd}, +#line 31 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str140, UC_CATEGORY_INDEX_Pd}, {-1}, -#line 40 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str142, UC_CATEGORY_INDEX_Sk}, +#line 40 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str142, UC_CATEGORY_INDEX_Sk}, {-1}, {-1}, {-1}, -#line 38 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str146, UC_CATEGORY_INDEX_Sm}, +#line 38 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str146, UC_CATEGORY_INDEX_Sm}, {-1}, {-1}, -#line 71 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str149, UC_CATEGORY_INDEX_Me}, -#line 70 "./unictype/categ_byname.gperf" - {(int)(long)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str150, UC_CATEGORY_INDEX_Me} +#line 71 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str149, UC_CATEGORY_INDEX_Me}, +#line 70 "../../lib/unictype/categ_byname.gperf" + {(int)(size_t)&((struct general_category_stringpool_t *)0)->general_category_stringpool_str150, UC_CATEGORY_INDEX_Me} }; -#ifdef __GNUC__ -__inline -#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ -__attribute__ ((__gnu_inline__)) -#endif -#endif const struct named_category * -uc_general_category_lookup (register const char *str, register unsigned int len) +uc_general_category_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { - register int key = general_category_hash (str, len); + register unsigned int key = general_category_hash (str, len); - if (key <= MAX_HASH_VALUE && key >= 0) + if (key <= MAX_HASH_VALUE) { register int o = general_category_names[key].name; if (o >= 0) -- cgit v1.2.3