TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1021 lines
35 KiB

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