⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kentities.c

📁 手机浏览器源码程序,功能强大
💻 C
📖 第 1 页 / 共 2 页
字号:
/* ANSI-C code produced by gperf version 3.0.1 */
/* Command-line: gperf -a -L ANSI-C -C -G -c -o -t -k '*' -NfindEntity -D -s 2 kentities.gperf  */

#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
      && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
      && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
      && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
      && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
      && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
      && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
      && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
      && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
      && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
      && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
      && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
      && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
      && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
      && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
      && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
      && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
      && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
      && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
      && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
      && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
      && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
      && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646.  */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
#endif

#line 1 "kentities.gperf"

/*   This file is part of the KDE libraries
  
     Copyright (C) 1999 Lars Knoll (knoll@mpi-hd.mpg.de)
  
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
     License as published by the Free Software Foundation; either
     version 2 of the License, or (at your option) any later version.
  
     This library is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Library General Public License for more details.
  
     You should have received a copy of the GNU Library General Public License
     along with this library; see the file COPYING.LIB.  If not, write to
     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.
  
  ----------------------------------------------------------------------------
  
    kentities.gperf: input file to generate a hash table for entities
    kentities.c: DO NOT EDIT! generated by the command
    "gperf -a -L "ANSI-C" -C -G -c -o -t -k '*' -NfindEntity -D -s 2 khtmlentities.gperf > entities.c"   
    from kentities.gperf 

*/  
#line 30 "kentities.gperf"
struct entity {
    const char *name;
    int code;
};

#define TOTAL_KEYWORDS 261
#define MIN_WORD_LENGTH 2
#define MAX_WORD_LENGTH 8
#define MIN_HASH_VALUE 18
#define MAX_HASH_VALUE 971
/* maximum key range = 954, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
entity_hash (register const char *str, register unsigned int len)
{
  static const unsigned short asso_values[] =
    {
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972,  25,
        5,  35,   0, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 145, 190, 165,   0,   5,
        0,   5,  65, 120, 972,  30,  30,   5,  10, 165,
       45,   0,  45,   0,  20,  25,   0, 972,   5,  35,
       85, 972, 972, 972, 972, 972, 972,  65,  20,  15,
        5,   0, 160, 190, 305,  10, 420,   0, 100,  90,
        0,  55,  10, 225,  25,  40,   5,  15,  80,  20,
       60, 110,  10,  15, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972, 972, 972, 972,
      972, 972, 972, 972, 972, 972, 972
    };
  register int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[7]];
      /*FALLTHROUGH*/
      case 7:
        hval += asso_values[(unsigned char)str[6]];
      /*FALLTHROUGH*/
      case 6:
        hval += asso_values[(unsigned char)str[5]];
      /*FALLTHROUGH*/
      case 5:
        hval += asso_values[(unsigned char)str[4]];
      /*FALLTHROUGH*/
      case 4:
        hval += asso_values[(unsigned char)str[3]];
      /*FALLTHROUGH*/
      case 3:
        hval += asso_values[(unsigned char)str[2]];
      /*FALLTHROUGH*/
      case 2:
        hval += asso_values[(unsigned char)str[1]+1];
      /*FALLTHROUGH*/
      case 1:
        hval += asso_values[(unsigned char)str[0]];
        break;
    }
  return hval;
}

static const struct entity wordlist[] =
  {
#line 202 "kentities.gperf"
    {"not", 0x00ac},
#line 235 "kentities.gperf"
    {"psi", 0x03c8},
#line 173 "kentities.gperf"
    {"isin", 0x2208},
#line 203 "kentities.gperf"
    {"notin", 0x2209},
#line 57 "kentities.gperf"
    {"GT", 62},
#line 227 "kentities.gperf"
    {"phi", 0x03c6},
#line 123 "kentities.gperf"
    {"chi", 0x03c7},
#line 270 "kentities.gperf"
    {"tau", 0x03c4},
#line 204 "kentities.gperf"
    {"nsub", 0x2284},
#line 231 "kentities.gperf"
    {"pound", 0x00a3},
#line 271 "kentities.gperf"
    {"there4", 0x2234},
#line 119 "kentities.gperf"
    {"cap", 0x2229},
#line 84 "kentities.gperf"
    {"REG", 0x00ae},
#line 142 "kentities.gperf"
    {"emsp", 0x2003},
#line 65 "kentities.gperf"
    {"LT", 60},
#line 89 "kentities.gperf"
    {"Tau", 0x03a4},
#line 139 "kentities.gperf"
    {"ecirc", 0x00ea},
#line 138 "kentities.gperf"
    {"eacute", 0x00e9},
#line 82 "kentities.gperf"
    {"Psi", 0x03a8},
#line 223 "kentities.gperf"
    {"part", 0x2202},
#line 52 "kentities.gperf"
    {"Ecirc", 0x00ca},
#line 51 "kentities.gperf"
    {"Eacute", 0x00c9},
#line 79 "kentities.gperf"
    {"Phi", 0x03a6},
#line 198 "kentities.gperf"
    {"nbsp", 0x00a0},
#line 165 "kentities.gperf"
    {"icirc", 0x00ee},
#line 164 "kentities.gperf"
    {"iacute", 0x00ed},
#line 170 "kentities.gperf"
    {"int", 0x222b},
#line 282 "kentities.gperf"
    {"ucirc", 0x00fb},
#line 280 "kentities.gperf"
    {"uacute", 0x00fa},
#line 107 "kentities.gperf"
    {"amp", 38},
#line 133 "kentities.gperf"
    {"darr", 0x2193},
#line 238 "kentities.gperf"
    {"radic", 0x221a},
#line 274 "kentities.gperf"
    {"thinsp", 0x2009},
#line 206 "kentities.gperf"
    {"nu", 0x03bd},
#line 146 "kentities.gperf"
    {"eta", 0x03b7},
#line 92 "kentities.gperf"
    {"Ucirc", 0x00db},
#line 91 "kentities.gperf"
    {"Uacute", 0x00da},
#line 67 "kentities.gperf"
    {"Mu", 0x039c},
#line 55 "kentities.gperf"
    {"Eta", 0x0397},
#line 281 "kentities.gperf"
    {"uarr", 0x2191},
#line 272 "kentities.gperf"
    {"theta", 0x03b8},
#line 69 "kentities.gperf"
    {"Nu", 0x039d},
#line 247 "kentities.gperf"
    {"rho", 0x03c1},
#line 171 "kentities.gperf"
    {"iota", 0x03b9},
#line 102 "kentities.gperf"
    {"acute", 0x00b4},
#line 97 "kentities.gperf"
    {"Yacute", 0x00dd},
#line 215 "kentities.gperf"
    {"or", 0x2228},
#line 50 "kentities.gperf"
    {"ETH", 0x00d0},
#line 241 "kentities.gperf"
    {"rarr", 0x2192},
#line 275 "kentities.gperf"
    {"thorn", 0x00fe},
#line 172 "kentities.gperf"
    {"iquest", 0x00bf},
#line 253 "kentities.gperf"
    {"sdot", 0x22c5},
#line 90 "kentities.gperf"
    {"Theta", 0x0398},
#line 129 "kentities.gperf"
    {"cup", 0x222a},
#line 143 "kentities.gperf"
    {"ensp", 0x2002},
#line 175 "kentities.gperf"
    {"kappa", 0x03ba},
#line 85 "kentities.gperf"
    {"Rho", 0x03a1},
#line 233 "kentities.gperf"
    {"prod", 0x220f},
#line 208 "kentities.gperf"
    {"ocirc", 0x00f4},
#line 207 "kentities.gperf"
    {"oacute", 0x00f3},
#line 190 "kentities.gperf"
    {"lt", 60},
#line 284 "kentities.gperf"
    {"uml", 0x00a8},
#line 234 "kentities.gperf"
    {"prop", 0x221d},
#line 278 "kentities.gperf"
    {"trade", 0x2122},
#line 186 "kentities.gperf"
    {"loz", 0x25ca},
#line 222 "kentities.gperf"
    {"para", 0x00b6},
#line 101 "kentities.gperf"
    {"acirc", 0x00e2},
#line 100 "kentities.gperf"
    {"aacute", 0x00e1},
#line 108 "kentities.gperf"
    {"and", 0x2227},
#line 141 "kentities.gperf"
    {"empty", 0x2205},
#line 263 "kentities.gperf"
    {"sup", 0x2283},
#line 267 "kentities.gperf"
    {"supe", 0x2287},
#line 145 "kentities.gperf"
    {"equiv", 0x2261},
#line 205 "kentities.gperf"
    {"ntilde", 0x00f1},
#line 265 "kentities.gperf"
    {"sup2", 0x00b2},
#line 64 "kentities.gperf"
    {"Kappa", 0x039a},
#line 120 "kentities.gperf"
    {"ccedil", 0x00e7},
#line 260 "kentities.gperf"
    {"sub", 0x2282},
#line 261 "kentities.gperf"
    {"sube", 0x2286},
#line 242 "kentities.gperf"
    {"rceil", 0x2309},
#line 68 "kentities.gperf"
    {"Ntilde", 0x00d1},
#line 127 "kentities.gperf"
    {"copy", 0x00a9},
#line 130 "kentities.gperf"
    {"curren", 0x00a4},
#line 191 "kentities.gperf"
    {"macr", 0x00af},
#line 232 "kentities.gperf"
    {"prime", 0x2032},
#line 86 "kentities.gperf"
    {"Scaron", 0x0160},
#line 264 "kentities.gperf"
    {"sup1", 0x00b9},
#line 211 "kentities.gperf"
    {"oline", 0x203e},
#line 200 "kentities.gperf"
    {"ne", 0x2260},
#line 255 "kentities.gperf"
    {"shy", 0x00ad},
#line 149 "kentities.gperf"
    {"euro", 0x20ac},
#line 213 "kentities.gperf"
    {"omicron", 0x03bf},
#line 266 "kentities.gperf"
    {"sup3", 0x00b3},
#line 150 "kentities.gperf"
    {"exist", 0x2203},
#line 290 "kentities.gperf"
    {"yacute", 0x00fd},
#line 196 "kentities.gperf"
    {"mu", 0x03bc},
#line 180 "kentities.gperf"
    {"larr", 0x2190},
#line 128 "kentities.gperf"
    {"crarr", 0x21b5},
#line 60 "kentities.gperf"
    {"Icirc", 0x00ce},
#line 59 "kentities.gperf"
    {"Iacute", 0x00cd},
#line 122 "kentities.gperf"
    {"cent", 0x00a2},
#line 125 "kentities.gperf"
    {"clubs", 0x2663},
#line 47 "kentities.gperf"
    {"Chi", 0x03a7},
#line 83 "kentities.gperf"
    {"QUOT", 34},
#line 81 "kentities.gperf"
    {"Prime", 0x2033},
#line 219 "kentities.gperf"
    {"otilde", 0x00f5},
#line 217 "kentities.gperf"
    {"ordm", 0x00ba},
#line 252 "kentities.gperf"
    {"scaron", 0x0161},
#line 113 "kentities.gperf"
    {"atilde", 0x00e3},
#line 36 "kentities.gperf"
    {"AMP", 38},
#line 62 "kentities.gperf"
    {"Iota", 0x0399},
#line 38 "kentities.gperf"
    {"Acirc", 0x00c2},
#line 37 "kentities.gperf"
    {"Aacute", 0x00c1},
#line 159 "kentities.gperf"
    {"gt", 62},
#line 248 "kentities.gperf"
    {"rlm", 0x200f},
#line 226 "kentities.gperf"
    {"perp", 0x22a5},
#line 197 "kentities.gperf"
    {"nabla", 0x2207},
#line 262 "kentities.gperf"
    {"sum", 0x2211},
#line 220 "kentities.gperf"
    {"otimes", 0x2297},
#line 126 "kentities.gperf"
    {"cong", 0x2245},
#line 181 "kentities.gperf"
    {"lceil", 0x2308},
#line 224 "kentities.gperf"
    {"percnt", 0x0025},
#line 254 "kentities.gperf"
    {"sect", 0x00a7},
#line 72 "kentities.gperf"
    {"Ocirc", 0x00d4},
#line 71 "kentities.gperf"
    {"Oacute", 0x00d3},
#line 288 "kentities.gperf"
    {"weierp", 0x2118},
#line 187 "kentities.gperf"
    {"lrm", 0x200e},
#line 268 "kentities.gperf"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -