tokenhash.h
Go to the documentation of this file.
1/* C++ code produced by gperf version 3.1 */
2/* Command-line: gperf --compare-strncmp -C -m 20 tokens.gperf */
3/* Computed positions: -k'1,3-5,14,$' */
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-gperf@gnu.org>."
30#endif
31
32#line 5 "tokens.gperf"
33 struct xmltoken
34{
35 const char *name;
36 int tokenId;
37};
38
39#define TOTAL_KEYWORDS 310
40#define MIN_WORD_LENGTH 1
41#define MAX_WORD_LENGTH 31
42#define MIN_HASH_VALUE 4
43#define MAX_HASH_VALUE 708
44/* maximum key range = 705, duplicates = 0 */
45
46 class Perfect_Hash
47{
48 private:
49 static inline unsigned int hash (const char *str, size_t len);
50 public:
51 static const struct xmltoken *in_word_set (const char *str, size_t len);
52};
53
54 inline unsigned int
55 Perfect_Hash::hash (const char *str, size_t len)
56{
57 static const unsigned short asso_values[] =
58 {
59 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
60 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
61 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
62 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
63 709, 709, 709, 709, 709, 709, 709, 709, 709, 165,
64 77, 127, 102, 47, 40, 1, 709, 709, 0, 709,
65 709, 709, 709, 709, 709, 183, 101, 85, 180, 82,
66 19, 95, 196, 127, 0, 30, 80, 194, 161, 90,
67 10, 125, 116, 32, 18, 22, 158, 83, 90, 95,
68 709, 709, 709, 709, 709, 709, 709, 0, 127, 43,
69 3, 0, 25, 22, 168, 0, 108, 11, 2, 76,
70 0, 33, 95, 709, 8, 20, 1, 35, 0, 178,
71 96, 37, 4, 709, 709, 709, 709, 709, 709, 709,
72 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
73 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
74 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
75 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
76 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
77 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
78 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
79 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
80 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
81 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
82 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
83 709, 709, 709, 709, 709, 709, 709, 709, 709, 709,
84 709, 709, 709, 709, 709, 709
85 };
86 unsigned int hval = len;
87
88 switch (hval)
89 {
90 default:
91 hval += asso_values[static_cast<unsigned char>(str[13])];
92 /*FALLTHROUGH*/
93 case 13:
94 case 12:
95 case 11:
96 case 10:
97 case 9:
98 case 8:
99 case 7:
100 case 6:
101 case 5:
102 hval += asso_values[static_cast<unsigned char>(str[4])];
103 /*FALLTHROUGH*/
104 case 4:
105 hval += asso_values[static_cast<unsigned char>(str[3])];
106 /*FALLTHROUGH*/
107 case 3:
108 hval += asso_values[static_cast<unsigned char>(str[2])];
109 /*FALLTHROUGH*/
110 case 2:
111 case 1:
112 hval += asso_values[static_cast<unsigned char>(str[0])];
113 break;
114 }
115 return hval + asso_values[static_cast<unsigned char>(str[len - 1])];
116}
117
118 static const struct xmltoken wordlist[] =
119 {
120 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
121#line 239 "tokens.gperf"
122 {"a:ea",XML_A_EA},
123 {(char*)0, 0},
124#line 257 "tokens.gperf"
125 {"a:ln",XML_A_LN},
126#line 256 "tokens.gperf"
127 {"a:lin",XML_A_LIN},
128#line 275 "tokens.gperf"
129 {"a:tint",XML_A_TINT},
130 {(char*)0, 0},
131#line 255 "tokens.gperf"
132 {"a:latin",XML_A_LATIN},
133#line 316 "tokens.gperf"
134 {"vt:varStyle",XML_VT_VARSTYLE},
135#line 286 "tokens.gperf"
136 {"dc:title",XML_DC_TITLE},
137#line 315 "tokens.gperf"
138 {"vt:varColor7",XML_VT_VARCOLOR7},
139#line 305 "tokens.gperf"
140 {"vt:lineStyle",XML_VT_LINESTYLE},
141#line 285 "tokens.gperf"
142 {"dc:template",XML_DC_TEMPLATE},
143#line 283 "tokens.gperf"
144 {"dc:language",XML_DC_LANGUAGE},
145#line 144 "tokens.gperf"
146 {"Print",XML_PRINT},
147 {(char*)0, 0}, {(char*)0, 0},
148#line 282 "tokens.gperf"
149 {"dc:description",XML_DC_DESCRIPTION},
150 {(char*)0, 0},
151#line 137 "tokens.gperf"
152 {"Para",XML_PARA},
153#line 317 "tokens.gperf"
154 {"vt:variationClrScheme",XML_VT_VARIATIONCLRSCHEME},
155#line 319 "tokens.gperf"
156 {"vt:variationStyleScheme",XML_VT_VARIATIONSTYLESCHEME},
157#line 71 "tokens.gperf"
158 {"Font",XML_FONT},
159 {(char*)0, 0},
160#line 318 "tokens.gperf"
161 {"vt:variationClrSchemeLst",XML_VT_VARIATIONCLRSCHEMELST},
162#line 320 "tokens.gperf"
163 {"vt:variationStyleSchemeLst",XML_VT_VARIATIONSTYLESCHEMELST},
164#line 62 "tokens.gperf"
165 {"Fill",XML_FILL},
166#line 287 "tokens.gperf"
167 {"dcterms:created",XML_DCTERMS_CREATED},
168#line 288 "tokens.gperf"
169 {"dcterms:modified",XML_DCTERMS_MODIFIED},
170#line 267 "tokens.gperf"
171 {"a:satMod",XML_A_SATMOD},
172 {(char*)0, 0},
173#line 74 "tokens.gperf"
174 {"Foreign",XML_FOREIGN},
175#line 306 "tokens.gperf"
176 {"vt:lineStyles",XML_VT_LINESTYLES},
177#line 130 "tokens.gperf"
178 {"Page",XML_PAGE},
179 {(char*)0, 0},
180#line 75 "tokens.gperf"
181 {"ForeignData",XML_FOREIGNDATA},
182#line 143 "tokens.gperf"
183 {"Position",XML_POSITION},
184#line 178 "tokens.gperf"
185 {"Size",XML_SIZE},
186 {(char*)0, 0},
187#line 251 "tokens.gperf"
188 {"a:gradFill",XML_A_GRADFILL},
189#line 246 "tokens.gperf"
190 {"a:fillStyleLst",XML_A_FILLSTYLELST},
191#line 67 "tokens.gperf"
192 {"FillPattern",XML_FILLPATTERN},
193#line 184 "tokens.gperf"
194 {"SplineKnot",XML_SPLINEKNOT},
195#line 185 "tokens.gperf"
196 {"SplineStart",XML_SPLINESTART},
197#line 258 "tokens.gperf"
198 {"a:lnStyleLst",XML_A_LNSTYLELST},
199 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
200#line 314 "tokens.gperf"
201 {"vt:varColor6",XML_VT_VARCOLOR6},
202#line 142 "tokens.gperf"
203 {"Pos",XML_POS},
204 {(char*)0, 0}, {(char*)0, 0},
205#line 65 "tokens.gperf"
206 {"FillForegnd",XML_FILLFOREGND},
207#line 294 "tokens.gperf"
208 {"vt:fillProps",XML_VT_FILLPROPS},
209#line 295 "tokens.gperf"
210 {"vt:fillStyles",XML_VT_FILLSTYLES},
211#line 313 "tokens.gperf"
212 {"vt:varColor5",XML_VT_VARCOLOR5},
213 {(char*)0, 0},
214#line 72 "tokens.gperf"
215 {"FontScale",XML_FONTSCALE},
216#line 240 "tokens.gperf"
217 {"a:effectLst",XML_A_EFFECTLST},
218#line 241 "tokens.gperf"
219 {"a:effectStyle",XML_A_EFFECTSTYLE},
220#line 235 "tokens.gperf"
221 {"a:clrScheme",XML_A_CLRSCHEME},
222#line 249 "tokens.gperf"
223 {"a:font",XML_A_FONT},
224#line 252 "tokens.gperf"
225 {"a:gs",XML_A_GS},
226#line 271 "tokens.gperf"
227 {"a:srgbClr",XML_A_SRGBCLR},
228#line 270 "tokens.gperf"
229 {"a:solidFill",XML_A_SOLIDFILL},
230#line 284 "tokens.gperf"
231 {"dc:subject",XML_DC_SUBJECT},
232#line 250 "tokens.gperf"
233 {"a:fontScheme",XML_A_FONTSCHEME},
234#line 132 "tokens.gperf"
235 {"PageProps",XML_PAGEPROPS},
236#line 281 "tokens.gperf"
237 {"dc:creator",XML_DC_CREATOR},
238#line 133 "tokens.gperf"
239 {"PageScale",XML_PAGESCALE},
240#line 134 "tokens.gperf"
241 {"PageSheet",XML_PAGESHEET},
242 {(char*)0, 0},
243#line 187 "tokens.gperf"
244 {"Style",XML_STYLE},
245#line 136 "tokens.gperf"
246 {"Pages",XML_PAGES},
247#line 66 "tokens.gperf"
248 {"FillForegndTrans",XML_FILLFOREGNDTRANS},
249 {(char*)0, 0}, {(char*)0, 0},
250#line 248 "tokens.gperf"
251 {"a:folHlink",XML_A_FOLHLINK},
252#line 188 "tokens.gperf"
253 {"StyleSheet",XML_STYLESHEET},
254#line 168 "tokens.gperf"
255 {"Section",XML_SECTION},
256#line 109 "tokens.gperf"
257 {"Line",XML_LINE},
258#line 279 "tokens.gperf"
259 {"cp:keywords",XML_CP_KEYWORDS},
260#line 68 "tokens.gperf"
261 {"Flags",XML_FLAGS},
262#line 236 "tokens.gperf"
263 {"a:cs",XML_A_CS},
264#line 263 "tokens.gperf"
265 {"a:minorFont",XML_A_MINORFONT},
266#line 310 "tokens.gperf"
267 {"vt:varColor2",XML_VT_VARCOLOR2},
268#line 301 "tokens.gperf"
269 {"vt:fontProps",XML_VT_FONTPROPS},
270#line 302 "tokens.gperf"
271 {"vt:fontStyles",XML_VT_FONTSTYLES},
272#line 292 "tokens.gperf"
273 {"vt:color",XML_VT_COLOR},
274#line 272 "tokens.gperf"
275 {"a:sysClr",XML_A_SYSCLR},
276#line 141 "tokens.gperf"
277 {"PolylineTo",XML_POLYLINETO},
278#line 32 "tokens.gperf"
279 {"Cell",XML_CELL},
280#line 186 "tokens.gperf"
281 {"Strikethru",XML_STRIKETHRU},
282#line 107 "tokens.gperf"
283 {"Leader",XML_LEADER},
284#line 290 "tokens.gperf"
285 {"tp",XML_TP},
286#line 280 "tokens.gperf"
287 {"cp:lastModifiedBy",XML_CP_LASTMODIFIEDBY},
288#line 76 "tokens.gperf"
289 {"Frame",XML_FRAME},
290#line 112 "tokens.gperf"
291 {"LinePattern",XML_LINEPATTERN},
292#line 189 "tokens.gperf"
293 {"StyleSheets",XML_STYLESHEETS},
294#line 243 "tokens.gperf"
295 {"a:ext",XML_A_EXT},
296#line 233 "tokens.gperf"
297 {"a:alpha",XML_A_ALPHA},
298#line 33 "tokens.gperf"
299 {"Char",XML_CHAR},
300#line 244 "tokens.gperf"
301 {"a:extLst",XML_A_EXTLST},
302#line 304 "tokens.gperf"
303 {"vt:lineEx",XML_VT_LINEEX},
304#line 129 "tokens.gperf"
305 {"Overline",XML_OVERLINE},
306#line 31 "tokens.gperf"
307 {"Case",XML_CASE},
308#line 34 "tokens.gperf"
309 {"Character",XML_CHARACTER},
310 {(char*)0, 0},
311#line 24 "tokens.gperf"
312 {"Bullet",XML_BULLET},
313#line 247 "tokens.gperf"
314 {"a:fmtScheme",XML_A_FMTSCHEME},
315#line 312 "tokens.gperf"
316 {"vt:varColor4",XML_VT_VARCOLOR4},
317#line 180 "tokens.gperf"
318 {"SortKey",XML_SORTKEY},
319#line 25 "tokens.gperf"
320 {"BulletFont",XML_BULLETFONT},
321#line 245 "tokens.gperf"
322 {"a:extraClrSchemeLst",XML_A_EXTRACLRSCHEMELST},
323#line 183 "tokens.gperf"
324 {"SpLine",XML_SPLINE},
325#line 26 "tokens.gperf"
326 {"BulletFontSize",XML_BULLETFONTSIZE},
327#line 199 "tokens.gperf"
328 {"Text",XML_TEXT},
329 {(char*)0, 0},
330#line 27 "tokens.gperf"
331 {"BulletStr",XML_BULLETSTR},
332#line 156 "tokens.gperf"
333 {"Rel",XML_REL},
334#line 261 "tokens.gperf"
335 {"a:lumMod",XML_A_LUMMOD},
336 {(char*)0, 0},
337#line 212 "tokens.gperf"
338 {"TxtPinX",XML_TXTPINX},
339 {(char*)0, 0}, {(char*)0, 0},
340#line 56 "tokens.gperf"
341 {"EndTrigger",XML_ENDTRIGGER},
342#line 253 "tokens.gperf"
343 {"a:gsLst",XML_A_GSLST},
344#line 213 "tokens.gperf"
345 {"TxtPinY",XML_TXTPINY},
346#line 169 "tokens.gperf"
347 {"Shape",XML_SHAPE},
348#line 59 "tokens.gperf"
349 {"ExtraInfo",XML_EXTRAINFO},
350#line 277 "tokens.gperf"
351 {"cp:category",XML_CP_CATEGORY},
352#line 232 "tokens.gperf"
353 {"a:accent6",XML_A_ACCENT6},
354#line 63 "tokens.gperf"
355 {"FillBkgnd",XML_FILLBKGND},
356#line 113 "tokens.gperf"
357 {"LineTo",XML_LINETO},
358#line 104 "tokens.gperf"
359 {"Layer",XML_LAYER},
360#line 311 "tokens.gperf"
361 {"vt:varColor3",XML_VT_VARCOLOR3},
362#line 276 "tokens.gperf"
363 {"cp",XML_CP},
364#line 35 "tokens.gperf"
365 {"Color",XML_COLOR},
366#line 231 "tokens.gperf"
367 {"a:accent5",XML_A_ACCENT5},
368#line 300 "tokens.gperf"
369 {"vt:fmtSchemeLineStyles",XML_VT_FMTSCHEMELINESTYLES},
370#line 106 "tokens.gperf"
371 {"LayerMember",XML_LAYERMEMBER},
372 {(char*)0, 0},
373#line 192 "tokens.gperf"
374 {"TELU",XML_TELU},
375#line 242 "tokens.gperf"
376 {"a:effectStyleLst",XML_A_EFFECTSTYLELST},
377#line 23 "tokens.gperf"
378 {"BottomMargin",XML_BOTTOMMARGIN},
379#line 291 "tokens.gperf"
380 {"vt:bkgnd",XML_VT_BKGND},
381#line 162 "tokens.gperf"
382 {"ResizeMode",XML_RESIZEMODE},
383#line 293 "tokens.gperf"
384 {"vt:connectorFontStyles",XML_VT_CONNECTORFONTSTYLES},
385 {(char*)0, 0},
386#line 172 "tokens.gperf"
387 {"Shapes",XML_SHAPES},
388#line 38 "tokens.gperf"
389 {"Colors",XML_COLORS},
390#line 296 "tokens.gperf"
391 {"vt:fmtConnectorScheme",XML_VT_FMTCONNECTORSCHEME},
392#line 99 "tokens.gperf"
393 {"Invisible",XML_INVISIBLE},
394#line 278 "tokens.gperf"
395 {"cp:coreProperties",XML_CP_COREPROPERTIES},
396#line 95 "tokens.gperf"
397 {"IndFirst",XML_INDFIRST},
398#line 195 "tokens.gperf"
399 {"TIBT",XML_TIBT},
400 {(char*)0, 0},
401#line 179 "tokens.gperf"
402 {"SolutionXML",XML_SOLUTIONXML},
403#line 260 "tokens.gperf"
404 {"a:lt2",XML_A_LT2},
405#line 73 "tokens.gperf"
406 {"FontSchemeIndex",XML_FONTSCHEMEINDEX},
407#line 98 "tokens.gperf"
408 {"InfiniteLine",XML_INFINITELINE},
409#line 49 "tokens.gperf"
410 {"E",XML_E},
411#line 182 "tokens.gperf"
412 {"SpBefore",XML_SPBEFORE},
413#line 19 "tokens.gperf"
414 {"BegTrigger",XML_BEGTRIGGER},
415#line 145 "tokens.gperf"
416 {"Properties",XML_PROPERTIES},
417 {(char*)0, 0}, {(char*)0, 0},
418#line 28 "tokens.gperf"
419 {"C",XML_C},
420#line 228 "tokens.gperf"
421 {"a:accent2",XML_A_ACCENT2},
422#line 238 "tokens.gperf"
423 {"a:dk2",XML_A_DK2},
424#line 114 "tokens.gperf"
425 {"LineWeight",XML_LINEWEIGHT},
426#line 36 "tokens.gperf"
427 {"ColorEntry",XML_COLORENTRY},
428#line 273 "tokens.gperf"
429 {"a:theme",XML_A_THEME},
430#line 309 "tokens.gperf"
431 {"vt:varColor1",XML_VT_VARCOLOR1},
432#line 64 "tokens.gperf"
433 {"FillBkgndTrans",XML_FILLBKGNDTRANS},
434#line 204 "tokens.gperf"
435 {"TextPosAfterBullet",XML_TEXTPOSAFTERBULLET},
436#line 219 "tokens.gperf"
437 {"VerticalAlign",XML_VERTICALALIGN},
438#line 222 "tokens.gperf"
439 {"X",XML_X},
440#line 111 "tokens.gperf"
441 {"LineColor",XML_LINECOLOR},
442#line 308 "tokens.gperf"
443 {"vt:themeScheme",XML_VT_THEMESCHEME},
444#line 164 "tokens.gperf"
445 {"Rounding",XML_ROUNDING},
446#line 298 "tokens.gperf"
447 {"vt:fmtConnectorSchemeLineStyles",XML_VT_FMTCONNECTORSCHEMELINESTYLES},
448#line 52 "tokens.gperf"
449 {"Ellipse",XML_ELLIPSE},
450 {(char*)0, 0},
451#line 254 "tokens.gperf"
452 {"a:hlink",XML_A_HLINK},
453#line 197 "tokens.gperf"
454 {"Tabs",XML_TABS},
455#line 125 "tokens.gperf"
456 {"NoFill",XML_NOFILL},
457#line 225 "tokens.gperf"
458 {"Y",XML_Y},
459#line 289 "tokens.gperf"
460 {"pp",XML_PP},
461#line 154 "tokens.gperf"
462 {"QuickStyleType",XML_QUICKSTYLETYPE},
463#line 139 "tokens.gperf"
464 {"PinX",XML_PINX},
465#line 269 "tokens.gperf"
466 {"a:shade",XML_A_SHADE},
467#line 262 "tokens.gperf"
468 {"a:majorFont",XML_A_MAJORFONT},
469#line 230 "tokens.gperf"
470 {"a:accent4",XML_A_ACCENT4},
471#line 155 "tokens.gperf"
472 {"QuickStyleVariation",XML_QUICKSTYLEVARIATION},
473#line 198 "tokens.gperf"
474 {"Template",XML_TEMPLATE},
475#line 206 "tokens.gperf"
476 {"ThemeIndex",XML_THEMEINDEX},
477 {(char*)0, 0}, {(char*)0, 0},
478#line 17 "tokens.gperf"
479 {"B",XML_B},
480#line 140 "tokens.gperf"
481 {"PinY",XML_PINY},
482#line 274 "tokens.gperf"
483 {"a:themeElements",XML_A_THEMEELEMENTS},
484#line 151 "tokens.gperf"
485 {"QuickStyleLineColor",XML_QUICKSTYLELINECOLOR},
486#line 149 "tokens.gperf"
487 {"QuickStyleFontColor",XML_QUICKSTYLEFONTCOLOR},
488#line 147 "tokens.gperf"
489 {"QuickStyleFillColor",XML_QUICKSTYLEFILLCOLOR},
490#line 105 "tokens.gperf"
491 {"LayerMem",XML_LAYERMEM},
492#line 208 "tokens.gperf"
493 {"TxtAngle",XML_TXTANGLE},
494#line 153 "tokens.gperf"
495 {"QuickStyleShadowColor",XML_QUICKSTYLESHADOWCOLOR},
496#line 15 "tokens.gperf"
497 {"Angle",XML_ANGLE},
498 {(char*)0, 0}, {(char*)0, 0},
499#line 14 "tokens.gperf"
500 {"Alignment",XML_ALIGNMENT},
501#line 43 "tokens.gperf"
502 {"DblUnderline",XML_DBLUNDERLINE},
503#line 138 "tokens.gperf"
504 {"Paragraph",XML_PARAGRAPH},
505#line 96 "tokens.gperf"
506 {"IndLeft",XML_INDLEFT},
507#line 21 "tokens.gperf"
508 {"BeginX",XML_BEGINX},
509 {(char*)0, 0},
510#line 13 "tokens.gperf"
511 {"Address",XML_ADDRESS},
512#line 229 "tokens.gperf"
513 {"a:accent3",XML_A_ACCENT3},
514 {(char*)0, 0},
515#line 22 "tokens.gperf"
516 {"BeginY",XML_BEGINY},
517#line 209 "tokens.gperf"
518 {"TxtHeight",XML_TXTHEIGHT},
519#line 87 "tokens.gperf"
520 {"HideText",XML_HIDETEXT},
521 {(char*)0, 0},
522#line 200 "tokens.gperf"
523 {"TextBkgnd",XML_TEXTBKGND},
524#line 119 "tokens.gperf"
525 {"Master",XML_MASTER},
526#line 115 "tokens.gperf"
527 {"LocPinX",XML_LOCPINX},
528#line 60 "tokens.gperf"
529 {"FaceName",XML_FACENAME},
530#line 210 "tokens.gperf"
531 {"TxtLocPinX",XML_TXTLOCPINX},
532#line 170 "tokens.gperf"
533 {"ShapeShdwOffsetX",XML_SHAPESHDWOFFSETX},
534#line 177 "tokens.gperf"
535 {"ShdwPattern",XML_SHDWPATTERN},
536#line 116 "tokens.gperf"
537 {"LocPinY",XML_LOCPINY},
538#line 202 "tokens.gperf"
539 {"TextBlock",XML_TEXTBLOCK},
540#line 211 "tokens.gperf"
541 {"TxtLocPinY",XML_TXTLOCPINY},
542#line 171 "tokens.gperf"
543 {"ShapeShdwOffsetY",XML_SHAPESHDWOFFSETY},
544#line 131 "tokens.gperf"
545 {"PageHeight",XML_PAGEHEIGHT},
546#line 159 "tokens.gperf"
547 {"RelLineTo",XML_RELLINETO},
548 {(char*)0, 0},
549#line 120 "tokens.gperf"
550 {"Masters",XML_MASTERS},
551#line 37 "tokens.gperf"
552 {"ColorSchemeIndex",XML_COLORSCHEMEINDEX},
553 {(char*)0, 0},
554#line 53 "tokens.gperf"
555 {"EllipticalArcTo",XML_ELLIPTICALARCTO},
556#line 174 "tokens.gperf"
557 {"ShdwForegnd",XML_SHDWFOREGND},
558#line 126 "tokens.gperf"
559 {"NoLine",XML_NOLINE},
560#line 44 "tokens.gperf"
561 {"Default",XML_DEFAULT},
562#line 81 "tokens.gperf"
563 {"Geometry",XML_GEOMETRY},
564#line 268 "tokens.gperf"
565 {"a:schemeClr",XML_A_SCHEMECLR},
566#line 122 "tokens.gperf"
567 {"MoveTo",XML_MOVETO},
568#line 61 "tokens.gperf"
569 {"FaceNames",XML_FACENAMES},
570#line 297 "tokens.gperf"
571 {"vt:fmtConnectorSchemeEx",XML_VT_FMTCONNECTORSCHEMEEX},
572#line 307 "tokens.gperf"
573 {"vt:schemeID",XML_VT_SCHEMEID},
574#line 97 "tokens.gperf"
575 {"IndRight",XML_INDRIGHT},
576#line 181 "tokens.gperf"
577 {"SpAfter",XML_SPAFTER},
578 {(char*)0, 0},
579#line 265 "tokens.gperf"
580 {"a:outerShdw",XML_A_OUTERSHDW},
581#line 79 "tokens.gperf"
582 {"GURU",XML_GURU},
583#line 227 "tokens.gperf"
584 {"a:accent1",XML_A_ACCENT1},
585 {(char*)0, 0},
586#line 46 "tokens.gperf"
587 {"Description",XML_DESCRIPTION},
588#line 51 "tokens.gperf"
589 {"EffectSchemeIndex",XML_EFFECTSCHEMEINDEX},
590 {(char*)0, 0},
591#line 234 "tokens.gperf"
592 {"a:bgFillStyleLst",XML_A_BGFILLSTYLELST},
593#line 303 "tokens.gperf"
594 {"vt:fontStylesGroup",XML_VT_FONTSTYLESGROUP},
595#line 110 "tokens.gperf"
596 {"LineCap",XML_LINECAP},
597 {(char*)0, 0},
598#line 57 "tokens.gperf"
599 {"EndX",XML_ENDX},
600#line 201 "tokens.gperf"
601 {"TextBkgndTrans",XML_TEXTBKGNDTRANS},
602 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
603#line 196 "tokens.gperf"
604 {"Tab",XML_TAB},
605 {(char*)0, 0},
606#line 40 "tokens.gperf"
607 {"ConnectorSchemeIndex",XML_CONNECTORSCHEMEINDEX},
608#line 214 "tokens.gperf"
609 {"TxtWidth",XML_TXTWIDTH},
610#line 58 "tokens.gperf"
611 {"EndY",XML_ENDY},
612#line 216 "tokens.gperf"
613 {"VIET",XML_VIET},
614#line 218 "tokens.gperf"
615 {"VariationStyleIndex",XML_VARIATIONSTYLEINDEX},
616#line 157 "tokens.gperf"
617 {"RelCubBezTo",XML_RELCUBBEZTO},
618 {(char*)0, 0},
619#line 80 "tokens.gperf"
620 {"Geom",XML_GEOM},
621 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
622#line 223 "tokens.gperf"
623 {"XForm",XML_XFORM},
624#line 217 "tokens.gperf"
625 {"VariationColorIndex",XML_VARIATIONCOLORINDEX},
626#line 205 "tokens.gperf"
627 {"TextXForm",XML_TEXTXFORM},
628 {(char*)0, 0},
629#line 135 "tokens.gperf"
630 {"PageWidth",XML_PAGEWIDTH},
631 {(char*)0, 0}, {(char*)0, 0},
632#line 152 "tokens.gperf"
633 {"QuickStyleLineMatrix",XML_QUICKSTYLELINEMATRIX},
634#line 150 "tokens.gperf"
635 {"QuickStyleFontMatrix",XML_QUICKSTYLEFONTMATRIX},
636#line 148 "tokens.gperf"
637 {"QuickStyleFillMatrix",XML_QUICKSTYLEFILLMATRIX},
638#line 146 "tokens.gperf"
639 {"QuickStyleEffectsMatrix",XML_QUICKSTYLEEFFECTSMATRIX},
640#line 69 "tokens.gperf"
641 {"FlipX",XML_FLIPX},
642#line 39 "tokens.gperf"
643 {"Company",XML_COMPANY},
644#line 266 "tokens.gperf"
645 {"a:prstDash",XML_A_PRSTDASH},
646 {(char*)0, 0}, {(char*)0, 0},
647#line 121 "tokens.gperf"
648 {"Misc",XML_MISC},
649 {(char*)0, 0},
650#line 264 "tokens.gperf"
651 {"a:objectDefaults",XML_A_OBJECTDEFAULTS},
652#line 299 "tokens.gperf"
653 {"vt:fmtSchemeEx",XML_VT_FMTSCHEMEEX},
654#line 203 "tokens.gperf"
655 {"TextDirection",XML_TEXTDIRECTION},
656#line 70 "tokens.gperf"
657 {"FlipY",XML_FLIPY},
658#line 108 "tokens.gperf"
659 {"LeftMargin",XML_LEFTMARGIN},
660#line 20 "tokens.gperf"
661 {"BeginArrow",XML_BEGINARROW},
662#line 220 "tokens.gperf"
663 {"Visible",XML_VISIBLE},
664 {(char*)0, 0},
665#line 29 "tokens.gperf"
666 {"CANS",XML_CANS},
667#line 16 "tokens.gperf"
668 {"ArcTo",XML_ARCTO},
669#line 207 "tokens.gperf"
670 {"TopMargin",XML_TOPMARGIN},
671 {(char*)0, 0},
672#line 163 "tokens.gperf"
673 {"RightMargin",XML_RIGHTMARGIN},
674#line 90 "tokens.gperf"
675 {"Hyperlink",XML_HYPERLINK},
676 {(char*)0, 0}, {(char*)0, 0},
677#line 167 "tokens.gperf"
678 {"SYRC",XML_SYRC},
679#line 161 "tokens.gperf"
680 {"RelQuadBezTo",XML_RELQUADBEZTO},
681 {(char*)0, 0}, {(char*)0, 0},
682#line 173 "tokens.gperf"
683 {"ShdwBkgnd",XML_SHDWBKGND},
684 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
685#line 78 "tokens.gperf"
686 {"GUJR",XML_GUJR},
687 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
688 {(char*)0, 0}, {(char*)0, 0},
689#line 259 "tokens.gperf"
690 {"a:lt1",XML_A_LT1},
691 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
692 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
693 {(char*)0, 0}, {(char*)0, 0},
694#line 237 "tokens.gperf"
695 {"a:dk1",XML_A_DK1},
696 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
697#line 103 "tokens.gperf"
698 {"LAOO",XML_LAOO},
699#line 91 "tokens.gperf"
700 {"ImgHeight",XML_IMGHEIGHT},
701 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
702 {(char*)0, 0},
703#line 41 "tokens.gperf"
704 {"D",XML_D},
705 {(char*)0, 0}, {(char*)0, 0},
706#line 92 "tokens.gperf"
707 {"ImgOffsetX",XML_IMGOFFSETX},
708 {(char*)0, 0}, {(char*)0, 0},
709#line 11 "tokens.gperf"
710 {"A",XML_A},
711 {(char*)0, 0},
712#line 93 "tokens.gperf"
713 {"ImgOffsetY",XML_IMGOFFSETY},
714#line 48 "tokens.gperf"
715 {"DrawingScale",XML_DRAWINGSCALE},
716 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
717#line 190 "tokens.gperf"
718 {"SubAddress",XML_SUBADDRESS},
719#line 191 "tokens.gperf"
720 {"TAML",XML_TAML},
721 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
722 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
723 {(char*)0, 0}, {(char*)0, 0},
724#line 160 "tokens.gperf"
725 {"RelMoveTo",XML_RELMOVETO},
726 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
727 {(char*)0, 0},
728#line 86 "tokens.gperf"
729 {"Height",XML_HEIGHT},
730#line 224 "tokens.gperf"
731 {"XForm1D",XML_XFORM1D},
732 {(char*)0, 0}, {(char*)0, 0},
733#line 84 "tokens.gperf"
734 {"HANT",XML_HANT},
735#line 88 "tokens.gperf"
736 {"Highlight",XML_HIGHLIGHT},
737 {(char*)0, 0},
738#line 89 "tokens.gperf"
739 {"HorzAlign",XML_HORZALIGN},
740 {(char*)0, 0}, {(char*)0, 0},
741#line 30 "tokens.gperf"
742 {"CHER",XML_CHER},
743#line 175 "tokens.gperf"
744 {"ShdwOffsetX",XML_SHDWOFFSETX},
745 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
746#line 94 "tokens.gperf"
747 {"ImgWidth",XML_IMGWIDTH},
748#line 176 "tokens.gperf"
749 {"ShdwOffsetY",XML_SHDWOFFSETY},
750 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
751 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
752 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
753#line 77 "tokens.gperf"
754 {"GEOR",XML_GEOR},
755 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
756#line 83 "tokens.gperf"
757 {"HANS",XML_HANS},
758 {(char*)0, 0}, {(char*)0, 0},
759#line 221 "tokens.gperf"
760 {"Width",XML_WIDTH},
761 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
762 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
763#line 158 "tokens.gperf"
764 {"RelEllipticalArcTo",XML_RELELLIPTICALARCTO},
765 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
766 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
767#line 45 "tokens.gperf"
768 {"DefaultTabStop",XML_DEFAULTTABSTOP},
769 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
770 {(char*)0, 0},
771#line 123 "tokens.gperf"
772 {"NURBSTo",XML_NURBSTO},
773 {(char*)0, 0},
774#line 54 "tokens.gperf"
775 {"EmbellishmentIndex",XML_EMBELLISHMENTINDEX},
776 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
777#line 18 "tokens.gperf"
778 {"BENG",XML_BENG},
779 {(char*)0, 0}, {(char*)0, 0},
780#line 194 "tokens.gperf"
781 {"THAI",XML_THAI},
782#line 101 "tokens.gperf"
783 {"KHMR",XML_KHMR},
784 {(char*)0, 0},
785#line 55 "tokens.gperf"
786 {"EndArrow",XML_ENDARROW},
787 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
788 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
789 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
790#line 165 "tokens.gperf"
791 {"Row",XML_ROW},
792 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
793#line 226 "tokens.gperf"
794 {"YIII",XML_YIII},
795 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
796 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
797 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
798 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
799 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
800 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
801 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
802#line 100 "tokens.gperf"
803 {"JPAN",XML_JPAN},
804 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
805#line 215 "tokens.gperf"
806 {"UIGH",XML_UIGH},
807 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
808 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
809 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
810 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
811 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
812#line 85 "tokens.gperf"
813 {"HEBR",XML_HEBR},
814 {(char*)0, 0}, {(char*)0, 0},
815#line 50 "tokens.gperf"
816 {"ETHI",XML_ETHI},
817 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
818 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
819 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
820#line 118 "tokens.gperf"
821 {"MONG",XML_MONG},
822 {(char*)0, 0},
823#line 82 "tokens.gperf"
824 {"HANG",XML_HANG},
825 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
826#line 128 "tokens.gperf"
827 {"ORYA",XML_ORYA},
828 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
829 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
830 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
831 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
832#line 193 "tokens.gperf"
833 {"THAA",XML_THAA},
834#line 12 "tokens.gperf"
835 {"ARAB",XML_ARAB},
836 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
837 {(char*)0, 0},
838#line 127 "tokens.gperf"
839 {"NoShow",XML_NOSHOW},
840 {(char*)0, 0},
841#line 102 "tokens.gperf"
842 {"KNDA",XML_KNDA},
843 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
844 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
845#line 166 "tokens.gperf"
846 {"SINH",XML_SINH},
847 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
848 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
849 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
850 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
851 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
852#line 124 "tokens.gperf"
853 {"NewWindow",XML_NEWWINDOW},
854 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
855 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
856 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
857 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
858 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
859 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
860 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
861 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
862 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
863 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
864 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
865 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
866 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
867 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
868 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
869 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
870 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
871 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
872#line 117 "tokens.gperf"
873 {"MLYM",XML_MLYM},
874 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
875 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
876 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
877 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
878 {(char*)0, 0},
879#line 47 "tokens.gperf"
880 {"DoubleStrikethrough",XML_DOUBLESTRIKETHROUGH},
881 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
882 {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
883#line 42 "tokens.gperf"
884 {"DEVA",XML_DEVA}
885 };
886
887 const struct xmltoken *
888 Perfect_Hash::in_word_set (const char *str, size_t len)
889{
890 if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
891 {
892 unsigned int key = hash (str, len);
893
894 if (key <= MAX_HASH_VALUE)
895 {
896 const char *s = wordlist[key].name;
897
898 if (s && *str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
899 return &wordlist[key];
900 }
901 }
902 return 0;
903}
904#line 321 "tokens.gperf"
905