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

📄 doctypes.cpp

📁 手机浏览器源码程序,功能强大
💻 CPP
📖 第 1 页 / 共 5 页
字号:
/* ANSI-C code produced by gperf version 3.0.1 */
/* Command-line: gperf -CEot -L ANSI-C -k '*' -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards doctypes.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 "doctypes.gperf"
struct PubIDInfo {
    enum eMode { 
        eQuirks,         
        eQuirks3,       
        eAlmostStandards
    };

    const char* name;
    eMode mode_if_no_sysid;
    eMode mode_if_sysid;
};
/* maximum key range = 712, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
dtypehash (register const char *str, register unsigned int len)
{
  static const unsigned short asso_values[] =
    {
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716,   0, 716, 716, 716, 716, 716, 716,   0,
      716, 716, 716,   0, 716,   0,  15,   0,  10,  25,
        5,   0,   5,  25,  10,   0, 716,   0,   0, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716,  10,   5,   0,
       40,   0,  20,   0,   0,   0,   0, 716,   0,   0,
       10,  45,   0,   0,   0,   0,   0,   0,   0,   0,
        0,   0,   5, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
      716, 716, 716, 716, 716, 716
    };
  register int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[79]];
      /*FALLTHROUGH*/
      case 79:
        hval += asso_values[(unsigned char)str[78]];
      /*FALLTHROUGH*/
      case 78:
        hval += asso_values[(unsigned char)str[77]];
      /*FALLTHROUGH*/
      case 77:
        hval += asso_values[(unsigned char)str[76]];
      /*FALLTHROUGH*/
      case 76:
        hval += asso_values[(unsigned char)str[75]];
      /*FALLTHROUGH*/
      case 75:
        hval += asso_values[(unsigned char)str[74]];
      /*FALLTHROUGH*/
      case 74:
        hval += asso_values[(unsigned char)str[73]];
      /*FALLTHROUGH*/
      case 73:
        hval += asso_values[(unsigned char)str[72]];
      /*FALLTHROUGH*/
      case 72:
        hval += asso_values[(unsigned char)str[71]];
      /*FALLTHROUGH*/
      case 71:
        hval += asso_values[(unsigned char)str[70]];
      /*FALLTHROUGH*/
      case 70:
        hval += asso_values[(unsigned char)str[69]];
      /*FALLTHROUGH*/
      case 69:
        hval += asso_values[(unsigned char)str[68]];
      /*FALLTHROUGH*/
      case 68:
        hval += asso_values[(unsigned char)str[67]];
      /*FALLTHROUGH*/
      case 67:
        hval += asso_values[(unsigned char)str[66]];
      /*FALLTHROUGH*/
      case 66:
        hval += asso_values[(unsigned char)str[65]];
      /*FALLTHROUGH*/
      case 65:
        hval += asso_values[(unsigned char)str[64]];
      /*FALLTHROUGH*/
      case 64:
        hval += asso_values[(unsigned char)str[63]];
      /*FALLTHROUGH*/
      case 63:
        hval += asso_values[(unsigned char)str[62]];
      /*FALLTHROUGH*/
      case 62:
        hval += asso_values[(unsigned char)str[61]];
      /*FALLTHROUGH*/
      case 61:
        hval += asso_values[(unsigned char)str[60]];
      /*FALLTHROUGH*/
      case 60:
        hval += asso_values[(unsigned char)str[59]];
      /*FALLTHROUGH*/
      case 59:
        hval += asso_values[(unsigned char)str[58]];
      /*FALLTHROUGH*/
      case 58:
        hval += asso_values[(unsigned char)str[57]];
      /*FALLTHROUGH*/
      case 57:
        hval += asso_values[(unsigned char)str[56]];
      /*FALLTHROUGH*/
      case 56:
        hval += asso_values[(unsigned char)str[55]];
      /*FALLTHROUGH*/
      case 55:
        hval += asso_values[(unsigned char)str[54]];
      /*FALLTHROUGH*/
      case 54:
        hval += asso_values[(unsigned char)str[53]];
      /*FALLTHROUGH*/
      case 53:
        hval += asso_values[(unsigned char)str[52]];
      /*FALLTHROUGH*/
      case 52:
        hval += asso_values[(unsigned char)str[51]];
      /*FALLTHROUGH*/
      case 51:
        hval += asso_values[(unsigned char)str[50]];
      /*FALLTHROUGH*/
      case 50:
        hval += asso_values[(unsigned char)str[49]];
      /*FALLTHROUGH*/
      case 49:
        hval += asso_values[(unsigned char)str[48]];
      /*FALLTHROUGH*/
      case 48:
        hval += asso_values[(unsigned char)str[47]];
      /*FALLTHROUGH*/
      case 47:
        hval += asso_values[(unsigned char)str[46]];
      /*FALLTHROUGH*/
      case 46:
        hval += asso_values[(unsigned char)str[45]];
      /*FALLTHROUGH*/
      case 45:
        hval += asso_values[(unsigned char)str[44]];
      /*FALLTHROUGH*/
      case 44:
        hval += asso_values[(unsigned char)str[43]];
      /*FALLTHROUGH*/
      case 43:
        hval += asso_values[(unsigned char)str[42]];
      /*FALLTHROUGH*/
      case 42:
        hval += asso_values[(unsigned char)str[41]];
      /*FALLTHROUGH*/
      case 41:
        hval += asso_values[(unsigned char)str[40]];
      /*FALLTHROUGH*/
      case 40:
        hval += asso_values[(unsigned char)str[39]];
      /*FALLTHROUGH*/
      case 39:
        hval += asso_values[(unsigned char)str[38]];
      /*FALLTHROUGH*/
      case 38:
        hval += asso_values[(unsigned char)str[37]];
      /*FALLTHROUGH*/
      case 37:
        hval += asso_values[(unsigned char)str[36]];
      /*FALLTHROUGH*/
      case 36:
        hval += asso_values[(unsigned char)str[35]];
      /*FALLTHROUGH*/
      case 35:
        hval += asso_values[(unsigned char)str[34]];
      /*FALLTHROUGH*/
      case 34:
        hval += asso_values[(unsigned char)str[33]];
      /*FALLTHROUGH*/
      case 33:
        hval += asso_values[(unsigned char)str[32]];
      /*FALLTHROUGH*/
      case 32:

⌨️ 快捷键说明

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