1 /* C code produced by gperf version 3.0.2 */ 2 /* Command-line: gperf -G -C -F ,0 -c -t -NfindToken gperf/csp13values.gperf */ 3 /* Computed positions: -k'1-2,6,$' */ 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-gnu-gperf (at) gnu.org>." 30 #endif 31 32 #line 1 "gperf/csp13values.gperf" 33 34 /* 35 * Copyright (C) 2007 Esmertec AG. 36 * Copyright (C) 2007 The Android Open Source Project 37 * 38 * Licensed under the Apache License, Version 2.0 (the "License"); 39 * you may not use this file except in compliance with the License. 40 * You may obtain a copy of the License at 41 * 42 * http://www.apache.org/licenses/LICENSE-2.0 43 * 44 * Unless required by applicable law or agreed to in writing, software 45 * distributed under the License is distributed on an "AS IS" BASIS, 46 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 47 * See the License for the specific language governing permissions and 48 * limitations under the License. 49 */ 50 51 #include <string.h> 52 #include "csp13_hash.h" 53 54 #line 23 "gperf/csp13values.gperf" 55 struct TokenEntry { 56 const char * name; 57 int key; 58 }; 59 60 #define TOTAL_KEYWORDS 187 61 #define MIN_WORD_LENGTH 1 62 #define MAX_WORD_LENGTH 31 63 #define MIN_HASH_VALUE 1 64 #define MAX_HASH_VALUE 477 65 /* maximum key range = 477, duplicates = 0 */ 66 67 #ifdef __GNUC__ 68 __inline 69 #else 70 #ifdef __cplusplus 71 inline 72 #endif 73 #endif 74 static unsigned int 75 hash (str, len) 76 register const char *str; 77 register unsigned int len; 78 { 79 static const unsigned short asso_values[] = 80 { 81 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 82 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 83 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 84 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 85 478, 478, 478, 478, 478, 478, 478, 100, 478, 478, 86 478, 478, 0, 478, 478, 478, 478, 478, 0, 478, 87 478, 478, 478, 478, 478, 50, 30, 20, 70, 5, 88 35, 115, 70, 45, 0, 478, 145, 40, 40, 145, 89 5, 478, 25, 0, 10, 15, 45, 40, 75, 75, 90 478, 478, 478, 478, 478, 0, 478, 85, 478, 10, 91 35, 0, 478, 40, 15, 80, 478, 30, 30, 0, 92 0, 25, 20, 0, 25, 140, 70, 5, 478, 50, 93 65, 95, 478, 478, 478, 478, 478, 478, 478, 478, 94 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 95 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 96 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 97 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 98 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 99 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 100 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 101 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 102 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 103 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 104 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 105 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 106 478, 478, 478, 478, 478, 478 107 }; 108 register int hval = len; 109 110 switch (hval) 111 { 112 default: 113 hval += asso_values[(unsigned char)str[5]]; 114 /*FALLTHROUGH*/ 115 case 5: 116 case 4: 117 case 3: 118 case 2: 119 hval += asso_values[(unsigned char)str[1]]; 120 /*FALLTHROUGH*/ 121 case 1: 122 hval += asso_values[(unsigned char)str[0]]; 123 break; 124 } 125 return hval + asso_values[(unsigned char)str[len - 1]]; 126 } 127 128 static const struct TokenEntry wordlist[] = 129 { 130 {"",0}, 131 #line 66 "gperf/csp13values.gperf" 132 {"S", 0x25}, 133 {"",0}, {"",0}, 134 #line 187 "gperf/csp13values.gperf" 135 {"SSMS", 0xA4}, 136 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 137 #line 60 "gperf/csp13values.gperf" 138 {"P", 0x1F}, 139 {"",0}, {"",0}, {"",0}, {"",0}, 140 #line 158 "gperf/csp13values.gperf" 141 {"Purple", 0x86}, 142 #line 76 "gperf/csp13values.gperf" 143 {"US", 0x2F}, 144 {"",0}, 145 #line 98 "gperf/csp13values.gperf" 146 {"STCP", 0x44}, 147 #line 64 "gperf/csp13values.gperf" 148 {"ScreenName", 0x23}, 149 #line 73 "gperf/csp13values.gperf" 150 {"T", 0x2C}, 151 {"",0}, {"",0}, 152 #line 99 "gperf/csp13values.gperf" 153 {"SUDP", 0x45}, 154 #line 65 "gperf/csp13values.gperf" 155 {"Searchable", 0x24}, 156 #line 198 "gperf/csp13values.gperf" 157 {"PP_AGE", 0xAF}, 158 #line 136 "gperf/csp13values.gperf" 159 {"JEALOUS", 0x6D}, 160 #line 87 "gperf/csp13values.gperf" 161 {"PPU", 0x3A}, 162 #line 181 "gperf/csp13values.gperf" 163 {"SENDSTORE", 0x9E}, 164 #line 180 "gperf/csp13values.gperf" 165 {"SENDREJECT", 0x9D}, 166 #line 75 "gperf/csp13values.gperf" 167 {"U", 0x2E}, 168 #line 205 "gperf/csp13values.gperf" 169 {"PP_INTERESTS", 0xB6}, 170 #line 62 "gperf/csp13values.gperf" 171 {"Response", 0x21}, 172 {"",0}, 173 #line 145 "gperf/csp13values.gperf" 174 {"Small", 0x79}, 175 #line 59 "gperf/csp13values.gperf" 176 {"Public", 0x1E}, 177 #line 202 "gperf/csp13values.gperf" 178 {"PP_FREE_TEXT", 0xB3}, 179 #line 101 "gperf/csp13values.gperf" 180 {"USER_EMAIL_ADDRESS", 0x47}, 181 {"",0}, {"",0}, 182 #line 211 "gperf/csp13values.gperf" 183 {"C", 0xBC}, 184 #line 67 "gperf/csp13values.gperf" 185 {"SC", 0x26}, 186 #line 97 "gperf/csp13values.gperf" 187 {"SMS", 0x43}, 188 #line 166 "gperf/csp13values.gperf" 189 {"Teal", 0x8E}, 190 {"",0}, 191 #line 146 "gperf/csp13values.gperf" 192 {"Medium", 0x7A}, 193 #line 183 "gperf/csp13values.gperf" 194 {"EC", 0xA0}, 195 #line 109 "gperf/csp13values.gperf" 196 {"WSP", 0x4F}, 197 {"",0}, 198 #line 72 "gperf/csp13values.gperf" 199 {"Topic", 0x2B}, 200 #line 215 "gperf/csp13values.gperf" 201 {"R", 0xC0}, 202 #line 206 "gperf/csp13values.gperf" 203 {"PP_MARITAL_STATUS", 0xB7}, 204 {"",0}, 205 #line 151 "gperf/csp13values.gperf" 206 {"Underline", 0x7F}, 207 {"",0}, 208 #line 179 "gperf/csp13values.gperf" 209 {"REJECT", 0x9C}, 210 #line 55 "gperf/csp13values.gperf" 211 {"PR", 0x1A}, 212 #line 88 "gperf/csp13values.gperf" 213 {"SPA", 0x3B}, 214 {"",0}, 215 #line 155 "gperf/csp13values.gperf" 216 {"White", 0x83}, 217 #line 197 "gperf/csp13values.gperf" 218 {"SERVERLOGIC", 0xAE}, 219 #line 133 "gperf/csp13values.gperf" 220 {"AP", 0x68}, 221 #line 157 "gperf/csp13values.gperf" 222 {"Red", 0x85}, 223 #line 165 "gperf/csp13values.gperf" 224 {"Blue", 0x8D}, 225 #line 78 "gperf/csp13values.gperf" 226 {"AutoDelete", 0x31}, 227 {"",0}, 228 #line 85 "gperf/csp13values.gperf" 229 {"RequireInvitation", 0x38}, 230 {"",0}, 231 #line 51 "gperf/csp13values.gperf" 232 {"None", 0x16}, 233 #line 102 "gperf/csp13values.gperf" 234 {"USER_FIRST_NAME", 0x48}, 235 #line 40 "gperf/csp13values.gperf" 236 {"F", 0x0B}, 237 #line 204 "gperf/csp13values.gperf" 238 {"PP_INTENTION", 0xB5}, 239 #line 172 "gperf/csp13values.gperf" 240 {"USER_FRIENDLY_NAME", 0x95}, 241 #line 176 "gperf/csp13values.gperf" 242 {"USER_MARITAL_STATUS", 0x99}, 243 #line 100 "gperf/csp13values.gperf" 244 {"USER_ALIAS", 0x46}, 245 #line 201 "gperf/csp13values.gperf" 246 {"PP_FRIENDLY_NAME", 0xB2}, 247 {"",0}, {"",0}, 248 #line 148 "gperf/csp13values.gperf" 249 {"Huge", 0x7C}, 250 #line 188 "gperf/csp13values.gperf" 251 {"SHTTP", 0xA5}, 252 #line 52 "gperf/csp13values.gperf" 253 {"N", 0x17}, 254 #line 175 "gperf/csp13values.gperf" 255 {"USER_INTERESTS_HOBBIES", 0x98}, 256 #line 137 "gperf/csp13values.gperf" 257 {"MMS", 0x6E}, 258 #line 203 "gperf/csp13values.gperf" 259 {"PP_GENDER", 0xB4}, 260 #line 214 "gperf/csp13values.gperf" 261 {"PRESENCE_ACCESS", 0xBF}, 262 #line 36 "gperf/csp13values.gperf" 263 {"BASE64", 0x07}, 264 #line 186 "gperf/csp13values.gperf" 265 {"IC", 0xA3}, 266 #line 35 "gperf/csp13values.gperf" 267 {"AutoJoin", 0x06}, 268 #line 96 "gperf/csp13values.gperf" 269 {"HTTP", 0x42}, 270 #line 31 "gperf/csp13values.gperf" 271 {"Admin", 0x02}, 272 {"",0}, 273 #line 112 "gperf/csp13values.gperf" 274 {"AC", 0x52}, 275 #line 178 "gperf/csp13values.gperf" 276 {"PRIORITYSTORE", 0x9B}, 277 #line 149 "gperf/csp13values.gperf" 278 {"Bold", 0x7D}, 279 #line 152 "gperf/csp13values.gperf" 280 {"Black", 0x80}, 281 #line 107 "gperf/csp13values.gperf" 282 {"WAPSMS", 0x4D}, 283 #line 182 "gperf/csp13values.gperf" 284 {"IR", 0x9F}, 285 #line 105 "gperf/csp13values.gperf" 286 {"USER_MOBILE_NUMBER", 0x4B}, 287 #line 177 "gperf/csp13values.gperf" 288 {"PRIORITYREJECT", 0x9A}, 289 #line 69 "gperf/csp13values.gperf" 290 {"text/plain", 0x28}, 291 #line 194 "gperf/csp13values.gperf" 292 {"DETECT", 0xAB}, 293 #line 199 "gperf/csp13values.gperf" 294 {"PP_CITY", 0xB0}, 295 #line 49 "gperf/csp13values.gperf" 296 {"Mod", 0x14}, 297 #line 58 "gperf/csp13values.gperf" 298 {"PrivilegeLevel", 0x1D}, 299 {"",0}, 300 #line 108 "gperf/csp13values.gperf" 301 {"WAPUDP", 0x4E}, 302 #line 56 "gperf/csp13values.gperf" 303 {"Private", 0x1B}, 304 #line 120 "gperf/csp13values.gperf" 305 {"ANU", 0x5A}, 306 #line 74 "gperf/csp13values.gperf" 307 {"Type", 0x2D}, 308 #line 200 "gperf/csp13values.gperf" 309 {"PP_COUNTRY", 0xB1}, 310 {"",0}, 311 #line 122 "gperf/csp13values.gperf" 312 {"ANXIOUS", 0x5C}, 313 #line 89 "gperf/csp13values.gperf" 314 {"ANC", 0x3C}, 315 #line 174 "gperf/csp13values.gperf" 316 {"USER_INTENTION", 0x97}, 317 {"",0}, {"",0}, 318 #line 208 "gperf/csp13values.gperf" 319 {"USER_AGE_MIN", 0xB9}, 320 #line 212 "gperf/csp13values.gperf" 321 {"CURRENT_SUBSCRIBER", 0xBD}, 322 #line 170 "gperf/csp13values.gperf" 323 {"USER_CITY", 0x93}, 324 #line 135 "gperf/csp13values.gperf" 325 {"INVINCIBLE", 0x6C}, 326 #line 46 "gperf/csp13values.gperf" 327 {"Inband", 0x11}, 328 #line 171 "gperf/csp13values.gperf" 329 {"USER_COUNTRY", 0x94}, 330 #line 142 "gperf/csp13values.gperf" 331 {"SAD", 0x73}, 332 {"",0}, {"",0}, 333 #line 37 "gperf/csp13values.gperf" 334 {"Closed", 0x08}, 335 #line 47 "gperf/csp13values.gperf" 336 {"IM", 0x12}, 337 #line 141 "gperf/csp13values.gperf" 338 {"PDA", 0x72}, 339 #line 50 "gperf/csp13values.gperf" 340 {"Name", 0x15}, 341 {"",0}, 342 #line 156 "gperf/csp13values.gperf" 343 {"Maroon", 0x84}, 344 #line 123 "gperf/csp13values.gperf" 345 {"ASHAMED", 0x5D}, 346 {"",0}, {"",0}, 347 #line 210 "gperf/csp13values.gperf" 348 {"MinimumAge", 0xBB}, 349 #line 153 "gperf/csp13values.gperf" 350 {"Silver", 0x81}, 351 #line 103 "gperf/csp13values.gperf" 352 {"USER_ID", 0x49}, 353 #line 129 "gperf/csp13values.gperf" 354 {"DISCREET", 0x64}, 355 #line 167 "gperf/csp13values.gperf" 356 {"Aqua", 0x8F}, 357 {"",0}, 358 #line 150 "gperf/csp13values.gperf" 359 {"Italic", 0x7E}, 360 #line 134 "gperf/csp13values.gperf" 361 {"IN_LOVE", 0x6B}, 362 {"",0}, {"",0}, 363 #line 160 "gperf/csp13values.gperf" 364 {"Green", 0x88}, 365 #line 33 "gperf/csp13values.gperf" 366 {"application/vnd.wap.mms-message", 0x04}, 367 #line 185 "gperf/csp13values.gperf" 368 {"IA", 0xA2}, 369 {"",0}, {"",0}, 370 #line 63 "gperf/csp13values.gperf" 371 {"Restricted", 0x22}, 372 {"",0}, 373 #line 207 "gperf/csp13values.gperf" 374 {"USER_AGE_MAX", 0xB8}, 375 #line 147 "gperf/csp13values.gperf" 376 {"Big", 0x7B}, 377 {"",0}, 378 #line 92 "gperf/csp13values.gperf" 379 {"GROUP_NAME", 0x3E}, 380 #line 57 "gperf/csp13values.gperf" 381 {"PrivateMessaging", 0x1C}, 382 #line 117 "gperf/csp13values.gperf" 383 {"GC", 0x57}, 384 {"",0}, 385 #line 124 "gperf/csp13values.gperf" 386 {"AVAILABLE", 0x5F}, 387 {"",0}, 388 #line 84 "gperf/csp13values.gperf" 389 {"ShowID", 0x37}, 390 #line 131 "gperf/csp13values.gperf" 391 {"EXCITED", 0x66}, 392 #line 111 "gperf/csp13values.gperf" 393 {"AND", 0x51}, 394 {"",0}, {"",0}, 395 #line 173 "gperf/csp13values.gperf" 396 {"USER_GENDER", 0x96}, 397 #line 42 "gperf/csp13values.gperf" 398 {"GR", 0x0D}, 399 #line 196 "gperf/csp13values.gperf" 400 {"OEU", 0xAD}, 401 #line 53 "gperf/csp13values.gperf" 402 {"Open", 0x18}, 403 #line 121 "gperf/csp13values.gperf" 404 {"ANGRY", 0x5B}, 405 #line 93 "gperf/csp13values.gperf" 406 {"GROUP_TOPIC", 0x3F}, 407 #line 83 "gperf/csp13values.gperf" 408 {"PENDING", 0x36}, 409 #line 193 "gperf/csp13values.gperf" 410 {"GMU", 0xAA}, 411 #line 190 "gperf/csp13values.gperf" 412 {"GMAU", 0xA7}, 413 #line 68 "gperf/csp13values.gperf" 414 {"text/", 0x27}, 415 #line 70 "gperf/csp13values.gperf" 416 {"text/x-vCalendar", 0x29}, 417 #line 38 "gperf/csp13values.gperf" 418 {"Default", 0x09}, 419 #line 106 "gperf/csp13values.gperf" 420 {"USER_ONLINE_STATUS", 0x4C}, 421 #line 104 "gperf/csp13values.gperf" 422 {"USER_LAST_NAME", 0x4A}, 423 #line 162 "gperf/csp13values.gperf" 424 {"Olive", 0x8A}, 425 #line 163 "gperf/csp13values.gperf" 426 {"Yellow", 0x8B}, 427 #line 71 "gperf/csp13values.gperf" 428 {"text/x-vCard", 0x2A}, 429 #line 192 "gperf/csp13values.gperf" 430 {"GMR", 0xA9}, 431 #line 95 "gperf/csp13values.gperf" 432 {"GROUP_USER_ID_OWNER", 0x41}, 433 #line 140 "gperf/csp13values.gperf" 434 {"OTHER", 0x71}, 435 #line 144 "gperf/csp13values.gperf" 436 {"www.openmobilealliance.org", 0x78}, 437 {"",0}, 438 #line 169 "gperf/csp13values.gperf" 439 {"CLC", 0x91}, 440 #line 86 "gperf/csp13values.gperf" 441 {"Tiny", 0x39}, 442 {"",0}, {"",0}, 443 #line 54 "gperf/csp13values.gperf" 444 {"Outband", 0x19}, 445 #line 44 "gperf/csp13values.gperf" 446 {"https://", 0x0F}, 447 #line 115 "gperf/csp13values.gperf" 448 {"CLCR", 0x55}, 449 #line 130 "gperf/csp13values.gperf" 450 {"EMAIL", 0x65}, 451 {"",0}, 452 #line 79 "gperf/csp13values.gperf" 453 {"GM", 0x32}, 454 #line 113 "gperf/csp13values.gperf" 455 {"BLC", 0x53}, 456 #line 114 "gperf/csp13values.gperf" 457 {"BLUC", 0x54}, 458 #line 132 "gperf/csp13values.gperf" 459 {"HAPPY", 0x67}, 460 {"",0}, 461 #line 110 "gperf/csp13values.gperf" 462 {"GROUP_USER_ID_AUTOJOIN", 0x50}, 463 {"",0}, {"",0}, {"",0}, {"",0}, 464 #line 138 "gperf/csp13values.gperf" 465 {"MOBILE_PHONE", 0x6F}, 466 #line 128 "gperf/csp13values.gperf" 467 {"COMPUTER", 0x63}, 468 #line 168 "gperf/csp13values.gperf" 469 {"ATCL", 0x90}, 470 #line 29 "gperf/csp13values.gperf" 471 {"AccessType", 0x00}, 472 #line 30 "gperf/csp13values.gperf" 473 {"ActiveUsers", 0x01}, 474 #line 159 "gperf/csp13values.gperf" 475 {"Fuchsia", 0x87}, 476 #line 127 "gperf/csp13values.gperf" 477 {"CLI", 0x62}, 478 {"",0}, {"",0}, {"",0}, {"",0}, 479 #line 90 "gperf/csp13values.gperf" 480 {"GROUP_ID", 0x3D}, 481 #line 126 "gperf/csp13values.gperf" 482 {"CALL", 0x61}, 483 {"",0}, 484 #line 81 "gperf/csp13values.gperf" 485 {"DENIED", 0x34}, 486 #line 82 "gperf/csp13values.gperf" 487 {"GRANTED", 0x35}, 488 {"",0}, 489 #line 164 "gperf/csp13values.gperf" 490 {"Navy", 0x8C}, 491 {"",0}, {"",0}, 492 #line 32 "gperf/csp13values.gperf" 493 {"application/", 0x03}, 494 {"",0}, 495 #line 161 "gperf/csp13values.gperf" 496 {"Lime", 0x89}, 497 #line 94 "gperf/csp13values.gperf" 498 {"GROUP_USER_ID_JOINED", 0x40}, 499 #line 41 "gperf/csp13values.gperf" 500 {"G", 0x0C}, 501 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 502 #line 209 "gperf/csp13values.gperf" 503 {"EG", 0xBA}, 504 #line 116 "gperf/csp13values.gperf" 505 {"CLD", 0x56}, 506 #line 154 "gperf/csp13values.gperf" 507 {"Gray", 0x82}, 508 {"",0}, 509 #line 189 "gperf/csp13values.gperf" 510 {"DoNotNotify", 0xA6}, 511 #line 61 "gperf/csp13values.gperf" 512 {"Request", 0x20}, 513 {"",0}, 514 #line 77 "gperf/csp13values.gperf" 515 {"www.wireless-village.org", 0x30}, 516 {"",0}, 517 #line 39 "gperf/csp13values.gperf" 518 {"DisplayName", 0x0A}, 519 #line 213 "gperf/csp13values.gperf" 520 {"FORMER_SUBSCRIBER", 0xBE}, 521 #line 139 "gperf/csp13values.gperf" 522 {"NOT_AVAILABLE", 0x70}, 523 {"",0}, 524 #line 125 "gperf/csp13values.gperf" 525 {"BORED", 0x60}, 526 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 527 #line 118 "gperf/csp13values.gperf" 528 {"GD", 0x58}, 529 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 530 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 531 #line 34 "gperf/csp13values.gperf" 532 {"application/x-sms", 0x05}, 533 #line 191 "gperf/csp13values.gperf" 534 {"GMG", 0xA8}, 535 {"",0}, {"",0}, {"",0}, 536 #line 91 "gperf/csp13values.gperf" 537 {"History", 0x3D}, 538 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 539 #line 119 "gperf/csp13values.gperf" 540 {"GLC", 0x59}, 541 #line 184 "gperf/csp13values.gperf" 542 {"GLUC", 0xA1}, 543 {"",0}, 544 #line 45 "gperf/csp13values.gperf" 545 {"image/", 0x10}, 546 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 547 #line 43 "gperf/csp13values.gperf" 548 {"http://", 0x0E}, 549 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 550 {"",0}, 551 #line 143 "gperf/csp13values.gperf" 552 {"SLEEPY", 0x74}, 553 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 554 {"",0}, {"",0}, {"",0}, {"",0}, 555 #line 80 "gperf/csp13values.gperf" 556 {"Validity", 0x33}, 557 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 558 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 559 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 560 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 561 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 562 #line 48 "gperf/csp13values.gperf" 563 {"MaxActiveUsers", 0x13}, 564 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 565 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 566 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 567 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 568 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 569 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 570 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 571 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 572 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 573 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 574 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 575 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 576 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 577 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 578 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 579 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 580 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 581 {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, 582 {"",0}, 583 #line 195 "gperf/csp13values.gperf" 584 {"FORKALL", 0xAC} 585 }; 586 587 #ifdef __GNUC__ 588 __inline 589 #endif 590 const struct TokenEntry * 591 findToken (str, len) 592 register const char *str; 593 register unsigned int len; 594 { 595 if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) 596 { 597 register int key = hash (str, len); 598 599 if (key <= MAX_HASH_VALUE && key >= 0) 600 { 601 register const char *s = wordlist[key].name; 602 603 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') 604 return &wordlist[key]; 605 } 606 } 607 return 0; 608 } 609 #line 216 "gperf/csp13values.gperf" 610 611 612 int csp13ValueTokenToKey(const char * str, int len) 613 { 614 const struct TokenEntry * tag = findToken(str, len); 615 return tag ? tag->key : -1; 616 } 617 618