1 /*
2 * Copyright 2015 gRPC authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /*
18 * WARNING: Auto-generated code.
19 *
20 * To make changes to this file, change
21 * tools/codegen/core/gen_static_metadata.py, and then re-run it.
22 *
23 * See metadata.h for an explanation of the interface here, and metadata.cc for
24 * an explanation of what's going on.
25 */
26
27 #include <grpc/support/port_platform.h>
28
29 #include "src/core/lib/transport/static_metadata.h"
30
31 #include "src/core/lib/slice/slice_internal.h"
32
33 static uint8_t g_bytes[] = {
34 58, 112, 97, 116, 104, 58, 109, 101, 116, 104, 111, 100, 58, 115, 116,
35 97, 116, 117, 115, 58, 97, 117, 116, 104, 111, 114, 105, 116, 121, 58,
36 115, 99, 104, 101, 109, 101, 116, 101, 103, 114, 112, 99, 45, 109, 101,
37 115, 115, 97, 103, 101, 103, 114, 112, 99, 45, 115, 116, 97, 116, 117,
38 115, 103, 114, 112, 99, 45, 112, 97, 121, 108, 111, 97, 100, 45, 98,
39 105, 110, 103, 114, 112, 99, 45, 101, 110, 99, 111, 100, 105, 110, 103,
40 103, 114, 112, 99, 45, 97, 99, 99, 101, 112, 116, 45, 101, 110, 99,
41 111, 100, 105, 110, 103, 103, 114, 112, 99, 45, 115, 101, 114, 118, 101,
42 114, 45, 115, 116, 97, 116, 115, 45, 98, 105, 110, 103, 114, 112, 99,
43 45, 116, 97, 103, 115, 45, 98, 105, 110, 103, 114, 112, 99, 45, 116,
44 114, 97, 99, 101, 45, 98, 105, 110, 99, 111, 110, 116, 101, 110, 116,
45 45, 116, 121, 112, 101, 99, 111, 110, 116, 101, 110, 116, 45, 101, 110,
46 99, 111, 100, 105, 110, 103, 97, 99, 99, 101, 112, 116, 45, 101, 110,
47 99, 111, 100, 105, 110, 103, 103, 114, 112, 99, 45, 105, 110, 116, 101,
48 114, 110, 97, 108, 45, 101, 110, 99, 111, 100, 105, 110, 103, 45, 114,
49 101, 113, 117, 101, 115, 116, 103, 114, 112, 99, 45, 105, 110, 116, 101,
50 114, 110, 97, 108, 45, 115, 116, 114, 101, 97, 109, 45, 101, 110, 99,
51 111, 100, 105, 110, 103, 45, 114, 101, 113, 117, 101, 115, 116, 117, 115,
52 101, 114, 45, 97, 103, 101, 110, 116, 104, 111, 115, 116, 108, 98, 45,
53 116, 111, 107, 101, 110, 103, 114, 112, 99, 45, 112, 114, 101, 118, 105,
54 111, 117, 115, 45, 114, 112, 99, 45, 97, 116, 116, 101, 109, 112, 116,
55 115, 103, 114, 112, 99, 45, 114, 101, 116, 114, 121, 45, 112, 117, 115,
56 104, 98, 97, 99, 107, 45, 109, 115, 103, 114, 112, 99, 45, 116, 105,
57 109, 101, 111, 117, 116, 49, 50, 51, 52, 103, 114, 112, 99, 46, 119,
58 97, 105, 116, 95, 102, 111, 114, 95, 114, 101, 97, 100, 121, 103, 114,
59 112, 99, 46, 116, 105, 109, 101, 111, 117, 116, 103, 114, 112, 99, 46,
60 109, 97, 120, 95, 114, 101, 113, 117, 101, 115, 116, 95, 109, 101, 115,
61 115, 97, 103, 101, 95, 98, 121, 116, 101, 115, 103, 114, 112, 99, 46,
62 109, 97, 120, 95, 114, 101, 115, 112, 111, 110, 115, 101, 95, 109, 101,
63 115, 115, 97, 103, 101, 95, 98, 121, 116, 101, 115, 47, 103, 114, 112,
64 99, 46, 108, 98, 46, 118, 49, 46, 76, 111, 97, 100, 66, 97, 108,
65 97, 110, 99, 101, 114, 47, 66, 97, 108, 97, 110, 99, 101, 76, 111,
66 97, 100, 100, 101, 102, 108, 97, 116, 101, 103, 122, 105, 112, 115, 116,
67 114, 101, 97, 109, 47, 103, 122, 105, 112, 48, 105, 100, 101, 110, 116,
68 105, 116, 121, 116, 114, 97, 105, 108, 101, 114, 115, 97, 112, 112, 108,
69 105, 99, 97, 116, 105, 111, 110, 47, 103, 114, 112, 99, 80, 79, 83,
70 84, 50, 48, 48, 52, 48, 52, 104, 116, 116, 112, 104, 116, 116, 112,
71 115, 103, 114, 112, 99, 71, 69, 84, 80, 85, 84, 47, 47, 105, 110,
72 100, 101, 120, 46, 104, 116, 109, 108, 50, 48, 52, 50, 48, 54, 51,
73 48, 52, 52, 48, 48, 53, 48, 48, 97, 99, 99, 101, 112, 116, 45,
74 99, 104, 97, 114, 115, 101, 116, 103, 122, 105, 112, 44, 32, 100, 101,
75 102, 108, 97, 116, 101, 97, 99, 99, 101, 112, 116, 45, 108, 97, 110,
76 103, 117, 97, 103, 101, 97, 99, 99, 101, 112, 116, 45, 114, 97, 110,
77 103, 101, 115, 97, 99, 99, 101, 112, 116, 97, 99, 99, 101, 115, 115,
78 45, 99, 111, 110, 116, 114, 111, 108, 45, 97, 108, 108, 111, 119, 45,
79 111, 114, 105, 103, 105, 110, 97, 103, 101, 97, 108, 108, 111, 119, 97,
80 117, 116, 104, 111, 114, 105, 122, 97, 116, 105, 111, 110, 99, 97, 99,
81 104, 101, 45, 99, 111, 110, 116, 114, 111, 108, 99, 111, 110, 116, 101,
82 110, 116, 45, 100, 105, 115, 112, 111, 115, 105, 116, 105, 111, 110, 99,
83 111, 110, 116, 101, 110, 116, 45, 108, 97, 110, 103, 117, 97, 103, 101,
84 99, 111, 110, 116, 101, 110, 116, 45, 108, 101, 110, 103, 116, 104, 99,
85 111, 110, 116, 101, 110, 116, 45, 108, 111, 99, 97, 116, 105, 111, 110,
86 99, 111, 110, 116, 101, 110, 116, 45, 114, 97, 110, 103, 101, 99, 111,
87 111, 107, 105, 101, 100, 97, 116, 101, 101, 116, 97, 103, 101, 120, 112,
88 101, 99, 116, 101, 120, 112, 105, 114, 101, 115, 102, 114, 111, 109, 105,
89 102, 45, 109, 97, 116, 99, 104, 105, 102, 45, 109, 111, 100, 105, 102,
90 105, 101, 100, 45, 115, 105, 110, 99, 101, 105, 102, 45, 110, 111, 110,
91 101, 45, 109, 97, 116, 99, 104, 105, 102, 45, 114, 97, 110, 103, 101,
92 105, 102, 45, 117, 110, 109, 111, 100, 105, 102, 105, 101, 100, 45, 115,
93 105, 110, 99, 101, 108, 97, 115, 116, 45, 109, 111, 100, 105, 102, 105,
94 101, 100, 108, 98, 45, 99, 111, 115, 116, 45, 98, 105, 110, 108, 105,
95 110, 107, 108, 111, 99, 97, 116, 105, 111, 110, 109, 97, 120, 45, 102,
96 111, 114, 119, 97, 114, 100, 115, 112, 114, 111, 120, 121, 45, 97, 117,
97 116, 104, 101, 110, 116, 105, 99, 97, 116, 101, 112, 114, 111, 120, 121,
98 45, 97, 117, 116, 104, 111, 114, 105, 122, 97, 116, 105, 111, 110, 114,
99 97, 110, 103, 101, 114, 101, 102, 101, 114, 101, 114, 114, 101, 102, 114,
100 101, 115, 104, 114, 101, 116, 114, 121, 45, 97, 102, 116, 101, 114, 115,
101 101, 114, 118, 101, 114, 115, 101, 116, 45, 99, 111, 111, 107, 105, 101,
102 115, 116, 114, 105, 99, 116, 45, 116, 114, 97, 110, 115, 112, 111, 114,
103 116, 45, 115, 101, 99, 117, 114, 105, 116, 121, 116, 114, 97, 110, 115,
104 102, 101, 114, 45, 101, 110, 99, 111, 100, 105, 110, 103, 118, 97, 114,
105 121, 118, 105, 97, 119, 119, 119, 45, 97, 117, 116, 104, 101, 110, 116,
106 105, 99, 97, 116, 101, 105, 100, 101, 110, 116, 105, 116, 121, 44, 100,
107 101, 102, 108, 97, 116, 101, 105, 100, 101, 110, 116, 105, 116, 121, 44,
108 103, 122, 105, 112, 100, 101, 102, 108, 97, 116, 101, 44, 103, 122, 105,
109 112, 105, 100, 101, 110, 116, 105, 116, 121, 44, 100, 101, 102, 108, 97,
110 116, 101, 44, 103, 122, 105, 112};
111
static_ref(void * unused)112 static void static_ref(void* unused) {}
static_unref(void * unused)113 static void static_unref(void* unused) {}
114 static const grpc_slice_refcount_vtable static_sub_vtable = {
115 static_ref, static_unref, grpc_slice_default_eq_impl,
116 grpc_slice_default_hash_impl};
117 const grpc_slice_refcount_vtable grpc_static_metadata_vtable = {
118 static_ref, static_unref, grpc_static_slice_eq, grpc_static_slice_hash};
119 static grpc_slice_refcount static_sub_refcnt = {&static_sub_vtable,
120 &static_sub_refcnt};
121 grpc_slice_refcount grpc_static_metadata_refcounts[GRPC_STATIC_MDSTR_COUNT] = {
122 {&grpc_static_metadata_vtable, &static_sub_refcnt},
123 {&grpc_static_metadata_vtable, &static_sub_refcnt},
124 {&grpc_static_metadata_vtable, &static_sub_refcnt},
125 {&grpc_static_metadata_vtable, &static_sub_refcnt},
126 {&grpc_static_metadata_vtable, &static_sub_refcnt},
127 {&grpc_static_metadata_vtable, &static_sub_refcnt},
128 {&grpc_static_metadata_vtable, &static_sub_refcnt},
129 {&grpc_static_metadata_vtable, &static_sub_refcnt},
130 {&grpc_static_metadata_vtable, &static_sub_refcnt},
131 {&grpc_static_metadata_vtable, &static_sub_refcnt},
132 {&grpc_static_metadata_vtable, &static_sub_refcnt},
133 {&grpc_static_metadata_vtable, &static_sub_refcnt},
134 {&grpc_static_metadata_vtable, &static_sub_refcnt},
135 {&grpc_static_metadata_vtable, &static_sub_refcnt},
136 {&grpc_static_metadata_vtable, &static_sub_refcnt},
137 {&grpc_static_metadata_vtable, &static_sub_refcnt},
138 {&grpc_static_metadata_vtable, &static_sub_refcnt},
139 {&grpc_static_metadata_vtable, &static_sub_refcnt},
140 {&grpc_static_metadata_vtable, &static_sub_refcnt},
141 {&grpc_static_metadata_vtable, &static_sub_refcnt},
142 {&grpc_static_metadata_vtable, &static_sub_refcnt},
143 {&grpc_static_metadata_vtable, &static_sub_refcnt},
144 {&grpc_static_metadata_vtable, &static_sub_refcnt},
145 {&grpc_static_metadata_vtable, &static_sub_refcnt},
146 {&grpc_static_metadata_vtable, &static_sub_refcnt},
147 {&grpc_static_metadata_vtable, &static_sub_refcnt},
148 {&grpc_static_metadata_vtable, &static_sub_refcnt},
149 {&grpc_static_metadata_vtable, &static_sub_refcnt},
150 {&grpc_static_metadata_vtable, &static_sub_refcnt},
151 {&grpc_static_metadata_vtable, &static_sub_refcnt},
152 {&grpc_static_metadata_vtable, &static_sub_refcnt},
153 {&grpc_static_metadata_vtable, &static_sub_refcnt},
154 {&grpc_static_metadata_vtable, &static_sub_refcnt},
155 {&grpc_static_metadata_vtable, &static_sub_refcnt},
156 {&grpc_static_metadata_vtable, &static_sub_refcnt},
157 {&grpc_static_metadata_vtable, &static_sub_refcnt},
158 {&grpc_static_metadata_vtable, &static_sub_refcnt},
159 {&grpc_static_metadata_vtable, &static_sub_refcnt},
160 {&grpc_static_metadata_vtable, &static_sub_refcnt},
161 {&grpc_static_metadata_vtable, &static_sub_refcnt},
162 {&grpc_static_metadata_vtable, &static_sub_refcnt},
163 {&grpc_static_metadata_vtable, &static_sub_refcnt},
164 {&grpc_static_metadata_vtable, &static_sub_refcnt},
165 {&grpc_static_metadata_vtable, &static_sub_refcnt},
166 {&grpc_static_metadata_vtable, &static_sub_refcnt},
167 {&grpc_static_metadata_vtable, &static_sub_refcnt},
168 {&grpc_static_metadata_vtable, &static_sub_refcnt},
169 {&grpc_static_metadata_vtable, &static_sub_refcnt},
170 {&grpc_static_metadata_vtable, &static_sub_refcnt},
171 {&grpc_static_metadata_vtable, &static_sub_refcnt},
172 {&grpc_static_metadata_vtable, &static_sub_refcnt},
173 {&grpc_static_metadata_vtable, &static_sub_refcnt},
174 {&grpc_static_metadata_vtable, &static_sub_refcnt},
175 {&grpc_static_metadata_vtable, &static_sub_refcnt},
176 {&grpc_static_metadata_vtable, &static_sub_refcnt},
177 {&grpc_static_metadata_vtable, &static_sub_refcnt},
178 {&grpc_static_metadata_vtable, &static_sub_refcnt},
179 {&grpc_static_metadata_vtable, &static_sub_refcnt},
180 {&grpc_static_metadata_vtable, &static_sub_refcnt},
181 {&grpc_static_metadata_vtable, &static_sub_refcnt},
182 {&grpc_static_metadata_vtable, &static_sub_refcnt},
183 {&grpc_static_metadata_vtable, &static_sub_refcnt},
184 {&grpc_static_metadata_vtable, &static_sub_refcnt},
185 {&grpc_static_metadata_vtable, &static_sub_refcnt},
186 {&grpc_static_metadata_vtable, &static_sub_refcnt},
187 {&grpc_static_metadata_vtable, &static_sub_refcnt},
188 {&grpc_static_metadata_vtable, &static_sub_refcnt},
189 {&grpc_static_metadata_vtable, &static_sub_refcnt},
190 {&grpc_static_metadata_vtable, &static_sub_refcnt},
191 {&grpc_static_metadata_vtable, &static_sub_refcnt},
192 {&grpc_static_metadata_vtable, &static_sub_refcnt},
193 {&grpc_static_metadata_vtable, &static_sub_refcnt},
194 {&grpc_static_metadata_vtable, &static_sub_refcnt},
195 {&grpc_static_metadata_vtable, &static_sub_refcnt},
196 {&grpc_static_metadata_vtable, &static_sub_refcnt},
197 {&grpc_static_metadata_vtable, &static_sub_refcnt},
198 {&grpc_static_metadata_vtable, &static_sub_refcnt},
199 {&grpc_static_metadata_vtable, &static_sub_refcnt},
200 {&grpc_static_metadata_vtable, &static_sub_refcnt},
201 {&grpc_static_metadata_vtable, &static_sub_refcnt},
202 {&grpc_static_metadata_vtable, &static_sub_refcnt},
203 {&grpc_static_metadata_vtable, &static_sub_refcnt},
204 {&grpc_static_metadata_vtable, &static_sub_refcnt},
205 {&grpc_static_metadata_vtable, &static_sub_refcnt},
206 {&grpc_static_metadata_vtable, &static_sub_refcnt},
207 {&grpc_static_metadata_vtable, &static_sub_refcnt},
208 {&grpc_static_metadata_vtable, &static_sub_refcnt},
209 {&grpc_static_metadata_vtable, &static_sub_refcnt},
210 {&grpc_static_metadata_vtable, &static_sub_refcnt},
211 {&grpc_static_metadata_vtable, &static_sub_refcnt},
212 {&grpc_static_metadata_vtable, &static_sub_refcnt},
213 {&grpc_static_metadata_vtable, &static_sub_refcnt},
214 {&grpc_static_metadata_vtable, &static_sub_refcnt},
215 {&grpc_static_metadata_vtable, &static_sub_refcnt},
216 {&grpc_static_metadata_vtable, &static_sub_refcnt},
217 {&grpc_static_metadata_vtable, &static_sub_refcnt},
218 {&grpc_static_metadata_vtable, &static_sub_refcnt},
219 {&grpc_static_metadata_vtable, &static_sub_refcnt},
220 {&grpc_static_metadata_vtable, &static_sub_refcnt},
221 {&grpc_static_metadata_vtable, &static_sub_refcnt},
222 {&grpc_static_metadata_vtable, &static_sub_refcnt},
223 {&grpc_static_metadata_vtable, &static_sub_refcnt},
224 {&grpc_static_metadata_vtable, &static_sub_refcnt},
225 {&grpc_static_metadata_vtable, &static_sub_refcnt},
226 {&grpc_static_metadata_vtable, &static_sub_refcnt},
227 };
228
229 const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT] = {
230 {&grpc_static_metadata_refcounts[0], {{g_bytes + 0, 5}}},
231 {&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
232 {&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
233 {&grpc_static_metadata_refcounts[3], {{g_bytes + 19, 10}}},
234 {&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
235 {&grpc_static_metadata_refcounts[5], {{g_bytes + 36, 2}}},
236 {&grpc_static_metadata_refcounts[6], {{g_bytes + 38, 12}}},
237 {&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
238 {&grpc_static_metadata_refcounts[8], {{g_bytes + 61, 16}}},
239 {&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
240 {&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
241 {&grpc_static_metadata_refcounts[11], {{g_bytes + 110, 21}}},
242 {&grpc_static_metadata_refcounts[12], {{g_bytes + 131, 13}}},
243 {&grpc_static_metadata_refcounts[13], {{g_bytes + 144, 14}}},
244 {&grpc_static_metadata_refcounts[14], {{g_bytes + 158, 12}}},
245 {&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
246 {&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
247 {&grpc_static_metadata_refcounts[17], {{g_bytes + 201, 30}}},
248 {&grpc_static_metadata_refcounts[18], {{g_bytes + 231, 37}}},
249 {&grpc_static_metadata_refcounts[19], {{g_bytes + 268, 10}}},
250 {&grpc_static_metadata_refcounts[20], {{g_bytes + 278, 4}}},
251 {&grpc_static_metadata_refcounts[21], {{g_bytes + 282, 8}}},
252 {&grpc_static_metadata_refcounts[22], {{g_bytes + 290, 26}}},
253 {&grpc_static_metadata_refcounts[23], {{g_bytes + 316, 22}}},
254 {&grpc_static_metadata_refcounts[24], {{g_bytes + 338, 12}}},
255 {&grpc_static_metadata_refcounts[25], {{g_bytes + 350, 1}}},
256 {&grpc_static_metadata_refcounts[26], {{g_bytes + 351, 1}}},
257 {&grpc_static_metadata_refcounts[27], {{g_bytes + 352, 1}}},
258 {&grpc_static_metadata_refcounts[28], {{g_bytes + 353, 1}}},
259 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}},
260 {&grpc_static_metadata_refcounts[30], {{g_bytes + 354, 19}}},
261 {&grpc_static_metadata_refcounts[31], {{g_bytes + 373, 12}}},
262 {&grpc_static_metadata_refcounts[32], {{g_bytes + 385, 30}}},
263 {&grpc_static_metadata_refcounts[33], {{g_bytes + 415, 31}}},
264 {&grpc_static_metadata_refcounts[34], {{g_bytes + 446, 36}}},
265 {&grpc_static_metadata_refcounts[35], {{g_bytes + 482, 7}}},
266 {&grpc_static_metadata_refcounts[36], {{g_bytes + 489, 4}}},
267 {&grpc_static_metadata_refcounts[37], {{g_bytes + 493, 11}}},
268 {&grpc_static_metadata_refcounts[38], {{g_bytes + 504, 1}}},
269 {&grpc_static_metadata_refcounts[39], {{g_bytes + 505, 8}}},
270 {&grpc_static_metadata_refcounts[40], {{g_bytes + 513, 8}}},
271 {&grpc_static_metadata_refcounts[41], {{g_bytes + 521, 16}}},
272 {&grpc_static_metadata_refcounts[42], {{g_bytes + 537, 4}}},
273 {&grpc_static_metadata_refcounts[43], {{g_bytes + 541, 3}}},
274 {&grpc_static_metadata_refcounts[44], {{g_bytes + 544, 3}}},
275 {&grpc_static_metadata_refcounts[45], {{g_bytes + 547, 4}}},
276 {&grpc_static_metadata_refcounts[46], {{g_bytes + 551, 5}}},
277 {&grpc_static_metadata_refcounts[47], {{g_bytes + 556, 4}}},
278 {&grpc_static_metadata_refcounts[48], {{g_bytes + 560, 3}}},
279 {&grpc_static_metadata_refcounts[49], {{g_bytes + 563, 3}}},
280 {&grpc_static_metadata_refcounts[50], {{g_bytes + 566, 1}}},
281 {&grpc_static_metadata_refcounts[51], {{g_bytes + 567, 11}}},
282 {&grpc_static_metadata_refcounts[52], {{g_bytes + 578, 3}}},
283 {&grpc_static_metadata_refcounts[53], {{g_bytes + 581, 3}}},
284 {&grpc_static_metadata_refcounts[54], {{g_bytes + 584, 3}}},
285 {&grpc_static_metadata_refcounts[55], {{g_bytes + 587, 3}}},
286 {&grpc_static_metadata_refcounts[56], {{g_bytes + 590, 3}}},
287 {&grpc_static_metadata_refcounts[57], {{g_bytes + 593, 14}}},
288 {&grpc_static_metadata_refcounts[58], {{g_bytes + 607, 13}}},
289 {&grpc_static_metadata_refcounts[59], {{g_bytes + 620, 15}}},
290 {&grpc_static_metadata_refcounts[60], {{g_bytes + 635, 13}}},
291 {&grpc_static_metadata_refcounts[61], {{g_bytes + 648, 6}}},
292 {&grpc_static_metadata_refcounts[62], {{g_bytes + 654, 27}}},
293 {&grpc_static_metadata_refcounts[63], {{g_bytes + 681, 3}}},
294 {&grpc_static_metadata_refcounts[64], {{g_bytes + 684, 5}}},
295 {&grpc_static_metadata_refcounts[65], {{g_bytes + 689, 13}}},
296 {&grpc_static_metadata_refcounts[66], {{g_bytes + 702, 13}}},
297 {&grpc_static_metadata_refcounts[67], {{g_bytes + 715, 19}}},
298 {&grpc_static_metadata_refcounts[68], {{g_bytes + 734, 16}}},
299 {&grpc_static_metadata_refcounts[69], {{g_bytes + 750, 14}}},
300 {&grpc_static_metadata_refcounts[70], {{g_bytes + 764, 16}}},
301 {&grpc_static_metadata_refcounts[71], {{g_bytes + 780, 13}}},
302 {&grpc_static_metadata_refcounts[72], {{g_bytes + 793, 6}}},
303 {&grpc_static_metadata_refcounts[73], {{g_bytes + 799, 4}}},
304 {&grpc_static_metadata_refcounts[74], {{g_bytes + 803, 4}}},
305 {&grpc_static_metadata_refcounts[75], {{g_bytes + 807, 6}}},
306 {&grpc_static_metadata_refcounts[76], {{g_bytes + 813, 7}}},
307 {&grpc_static_metadata_refcounts[77], {{g_bytes + 820, 4}}},
308 {&grpc_static_metadata_refcounts[78], {{g_bytes + 824, 8}}},
309 {&grpc_static_metadata_refcounts[79], {{g_bytes + 832, 17}}},
310 {&grpc_static_metadata_refcounts[80], {{g_bytes + 849, 13}}},
311 {&grpc_static_metadata_refcounts[81], {{g_bytes + 862, 8}}},
312 {&grpc_static_metadata_refcounts[82], {{g_bytes + 870, 19}}},
313 {&grpc_static_metadata_refcounts[83], {{g_bytes + 889, 13}}},
314 {&grpc_static_metadata_refcounts[84], {{g_bytes + 902, 11}}},
315 {&grpc_static_metadata_refcounts[85], {{g_bytes + 913, 4}}},
316 {&grpc_static_metadata_refcounts[86], {{g_bytes + 917, 8}}},
317 {&grpc_static_metadata_refcounts[87], {{g_bytes + 925, 12}}},
318 {&grpc_static_metadata_refcounts[88], {{g_bytes + 937, 18}}},
319 {&grpc_static_metadata_refcounts[89], {{g_bytes + 955, 19}}},
320 {&grpc_static_metadata_refcounts[90], {{g_bytes + 974, 5}}},
321 {&grpc_static_metadata_refcounts[91], {{g_bytes + 979, 7}}},
322 {&grpc_static_metadata_refcounts[92], {{g_bytes + 986, 7}}},
323 {&grpc_static_metadata_refcounts[93], {{g_bytes + 993, 11}}},
324 {&grpc_static_metadata_refcounts[94], {{g_bytes + 1004, 6}}},
325 {&grpc_static_metadata_refcounts[95], {{g_bytes + 1010, 10}}},
326 {&grpc_static_metadata_refcounts[96], {{g_bytes + 1020, 25}}},
327 {&grpc_static_metadata_refcounts[97], {{g_bytes + 1045, 17}}},
328 {&grpc_static_metadata_refcounts[98], {{g_bytes + 1062, 4}}},
329 {&grpc_static_metadata_refcounts[99], {{g_bytes + 1066, 3}}},
330 {&grpc_static_metadata_refcounts[100], {{g_bytes + 1069, 16}}},
331 {&grpc_static_metadata_refcounts[101], {{g_bytes + 1085, 16}}},
332 {&grpc_static_metadata_refcounts[102], {{g_bytes + 1101, 13}}},
333 {&grpc_static_metadata_refcounts[103], {{g_bytes + 1114, 12}}},
334 {&grpc_static_metadata_refcounts[104], {{g_bytes + 1126, 21}}},
335 };
336
337 uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT] = {
338 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
339 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
340 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
341 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 6, 6, 8, 8, 2, 4, 4};
342
343 static const int8_t elems_r[] = {
344 16, 11, -1, 0, 15, 2, -78, 24, 0, 18, -5, 0, 0, 0, 17, 14, -8, 0,
345 0, 27, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
346 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
347 0, 0, 0, -64, 0, -44, -43, -70, 0, 34, 33, 33, 32, 31, 30, 29, 28, 27,
348 27, 26, 25, 24, 23, 22, 21, 20, 20, 19, 19, 18, 17, 16, 15, 14, 13, 12,
349 11, 14, 13, 12, 11, 10, 9, 9, 8, 7, 6, 5, 0};
elems_phash(uint32_t i)350 static uint32_t elems_phash(uint32_t i) {
351 i -= 50;
352 uint32_t x = i % 103;
353 uint32_t y = i / 103;
354 uint32_t h = x;
355 if (y < GPR_ARRAY_SIZE(elems_r)) {
356 uint32_t delta = (uint32_t)elems_r[y];
357 h += delta;
358 }
359 return h;
360 }
361
362 static const uint16_t elem_keys[] = {
363 1085, 1086, 565, 1709, 1089, 262, 263, 264, 265, 266, 1716,
364 153, 154, 1719, 760, 761, 50, 51, 465, 466, 467, 980,
365 981, 1604, 1499, 984, 773, 2129, 2234, 6014, 1611, 6434, 1738,
366 1614, 6539, 6644, 1511, 6749, 6854, 6959, 7064, 7169, 7274, 7379,
367 2024, 7484, 7589, 7694, 7799, 7904, 8009, 8114, 8219, 6224, 8324,
368 8429, 6329, 8534, 8639, 8744, 8849, 8954, 9059, 9164, 9269, 9374,
369 1151, 1152, 1153, 1154, 9479, 9584, 9689, 9794, 9899, 10004, 1782,
370 10109, 10214, 10319, 10424, 10529, 0, 0, 0, 0, 0, 344,
371 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
372 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
373 0, 253, 254, 147, 0, 0, 0, 0, 0, 0, 0,
374 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
375 0, 0, 0, 0};
376 static const uint8_t elem_idxs[] = {
377 77, 79, 6, 25, 76, 19, 20, 21, 22, 23, 84, 15, 16, 83, 1,
378 2, 17, 18, 11, 12, 13, 5, 4, 38, 43, 3, 0, 50, 57, 24,
379 37, 29, 26, 36, 30, 31, 7, 32, 33, 34, 35, 39, 40, 41, 72,
380 42, 44, 45, 46, 47, 48, 49, 51, 27, 52, 53, 28, 54, 55, 56,
381 58, 59, 60, 61, 62, 63, 78, 80, 81, 82, 64, 65, 66, 67, 68,
382 69, 85, 70, 71, 73, 74, 75, 255, 255, 255, 255, 255, 14, 255, 255,
383 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
384 255, 255, 255, 255, 255, 255, 9, 10, 8};
385
grpc_static_mdelem_for_static_strings(int a,int b)386 grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b) {
387 if (a == -1 || b == -1) return GRPC_MDNULL;
388 uint32_t k = (uint32_t)(a * 105 + b);
389 uint32_t h = elems_phash(k);
390 return h < GPR_ARRAY_SIZE(elem_keys) && elem_keys[h] == k &&
391 elem_idxs[h] != 255
392 ? GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[elem_idxs[h]],
393 GRPC_MDELEM_STORAGE_STATIC)
394 : GRPC_MDNULL;
395 }
396
397 grpc_mdelem_data grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT] = {
398 {{&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
399 {&grpc_static_metadata_refcounts[38], {{g_bytes + 504, 1}}}},
400 {{&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
401 {&grpc_static_metadata_refcounts[25], {{g_bytes + 350, 1}}}},
402 {{&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
403 {&grpc_static_metadata_refcounts[26], {{g_bytes + 351, 1}}}},
404 {{&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
405 {&grpc_static_metadata_refcounts[39], {{g_bytes + 505, 8}}}},
406 {{&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
407 {&grpc_static_metadata_refcounts[36], {{g_bytes + 489, 4}}}},
408 {{&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
409 {&grpc_static_metadata_refcounts[35], {{g_bytes + 482, 7}}}},
410 {{&grpc_static_metadata_refcounts[5], {{g_bytes + 36, 2}}},
411 {&grpc_static_metadata_refcounts[40], {{g_bytes + 513, 8}}}},
412 {{&grpc_static_metadata_refcounts[14], {{g_bytes + 158, 12}}},
413 {&grpc_static_metadata_refcounts[41], {{g_bytes + 521, 16}}}},
414 {{&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
415 {&grpc_static_metadata_refcounts[42], {{g_bytes + 537, 4}}}},
416 {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
417 {&grpc_static_metadata_refcounts[43], {{g_bytes + 541, 3}}}},
418 {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
419 {&grpc_static_metadata_refcounts[44], {{g_bytes + 544, 3}}}},
420 {{&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
421 {&grpc_static_metadata_refcounts[45], {{g_bytes + 547, 4}}}},
422 {{&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
423 {&grpc_static_metadata_refcounts[46], {{g_bytes + 551, 5}}}},
424 {{&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
425 {&grpc_static_metadata_refcounts[47], {{g_bytes + 556, 4}}}},
426 {{&grpc_static_metadata_refcounts[3], {{g_bytes + 19, 10}}},
427 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
428 {{&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
429 {&grpc_static_metadata_refcounts[48], {{g_bytes + 560, 3}}}},
430 {{&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
431 {&grpc_static_metadata_refcounts[49], {{g_bytes + 563, 3}}}},
432 {{&grpc_static_metadata_refcounts[0], {{g_bytes + 0, 5}}},
433 {&grpc_static_metadata_refcounts[50], {{g_bytes + 566, 1}}}},
434 {{&grpc_static_metadata_refcounts[0], {{g_bytes + 0, 5}}},
435 {&grpc_static_metadata_refcounts[51], {{g_bytes + 567, 11}}}},
436 {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
437 {&grpc_static_metadata_refcounts[52], {{g_bytes + 578, 3}}}},
438 {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
439 {&grpc_static_metadata_refcounts[53], {{g_bytes + 581, 3}}}},
440 {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
441 {&grpc_static_metadata_refcounts[54], {{g_bytes + 584, 3}}}},
442 {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
443 {&grpc_static_metadata_refcounts[55], {{g_bytes + 587, 3}}}},
444 {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
445 {&grpc_static_metadata_refcounts[56], {{g_bytes + 590, 3}}}},
446 {{&grpc_static_metadata_refcounts[57], {{g_bytes + 593, 14}}},
447 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
448 {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
449 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
450 {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
451 {&grpc_static_metadata_refcounts[58], {{g_bytes + 607, 13}}}},
452 {{&grpc_static_metadata_refcounts[59], {{g_bytes + 620, 15}}},
453 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
454 {{&grpc_static_metadata_refcounts[60], {{g_bytes + 635, 13}}},
455 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
456 {{&grpc_static_metadata_refcounts[61], {{g_bytes + 648, 6}}},
457 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
458 {{&grpc_static_metadata_refcounts[62], {{g_bytes + 654, 27}}},
459 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
460 {{&grpc_static_metadata_refcounts[63], {{g_bytes + 681, 3}}},
461 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
462 {{&grpc_static_metadata_refcounts[64], {{g_bytes + 684, 5}}},
463 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
464 {{&grpc_static_metadata_refcounts[65], {{g_bytes + 689, 13}}},
465 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
466 {{&grpc_static_metadata_refcounts[66], {{g_bytes + 702, 13}}},
467 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
468 {{&grpc_static_metadata_refcounts[67], {{g_bytes + 715, 19}}},
469 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
470 {{&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
471 {&grpc_static_metadata_refcounts[39], {{g_bytes + 505, 8}}}},
472 {{&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
473 {&grpc_static_metadata_refcounts[36], {{g_bytes + 489, 4}}}},
474 {{&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
475 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
476 {{&grpc_static_metadata_refcounts[68], {{g_bytes + 734, 16}}},
477 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
478 {{&grpc_static_metadata_refcounts[69], {{g_bytes + 750, 14}}},
479 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
480 {{&grpc_static_metadata_refcounts[70], {{g_bytes + 764, 16}}},
481 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
482 {{&grpc_static_metadata_refcounts[71], {{g_bytes + 780, 13}}},
483 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
484 {{&grpc_static_metadata_refcounts[14], {{g_bytes + 158, 12}}},
485 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
486 {{&grpc_static_metadata_refcounts[72], {{g_bytes + 793, 6}}},
487 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
488 {{&grpc_static_metadata_refcounts[73], {{g_bytes + 799, 4}}},
489 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
490 {{&grpc_static_metadata_refcounts[74], {{g_bytes + 803, 4}}},
491 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
492 {{&grpc_static_metadata_refcounts[75], {{g_bytes + 807, 6}}},
493 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
494 {{&grpc_static_metadata_refcounts[76], {{g_bytes + 813, 7}}},
495 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
496 {{&grpc_static_metadata_refcounts[77], {{g_bytes + 820, 4}}},
497 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
498 {{&grpc_static_metadata_refcounts[20], {{g_bytes + 278, 4}}},
499 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
500 {{&grpc_static_metadata_refcounts[78], {{g_bytes + 824, 8}}},
501 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
502 {{&grpc_static_metadata_refcounts[79], {{g_bytes + 832, 17}}},
503 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
504 {{&grpc_static_metadata_refcounts[80], {{g_bytes + 849, 13}}},
505 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
506 {{&grpc_static_metadata_refcounts[81], {{g_bytes + 862, 8}}},
507 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
508 {{&grpc_static_metadata_refcounts[82], {{g_bytes + 870, 19}}},
509 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
510 {{&grpc_static_metadata_refcounts[83], {{g_bytes + 889, 13}}},
511 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
512 {{&grpc_static_metadata_refcounts[21], {{g_bytes + 282, 8}}},
513 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
514 {{&grpc_static_metadata_refcounts[84], {{g_bytes + 902, 11}}},
515 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
516 {{&grpc_static_metadata_refcounts[85], {{g_bytes + 913, 4}}},
517 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
518 {{&grpc_static_metadata_refcounts[86], {{g_bytes + 917, 8}}},
519 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
520 {{&grpc_static_metadata_refcounts[87], {{g_bytes + 925, 12}}},
521 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
522 {{&grpc_static_metadata_refcounts[88], {{g_bytes + 937, 18}}},
523 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
524 {{&grpc_static_metadata_refcounts[89], {{g_bytes + 955, 19}}},
525 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
526 {{&grpc_static_metadata_refcounts[90], {{g_bytes + 974, 5}}},
527 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
528 {{&grpc_static_metadata_refcounts[91], {{g_bytes + 979, 7}}},
529 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
530 {{&grpc_static_metadata_refcounts[92], {{g_bytes + 986, 7}}},
531 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
532 {{&grpc_static_metadata_refcounts[93], {{g_bytes + 993, 11}}},
533 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
534 {{&grpc_static_metadata_refcounts[94], {{g_bytes + 1004, 6}}},
535 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
536 {{&grpc_static_metadata_refcounts[95], {{g_bytes + 1010, 10}}},
537 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
538 {{&grpc_static_metadata_refcounts[96], {{g_bytes + 1020, 25}}},
539 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
540 {{&grpc_static_metadata_refcounts[97], {{g_bytes + 1045, 17}}},
541 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
542 {{&grpc_static_metadata_refcounts[19], {{g_bytes + 268, 10}}},
543 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
544 {{&grpc_static_metadata_refcounts[98], {{g_bytes + 1062, 4}}},
545 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
546 {{&grpc_static_metadata_refcounts[99], {{g_bytes + 1066, 3}}},
547 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
548 {{&grpc_static_metadata_refcounts[100], {{g_bytes + 1069, 16}}},
549 {&grpc_static_metadata_refcounts[29], {{g_bytes + 354, 0}}}},
550 {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
551 {&grpc_static_metadata_refcounts[39], {{g_bytes + 505, 8}}}},
552 {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
553 {&grpc_static_metadata_refcounts[35], {{g_bytes + 482, 7}}}},
554 {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
555 {&grpc_static_metadata_refcounts[101], {{g_bytes + 1085, 16}}}},
556 {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
557 {&grpc_static_metadata_refcounts[36], {{g_bytes + 489, 4}}}},
558 {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
559 {&grpc_static_metadata_refcounts[102], {{g_bytes + 1101, 13}}}},
560 {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
561 {&grpc_static_metadata_refcounts[103], {{g_bytes + 1114, 12}}}},
562 {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
563 {&grpc_static_metadata_refcounts[104], {{g_bytes + 1126, 21}}}},
564 {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
565 {&grpc_static_metadata_refcounts[39], {{g_bytes + 505, 8}}}},
566 {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
567 {&grpc_static_metadata_refcounts[36], {{g_bytes + 489, 4}}}},
568 {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
569 {&grpc_static_metadata_refcounts[102], {{g_bytes + 1101, 13}}}},
570 };
571 const uint8_t grpc_static_accept_encoding_metadata[8] = {0, 76, 77, 78,
572 79, 80, 81, 82};
573
574 const uint8_t grpc_static_accept_stream_encoding_metadata[4] = {0, 83, 84, 85};
575