tizen 2.4 release
[external/libunistring.git] / lib / unictype / bidi_byname.h
1 /* ANSI-C code produced by gperf version 3.0.4 */
2 /* Command-line: gperf -m 10 ./unictype/bidi_byname.gperf  */
3 /* Computed positions: -k'1,9,$' */
4
5 #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
6       && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
7       && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
8       && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
9       && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
10       && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
11       && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
12       && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
13       && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
14       && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
15       && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
16       && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
17       && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
18       && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
19       && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
20       && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
21       && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
22       && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
23       && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
24       && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
25       && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
26       && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
27       && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
28 /* The character set is not based on ISO-646.  */
29 #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
30 #endif
31
32 #line 2 "./unictype/bidi_byname.gperf"
33 struct named_bidi_class { int name; int bidi_class; };
34
35 #define TOTAL_KEYWORDS 57
36 #define MIN_WORD_LENGTH 1
37 #define MAX_WORD_LENGTH 23
38 #define MIN_HASH_VALUE 3
39 #define MAX_HASH_VALUE 72
40 /* maximum key range = 70, duplicates = 0 */
41
42 #ifndef GPERF_DOWNCASE
43 #define GPERF_DOWNCASE 1
44 static unsigned char gperf_downcase[256] =
45   {
46       0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,  14,
47      15,  16,  17,  18,  19,  20,  21,  22,  23,  24,  25,  26,  27,  28,  29,
48      30,  31,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,  42,  43,  44,
49      45,  46,  47,  48,  49,  50,  51,  52,  53,  54,  55,  56,  57,  58,  59,
50      60,  61,  62,  63,  64,  97,  98,  99, 100, 101, 102, 103, 104, 105, 106,
51     107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
52     122,  91,  92,  93,  94,  95,  96,  97,  98,  99, 100, 101, 102, 103, 104,
53     105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
54     120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
55     135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
56     150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
57     165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
58     180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
59     195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
60     210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
61     225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
62     240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
63     255
64   };
65 #endif
66
67 #ifndef GPERF_CASE_STRCMP
68 #define GPERF_CASE_STRCMP 1
69 static int
70 gperf_case_strcmp (register const char *s1, register const char *s2)
71 {
72   for (;;)
73     {
74       unsigned char c1 = gperf_downcase[(unsigned char)*s1++];
75       unsigned char c2 = gperf_downcase[(unsigned char)*s2++];
76       if (c1 != 0 && c1 == c2)
77         continue;
78       return (int)c1 - (int)c2;
79     }
80 }
81 #endif
82
83 #ifdef __GNUC__
84 __inline
85 #else
86 #ifdef __cplusplus
87 inline
88 #endif
89 #endif
90 static unsigned int
91 bidi_class_hash (register const char *str, register unsigned int len)
92 {
93   static const unsigned char asso_values[] =
94     {
95       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
96       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
97       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
98       73, 73, 15, 73, 73, 73, 73, 73, 73, 73,
99       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
100       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
101       73, 73, 73, 73, 73, 32, 27, 26, 73,  1,
102       26,  1, 14, 73, 73, 20,  4,  4,  8,  3,
103       23, 73,  1, 15,  1,  7, 73, 24, 73, 73,
104       73, 73, 73, 73, 73, 73, 73, 32, 27, 26,
105       73,  1, 26,  1, 14, 73, 73, 20,  4,  4,
106        8,  3, 23, 73,  1, 15,  1,  7, 73, 24,
107       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
108       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
109       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
110       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
111       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
112       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
113       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
114       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
115       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
116       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
117       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
118       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
119       73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
120       73, 73, 73, 73, 73, 73
121     };
122   register int hval = len;
123
124   switch (hval)
125     {
126       default:
127         hval += asso_values[(unsigned char)str[8]];
128       /*FALLTHROUGH*/
129       case 8:
130       case 7:
131       case 6:
132       case 5:
133       case 4:
134       case 3:
135       case 2:
136       case 1:
137         hval += asso_values[(unsigned char)str[0]];
138         break;
139     }
140   return hval + asso_values[(unsigned char)str[len - 1]];
141 }
142
143 struct bidi_class_stringpool_t
144   {
145     char bidi_class_stringpool_str3[sizeof("R")];
146     char bidi_class_stringpool_str4[sizeof("ET")];
147     char bidi_class_stringpool_str5[sizeof("RLE")];
148     char bidi_class_stringpool_str7[sizeof("RLO")];
149     char bidi_class_stringpool_str8[sizeof("LRE")];
150     char bidi_class_stringpool_str9[sizeof("L")];
151     char bidi_class_stringpool_str10[sizeof("LRO")];
152     char bidi_class_stringpool_str11[sizeof("EN")];
153     char bidi_class_stringpool_str13[sizeof("ON")];
154     char bidi_class_stringpool_str14[sizeof("RightToLeft")];
155     char bidi_class_stringpool_str15[sizeof("NSM")];
156     char bidi_class_stringpool_str17[sizeof("LeftToRight")];
157     char bidi_class_stringpool_str18[sizeof("ES")];
158     char bidi_class_stringpool_str19[sizeof("Left To Right")];
159     char bidi_class_stringpool_str20[sizeof("OtherNeutral")];
160     char bidi_class_stringpool_str21[sizeof("EuropeanTerminator")];
161     char bidi_class_stringpool_str22[sizeof("RightToLeftOverride")];
162     char bidi_class_stringpool_str23[sizeof("RightToLeftEmbedding")];
163     char bidi_class_stringpool_str24[sizeof("EuropeanNumber")];
164     char bidi_class_stringpool_str25[sizeof("LeftToRightOverride")];
165     char bidi_class_stringpool_str26[sizeof("LeftToRightEmbedding")];
166     char bidi_class_stringpool_str27[sizeof("Other Neutral")];
167     char bidi_class_stringpool_str28[sizeof("Left To Right Override")];
168     char bidi_class_stringpool_str29[sizeof("Left To Right Embedding")];
169     char bidi_class_stringpool_str30[sizeof("Right To Left")];
170     char bidi_class_stringpool_str31[sizeof("S")];
171     char bidi_class_stringpool_str32[sizeof("European Number")];
172     char bidi_class_stringpool_str33[sizeof("SegmentSeparator")];
173     char bidi_class_stringpool_str34[sizeof("EuropeanSeparator")];
174     char bidi_class_stringpool_str35[sizeof("European Separator")];
175     char bidi_class_stringpool_str36[sizeof("European Terminator")];
176     char bidi_class_stringpool_str37[sizeof("BN")];
177     char bidi_class_stringpool_str38[sizeof("AL")];
178     char bidi_class_stringpool_str39[sizeof("Right To Left Override")];
179     char bidi_class_stringpool_str40[sizeof("Right To Left Embedding")];
180     char bidi_class_stringpool_str41[sizeof("WS")];
181     char bidi_class_stringpool_str42[sizeof("AN")];
182     char bidi_class_stringpool_str43[sizeof("CS")];
183     char bidi_class_stringpool_str44[sizeof("Common Separator")];
184     char bidi_class_stringpool_str45[sizeof("PopDirectionalFormat")];
185     char bidi_class_stringpool_str46[sizeof("ArabicLetter")];
186     char bidi_class_stringpool_str47[sizeof("Arabic Letter")];
187     char bidi_class_stringpool_str48[sizeof("Segment Separator")];
188     char bidi_class_stringpool_str49[sizeof("ArabicNumber")];
189     char bidi_class_stringpool_str50[sizeof("NonspacingMark")];
190     char bidi_class_stringpool_str51[sizeof("Nonspacing Mark")];
191     char bidi_class_stringpool_str52[sizeof("PDF")];
192     char bidi_class_stringpool_str53[sizeof("Arabic Number")];
193     char bidi_class_stringpool_str54[sizeof("BoundaryNeutral")];
194     char bidi_class_stringpool_str55[sizeof("B")];
195     char bidi_class_stringpool_str56[sizeof("ParagraphSeparator")];
196     char bidi_class_stringpool_str57[sizeof("Paragraph Separator")];
197     char bidi_class_stringpool_str61[sizeof("WhiteSpace")];
198     char bidi_class_stringpool_str62[sizeof("Boundary Neutral")];
199     char bidi_class_stringpool_str65[sizeof("CommonSeparator")];
200     char bidi_class_stringpool_str68[sizeof("White Space")];
201     char bidi_class_stringpool_str72[sizeof("Pop Directional Format")];
202   };
203 static const struct bidi_class_stringpool_t bidi_class_stringpool_contents =
204   {
205     "R",
206     "ET",
207     "RLE",
208     "RLO",
209     "LRE",
210     "L",
211     "LRO",
212     "EN",
213     "ON",
214     "RightToLeft",
215     "NSM",
216     "LeftToRight",
217     "ES",
218     "Left To Right",
219     "OtherNeutral",
220     "EuropeanTerminator",
221     "RightToLeftOverride",
222     "RightToLeftEmbedding",
223     "EuropeanNumber",
224     "LeftToRightOverride",
225     "LeftToRightEmbedding",
226     "Other Neutral",
227     "Left To Right Override",
228     "Left To Right Embedding",
229     "Right To Left",
230     "S",
231     "European Number",
232     "SegmentSeparator",
233     "EuropeanSeparator",
234     "European Separator",
235     "European Terminator",
236     "BN",
237     "AL",
238     "Right To Left Override",
239     "Right To Left Embedding",
240     "WS",
241     "AN",
242     "CS",
243     "Common Separator",
244     "PopDirectionalFormat",
245     "ArabicLetter",
246     "Arabic Letter",
247     "Segment Separator",
248     "ArabicNumber",
249     "NonspacingMark",
250     "Nonspacing Mark",
251     "PDF",
252     "Arabic Number",
253     "BoundaryNeutral",
254     "B",
255     "ParagraphSeparator",
256     "Paragraph Separator",
257     "WhiteSpace",
258     "Boundary Neutral",
259     "CommonSeparator",
260     "White Space",
261     "Pop Directional Format"
262   };
263 #define bidi_class_stringpool ((const char *) &bidi_class_stringpool_contents)
264
265 static const struct named_bidi_class bidi_class_names[] =
266   {
267     {-1}, {-1}, {-1},
268 #line 28 "./unictype/bidi_byname.gperf"
269     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str3, UC_BIDI_R},
270 #line 21 "./unictype/bidi_byname.gperf"
271     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str4, UC_BIDI_ET},
272 #line 29 "./unictype/bidi_byname.gperf"
273     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str5, UC_BIDI_RLE},
274     {-1},
275 #line 30 "./unictype/bidi_byname.gperf"
276     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str7, UC_BIDI_RLO},
277 #line 23 "./unictype/bidi_byname.gperf"
278     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str8, UC_BIDI_LRE},
279 #line 22 "./unictype/bidi_byname.gperf"
280     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str9, UC_BIDI_L},
281 #line 24 "./unictype/bidi_byname.gperf"
282     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str10, UC_BIDI_LRO},
283 #line 19 "./unictype/bidi_byname.gperf"
284     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str11, UC_BIDI_EN},
285     {-1},
286 #line 26 "./unictype/bidi_byname.gperf"
287     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str13, UC_BIDI_ON},
288 #line 62 "./unictype/bidi_byname.gperf"
289     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str14, UC_BIDI_R},
290 #line 25 "./unictype/bidi_byname.gperf"
291     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str15, UC_BIDI_NSM},
292     {-1},
293 #line 50 "./unictype/bidi_byname.gperf"
294     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str17, UC_BIDI_L},
295 #line 20 "./unictype/bidi_byname.gperf"
296     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str18, UC_BIDI_ES},
297 #line 49 "./unictype/bidi_byname.gperf"
298     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str19, UC_BIDI_L},
299 #line 58 "./unictype/bidi_byname.gperf"
300     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str20, UC_BIDI_ON},
301 #line 48 "./unictype/bidi_byname.gperf"
302     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str21, UC_BIDI_ET},
303 #line 66 "./unictype/bidi_byname.gperf"
304     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str22, UC_BIDI_RLO},
305 #line 64 "./unictype/bidi_byname.gperf"
306     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str23, UC_BIDI_RLE},
307 #line 44 "./unictype/bidi_byname.gperf"
308     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str24, UC_BIDI_EN},
309 #line 54 "./unictype/bidi_byname.gperf"
310     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str25, UC_BIDI_LRO},
311 #line 52 "./unictype/bidi_byname.gperf"
312     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str26, UC_BIDI_LRE},
313 #line 57 "./unictype/bidi_byname.gperf"
314     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str27, UC_BIDI_ON},
315 #line 53 "./unictype/bidi_byname.gperf"
316     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str28, UC_BIDI_LRO},
317 #line 51 "./unictype/bidi_byname.gperf"
318     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str29, UC_BIDI_LRE},
319 #line 61 "./unictype/bidi_byname.gperf"
320     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str30, UC_BIDI_R},
321 #line 31 "./unictype/bidi_byname.gperf"
322     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str31, UC_BIDI_S},
323 #line 43 "./unictype/bidi_byname.gperf"
324     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str32, UC_BIDI_EN},
325 #line 68 "./unictype/bidi_byname.gperf"
326     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str33, UC_BIDI_S},
327 #line 46 "./unictype/bidi_byname.gperf"
328     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str34, UC_BIDI_ES},
329 #line 45 "./unictype/bidi_byname.gperf"
330     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str35, UC_BIDI_ES},
331 #line 47 "./unictype/bidi_byname.gperf"
332     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str36, UC_BIDI_ET},
333 #line 17 "./unictype/bidi_byname.gperf"
334     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str37, UC_BIDI_BN},
335 #line 14 "./unictype/bidi_byname.gperf"
336     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str38, UC_BIDI_AL},
337 #line 65 "./unictype/bidi_byname.gperf"
338     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str39, UC_BIDI_RLO},
339 #line 63 "./unictype/bidi_byname.gperf"
340     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str40, UC_BIDI_RLE},
341 #line 32 "./unictype/bidi_byname.gperf"
342     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str41, UC_BIDI_WS},
343 #line 15 "./unictype/bidi_byname.gperf"
344     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str42, UC_BIDI_AN},
345 #line 18 "./unictype/bidi_byname.gperf"
346     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str43, UC_BIDI_CS},
347 #line 41 "./unictype/bidi_byname.gperf"
348     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str44, UC_BIDI_CS},
349 #line 60 "./unictype/bidi_byname.gperf"
350     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str45, UC_BIDI_PDF},
351 #line 34 "./unictype/bidi_byname.gperf"
352     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str46, UC_BIDI_AL},
353 #line 33 "./unictype/bidi_byname.gperf"
354     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str47, UC_BIDI_AL},
355 #line 67 "./unictype/bidi_byname.gperf"
356     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str48, UC_BIDI_S},
357 #line 36 "./unictype/bidi_byname.gperf"
358     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str49, UC_BIDI_AN},
359 #line 56 "./unictype/bidi_byname.gperf"
360     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str50, UC_BIDI_NSM},
361 #line 55 "./unictype/bidi_byname.gperf"
362     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str51, UC_BIDI_NSM},
363 #line 27 "./unictype/bidi_byname.gperf"
364     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str52, UC_BIDI_PDF},
365 #line 35 "./unictype/bidi_byname.gperf"
366     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str53, UC_BIDI_AN},
367 #line 40 "./unictype/bidi_byname.gperf"
368     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str54, UC_BIDI_BN},
369 #line 16 "./unictype/bidi_byname.gperf"
370     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str55, UC_BIDI_B},
371 #line 38 "./unictype/bidi_byname.gperf"
372     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str56, UC_BIDI_B},
373 #line 37 "./unictype/bidi_byname.gperf"
374     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str57, UC_BIDI_B},
375     {-1}, {-1}, {-1},
376 #line 70 "./unictype/bidi_byname.gperf"
377     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str61, UC_BIDI_WS},
378 #line 39 "./unictype/bidi_byname.gperf"
379     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str62, UC_BIDI_BN},
380     {-1}, {-1},
381 #line 42 "./unictype/bidi_byname.gperf"
382     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str65, UC_BIDI_CS},
383     {-1}, {-1},
384 #line 69 "./unictype/bidi_byname.gperf"
385     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str68, UC_BIDI_WS},
386     {-1}, {-1}, {-1},
387 #line 59 "./unictype/bidi_byname.gperf"
388     {(int)(long)&((struct bidi_class_stringpool_t *)0)->bidi_class_stringpool_str72, UC_BIDI_PDF}
389   };
390
391 #ifdef __GNUC__
392 __inline
393 #if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
394 __attribute__ ((__gnu_inline__))
395 #endif
396 #endif
397 const struct named_bidi_class *
398 uc_bidi_class_lookup (register const char *str, register unsigned int len)
399 {
400   if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
401     {
402       register int key = bidi_class_hash (str, len);
403
404       if (key <= MAX_HASH_VALUE && key >= 0)
405         {
406           register int o = bidi_class_names[key].name;
407           if (o >= 0)
408             {
409               register const char *s = o + bidi_class_stringpool;
410
411               if ((((unsigned char)*str ^ (unsigned char)*s) & ~32) == 0 && !gperf_case_strcmp (str, s))
412                 return &bidi_class_names[key];
413             }
414         }
415     }
416   return 0;
417 }