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

📄 htmlattrs.c

📁 konqueror3 embedded版本, KDE环境下的当家浏览器的嵌入式版本源码包.
💻 C
📖 第 1 页 / 共 3 页
字号:
    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str107, ATTR_SCROLLDELAY},#line 55 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str108, ATTR_DISABLED},#line 115 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str109, ATTR_PAGEY},#line 29 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str110, ATTR_CELLSPACING},#line 12 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str111, ATTR_ACCEPT_CHARSET},#line 89 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str112, ATTR_NOSHADE},#line 147 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str113, ATTR_TOPMARGIN},#line 28 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str114, ATTR_CELLPADDING},#line 73 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str115, ATTR_LANGUAGE},#line 90 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str116, ATTR_NOWRAP},#line 126 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str117, ATTR_ROWSPAN},#line 19 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str118, ATTR_ARCHIVE},#line 21 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str119, ATTR_AXIS},#line 47 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str120, ATTR_CONTENTEDITABLE},#line 154 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str121, ATTR_VALUETYPE},#line 94 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str122, ATTR_ONCHANGE},#line 119 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str123, ATTR_PLUGINURL},#line 75 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str124, ATTR_LEFTMARGIN},#line 157 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str125, ATTR_VLINK},#line 103 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str126, ATTR_ONMOUSEDOWN},#line 23 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str127, ATTR_BEHAVIOR},#line 54 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str128, ATTR_DIRECTION},#line 22 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str129, ATTR_BACKGROUND},#line 141 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str130, ATTR_SUMMARY},#line 122 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str131, ATTR_READONLY},#line 17 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str132, ATTR_ALINK},#line 65 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str133, ATTR_HREFLANG},#line 100 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str134, ATTR_ONKEYPRESS},#line 68 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str135, ATTR_HTTP_EQUIV},#line 138 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str136, ATTR_STANDBY},#line 76 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str137, ATTR_LINK},#line 101 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str138, ATTR_ONKEYUP},#line 81 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str139, ATTR_MAXLENGTH},#line 117 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str140, ATTR_PLUGINPAGE},#line 118 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str141, ATTR_PLUGINSPAGE},#line 14 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str142, ATTR_ACCESSKEY},#line 63 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str143, ATTR_HIDDEN},#line 62 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str144, ATTR_HEIGHT},#line 150 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str145, ATTR_UNKNOWN},#line 159 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str146, ATTR_WIDTH},#line 99 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str147, ATTR_ONKEYDOWN},#line 80 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str148, ATTR_MARGINWIDTH},#line 156 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str149, ATTR_VISIBILITY},#line 79 "htmlattrs.gperf"    {(int)(long)&((struct spool_attr_t *)0)->spool_attr_str150, ATTR_MARGINHEIGHT}  };static const short lookup[] =  {     -1,  -1,  -1,   0,  -1,  -1,  -1,  -1,  -1,   1,      2,  -1,   3,   4,   5,  -1,   6,   7,   8,   9,     10,  -1,  -1,  11,  -1,  -1,  -1,  -1,  12,  13,     14,  15,  -1,  -1,  -1,  16,  17,  -1,  -1,  18,     -1,  19,  -1,  20,  21,  -1,  22,  -1,  23,  24,     -1,  25,  26,  -1,  27,  28,  29,  30,  -1,  -1,     -1,  31,  32,  33,  -1,  34,  -1,  -1,  -1,  35,     36,  -1,  37,  38,  39,  40,  41,  42,  -1,  -1,     43,  -1,  -1,  44,  -1,  -1,  -1,  45,  -1,  46,     47,  -1,  -1,  -1,  48,  -1,  -1,  49,  -1,  50,     51,  -1,  52,  -1,  53,  -1,  54,  -1,  55,  -1,     56,  57,  58,  59,  60,  61,  62,  63,  64,  -1,     65,  -1,  66,  -1,  -1,  -1,  67,  68,  69,  -1,     -1,  70,  71,  72,  73,  -1,  -1,  74,  75,  76,     77,  -1,  -1,  -1,  -1,  -1,  78,  -1,  79,  80,     81,  82,  83,  -1,  84,  -1,  85,  86,  -1,  -1,     -1,  87,  88,  -1,  89,  -1,  90,  91,  -1,  92,     93,  -1,  94,  -1,  95,  96,  -1,  -1,  97,  -1,     -1,  98,  99,  -1,  -1,  -1,  -1, 100, 101,  -1,    102,  -1,  -1,  -1, 103,  -1, 104,  -1,  -1,  -1,     -1,  -1, 105,  -1,  -1, 106, 107,  -1, 108,  -1,    109, 110,  -1,  -1, 111,  -1,  -1, 112,  -1, 113,     -1, 114,  -1, 115,  -1,  -1, 116, 117,  -1,  -1,     -1,  -1, 118,  -1, 119, 120,  -1,  -1,  -1, 121,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 122, 123,    124,  -1,  -1,  -1,  -1, 125, 126,  -1, 127, 128,    129,  -1, 130, 131,  -1, 132,  -1,  -1, 133,  -1,    134,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1, 135,  -1, 136,  -1,  -1,     -1,  -1,  -1,  -1, 137,  -1,  -1, 138,  -1, 139,    140, 141,  -1,  -1, 142,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1, 143,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1, 144,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1, 145,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1, 146,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 147,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1, 148,  -1,  -1,  -1,    149,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,     -1,  -1, 150  };#ifdef __GNUC____inline#endifconst struct attrs *findAttr (register const char *str, register unsigned int len){  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)    {      register int key = hash_attr (str, len);      if (key <= MAX_HASH_VALUE && key >= 0)        {          register int index = lookup[key];          if (index >= 0)            {              register const char *s = wordlist_attr[index].name + spool_attr;              if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')                return &wordlist_attr[index];            }        }    }  return 0;}#line 162 "htmlattrs.gperf"static const unsigned short attrList[] = {    65535,    24,    135,    29,    142,    78,    106,    132,    33,    118,    58,    119,    129,    127,    68,    105,    15,    17,    114,    110,    46,    103,    71,    49,    94,    80,    34,    66,    36,    9,    38,    97,    2,    1,    52,    42,    63,    120,    6,    27,    55,    37,    28,    79,    128,    108,    91,    18,    12,    47,    62,    99,    144,    143,    76,    133,    87,    95,    135,    30,    65,    14,    53,    115,    21,    124,    137,    59,    5,    150,    148,    139,    77,    90,    64,    48,    104,    75,    67,    112,    116,    82,    26,    25,    122,    86,    96,    3,    32,    147,    134,    138,    22,    126,    70,    56,    54,    60,    7,    44,    8,    69,    72,    74,    61,    109,    93,    140,    141,    123,    45,    19,    131,    11,    23,    73,    117,    16,    85,    10,    88,    107,    84,    20,    51,    89,    50,    0,    136,    40,    102,    130,    101,    31,    39,    81,    4,    113,    35,    13,    145,    57,    98,    43,    121,    83,    149,    125,    41,    146,    92,    135,    65535};const char* KDE_NO_EXPORT getAttrName(unsigned short id){    if (!id || id > TOTAL_KEYWORDS) return "";    return spool_attr + wordlist_attr[attrList[id]].name;}

⌨️ 快捷键说明

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