tizen beta release
[profile/ivi/webkit-efl.git] / DerivedSources / WebCore / ColorData.cpp
1 /* C++ code produced by gperf version 3.0.3 */
2 /* Command-line: gperf --key-positions='*' -D -s 2 /home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf  */
3
4 #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
5       && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
6       && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
7       && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
8       && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
9       && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
10       && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
11       && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
12       && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
13       && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
14       && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
15       && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
16       && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
17       && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
18       && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
19       && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
20       && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
21       && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
22       && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
23       && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
24       && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
25       && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
26       && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
27 /* The character set is not based on ISO-646.  */
28 #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
29 #endif
30
31 #line 1 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
32
33 #include "HashTools.h"
34 #include <string.h>
35
36 namespace WebCore {
37 enum
38   {
39     TOTAL_KEYWORDS = 150,
40     MIN_WORD_LENGTH = 3,
41     MAX_WORD_LENGTH = 20,
42     MIN_HASH_VALUE = 3,
43     MAX_HASH_VALUE = 1055
44   };
45
46 /* maximum key range = 1053, duplicates = 0 */
47
48 class ColorDataHash
49 {
50 private:
51   static inline unsigned int colordata_hash_function (const char *str, unsigned int len);
52 public:
53   static const struct NamedColor *findColorImpl (const char *str, unsigned int len);
54 };
55
56 inline unsigned int
57 ColorDataHash::colordata_hash_function (register const char *str, register unsigned int len)
58 {
59   static const unsigned short asso_values[] =
60     {
61       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
62       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
63       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
64       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
65       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
66       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
67       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
68       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
69       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
70       1056, 1056, 1056, 1056, 1056, 1056, 1056,    5,    0,  105,
71          0,    0,   30,   40,   40,   10,    0,    0,   15,   60,
72          0,    5,  255,   40,    0,   10,   15,  130,  300,  215,
73          5,    0,    0, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
74       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
75       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
76       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
77       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
78       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
79       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
80       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
81       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
82       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
83       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
84       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
85       1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1056,
86       1056, 1056, 1056, 1056, 1056, 1056, 1056
87     };
88   register int hval = len;
89
90   switch (hval)
91     {
92       default:
93         hval += asso_values[(unsigned char)str[19]];
94       /*FALLTHROUGH*/
95       case 19:
96         hval += asso_values[(unsigned char)str[18]];
97       /*FALLTHROUGH*/
98       case 18:
99         hval += asso_values[(unsigned char)str[17]];
100       /*FALLTHROUGH*/
101       case 17:
102         hval += asso_values[(unsigned char)str[16]];
103       /*FALLTHROUGH*/
104       case 16:
105         hval += asso_values[(unsigned char)str[15]];
106       /*FALLTHROUGH*/
107       case 15:
108         hval += asso_values[(unsigned char)str[14]];
109       /*FALLTHROUGH*/
110       case 14:
111         hval += asso_values[(unsigned char)str[13]];
112       /*FALLTHROUGH*/
113       case 13:
114         hval += asso_values[(unsigned char)str[12]];
115       /*FALLTHROUGH*/
116       case 12:
117         hval += asso_values[(unsigned char)str[11]];
118       /*FALLTHROUGH*/
119       case 11:
120         hval += asso_values[(unsigned char)str[10]+1];
121       /*FALLTHROUGH*/
122       case 10:
123         hval += asso_values[(unsigned char)str[9]];
124       /*FALLTHROUGH*/
125       case 9:
126         hval += asso_values[(unsigned char)str[8]];
127       /*FALLTHROUGH*/
128       case 8:
129         hval += asso_values[(unsigned char)str[7]];
130       /*FALLTHROUGH*/
131       case 7:
132         hval += asso_values[(unsigned char)str[6]];
133       /*FALLTHROUGH*/
134       case 6:
135         hval += asso_values[(unsigned char)str[5]];
136       /*FALLTHROUGH*/
137       case 5:
138         hval += asso_values[(unsigned char)str[4]];
139       /*FALLTHROUGH*/
140       case 4:
141         hval += asso_values[(unsigned char)str[3]];
142       /*FALLTHROUGH*/
143       case 3:
144         hval += asso_values[(unsigned char)str[2]];
145       /*FALLTHROUGH*/
146       case 2:
147         hval += asso_values[(unsigned char)str[1]];
148       /*FALLTHROUGH*/
149       case 1:
150         hval += asso_values[(unsigned char)str[0]];
151         break;
152     }
153   return hval;
154 }
155
156 static const struct NamedColor wordlist[] =
157   {
158 #line 139 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
159     {"red", 0xffff0000},
160 #line 51 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
161     {"darkred", 0xff8b0000},
162 #line 156 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
163     {"tan", 0xffd2b48c},
164 #line 104 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
165     {"linen", 0xfffaf0e6},
166 #line 147 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
167     {"sienna", 0xffa0522d},
168 #line 78 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
169     {"indianred", 0xffcd5c5c},
170 #line 157 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
171     {"teal", 0xff008080},
172 #line 73 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
173     {"grey", 0xff808080},
174 #line 74 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
175     {"green", 0xff008000},
176 #line 72 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
177     {"gray", 0xff808080},
178 #line 44 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
179     {"darkgrey", 0xffa9a9a9},
180 #line 45 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
181     {"darkgreen", 0xff006400},
182 #line 24 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
183     {"beige", 0xfff5f5dc},
184 #line 125 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
185     {"orange", 0xffffa500},
186 #line 43 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
187     {"darkgray", 0xffa9a9a9},
188 #line 126 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
189     {"orangered", 0xffff4500},
190 #line 81 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
191     {"khaki", 0xfff0e68c},
192 #line 145 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
193     {"seagreen", 0xff2e8b57},
194 #line 70 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
195     {"gold", 0xffffd700},
196 #line 49 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
197     {"darkorange", 0xffff8c00},
198 #line 46 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
199     {"darkkhaki", 0xffbdb76b},
200 #line 79 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
201     {"indigo", 0xff4b0082},
202 #line 71 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
203     {"goldenrod", 0xffdaa520},
204 #line 106 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
205     {"maroon", 0xff800000},
206 #line 68 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
207     {"gainsboro", 0xffdcdcdc},
208 #line 102 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
209     {"lime", 0xff00ff00},
210 #line 75 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
211     {"greenyellow", 0xffadff2f},
212 #line 42 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
213     {"darkgoldenrod", 0xffb8860b},
214 #line 152 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
215     {"slategrey", 0xff708090},
216 #line 151 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
217     {"slategray", 0xff708090},
218 #line 143 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
219     {"salmon", 0xfffa8072},
220 #line 53 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
221     {"darkseagreen", 0xff8fbc8f},
222 #line 146 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
223     {"seashell", 0xfffff5ee},
224 #line 52 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
225     {"darksalmon", 0xffe9967a},
226 #line 159 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
227     {"tomato", 0xffff6347},
228 #line 158 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
229     {"thistle", 0xffd8bfd8},
230 #line 56 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
231     {"darkslategrey", 0xff2f4f4f},
232 #line 39 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
233     {"cyan", 0xff00ffff},
234 #line 66 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
235     {"forestgreen", 0xff228b22},
236 #line 62 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
237     {"dimgrey", 0xff696969},
238 #line 55 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
239     {"darkslategray", 0xff2f4f4f},
240 #line 118 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
241     {"mistyrose", 0xffffe4e1},
242 #line 61 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
243     {"dimgray", 0xff696969},
244 #line 41 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
245     {"darkcyan", 0xff008b8b},
246 #line 26 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
247     {"black", 0xff000000},
248 #line 105 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
249     {"magenta", 0xffff00ff},
250 #line 103 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
251     {"limegreen", 0xff32cd32},
252 #line 35 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
253     {"coral", 0xffff7f50},
254 #line 47 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
255     {"darkmagenta", 0xff8b008b},
256 #line 23 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
257     {"azure", 0xfff0ffff},
258 #line 28 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
259     {"blue", 0xff0000ff},
260 #line 122 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
261     {"oldlace", 0xfffdf5e6},
262 #line 37 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
263     {"cornsilk", 0xfffff8dc},
264 #line 40 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
265     {"darkblue", 0xff00008b},
266 #line 149 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
267     {"skyblue", 0xff87ceeb},
268 #line 64 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
269     {"firebrick", 0xffb22222},
270 #line 127 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
271     {"orchid", 0xffda70d6},
272 #line 91 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
273     {"lightgrey", 0xffd3d3d3},
274 #line 92 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
275     {"lightgreen", 0xff90ee90},
276 #line 101 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
277     {"lightyellow", 0xffffffe0},
278 #line 90 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
279     {"lightgray", 0xffd3d3d3},
280 #line 50 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
281     {"darkorchid", 0xff9932cc},
282 #line 141 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
283     {"royalblue", 0xff4169e1},
284 #line 21 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
285     {"aqua", 0xff00ffff},
286 #line 155 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
287     {"steelblue", 0xff4682b4},
288 #line 25 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
289     {"bisque", 0xffffe4c4},
290 #line 38 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
291     {"crimson", 0xffdc143c},
292 #line 150 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
293     {"slateblue", 0xff6a5acd},
294 #line 63 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
295     {"dodgerblue", 0xff1e90ff},
296 #line 27 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
297     {"blanchedalmond", 0xffffebcd},
298 #line 95 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
299     {"lightseagreen", 0xff20b2aa},
300 #line 99 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
301     {"lightslategrey", 0xff778899},
302 #line 98 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
303     {"lightslategray", 0xff778899},
304 #line 30 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
305     {"brown", 0xffa52a2a},
306 #line 94 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
307     {"lightsalmon", 0xffffa07a},
308 #line 153 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
309     {"snow", 0xfffffafa},
310 #line 88 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
311     {"lightcyan", 0xffe0ffff},
312 #line 140 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
313     {"rosybrown", 0xffbc8f8f},
314 #line 144 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
315     {"sandybrown", 0xfff4a460},
316 #line 54 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
317     {"darkslateblue", 0xff483d8b},
318 #line 167 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
319     {"yellow", 0xffffff00},
320 #line 87 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
321     {"lightcoral", 0xfff08080},
322 #line 117 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
323     {"mintcream", 0xfff5fffa},
324 #line 22 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
325     {"aquamarine", 0xff7fffd4},
326 #line 142 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
327     {"saddlebrown", 0xff8b4513},
328 #line 76 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
329     {"honeydew", 0xfff0fff0},
330 #line 135 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
331     {"pink", 0xffffc0cb},
332 #line 86 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
333     {"lightblue", 0xffadd8e6},
334 #line 32 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
335     {"cadetblue", 0xff5f9ea0},
336 #line 164 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
337     {"wheat", 0xfff5deb3},
338 #line 84 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
339     {"lawngreen", 0xff7cfc00},
340 #line 165 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
341     {"white", 0xffffffff},
342 #line 19 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
343     {"aliceblue", 0xfff0f8ff},
344 #line 34 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
345     {"chocolate", 0xffd2691e},
346 #line 168 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
347     {"yellowgreen", 0xff9acd32},
348 #line 119 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
349     {"moccasin", 0xffffe4b5},
350 #line 121 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
351     {"navy", 0xff000080},
352 #line 33 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
353     {"chartreuse", 0xff7fff00},
354 #line 80 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
355     {"ivory", 0xfffffff0},
356 #line 129 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
357     {"palegreen", 0xff98fb98},
358 #line 82 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
359     {"lavender", 0xffe6e6fa},
360 #line 77 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
361     {"hotpink", 0xffff69b4},
362 #line 123 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
363     {"olive", 0xff808000},
364 #line 67 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
365     {"fuchsia", 0xffff00ff},
366 #line 111 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
367     {"mediumseagreen", 0xff3cb371},
368 #line 148 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
369     {"silver", 0xffc0c0c0},
370 #line 124 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
371     {"olivedrab", 0xff6b8e23},
372 #line 57 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
373     {"darkturquoise", 0xff00ced1},
374 #line 161 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
375     {"turquoise", 0xff40e0d0},
376 #line 162 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
377     {"violet", 0xffee82ee},
378 #line 163 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
379     {"violetred", 0xffd02090},
380 #line 58 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
381     {"darkviolet", 0xff9400d3},
382 #line 128 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
383     {"palegoldenrod", 0xffeee8aa},
384 #line 166 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
385     {"whitesmoke", 0xfff5f5f5},
386 #line 154 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
387     {"springgreen", 0xff00ff7f},
388 #line 31 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
389     {"burlywood", 0xffdeb887},
390 #line 134 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
391     {"peru", 0xffcd853f},
392 #line 65 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
393     {"floralwhite", 0xfffffaf0},
394 #line 93 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
395     {"lightpink", 0xffffb6c1},
396 #line 48 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
397     {"darkolivegreen", 0xff556b2f},
398 #line 69 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
399     {"ghostwhite", 0xfff8f8ff},
400 #line 108 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
401     {"mediumblue", 0xff0000cd},
402 #line 109 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
403     {"mediumorchid", 0xffba55d3},
404 #line 100 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
405     {"lightsteelblue", 0xffb0c4de},
406 #line 97 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
407     {"lightslateblue", 0xff8470ff},
408 #line 160 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
409     {"transparent", 0x00000000},
410 #line 60 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
411     {"deepskyblue", 0xff00bfff},
412 #line 96 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
413     {"lightskyblue", 0xff87cefa},
414 #line 89 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
415     {"lightgoldenrodyellow", 0xfffafad2},
416 #line 136 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
417     {"plum", 0xffdda0dd},
418 #line 107 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
419     {"mediumaquamarine", 0xff66cdaa},
420 #line 112 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
421     {"mediumslateblue", 0xff7b68ee},
422 #line 29 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
423     {"blueviolet", 0xff8a2be2},
424 #line 116 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
425     {"midnightblue", 0xff191970},
426 #line 59 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
427     {"deeppink", 0xffff1493},
428 #line 85 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
429     {"lemonchiffon", 0xfffffacd},
430 #line 20 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
431     {"antiquewhite", 0xfffaebd7},
432 #line 130 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
433     {"paleturquoise", 0xffafeeee},
434 #line 137 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
435     {"powderblue", 0xffb0e0e6},
436 #line 120 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
437     {"navajowhite", 0xffffdead},
438 #line 113 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
439     {"mediumspringgreen", 0xff00fa9a},
440 #line 36 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
441     {"cornflowerblue", 0xff6495ed},
442 #line 131 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
443     {"palevioletred", 0xffdb7093},
444 #line 115 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
445     {"mediumvioletred", 0xffc71585},
446 #line 138 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
447     {"purple", 0xff800080},
448 #line 83 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
449     {"lavenderblush", 0xfffff0f5},
450 #line 114 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
451     {"mediumturquoise", 0xff48d1cc},
452 #line 133 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
453     {"peachpuff", 0xffffdab9},
454 #line 110 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
455     {"mediumpurple", 0xff9370db},
456 #line 132 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
457     {"papayawhip", 0xffffefd5}
458   };
459
460 static const short lookup[] =
461   {
462      -1,  -1,  -1,   0,  -1,  -1,  -1,  -1,  -1,  -1,
463      -1,  -1,   1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
464      -1,  -1,  -1,   2,  -1,  -1,  -1,  -1,  -1,  -1,
465       3,   4,  -1,  -1,   5,  -1,  -1,  -1,  -1,   6,
466      -1,  -1,  -1,  -1,   7,   8,  -1,  -1,  -1,   9,
467      -1,  -1,  -1,  10,  11,  12,  13,  -1,  14,  15,
468      16,  -1,  -1,  17,  18,  19,  -1,  -1,  -1,  20,
469      -1,  21,  -1,  -1,  22,  -1,  -1,  -1,  -1,  -1,
470      -1,  23,  -1,  -1,  24,  -1,  -1,  -1,  -1,  25,
471      -1,  26,  -1,  27,  28,  -1,  -1,  -1,  -1,  29,
472      -1,  30,  31,  32,  -1,  -1,  -1,  -1,  -1,  -1,
473      33,  34,  35,  36,  37,  -1,  38,  39,  40,  41,
474      -1,  -1,  42,  43,  -1,  -1,  -1,  -1,  -1,  -1,
475      44,  -1,  45,  -1,  46,  47,  48,  -1,  -1,  -1,
476      49,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  50,
477      -1,  -1,  51,  52,  -1,  -1,  -1,  -1,  53,  -1,
478      -1,  -1,  54,  -1,  55,  -1,  56,  -1,  -1,  57,
479      58,  59,  -1,  -1,  60,  61,  -1,  -1,  -1,  62,
480      -1,  -1,  -1,  -1,  63,  -1,  -1,  -1,  -1,  -1,
481      -1,  -1,  -1,  -1,  64,  -1,  65,  66,  -1,  67,
482      68,  -1,  -1,  -1,  69,  -1,  -1,  -1,  -1,  -1,
483      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  70,  71,
484      -1,  -1,  -1,  -1,  72,  73,  -1,  -1,  -1,  -1,
485      -1,  74,  -1,  -1,  75,  -1,  -1,  -1,  -1,  76,
486      -1,  -1,  -1,  -1,  77,  78,  -1,  -1,  -1,  -1,
487      -1,  -1,  -1,  79,  -1,  -1,  80,  -1,  -1,  -1,
488      81,  -1,  -1,  -1,  82,  83,  84,  -1,  85,  86,
489      -1,  -1,  -1,  -1,  87,  -1,  -1,  -1,  -1,  88,
490      89,  -1,  -1,  -1,  90,  91,  -1,  -1,  -1,  92,
491      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
492      -1,  -1,  -1,  -1,  93,  -1,  94,  -1,  95,  96,
493      -1,  -1,  -1,  -1,  -1,  97,  -1,  -1,  -1,  -1,
494      98,  -1,  -1,  -1,  99,  -1,  -1,  -1, 100,  -1,
495      -1,  -1, 101,  -1,  -1, 102,  -1, 103,  -1, 104,
496      -1, 105,  -1,  -1, 106,  -1,  -1,  -1, 107, 108,
497      -1, 109,  -1,  -1, 110,  -1,  -1,  -1,  -1,  -1,
498     111,  -1,  -1, 112,  -1, 113,  -1,  -1,  -1,  -1,
499      -1, 114,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 115,
500      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 116,
501      -1, 117,  -1,  -1, 118,  -1,  -1,  -1,  -1, 119,
502     120,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
503      -1,  -1,  -1,  -1,  -1, 121,  -1,  -1,  -1,  -1,
504      -1,  -1, 122,  -1, 123,  -1,  -1,  -1,  -1, 124,
505      -1, 125,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
506      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
507      -1, 126,  -1,  -1,  -1,  -1,  -1, 127,  -1,  -1,
508     128,  -1,  -1,  -1, 129,  -1,  -1,  -1,  -1,  -1,
509      -1, 130,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
510      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
511      -1,  -1,  -1,  -1,  -1, 131,  -1,  -1,  -1,  -1,
512     132,  -1, 133,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
513      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
514      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 134,  -1,
515      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
516      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
517      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
518      -1,  -1, 135,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
519      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
520      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
521      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
522      -1,  -1,  -1,  -1,  -1,  -1,  -1, 136,  -1,  -1,
523      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 137,  -1,
524      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
525     138,  -1,  -1,  -1,  -1,  -1, 139, 140,  -1, 141,
526      -1,  -1,  -1, 142,  -1,  -1,  -1,  -1,  -1,  -1,
527     143,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
528      -1, 144,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
529      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
530      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
531      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 145,  -1,
532      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
533      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
534      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
535      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
536      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
537      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
538      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
539      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
540      -1,  -1,  -1,  -1,  -1, 146,  -1,  -1,  -1,  -1,
541      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
542      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
543      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
544      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
545      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
546      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
547      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 147,
548      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
549      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
550      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
551      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
552      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
553      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
554      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
555      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
556      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
557      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
558      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
559      -1,  -1, 148,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
560      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
561      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
562      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
563      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
564      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
565      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
566      -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
567      -1,  -1,  -1,  -1,  -1, 149
568   };
569
570 const struct NamedColor *
571 ColorDataHash::findColorImpl (register const char *str, register unsigned int len)
572 {
573   if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
574     {
575       register int key = colordata_hash_function (str, len);
576
577       if (key <= MAX_HASH_VALUE && key >= 0)
578         {
579           register int index = lookup[key];
580
581           if (index >= 0)
582             {
583               register const char *s = wordlist[index].name;
584
585               if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
586                 return &wordlist[index];
587             }
588         }
589     }
590   return 0;
591 }
592 #line 169 "/home/jwagun/Desktop/tizen1-public/webkit-efl/Source/WebCore/platform/ColorData.gperf"
593
594 const struct NamedColor* findColor(register const char* str, register unsigned int len)
595 {
596     return ColorDataHash::findColorImpl(str, len);
597 }
598
599 } // namespace WebCore