/* ** This is a generated file, do not edit it. This file is created by ** genhash.pl */ #include "plstr.h" #include "nsCSSKeywords.h" #define TOTAL_KEYWORDS 208 #define MIN_WORD_LENGTH 1 #define MAX_WORD_LENGTH 20 #define MIN_HASH_VALUE 27 #define MAX_HASH_VALUE 1665 /* maximum key range = 1639, duplicates = 0 */ struct StaticNameTable { char* tag; PRInt32 id; }; static const unsigned char kLowerLookup[256] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47, 48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63, 64, 97,98,99,100,101,102,103,104,105,106,107,108,109, 110,111,112,113,114,115,116,117,118,119,120,121,122, 91, 92, 93, 94, 95, 96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111, 112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127, 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143, 144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159, 160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175, 176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191, 192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207, 208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223, 224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239, 240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255 }; #define MYLOWER(x) kLowerLookup[((x) & 0x7f)] /** * Map a name to an ID or -1 */ PRInt32 nsCSSKeywords::LookupName(const char* str) { static unsigned short asso_values[] = { 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 217, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 1666, 211, 243, 50, 211, 226, 194, 85, 108, 123, 138, 168, 168, 139, 36, 30, 233, 99, 156, 13, 193, 206, 155, 182, 10, 239, 79, 1666, 1666, 1666, 1666, 1666 }; static unsigned char lengthtable[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18 }; static struct StaticNameTable wordlist[] = { {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"s", 147}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"ms", 111}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"in", 72}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"ex", 50}, {""}, {""}, {""}, {""}, {""}, {""}, {"px", 135}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"cross", 36}, {"hz", 70}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"icon", 71}, {""}, {""}, {""}, {""}, {""}, {"mix", 108}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"cm", 29}, {""}, {""}, {""}, {""}, {"pc", 130}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"continuous", 34}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"mm", 109}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"khz", 83}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"disc", 44}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"thin", 184}, {""}, {""}, {""}, {""}, {""}, {"em", 48}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"show", 154}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"high", 66}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"solid", 163}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"none", 118}, {""}, {""}, {""}, {""}, {""}, {""}, {"low", 95}, {""}, {""}, {""}, {""}, {""}, {""}, {"once", 124}, {""}, {"digits", 43}, {""}, {""}, {""}, {""}, {"slow", 156}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"scroll", 149}, {""}, {""}, {""}, {""}, {"inset", 76}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"deg", 42}, {""}, {"x-low", 202}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"pt", 134}, {""}, {""}, {""}, {""}, {""}, {"soft", 162}, {""}, {""}, {""}, {"noshade", 120}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"crosshair", 37}, {""}, {"thick", 183}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"x-soft", 205}, {""}, {"block", 16}, {""}, {""}, {""}, {""}, {""}, {"right", 142}, {""}, {""}, {""}, {"auto", 9}, {""}, {"ltr", 102}, {""}, {""}, {""}, {"x-high", 199}, {""}, {""}, {""}, {""}, {""}, {"both", 19}, {""}, {"rtl", 145}, {""}, {""}, {""}, {"top", 185}, {"run-in", 146}, {""}, {""}, {""}, {""}, {""}, {""}, {"georgian", 59}, {""}, {"compact", 32}, {"normal", 119}, {"small", 158}, {""}, {"crop", 35}, {""}, {"sub", 168}, {""}, {""}, {"slower", 157}, {""}, {""}, {"message-box", 106}, {""}, {"static", 166}, {""}, {"-moz-center", 3}, {""}, {""}, {""}, {"x-small", 204}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"hidden", 64}, {""}, {""}, {""}, {"avoid", 10}, {""}, {""}, {""}, {""}, {""}, {""}, {"higher", 67}, {"blink", 15}, {""}, {""}, {""}, {"code", 30}, {""}, {""}, {""}, {""}, {""}, {"inside", 77}, {""}, {""}, {""}, {""}, {""}, {"groove", 61}, {"caption", 22}, {""}, {""}, {""}, {""}, {""}, {""}, {"lower", 96}, {""}, {"fixed", 58}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"x-slow", 203}, {""}, {"move", 110}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"rad", 136}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"italic", 79}, {""}, {""}, {"always", 7}, {"xx-small", 207}, {"ridge", 141}, {""}, {"fast", 56}, {"condensed", 33}, {""}, {"pointer", 131}, {""}, {""}, {""}, {"visible", 194}, {"inherit", 73}, {"menu", 105}, {""}, {"text", 180}, {""}, {""}, {""}, {"center", 23}, {""}, {"semi-condensed", 151}, {""}, {""}, {""}, {""}, {"loud", 94}, {""}, {""}, {"rightwards", 144}, {"outset", 126}, {""}, {""}, {"circle", 26}, {""}, {"super", 169}, {""}, {""}, {""}, {""}, {"pre", 133}, {""}, {""}, {""}, {""}, {""}, {""}, {"large", 85}, {""}, {"x-loud", 201}, {"below", 13}, {""}, {""}, {""}, {""}, {"no-close-quote", 115}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"bold", 17}, {""}, {""}, {"above", 5}, {""}, {""}, {"lighter", 91}, {""}, {""}, {"nowrap", 121}, {""}, {"grad", 60}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"outside", 127}, {""}, {""}, {""}, {"open-quote", 125}, {""}, {""}, {""}, {""}, {"sw-resize", 170}, {""}, {""}, {"hide", 65}, {""}, {"lower-roman", 100}, {""}, {""}, {"wider", 197}, {"lowercase", 101}, {""}, {"wait", 196}, {""}, {"inline", 74}, {"-moz-right", 4}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"nw-resize", 122}, {""}, {"smaller", 161}, {"close-quote", 28}, {"silent", 155}, {""}, {"x-large", 200}, {""}, {""}, {""}, {""}, {"faster", 57}, {""}, {""}, {"invert", 78}, {""}, {""}, {"armenian", 8}, {""}, {""}, {"larger", 86}, {"se-resize", 150}, {""}, {""}, {""}, {"bottom", 20}, {""}, {""}, {""}, {""}, {"level", 90}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"ne-resize", 114}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"bolder", 18}, {"dashed", 38}, {"help", 63}, {""}, {""}, {""}, {""}, {""}, {"left", 87}, {""}, {""}, {""}, {"small-caps", 159}, {"medium", 104}, {""}, {""}, {""}, {"square", 165}, {""}, {""}, {"justify", 80}, {""}, {"marker", 103}, {""}, {"list-item", 93}, {""}, {"decimal", 39}, {""}, {""}, {""}, {""}, {""}, {""}, {"oblique", 123}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"xx-large", 206}, {""}, {""}, {"x-fast", 198}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"status-bar", 167}, {"center-left", 24}, {""}, {""}, {""}, {""}, {"small-caption", 160}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"table", 171}, {""}, {"right-side", 143}, {""}, {"embed", 49}, {""}, {""}, {""}, {""}, {"dotted", 45}, {""}, {""}, {""}, {""}, {""}, {"narrower", 113}, {"repeat-x", 139}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"lower-latin", 99}, {""}, {""}, {""}, {"no-repeat", 117}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"extra-condensed", 52}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"hebrew", 62}, {""}, {""}, {""}, {""}, {""}, {"collapse", 31}, {""}, {""}, {"cjk-ideographic", 27}, {""}, {""}, {""}, {""}, {""}, {"underline", 189}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"behind", 12}, {""}, {"line-through", 92}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"middle", 107}, {""}, {"landscape", 84}, {"-moz-bg-outset", 1}, {"table-column", 174}, {""}, {"double", 46}, {""}, {"overline", 128}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"lower-greek", 98}, {""}, {""}, {""}, {""}, {"absolute", 6}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"capitalize", 21}, {"no-open-quote", 116}, {"transparent", 186}, {""}, {""}, {"upper-roman", 192}, {""}, {""}, {"s-resize", 148}, {"uppercase", 193}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"text-bottom", 181}, {""}, {"default", 41}, {"far-right", 55}, {""}, {"lower-alpha", 97}, {""}, {"center-right", 25}, {""}, {"portrait", 132}, {"n-resize", 112}, {""}, {""}, {""}, {""}, {""}, {""}, {"leftwards", 89}, {""}, {""}, {""}, {""}, {""}, {""}, {"ultra-condensed", 187}, {"repeat", 138}, {""}, {""}, {""}, {""}, {""}, {"hiragana", 68}, {"left-side", 88}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"extra-expanded", 53}, {""}, {""}, {""}, {""}, {"table-row", 178}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"spell-out", 164}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"hiragana-iroha", 69}, {"baseline", 11}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"text-top", 182}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"decimal-leading-zero", 40}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"paragraph", 129}, {""}, {""}, {""}, {"expanded", 51}, {"table-caption", 172}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"inline-table", 75}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"relative", 137}, {""}, {""}, {""}, {""}, {"table-column-group", 175}, {""}, {""}, {""}, {""}, {"separate", 153}, {""}, {""}, {"-moz-bg-inset", 0}, {""}, {""}, {""}, {""}, {""}, {""}, {"w-resize", 195}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"upper-latin", 191}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"-moz-pre-wrap", 2}, {""}, {""}, {""}, {""}, {"ultra-expanded", 188}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"far-left", 54}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"bidi-override", 14}, {""}, {"e-resize", 47}, {""}, {"semi-expanded", 152}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"katakana", 81}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"table-cell", 173}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"katakana-iroha", 82}, {""}, {""}, {""}, {""}, {""}, {"table-row-group", 179}, {""}, {""}, {"table-footer-group", 176}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"upper-alpha", 190}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"repeat-y", 140}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"table-header-group", 177} }; if (str != NULL) { int len = PL_strlen(str); if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register int hval = len; switch (hval) { default: case 12: hval += asso_values[MYLOWER(str[11])]; case 11: case 10: case 9: case 8: hval += asso_values[MYLOWER(str[7])]; case 7: case 6: hval += asso_values[MYLOWER(str[5])]; case 5: case 4: hval += asso_values[MYLOWER(str[3])]; case 3: hval += asso_values[MYLOWER(str[2])]; case 2: hval += asso_values[MYLOWER(str[1])]; case 1: hval += asso_values[MYLOWER(str[0])]; break; } hval += asso_values[MYLOWER(str[len - 1])]; if (hval <= MAX_HASH_VALUE && hval >= MIN_HASH_VALUE) { if (len == lengthtable[hval]) { register const char *tag = wordlist[hval].tag; /* ** While not at the end of the string, if they ever differ ** they are not equal. We know "tag" is already lower case. */ while ((*tag != '\0')&&(*str != '\0')) { if (*tag != (char) MYLOWER(*str)) { return -1; } tag++; str++; } /* ** One of the strings has ended, if they are both ended, then they ** are equal, otherwise not. */ if ((*tag == '\0')&&(*str == '\0')) { return wordlist[hval].id; } } } } } return -1; } const nsCSSKeywords::NameTableEntry nsCSSKeywords::kNameTable[] = { { "-moz-bg-inset", 0 }, { "-moz-bg-outset", 1 }, { "-moz-pre-wrap", 2 }, { "-moz-center", 3 }, { "-moz-right", 4 }, { "above", 5 }, { "absolute", 6 }, { "always", 7 }, { "armenian", 8 }, { "auto", 9 }, { "avoid", 10 }, { "baseline", 11 }, { "behind", 12 }, { "below", 13 }, { "bidi-override", 14 }, { "blink", 15 }, { "block", 16 }, { "bold", 17 }, { "bolder", 18 }, { "both", 19 }, { "bottom", 20 }, { "capitalize", 21 }, { "caption", 22 }, { "center", 23 }, { "center-left", 24 }, { "center-right", 25 }, { "circle", 26 }, { "cjk-ideographic", 27 }, { "close-quote", 28 }, { "cm", 29 }, { "code", 30 }, { "collapse", 31 }, { "compact", 32 }, { "condensed", 33 }, { "continuous", 34 }, { "crop", 35 }, { "cross", 36 }, { "crosshair", 37 }, { "dashed", 38 }, { "decimal", 39 }, { "decimal-leading-zero", 40 }, { "default", 41 }, { "deg", 42 }, { "digits", 43 }, { "disc", 44 }, { "dotted", 45 }, { "double", 46 }, { "e-resize", 47 }, { "em", 48 }, { "embed", 49 }, { "ex", 50 }, { "expanded", 51 }, { "extra-condensed", 52 }, { "extra-expanded", 53 }, { "far-left", 54 }, { "far-right", 55 }, { "fast", 56 }, { "faster", 57 }, { "fixed", 58 }, { "georgian", 59 }, { "grad", 60 }, { "groove", 61 }, { "hebrew", 62 }, { "help", 63 }, { "hidden", 64 }, { "hide", 65 }, { "high", 66 }, { "higher", 67 }, { "hiragana", 68 }, { "hiragana-iroha", 69 }, { "hz", 70 }, { "icon", 71 }, { "in", 72 }, { "inherit", 73 }, { "inline", 74 }, { "inline-table", 75 }, { "inset", 76 }, { "inside", 77 }, { "invert", 78 }, { "italic", 79 }, { "justify", 80 }, { "katakana", 81 }, { "katakana-iroha", 82 }, { "khz", 83 }, { "landscape", 84 }, { "large", 85 }, { "larger", 86 }, { "left", 87 }, { "left-side", 88 }, { "leftwards", 89 }, { "level", 90 }, { "lighter", 91 }, { "line-through", 92 }, { "list-item", 93 }, { "loud", 94 }, { "low", 95 }, { "lower", 96 }, { "lower-alpha", 97 }, { "lower-greek", 98 }, { "lower-latin", 99 }, { "lower-roman", 100 }, { "lowercase", 101 }, { "ltr", 102 }, { "marker", 103 }, { "medium", 104 }, { "menu", 105 }, { "message-box", 106 }, { "middle", 107 }, { "mix", 108 }, { "mm", 109 }, { "move", 110 }, { "ms", 111 }, { "n-resize", 112 }, { "narrower", 113 }, { "ne-resize", 114 }, { "no-close-quote", 115 }, { "no-open-quote", 116 }, { "no-repeat", 117 }, { "none", 118 }, { "normal", 119 }, { "noshade", 120 }, { "nowrap", 121 }, { "nw-resize", 122 }, { "oblique", 123 }, { "once", 124 }, { "open-quote", 125 }, { "outset", 126 }, { "outside", 127 }, { "overline", 128 }, { "paragraph", 129 }, { "pc", 130 }, { "pointer", 131 }, { "portrait", 132 }, { "pre", 133 }, { "pt", 134 }, { "px", 135 }, { "rad", 136 }, { "relative", 137 }, { "repeat", 138 }, { "repeat-x", 139 }, { "repeat-y", 140 }, { "ridge", 141 }, { "right", 142 }, { "right-side", 143 }, { "rightwards", 144 }, { "rtl", 145 }, { "run-in", 146 }, { "s", 147 }, { "s-resize", 148 }, { "scroll", 149 }, { "se-resize", 150 }, { "semi-condensed", 151 }, { "semi-expanded", 152 }, { "separate", 153 }, { "show", 154 }, { "silent", 155 }, { "slow", 156 }, { "slower", 157 }, { "small", 158 }, { "small-caps", 159 }, { "small-caption", 160 }, { "smaller", 161 }, { "soft", 162 }, { "solid", 163 }, { "spell-out", 164 }, { "square", 165 }, { "static", 166 }, { "status-bar", 167 }, { "sub", 168 }, { "super", 169 }, { "sw-resize", 170 }, { "table", 171 }, { "table-caption", 172 }, { "table-cell", 173 }, { "table-column", 174 }, { "table-column-group", 175 }, { "table-footer-group", 176 }, { "table-header-group", 177 }, { "table-row", 178 }, { "table-row-group", 179 }, { "text", 180 }, { "text-bottom", 181 }, { "text-top", 182 }, { "thick", 183 }, { "thin", 184 }, { "top", 185 }, { "transparent", 186 }, { "ultra-condensed", 187 }, { "ultra-expanded", 188 }, { "underline", 189 }, { "upper-alpha", 190 }, { "upper-latin", 191 }, { "upper-roman", 192 }, { "uppercase", 193 }, { "visible", 194 }, { "w-resize", 195 }, { "wait", 196 }, { "wider", 197 }, { "x-fast", 198 }, { "x-high", 199 }, { "x-large", 200 }, { "x-loud", 201 }, { "x-low", 202 }, { "x-slow", 203 }, { "x-small", 204 }, { "x-soft", 205 }, { "xx-large", 206 }, { "xx-small", 207 }, };