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