fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / khtml / misc / htmlattrs.c
blobc532956ecf2883934af9e9741f9e6da6dafe663c
1 /* ANSI-C code produced by gperf version 3.0.3 */
2 /* Command-line: gperf -c -a -L ANSI-C -P -G -D -E -C -o -t -k '*' -NfindAttr -Hhash_attr -Wwordlist_attr -Qspool_attr -s 2 htmlattrs.gperf */
4 #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
5 && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
6 && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
7 && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
8 && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
9 && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
10 && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
11 && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
12 && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
13 && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
14 && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
15 && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
16 && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
17 && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
18 && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
19 && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
20 && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
21 && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
22 && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
23 && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
24 && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
25 && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
26 && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
27 /* The character set is not based on ISO-646. */
28 #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
29 #endif
31 #line 1 "htmlattrs.gperf"
33 /* This file is automatically generated from
34 #htmlattrs.in by makeattrs, do not edit */
35 #include "htmlattrs.h"
36 #line 6 "htmlattrs.gperf"
37 struct attrs {
38 int name;
39 int id;
41 enum
43 TOTAL_KEYWORDS = 159,
44 MIN_WORD_LENGTH = 2,
45 MAX_WORD_LENGTH = 15,
46 MIN_HASH_VALUE = 3,
47 MAX_HASH_VALUE = 635
50 /* maximum key range = 633, duplicates = 0 */
52 #ifdef __GNUC__
53 __inline
54 #else
55 #ifdef __cplusplus
56 inline
57 #endif
58 #endif
59 static unsigned int
60 hash_attr (register const char *str, register unsigned int len)
62 static const unsigned short asso_values[] =
64 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
65 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
66 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
67 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
68 636, 636, 636, 636, 636, 30, 5, 636, 636, 636,
69 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
70 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
71 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
72 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
73 636, 636, 636, 636, 636, 636, 636, 10, 30, 0,
74 10, 5, 10, 15, 35, 65, 130, 105, 5, 40,
75 80, 5, 0, 0, 0, 0, 5, 25, 135, 110,
76 50, 125, 15, 636, 636, 636, 636, 636, 636, 636,
77 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
78 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
79 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
80 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
81 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
82 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
83 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
84 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
85 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
86 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
87 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
88 636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
89 636, 636, 636, 636, 636, 636, 636
91 register int hval = len;
93 switch (hval)
95 default:
96 hval += asso_values[(unsigned char)str[14]];
97 /*FALLTHROUGH*/
98 case 14:
99 hval += asso_values[(unsigned char)str[13]];
100 /*FALLTHROUGH*/
101 case 13:
102 hval += asso_values[(unsigned char)str[12]];
103 /*FALLTHROUGH*/
104 case 12:
105 hval += asso_values[(unsigned char)str[11]];
106 /*FALLTHROUGH*/
107 case 11:
108 hval += asso_values[(unsigned char)str[10]];
109 /*FALLTHROUGH*/
110 case 10:
111 hval += asso_values[(unsigned char)str[9]];
112 /*FALLTHROUGH*/
113 case 9:
114 hval += asso_values[(unsigned char)str[8]];
115 /*FALLTHROUGH*/
116 case 8:
117 hval += asso_values[(unsigned char)str[7]];
118 /*FALLTHROUGH*/
119 case 7:
120 hval += asso_values[(unsigned char)str[6]];
121 /*FALLTHROUGH*/
122 case 6:
123 hval += asso_values[(unsigned char)str[5]];
124 /*FALLTHROUGH*/
125 case 5:
126 hval += asso_values[(unsigned char)str[4]];
127 /*FALLTHROUGH*/
128 case 4:
129 hval += asso_values[(unsigned char)str[3]];
130 /*FALLTHROUGH*/
131 case 3:
132 hval += asso_values[(unsigned char)str[2]];
133 /*FALLTHROUGH*/
134 case 2:
135 hval += asso_values[(unsigned char)str[1]+1];
136 /*FALLTHROUGH*/
137 case 1:
138 hval += asso_values[(unsigned char)str[0]];
139 break;
141 return hval;
144 struct spool_attr_t
146 char spool_attr_str0[sizeof("src")];
147 char spool_attr_str1[sizeof("top")];
148 char spool_attr_str2[sizeof("cols")];
149 char spool_attr_str3[sizeof("for")];
150 char spool_attr_str4[sizeof("loop")];
151 char spool_attr_str5[sizeof("color")];
152 char spool_attr_str6[sizeof("poster")];
153 char spool_attr_str7[sizeof("rel")];
154 char spool_attr_str8[sizeof("code")];
155 char spool_attr_str9[sizeof("coords")];
156 char spool_attr_str10[sizeof("end")];
157 char spool_attr_str11[sizeof("scope")];
158 char spool_attr_str12[sizeof("onerror")];
159 char spool_attr_str13[sizeof("type")];
160 char spool_attr_str14[sizeof("onreset")];
161 char spool_attr_str15[sizeof("onscroll")];
162 char spool_attr_str16[sizeof("left")];
163 char spool_attr_str17[sizeof("accept")];
164 char spool_attr_str18[sizeof("onselect")];
165 char spool_attr_str19[sizeof("loopstart")];
166 char spool_attr_str20[sizeof("defer")];
167 char spool_attr_str21[sizeof("abbr")];
168 char spool_attr_str22[sizeof("start")];
169 char spool_attr_str23[sizeof("onload")];
170 char spool_attr_str24[sizeof("declare")];
171 char spool_attr_str25[sizeof("selected")];
172 char spool_attr_str26[sizeof("face")];
173 char spool_attr_str27[sizeof("border")];
174 char spool_attr_str28[sizeof("href")];
175 char spool_attr_str29[sizeof("class")];
176 char spool_attr_str30[sizeof("prompt")];
177 char spool_attr_str31[sizeof("onfocus")];
178 char spool_attr_str32[sizeof("alt")];
179 char spool_attr_str33[sizeof("data")];
180 char spool_attr_str34[sizeof("clear")];
181 char spool_attr_str35[sizeof("hspace")];
182 char spool_attr_str36[sizeof("compact")];
183 char spool_attr_str37[sizeof("truespeed")];
184 char spool_attr_str38[sizeof("target")];
185 char spool_attr_str39[sizeof("onabort")];
186 char spool_attr_str40[sizeof("codebase")];
187 char spool_attr_str41[sizeof("frame")];
188 char spool_attr_str42[sizeof("bordercolor")];
189 char spool_attr_str43[sizeof("id")];
190 char spool_attr_str44[sizeof("text")];
191 char spool_attr_str45[sizeof("onblur")];
192 char spool_attr_str46[sizeof("headers")];
193 char spool_attr_str47[sizeof("char")];
194 char spool_attr_str48[sizeof("label")];
195 char spool_attr_str49[sizeof("shape")];
196 char spool_attr_str50[sizeof("bgcolor")];
197 char spool_attr_str51[sizeof("usemap")];
198 char spool_attr_str52[sizeof("charset")];
199 char spool_attr_str53[sizeof("span")];
200 char spool_attr_str54[sizeof("profile")];
201 char spool_attr_str55[sizeof("scheme")];
202 char spool_attr_str56[sizeof("colspan")];
203 char spool_attr_str57[sizeof("controls")];
204 char spool_attr_str58[sizeof("pagex")];
205 char spool_attr_str59[sizeof("charoff")];
206 char spool_attr_str60[sizeof("onresize")];
207 char spool_attr_str61[sizeof("html")];
208 char spool_attr_str62[sizeof("method")];
209 char spool_attr_str63[sizeof("loopend")];
210 char spool_attr_str64[sizeof("rows")];
211 char spool_attr_str65[sizeof("onmouseup")];
212 char spool_attr_str66[sizeof("longdesc")];
213 char spool_attr_str67[sizeof("wrap")];
214 char spool_attr_str68[sizeof("ismap")];
215 char spool_attr_str69[sizeof("frameborder")];
216 char spool_attr_str70[sizeof("oversrc")];
217 char spool_attr_str71[sizeof("accept-charset")];
218 char spool_attr_str72[sizeof("onmouseout")];
219 char spool_attr_str73[sizeof("classid")];
220 char spool_attr_str74[sizeof("lang")];
221 char spool_attr_str75[sizeof("nohref")];
222 char spool_attr_str76[sizeof("media")];
223 char spool_attr_str77[sizeof("dir")];
224 char spool_attr_str78[sizeof("cite")];
225 char spool_attr_str79[sizeof("noshade")];
226 char spool_attr_str80[sizeof("rev")];
227 char spool_attr_str81[sizeof("rules")];
228 char spool_attr_str82[sizeof("object")];
229 char spool_attr_str83[sizeof("enctype")];
230 char spool_attr_str84[sizeof("onunload")];
231 char spool_attr_str85[sizeof("size")];
232 char spool_attr_str86[sizeof("title")];
233 char spool_attr_str87[sizeof("codetype")];
234 char spool_attr_str88[sizeof("name")];
235 char spool_attr_str89[sizeof("vspace")];
236 char spool_attr_str90[sizeof("bgproperties")];
237 char spool_attr_str91[sizeof("onchange")];
238 char spool_attr_str92[sizeof("style")];
239 char spool_attr_str93[sizeof("hreflang")];
240 char spool_attr_str94[sizeof("height")];
241 char spool_attr_str95[sizeof("datetime")];
242 char spool_attr_str96[sizeof("noresize")];
243 char spool_attr_str97[sizeof("pagey")];
244 char spool_attr_str98[sizeof("action")];
245 char spool_attr_str99[sizeof("content")];
246 char spool_attr_str100[sizeof("onsubmit")];
247 char spool_attr_str101[sizeof("scrolldelay")];
248 char spool_attr_str102[sizeof("onclick")];
249 char spool_attr_str103[sizeof("language")];
250 char spool_attr_str104[sizeof("scrolling")];
251 char spool_attr_str105[sizeof("checked")];
252 char spool_attr_str106[sizeof("challenge")];
253 char spool_attr_str107[sizeof("plain")];
254 char spool_attr_str108[sizeof("cellspacing")];
255 char spool_attr_str109[sizeof("scrollamount")];
256 char spool_attr_str110[sizeof("axis")];
257 char spool_attr_str111[sizeof("value")];
258 char spool_attr_str112[sizeof("nowrap")];
259 char spool_attr_str113[sizeof("rowspan")];
260 char spool_attr_str114[sizeof("disabled")];
261 char spool_attr_str115[sizeof("align")];
262 char spool_attr_str116[sizeof("cellpadding")];
263 char spool_attr_str117[sizeof("topmargin")];
264 char spool_attr_str118[sizeof("autocomplete")];
265 char spool_attr_str119[sizeof("nosave")];
266 char spool_attr_str120[sizeof("z-index")];
267 char spool_attr_str121[sizeof("ondblclick")];
268 char spool_attr_str122[sizeof("onmouseover")];
269 char spool_attr_str123[sizeof("leftmargin")];
270 char spool_attr_str124[sizeof("readonly")];
271 char spool_attr_str125[sizeof("archive")];
272 char spool_attr_str126[sizeof("onkeypress")];
273 char spool_attr_str127[sizeof("pluginurl")];
274 char spool_attr_str128[sizeof("pluginpage")];
275 char spool_attr_str129[sizeof("pluginspage")];
276 char spool_attr_str130[sizeof("multiple")];
277 char spool_attr_str131[sizeof("accesskey")];
278 char spool_attr_str132[sizeof("maxlength")];
279 char spool_attr_str133[sizeof("hidden")];
280 char spool_attr_str134[sizeof("onkeyup")];
281 char spool_attr_str135[sizeof("onmousemove")];
282 char spool_attr_str136[sizeof("tabindex")];
283 char spool_attr_str137[sizeof("standby")];
284 char spool_attr_str138[sizeof("width")];
285 char spool_attr_str139[sizeof("behavior")];
286 char spool_attr_str140[sizeof("playcount")];
287 char spool_attr_str141[sizeof("onmousedown")];
288 char spool_attr_str142[sizeof("version")];
289 char spool_attr_str143[sizeof("autoplay")];
290 char spool_attr_str144[sizeof("alink")];
291 char spool_attr_str145[sizeof("direction")];
292 char spool_attr_str146[sizeof("background")];
293 char spool_attr_str147[sizeof("link")];
294 char spool_attr_str148[sizeof("contenteditable")];
295 char spool_attr_str149[sizeof("http-equiv")];
296 char spool_attr_str150[sizeof("valign")];
297 char spool_attr_str151[sizeof("valuetype")];
298 char spool_attr_str152[sizeof("summary")];
299 char spool_attr_str153[sizeof("marginheight")];
300 char spool_attr_str154[sizeof("unknown")];
301 char spool_attr_str155[sizeof("vlink")];
302 char spool_attr_str156[sizeof("onkeydown")];
303 char spool_attr_str157[sizeof("marginwidth")];
304 char spool_attr_str158[sizeof("visibility")];
306 static const struct spool_attr_t spool_attr_contents =
308 "src",
309 "top",
310 "cols",
311 "for",
312 "loop",
313 "color",
314 "poster",
315 "rel",
316 "code",
317 "coords",
318 "end",
319 "scope",
320 "onerror",
321 "type",
322 "onreset",
323 "onscroll",
324 "left",
325 "accept",
326 "onselect",
327 "loopstart",
328 "defer",
329 "abbr",
330 "start",
331 "onload",
332 "declare",
333 "selected",
334 "face",
335 "border",
336 "href",
337 "class",
338 "prompt",
339 "onfocus",
340 "alt",
341 "data",
342 "clear",
343 "hspace",
344 "compact",
345 "truespeed",
346 "target",
347 "onabort",
348 "codebase",
349 "frame",
350 "bordercolor",
351 "id",
352 "text",
353 "onblur",
354 "headers",
355 "char",
356 "label",
357 "shape",
358 "bgcolor",
359 "usemap",
360 "charset",
361 "span",
362 "profile",
363 "scheme",
364 "colspan",
365 "controls",
366 "pagex",
367 "charoff",
368 "onresize",
369 "html",
370 "method",
371 "loopend",
372 "rows",
373 "onmouseup",
374 "longdesc",
375 "wrap",
376 "ismap",
377 "frameborder",
378 "oversrc",
379 "accept-charset",
380 "onmouseout",
381 "classid",
382 "lang",
383 "nohref",
384 "media",
385 "dir",
386 "cite",
387 "noshade",
388 "rev",
389 "rules",
390 "object",
391 "enctype",
392 "onunload",
393 "size",
394 "title",
395 "codetype",
396 "name",
397 "vspace",
398 "bgproperties",
399 "onchange",
400 "style",
401 "hreflang",
402 "height",
403 "datetime",
404 "noresize",
405 "pagey",
406 "action",
407 "content",
408 "onsubmit",
409 "scrolldelay",
410 "onclick",
411 "language",
412 "scrolling",
413 "checked",
414 "challenge",
415 "plain",
416 "cellspacing",
417 "scrollamount",
418 "axis",
419 "value",
420 "nowrap",
421 "rowspan",
422 "disabled",
423 "align",
424 "cellpadding",
425 "topmargin",
426 "autocomplete",
427 "nosave",
428 "z-index",
429 "ondblclick",
430 "onmouseover",
431 "leftmargin",
432 "readonly",
433 "archive",
434 "onkeypress",
435 "pluginurl",
436 "pluginpage",
437 "pluginspage",
438 "multiple",
439 "accesskey",
440 "maxlength",
441 "hidden",
442 "onkeyup",
443 "onmousemove",
444 "tabindex",
445 "standby",
446 "width",
447 "behavior",
448 "playcount",
449 "onmousedown",
450 "version",
451 "autoplay",
452 "alink",
453 "direction",
454 "background",
455 "link",
456 "contenteditable",
457 "http-equiv",
458 "valign",
459 "valuetype",
460 "summary",
461 "marginheight",
462 "unknown",
463 "vlink",
464 "onkeydown",
465 "marginwidth",
466 "visibility"
468 #define spool_attr ((const char *) &spool_attr_contents)
470 static const struct attrs wordlist_attr[] =
472 #line 164 "htmlattrs.gperf"
473 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str0, ATTR_SRC},
474 #line 107 "htmlattrs.gperf"
475 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str1, ATTR_TOP},
476 #line 34 "htmlattrs.gperf"
477 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str2, ATTR_COLS},
478 #line 134 "htmlattrs.gperf"
479 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str3, ATTR_FOR},
480 #line 62 "htmlattrs.gperf"
481 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str4, ATTR_LOOP},
482 #line 33 "htmlattrs.gperf"
483 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str5, ATTR_COLOR},
484 #line 87 "htmlattrs.gperf"
485 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str6, ATTR_POSTER},
486 #line 89 "htmlattrs.gperf"
487 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str7, ATTR_REL},
488 #line 129 "htmlattrs.gperf"
489 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str8, ATTR_CODE},
490 #line 39 "htmlattrs.gperf"
491 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str9, ATTR_COORDS},
492 #line 46 "htmlattrs.gperf"
493 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str10, ATTR_END},
494 #line 94 "htmlattrs.gperf"
495 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str11, ATTR_SCOPE},
496 #line 77 "htmlattrs.gperf"
497 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str12, ATTR_ONERROR},
498 #line 110 "htmlattrs.gperf"
499 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str13, ATTR_TYPE},
500 #line 156 "htmlattrs.gperf"
501 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str14, ATTR_ONRESET},
502 #line 158 "htmlattrs.gperf"
503 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str15, ATTR_ONSCROLL},
504 #line 59 "htmlattrs.gperf"
505 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str16, ATTR_LEFT},
506 #line 12 "htmlattrs.gperf"
507 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str17, ATTR_ACCEPT},
508 #line 157 "htmlattrs.gperf"
509 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str18, ATTR_ONSELECT},
510 #line 64 "htmlattrs.gperf"
511 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str19, ATTR_LOOPSTART},
512 #line 41 "htmlattrs.gperf"
513 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str20, ATTR_DEFER},
514 #line 121 "htmlattrs.gperf"
515 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str21, ATTR_ABBR},
516 #line 102 "htmlattrs.gperf"
517 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str22, ATTR_START},
518 #line 150 "htmlattrs.gperf"
519 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str23, ATTR_ONLOAD},
520 #line 40 "htmlattrs.gperf"
521 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str24, ATTR_DECLARE},
522 #line 98 "htmlattrs.gperf"
523 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str25, ATTR_SELECTED},
524 #line 47 "htmlattrs.gperf"
525 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str26, ATTR_FACE},
526 #line 22 "htmlattrs.gperf"
527 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str27, ATTR_BORDER},
528 #line 136 "htmlattrs.gperf"
529 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str28, ATTR_HREF},
530 #line 127 "htmlattrs.gperf"
531 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str29, ATTR_CLASS},
532 #line 162 "htmlattrs.gperf"
533 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str30, ATTR_PROMPT},
534 #line 146 "htmlattrs.gperf"
535 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str31, ATTR_ONFOCUS},
536 #line 123 "htmlattrs.gperf"
537 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str32, ATTR_ALT},
538 #line 132 "htmlattrs.gperf"
539 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str33, ATTR_DATA},
540 #line 31 "htmlattrs.gperf"
541 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str34, ATTR_CLEAR},
542 #line 53 "htmlattrs.gperf"
543 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str35, ATTR_HSPACE},
544 #line 36 "htmlattrs.gperf"
545 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str36, ATTR_COMPACT},
546 #line 109 "htmlattrs.gperf"
547 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str37, ATTR_TRUESPEED},
548 #line 105 "htmlattrs.gperf"
549 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str38, ATTR_TARGET},
550 #line 76 "htmlattrs.gperf"
551 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str39, ATTR_ONABORT},
552 #line 130 "htmlattrs.gperf"
553 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str40, ATTR_CODEBASE},
554 #line 48 "htmlattrs.gperf"
555 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str41, ATTR_FRAME},
556 #line 23 "htmlattrs.gperf"
557 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str42, ATTR_BORDERCOLOR},
558 #line 137 "htmlattrs.gperf"
559 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str43, ATTR_ID},
560 #line 106 "htmlattrs.gperf"
561 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str44, ATTR_TEXT},
562 #line 142 "htmlattrs.gperf"
563 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str45, ATTR_ONBLUR},
564 #line 135 "htmlattrs.gperf"
565 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str46, ATTR_HEADERS},
566 #line 26 "htmlattrs.gperf"
567 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str47, ATTR_CHAR},
568 #line 138 "htmlattrs.gperf"
569 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str48, ATTR_LABEL},
570 #line 99 "htmlattrs.gperf"
571 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str49, ATTR_SHAPE},
572 #line 20 "htmlattrs.gperf"
573 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str50, ATTR_BGCOLOR},
574 #line 168 "htmlattrs.gperf"
575 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str51, ATTR_USEMAP},
576 #line 29 "htmlattrs.gperf"
577 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str52, ATTR_CHARSET},
578 #line 101 "htmlattrs.gperf"
579 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str53, ATTR_SPAN},
580 #line 161 "htmlattrs.gperf"
581 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str54, ATTR_PROFILE},
582 #line 163 "htmlattrs.gperf"
583 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str55, ATTR_SCHEME},
584 #line 35 "htmlattrs.gperf"
585 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str56, ATTR_COLSPAN},
586 #line 38 "htmlattrs.gperf"
587 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str57, ATTR_CONTROLS},
588 #line 80 "htmlattrs.gperf"
589 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str58, ATTR_PAGEX},
590 #line 28 "htmlattrs.gperf"
591 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str59, ATTR_CHAROFF},
592 #line 78 "htmlattrs.gperf"
593 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str60, ATTR_ONRESIZE},
594 #line 54 "htmlattrs.gperf"
595 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str61, ATTR_HTML},
596 #line 69 "htmlattrs.gperf"
597 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str62, ATTR_METHOD},
598 #line 63 "htmlattrs.gperf"
599 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str63, ATTR_LOOPEND},
600 #line 91 "htmlattrs.gperf"
601 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str64, ATTR_ROWS},
602 #line 155 "htmlattrs.gperf"
603 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str65, ATTR_ONMOUSEUP},
604 #line 139 "htmlattrs.gperf"
605 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str66, ATTR_LONGDESC},
606 #line 119 "htmlattrs.gperf"
607 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str67, ATTR_WRAP},
608 #line 56 "htmlattrs.gperf"
609 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str68, ATTR_ISMAP},
610 #line 49 "htmlattrs.gperf"
611 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str69, ATTR_FRAMEBORDER},
612 #line 79 "htmlattrs.gperf"
613 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str70, ATTR_OVERSRC},
614 #line 11 "htmlattrs.gperf"
615 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str71, ATTR_ACCEPT_CHARSET},
616 #line 153 "htmlattrs.gperf"
617 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str72, ATTR_ONMOUSEOUT},
618 #line 128 "htmlattrs.gperf"
619 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str73, ATTR_CLASSID},
620 #line 57 "htmlattrs.gperf"
621 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str74, ATTR_LANG},
622 #line 71 "htmlattrs.gperf"
623 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str75, ATTR_NOHREF},
624 #line 68 "htmlattrs.gperf"
625 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str76, ATTR_MEDIA},
626 #line 42 "htmlattrs.gperf"
627 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str77, ATTR_DIR},
628 #line 126 "htmlattrs.gperf"
629 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str78, ATTR_CITE},
630 #line 74 "htmlattrs.gperf"
631 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str79, ATTR_NOSHADE},
632 #line 90 "htmlattrs.gperf"
633 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str80, ATTR_REV},
634 #line 93 "htmlattrs.gperf"
635 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str81, ATTR_RULES},
636 #line 141 "htmlattrs.gperf"
637 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str82, ATTR_OBJECT},
638 #line 45 "htmlattrs.gperf"
639 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str83, ATTR_ENCTYPE},
640 #line 160 "htmlattrs.gperf"
641 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str84, ATTR_ONUNLOAD},
642 #line 100 "htmlattrs.gperf"
643 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str85, ATTR_SIZE},
644 #line 167 "htmlattrs.gperf"
645 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str86, ATTR_TITLE},
646 #line 32 "htmlattrs.gperf"
647 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str87, ATTR_CODETYPE},
648 #line 140 "htmlattrs.gperf"
649 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str88, ATTR_NAME},
650 #line 117 "htmlattrs.gperf"
651 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str89, ATTR_VSPACE},
652 #line 21 "htmlattrs.gperf"
653 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str90, ATTR_BGPROPERTIES},
654 #line 143 "htmlattrs.gperf"
655 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str91, ATTR_ONCHANGE},
656 #line 103 "htmlattrs.gperf"
657 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str92, ATTR_STYLE},
658 #line 52 "htmlattrs.gperf"
659 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str93, ATTR_HREFLANG},
660 #line 50 "htmlattrs.gperf"
661 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str94, ATTR_HEIGHT},
662 #line 133 "htmlattrs.gperf"
663 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str95, ATTR_DATETIME},
664 #line 72 "htmlattrs.gperf"
665 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str96, ATTR_NORESIZE},
666 #line 81 "htmlattrs.gperf"
667 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str97, ATTR_PAGEY},
668 #line 122 "htmlattrs.gperf"
669 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str98, ATTR_ACTION},
670 #line 131 "htmlattrs.gperf"
671 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str99, ATTR_CONTENT},
672 #line 159 "htmlattrs.gperf"
673 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str100, ATTR_ONSUBMIT},
674 #line 96 "htmlattrs.gperf"
675 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str101, ATTR_SCROLLDELAY},
676 #line 144 "htmlattrs.gperf"
677 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str102, ATTR_ONCLICK},
678 #line 58 "htmlattrs.gperf"
679 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str103, ATTR_LANGUAGE},
680 #line 97 "htmlattrs.gperf"
681 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str104, ATTR_SCROLLING},
682 #line 30 "htmlattrs.gperf"
683 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str105, ATTR_CHECKED},
684 #line 27 "htmlattrs.gperf"
685 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str106, ATTR_CHALLENGE},
686 #line 82 "htmlattrs.gperf"
687 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str107, ATTR_PLAIN},
688 #line 25 "htmlattrs.gperf"
689 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str108, ATTR_CELLSPACING},
690 #line 95 "htmlattrs.gperf"
691 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str109, ATTR_SCROLLAMOUNT},
692 #line 18 "htmlattrs.gperf"
693 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str110, ATTR_AXIS},
694 #line 169 "htmlattrs.gperf"
695 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str111, ATTR_VALUE},
696 #line 75 "htmlattrs.gperf"
697 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str112, ATTR_NOWRAP},
698 #line 92 "htmlattrs.gperf"
699 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str113, ATTR_ROWSPAN},
700 #line 44 "htmlattrs.gperf"
701 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str114, ATTR_DISABLED},
702 #line 14 "htmlattrs.gperf"
703 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str115, ATTR_ALIGN},
704 #line 24 "htmlattrs.gperf"
705 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str116, ATTR_CELLPADDING},
706 #line 108 "htmlattrs.gperf"
707 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str117, ATTR_TOPMARGIN},
708 #line 16 "htmlattrs.gperf"
709 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str118, ATTR_AUTOCOMPLETE},
710 #line 73 "htmlattrs.gperf"
711 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str119, ATTR_NOSAVE},
712 #line 120 "htmlattrs.gperf"
713 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str120, ATTR_Z_INDEX},
714 #line 145 "htmlattrs.gperf"
715 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str121, ATTR_ONDBLCLICK},
716 #line 154 "htmlattrs.gperf"
717 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str122, ATTR_ONMOUSEOVER},
718 #line 60 "htmlattrs.gperf"
719 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str123, ATTR_LEFTMARGIN},
720 #line 88 "htmlattrs.gperf"
721 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str124, ATTR_READONLY},
722 #line 124 "htmlattrs.gperf"
723 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str125, ATTR_ARCHIVE},
724 #line 148 "htmlattrs.gperf"
725 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str126, ATTR_ONKEYPRESS},
726 #line 86 "htmlattrs.gperf"
727 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str127, ATTR_PLUGINURL},
728 #line 84 "htmlattrs.gperf"
729 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str128, ATTR_PLUGINPAGE},
730 #line 85 "htmlattrs.gperf"
731 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str129, ATTR_PLUGINSPAGE},
732 #line 70 "htmlattrs.gperf"
733 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str130, ATTR_MULTIPLE},
734 #line 13 "htmlattrs.gperf"
735 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str131, ATTR_ACCESSKEY},
736 #line 67 "htmlattrs.gperf"
737 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str132, ATTR_MAXLENGTH},
738 #line 51 "htmlattrs.gperf"
739 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str133, ATTR_HIDDEN},
740 #line 149 "htmlattrs.gperf"
741 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str134, ATTR_ONKEYUP},
742 #line 152 "htmlattrs.gperf"
743 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str135, ATTR_ONMOUSEMOVE},
744 #line 104 "htmlattrs.gperf"
745 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str136, ATTR_TABINDEX},
746 #line 165 "htmlattrs.gperf"
747 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str137, ATTR_STANDBY},
748 #line 118 "htmlattrs.gperf"
749 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str138, ATTR_WIDTH},
750 #line 19 "htmlattrs.gperf"
751 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str139, ATTR_BEHAVIOR},
752 #line 83 "htmlattrs.gperf"
753 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str140, ATTR_PLAYCOUNT},
754 #line 151 "htmlattrs.gperf"
755 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str141, ATTR_ONMOUSEDOWN},
756 #line 114 "htmlattrs.gperf"
757 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str142, ATTR_VERSION},
758 #line 17 "htmlattrs.gperf"
759 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str143, ATTR_AUTOPLAY},
760 #line 15 "htmlattrs.gperf"
761 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str144, ATTR_ALINK},
762 #line 43 "htmlattrs.gperf"
763 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str145, ATTR_DIRECTION},
764 #line 125 "htmlattrs.gperf"
765 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str146, ATTR_BACKGROUND},
766 #line 61 "htmlattrs.gperf"
767 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str147, ATTR_LINK},
768 #line 37 "htmlattrs.gperf"
769 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str148, ATTR_CONTENTEDITABLE},
770 #line 55 "htmlattrs.gperf"
771 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str149, ATTR_HTTP_EQUIV},
772 #line 112 "htmlattrs.gperf"
773 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str150, ATTR_VALIGN},
774 #line 113 "htmlattrs.gperf"
775 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str151, ATTR_VALUETYPE},
776 #line 166 "htmlattrs.gperf"
777 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str152, ATTR_SUMMARY},
778 #line 65 "htmlattrs.gperf"
779 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str153, ATTR_MARGINHEIGHT},
780 #line 111 "htmlattrs.gperf"
781 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str154, ATTR_UNKNOWN},
782 #line 116 "htmlattrs.gperf"
783 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str155, ATTR_VLINK},
784 #line 147 "htmlattrs.gperf"
785 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str156, ATTR_ONKEYDOWN},
786 #line 66 "htmlattrs.gperf"
787 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str157, ATTR_MARGINWIDTH},
788 #line 115 "htmlattrs.gperf"
789 {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str158, ATTR_VISIBILITY}
792 static const short lookup[] =
794 -1, -1, -1, 0, -1, -1, -1, -1, 1, 2,
795 -1, -1, -1, 3, 4, 5, 6, -1, 7, 8,
796 -1, 9, -1, 10, -1, 11, -1, 12, -1, 13,
797 -1, -1, 14, 15, 16, -1, 17, -1, 18, 19,
798 20, -1, -1, -1, 21, 22, 23, 24, 25, 26,
799 -1, 27, -1, -1, 28, 29, 30, 31, 32, 33,
800 34, 35, 36, -1, 37, -1, 38, 39, 40, -1,
801 41, 42, 43, -1, 44, -1, 45, 46, -1, 47,
802 48, -1, -1, -1, -1, 49, -1, 50, -1, -1,
803 -1, 51, 52, -1, 53, -1, -1, 54, -1, -1,
804 -1, 55, 56, 57, -1, 58, -1, 59, 60, 61,
805 -1, 62, 63, -1, 64, -1, -1, -1, -1, 65,
806 -1, -1, -1, 66, 67, 68, 69, 70, -1, 71,
807 72, -1, 73, -1, 74, -1, 75, -1, -1, -1,
808 76, -1, -1, 77, 78, -1, -1, 79, 80, -1,
809 81, 82, 83, 84, 85, 86, -1, -1, 87, 88,
810 -1, 89, 90, 91, -1, 92, -1, -1, 93, -1,
811 -1, 94, -1, 95, -1, -1, -1, -1, 96, -1,
812 97, 98, 99, 100, -1, -1, -1, -1, -1, -1,
813 -1, 101, 102, 103, 104, -1, -1, 105, -1, 106,
814 107, 108, 109, -1, 110, 111, 112, 113, 114, -1,
815 -1, -1, -1, -1, -1, 115, -1, -1, -1, -1,
816 -1, 116, -1, -1, 117, -1, -1, -1, -1, -1,
817 -1, -1, 118, -1, -1, -1, 119, 120, -1, -1,
818 121, 122, -1, -1, -1, -1, -1, -1, -1, -1,
819 123, -1, -1, 124, -1, -1, -1, 125, -1, -1,
820 126, -1, -1, -1, 127, 128, 129, -1, 130, 131,
821 -1, -1, -1, -1, 132, -1, 133, 134, -1, -1,
822 -1, 135, -1, 136, -1, -1, -1, 137, -1, -1,
823 -1, -1, -1, -1, -1, 138, -1, -1, 139, 140,
824 -1, 141, 142, 143, -1, 144, -1, -1, -1, 145,
825 146, -1, -1, -1, -1, -1, -1, -1, -1, -1,
826 -1, -1, -1, -1, 147, 148, -1, -1, -1, -1,
827 -1, -1, -1, -1, -1, 149, 150, -1, -1, -1,
828 -1, -1, -1, -1, 151, -1, -1, -1, -1, -1,
829 -1, -1, -1, -1, -1, -1, -1, 152, -1, -1,
830 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
831 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
832 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
833 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
834 -1, -1, 153, -1, -1, -1, -1, -1, -1, -1,
835 -1, -1, -1, -1, -1, -1, -1, 154, -1, -1,
836 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
837 155, -1, -1, -1, -1, -1, -1, -1, -1, -1,
838 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
839 -1, -1, -1, -1, -1, -1, -1, -1, -1, 156,
840 -1, -1, -1, -1, -1, -1, 157, -1, -1, -1,
841 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
842 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
843 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
844 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
845 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
846 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
847 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
848 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
849 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
850 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
851 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
852 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
853 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
854 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
855 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
856 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
857 -1, -1, -1, -1, -1, 158
860 #ifdef __GNUC__
861 __inline
862 #ifdef __GNUC_STDC_INLINE__
863 __attribute__ ((__gnu_inline__))
864 #endif
865 #endif
866 const struct attrs *
867 findAttr (register const char *str, register unsigned int len)
869 if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
871 register int key = hash_attr (str, len);
873 if (key <= MAX_HASH_VALUE && key >= 0)
875 register int index = lookup[key];
877 if (index >= 0)
879 register const char *s = wordlist_attr[index].name + spool_attr;
881 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
882 return &wordlist_attr[index];
886 return 0;
888 #line 170 "htmlattrs.gperf"
892 static const unsigned short attrList[] = {
893 65535,
894 149,
896 131,
897 115,
898 144,
899 118,
900 143,
901 110,
902 139,
907 116,
908 108,
910 106,
913 105,
920 148,
926 145,
927 114,
934 133,
938 149,
941 103,
943 123,
944 147,
948 153,
949 157,
950 132,
953 130,
956 119,
958 112,
965 107,
966 140,
967 128,
968 129,
969 127,
971 124,
975 113,
978 109,
979 101,
980 104,
987 136,
991 117,
994 154,
995 150,
996 151,
997 142,
998 158,
999 155,
1001 138,
1003 149,
1007 125,
1008 146,
1027 102,
1028 121,
1030 156,
1031 126,
1032 134,
1034 141,
1035 135,
1037 122,
1042 100,
1048 137,
1049 152,
1052 111,
1053 65535
1056 const char* KDE_NO_EXPORT getAttrName(unsigned short id)
1058 if (!id || id > TOTAL_KEYWORDS) return "";
1059 return spool_attr + wordlist_attr[attrList[id]].name;