Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / ColorData.gperf
1 %{
2 #include "config.h"
3 #include "platform/graphics/Color.h"
4 #include <string.h>
5
6 namespace blink {
7 %}
8 %struct-type
9 struct NamedColor;
10 %omit-struct-type
11 %language=C++
12 %readonly-tables
13 %global-table
14 %compare-strncmp
15 %define class-name ColorDataHash
16 %define lookup-function-name findColorImpl
17 %define hash-function-name colordata_hash_function
18 %enum
19 %%
20 aliceblue, 0xfff0f8ff
21 antiquewhite, 0xfffaebd7
22 aqua, 0xff00ffff
23 aquamarine, 0xff7fffd4
24 azure, 0xfff0ffff
25 beige, 0xfff5f5dc
26 bisque, 0xffffe4c4
27 black, 0xff000000
28 blanchedalmond, 0xffffebcd
29 blue, 0xff0000ff
30 blueviolet, 0xff8a2be2
31 brown, 0xffa52a2a
32 burlywood, 0xffdeb887
33 cadetblue, 0xff5f9ea0
34 chartreuse, 0xff7fff00
35 chocolate, 0xffd2691e
36 coral, 0xffff7f50
37 cornflowerblue, 0xff6495ed
38 cornsilk, 0xfffff8dc
39 crimson, 0xffdc143c
40 cyan, 0xff00ffff
41 darkblue, 0xff00008b
42 darkcyan, 0xff008b8b
43 darkgoldenrod, 0xffb8860b
44 darkgray, 0xffa9a9a9
45 darkgrey, 0xffa9a9a9
46 darkgreen, 0xff006400
47 darkkhaki, 0xffbdb76b
48 darkmagenta, 0xff8b008b
49 darkolivegreen, 0xff556b2f
50 darkorange, 0xffff8c00
51 darkorchid, 0xff9932cc
52 darkred, 0xff8b0000
53 darksalmon, 0xffe9967a
54 darkseagreen, 0xff8fbc8f
55 darkslateblue, 0xff483d8b
56 darkslategray, 0xff2f4f4f
57 darkslategrey, 0xff2f4f4f
58 darkturquoise, 0xff00ced1
59 darkviolet, 0xff9400d3
60 deeppink, 0xffff1493
61 deepskyblue, 0xff00bfff
62 dimgray, 0xff696969
63 dimgrey, 0xff696969
64 dodgerblue, 0xff1e90ff
65 firebrick, 0xffb22222
66 floralwhite, 0xfffffaf0
67 forestgreen, 0xff228b22
68 fuchsia, 0xffff00ff
69 gainsboro, 0xffdcdcdc
70 ghostwhite, 0xfff8f8ff
71 gold, 0xffffd700
72 goldenrod, 0xffdaa520
73 gray, 0xff808080
74 grey, 0xff808080
75 green, 0xff008000
76 greenyellow, 0xffadff2f
77 honeydew, 0xfff0fff0
78 hotpink, 0xffff69b4
79 indianred, 0xffcd5c5c
80 indigo, 0xff4b0082
81 ivory, 0xfffffff0
82 khaki, 0xfff0e68c
83 lavender, 0xffe6e6fa
84 lavenderblush, 0xfffff0f5
85 lawngreen, 0xff7cfc00
86 lemonchiffon, 0xfffffacd
87 lightblue, 0xffadd8e6
88 lightcoral, 0xfff08080
89 lightcyan, 0xffe0ffff
90 lightgoldenrodyellow, 0xfffafad2
91 lightgray, 0xffd3d3d3
92 lightgrey, 0xffd3d3d3
93 lightgreen, 0xff90ee90
94 lightpink, 0xffffb6c1
95 lightsalmon, 0xffffa07a
96 lightseagreen, 0xff20b2aa
97 lightskyblue, 0xff87cefa
98 lightslateblue, 0xff8470ff
99 lightslategray, 0xff778899
100 lightslategrey, 0xff778899
101 lightsteelblue, 0xffb0c4de
102 lightyellow, 0xffffffe0
103 lime, 0xff00ff00
104 limegreen, 0xff32cd32
105 linen, 0xfffaf0e6
106 magenta, 0xffff00ff
107 maroon, 0xff800000
108 mediumaquamarine, 0xff66cdaa
109 mediumblue, 0xff0000cd
110 mediumorchid, 0xffba55d3
111 mediumpurple, 0xff9370db
112 mediumseagreen, 0xff3cb371
113 mediumslateblue, 0xff7b68ee
114 mediumspringgreen, 0xff00fa9a
115 mediumturquoise, 0xff48d1cc
116 mediumvioletred, 0xffc71585
117 midnightblue, 0xff191970
118 mintcream, 0xfff5fffa
119 mistyrose, 0xffffe4e1
120 moccasin, 0xffffe4b5
121 navajowhite, 0xffffdead
122 navy, 0xff000080
123 oldlace, 0xfffdf5e6
124 olive, 0xff808000
125 olivedrab, 0xff6b8e23
126 orange, 0xffffa500
127 orangered, 0xffff4500
128 orchid, 0xffda70d6
129 palegoldenrod, 0xffeee8aa
130 palegreen, 0xff98fb98
131 paleturquoise, 0xffafeeee
132 palevioletred, 0xffdb7093
133 papayawhip, 0xffffefd5
134 peachpuff, 0xffffdab9
135 peru, 0xffcd853f
136 pink, 0xffffc0cb
137 plum, 0xffdda0dd
138 powderblue, 0xffb0e0e6
139 purple, 0xff800080
140 rebeccapurple, 0xff663399
141 red, 0xffff0000
142 rosybrown, 0xffbc8f8f
143 royalblue, 0xff4169e1
144 saddlebrown, 0xff8b4513
145 salmon, 0xfffa8072
146 sandybrown, 0xfff4a460
147 seagreen, 0xff2e8b57
148 seashell, 0xfffff5ee
149 sienna, 0xffa0522d
150 silver, 0xffc0c0c0
151 skyblue, 0xff87ceeb
152 slateblue, 0xff6a5acd
153 slategray, 0xff708090
154 slategrey, 0xff708090
155 snow, 0xfffffafa
156 springgreen, 0xff00ff7f
157 steelblue, 0xff4682b4
158 tan, 0xffd2b48c
159 teal, 0xff008080
160 thistle, 0xffd8bfd8
161 tomato, 0xffff6347
162 transparent, 0x00000000
163 turquoise, 0xff40e0d0
164 violet, 0xffee82ee
165 violetred, 0xffd02090
166 wheat, 0xfff5deb3
167 white, 0xffffffff
168 whitesmoke, 0xfff5f5f5
169 yellow, 0xffffff00
170 yellowgreen, 0xff9acd32
171 %%
172 const struct NamedColor* findColor(register const char* str, register unsigned len)
173 {
174     return ColorDataHash::findColorImpl(str, len);
175 }
176
177 } // namespace blink