tokenhash.h Source File documentation

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