45 #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ 46 && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ 47 && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ 48 && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ 49 && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ 50 && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ 51 && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ 52 && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ 53 && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ 54 && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ 55 && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ 56 && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ 57 && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ 58 && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ 59 && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ 60 && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ 61 && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ 62 && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ 63 && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ 64 && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ 65 && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ 66 && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ 67 && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) 69 #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>." 72 #line 107 "TokenLookup.gperf" 80 #line 101 "TokenLookup.gperf" 96 static inline unsigned int hash (
const char *str,
unsigned int len);
98 static const struct TokenMap *value (
const char *str,
unsigned int len);
104 static const unsigned char asso_values[] =
106 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
107 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
108 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
109 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
110 230, 230, 230, 230, 230, 25, 230, 230, 230, 230,
111 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
112 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
113 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
114 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
115 230, 230, 230, 230, 230, 230, 230, 0, 2, 5,
116 25, 0, 20, 20, 35, 85, 230, 230, 40, 110,
117 25, 65, 80, 0, 60, 5, 10, 0, 55, 5,
118 20, 0, 230, 230, 230, 230, 230, 230, 230, 230,
119 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
120 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
121 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
122 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
123 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
124 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
125 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
126 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
127 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
128 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
129 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
130 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
131 230, 230, 230, 230, 230, 230
133 register int hval = len;
138 hval += asso_values[(
unsigned char)str[2]];
142 hval += asso_values[(
unsigned char)str[0]];
145 return hval + asso_values[(
unsigned char)str[len - 1]];
160 static const struct TokenMap wordlist[] =
163 #line 152 "TokenLookup.gperf" 166 #line 130 "TokenLookup.gperf" 168 #line 153 "TokenLookup.gperf" 171 #line 123 "TokenLookup.gperf" 174 #line 148 "TokenLookup.gperf" 176 #line 217 "TokenLookup.gperf" 178 #line 204 "TokenLookup.gperf" 180 #line 126 "TokenLookup.gperf" 183 #line 131 "TokenLookup.gperf" 186 #line 129 "TokenLookup.gperf" 188 #line 147 "TokenLookup.gperf" 190 #line 132 "TokenLookup.gperf" 192 #line 127 "TokenLookup.gperf" 195 #line 154 "TokenLookup.gperf" 197 #line 161 "TokenLookup.gperf" 200 #line 133 "TokenLookup.gperf" 202 #line 210 "TokenLookup.gperf" 204 #line 218 "TokenLookup.gperf" 206 #line 181 "TokenLookup.gperf" 209 #line 198 "TokenLookup.gperf" 212 #line 163 "TokenLookup.gperf" 214 #line 151 "TokenLookup.gperf" 216 #line 124 "TokenLookup.gperf" 219 #line 125 "TokenLookup.gperf" 221 #line 139 "TokenLookup.gperf" 223 #line 162 "TokenLookup.gperf" 225 #line 208 "TokenLookup.gperf" 228 #line 121 "TokenLookup.gperf" 230 #line 175 "TokenLookup.gperf" 232 #line 146 "TokenLookup.gperf" 234 #line 207 "TokenLookup.gperf" 237 #line 201 "TokenLookup.gperf" 240 #line 145 "TokenLookup.gperf" 243 #line 141 "TokenLookup.gperf" 246 #line 177 "TokenLookup.gperf" 248 #line 122 "TokenLookup.gperf" 250 #line 182 "TokenLookup.gperf" 252 #line 174 "TokenLookup.gperf" 254 #line 199 "TokenLookup.gperf" 257 #line 155 "TokenLookup.gperf" 260 #line 143 "TokenLookup.gperf" 262 #line 184 "TokenLookup.gperf" 264 #line 140 "TokenLookup.gperf" 266 #line 176 "TokenLookup.gperf" 268 #line 200 "TokenLookup.gperf" 271 #line 137 "TokenLookup.gperf" 273 #line 142 "TokenLookup.gperf" 275 #line 202 "TokenLookup.gperf" 277 #line 183 "TokenLookup.gperf" 280 #line 158 "TokenLookup.gperf" 282 #line 120 "TokenLookup.gperf" 285 #line 209 "TokenLookup.gperf" 287 #line 160 "TokenLookup.gperf" 289 #line 135 "TokenLookup.gperf" 292 #line 205 "TokenLookup.gperf" 295 #line 173 "TokenLookup.gperf" 298 #line 149 "TokenLookup.gperf" 301 #line 185 "TokenLookup.gperf" 303 #line 195 "TokenLookup.gperf" 305 #line 156 "TokenLookup.gperf" 308 #line 171 "TokenLookup.gperf" 310 #line 192 "TokenLookup.gperf" 312 #line 150 "TokenLookup.gperf" 315 #line 157 "TokenLookup.gperf" 317 #line 169 "TokenLookup.gperf" 319 #line 213 "TokenLookup.gperf" 321 #line 128 "TokenLookup.gperf" 323 #line 197 "TokenLookup.gperf" 326 #line 214 "TokenLookup.gperf" 329 #line 138 "TokenLookup.gperf" 331 #line 186 "TokenLookup.gperf" 333 #line 165 "TokenLookup.gperf" 336 #line 193 "TokenLookup.gperf" 339 #line 168 "TokenLookup.gperf" 342 #line 170 "TokenLookup.gperf" 344 #line 212 "TokenLookup.gperf" 347 #line 194 "TokenLookup.gperf" 349 #line 188 "TokenLookup.gperf" 351 #line 203 "TokenLookup.gperf" 353 #line 134 "TokenLookup.gperf" 356 #line 187 "TokenLookup.gperf" 358 #line 215 "TokenLookup.gperf" 361 #line 190 "TokenLookup.gperf" 364 #line 136 "TokenLookup.gperf" 367 #line 211 "TokenLookup.gperf" 370 #line 167 "TokenLookup.gperf" 372 #line 144 "TokenLookup.gperf" 375 #line 179 "TokenLookup.gperf" 378 #line 159 "TokenLookup.gperf" 380 #line 180 "TokenLookup.gperf" 383 #line 216 "TokenLookup.gperf" 386 #line 206 "TokenLookup.gperf" 389 #line 189 "TokenLookup.gperf" 391 #line 191 "TokenLookup.gperf" 395 #line 178 "TokenLookup.gperf" 402 #line 166 "TokenLookup.gperf" 407 #line 196 "TokenLookup.gperf" 411 #line 172 "TokenLookup.gperf" 421 #line 164 "TokenLookup.gperf" 427 register int key =
hash (str, len);
429 if (key <= MAX_HASH_VALUE && key >= 0)
431 register const char *s = wordlist[
key].
name;
433 if (*str == *s && !strcmp (str + 1, s + 1))
434 return &wordlist[
key];
439 #line 219 "TokenLookup.gperf" static uint hash(const uchar *p, int n)
#define QT_END_NAMESPACE
This macro expands to.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static unsigned int hash(const char *str, unsigned int len)
const Tokenizer::TokenType token
The namespace for the internal API of QtXmlPatterns.
static const struct TokenMap * value(const char *str, unsigned int len)