1 /* C code produced by gperf version
2.8 (ACE version
) */
2 /* Command
-line
: ..
/src
/gperf
-n
-k1
-8 -l
*/
5 #
define TOTAL_KEYWORDS
40
6 #
define MIN_WORD_LENGTH
2
7 #
define MAX_WORD_LENGTH
14
8 #
define MIN_HASH_VALUE
1
9 #
define MAX_HASH_VALUE
256
10 #
define HASH_VALUE_RANGE
256
12 #
define WORDLIST_SIZE
41
19 static unsigned short asso_values
[] =
22 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
23 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
24 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
25 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
26 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
27 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
28 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
29 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
30 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
31 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
32 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
33 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
34 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
35 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
36 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
37 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
38 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
39 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
40 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
41 257, 257, 257, 25, 30, 35, 21, 0, 30, 15,
42 30, 45, 257, 257, 257, 257, 257, 257, 257, 257,
43 257, 0, 5, 45, 0, 10, 0, 1, 257, 257,
44 257, 257, 257, 257, 257, 257, 20, 25, 15, 30,
45 40, 15, 5, 257, 257, 257, 257, 257, 257, 257,
46 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
47 257, 257, 257, 257, 257, 257,
49 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
50 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
51 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
52 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
53 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
54 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
55 257, 257, 257, 257, 257, 25, 30, 35, 21, 0,
56 30, 15, 30, 45, 257, 257, 0, 5, 45, 0,
57 10, 0, 1, 20, 25, 15, 30, 40, 15, 5,
58 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
59 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
60 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
61 257, 257, 257, 257, 257, 257, 257, 257,
64 unsigned
int hval
= 0;
70 hval
+= asso_values
[(int) str
[7]];
72 hval
+= asso_values
[(int) str
[6]];
74 hval
+= asso_values
[(int) str
[5]];
76 hval
+= asso_values
[(int) str
[4]];
78 hval
+= asso_values
[(int) str
[3]];
80 hval
+= asso_values
[(int) str
[2]];
82 hval
+= asso_values
[(int) str
[1]];
84 hval
+= asso_values
[(int) str
[0]];
90 in_word_set
(str
, len
)
95 static unsigned char lengthtable
[] =
97 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0,
98 0, 0, 0, 0, 0, 0, 4, 2, 0, 0, 0, 2, 3, 0,
99 0, 0, 2, 3, 0, 0, 0, 2, 4, 0, 0, 0, 4, 6,
100 0, 0, 0, 3, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0,
101 3, 5, 6, 0, 0, 6, 0, 0, 0, 0, 3, 0, 0, 0,
102 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 4, 0, 0, 9,
103 0, 4, 6, 6, 0, 0, 2, 3, 0, 0, 0, 5, 3, 0,
104 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0,
105 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5,
106 7, 0, 0, 0, 5, 0, 0, 0, 0, 5, 0, 0, 0, 0,
107 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
108 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0,
109 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
110 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
111 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
112 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
113 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
114 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
117 static const char
*wordlist
[] =
121 "","","","","","","","",
123 "","","","","","","","","",
170 "","","","","","","","","",
174 "","","","","","","","","",
183 "","","","","","","","","",
184 "","","","","","","","","",
186 "","","","","","","","","",
187 "","","","","","","","","",
188 "","","","","","","","","",
189 "","","","","","","","","",
190 "","","","","","","","","",
191 "","","","","","","","","",
192 "","","","","","","","","",
193 "","","","","","","","","",
194 "","","","","","","","","",
195 "","","","","","","","","",
200 if (len
<= MAX_WORD_LENGTH
&& len
>= MIN_WORD_LENGTH
)
202 unsigned
int key = hash
(str
, len
);
204 if (key <= MAX_HASH_VALUE
&& key >= MIN_HASH_VALUE
)
206 const char
*s
= wordlist
[key];
208 if (len
== lengthtable
[key]
209 && *str
== *s
&& !strcmp
(str
+ 1, s
+ 1))