grpc 1.6.7 → 1.7.0.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +579 -77
  3. data/include/grpc/byte_buffer.h +1 -63
  4. data/include/grpc/compression.h +27 -5
  5. data/include/grpc/fork.h +24 -0
  6. data/include/grpc/grpc.h +12 -6
  7. data/include/grpc/grpc_security.h +28 -7
  8. data/include/grpc/impl/codegen/atm.h +1 -0
  9. data/include/grpc/impl/codegen/byte_buffer.h +86 -0
  10. data/include/grpc/impl/codegen/compression_types.h +63 -5
  11. data/include/grpc/impl/codegen/fork.h +48 -0
  12. data/include/grpc/impl/codegen/grpc_types.h +26 -9
  13. data/include/grpc/impl/codegen/port_platform.h +11 -4
  14. data/include/grpc/impl/codegen/slice.h +6 -1
  15. data/include/grpc/impl/codegen/sync.h +3 -1
  16. data/include/grpc/impl/codegen/sync_custom.h +36 -0
  17. data/include/grpc/module.modulemap +75 -3
  18. data/include/grpc/slice.h +1 -5
  19. data/include/grpc/support/sync_custom.h +24 -0
  20. data/src/core/ext/census/base_resources.c +14 -14
  21. data/src/core/ext/census/context.c +7 -5
  22. data/src/core/ext/census/grpc_filter.c +12 -14
  23. data/src/core/ext/census/mlog.c +2 -1
  24. data/src/core/ext/census/resource.c +13 -9
  25. data/src/core/ext/filters/client_channel/channel_connectivity.c +15 -8
  26. data/src/core/ext/filters/client_channel/client_channel.c +418 -439
  27. data/src/core/ext/filters/client_channel/client_channel_factory.c +4 -5
  28. data/src/core/ext/filters/client_channel/client_channel_plugin.c +2 -2
  29. data/src/core/ext/filters/client_channel/http_connect_handshaker.c +7 -5
  30. data/src/core/ext/filters/client_channel/http_proxy.c +17 -21
  31. data/src/core/ext/filters/client_channel/lb_policy.c +1 -1
  32. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +7 -7
  33. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +371 -257
  34. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +7 -5
  35. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +25 -14
  36. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +16 -16
  37. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +33 -28
  38. data/src/core/ext/filters/client_channel/lb_policy_factory.c +10 -8
  39. data/src/core/ext/filters/client_channel/lb_policy_factory.h +1 -1
  40. data/src/core/ext/filters/client_channel/proxy_mapper_registry.c +1 -1
  41. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c +7 -6
  42. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c +62 -28
  43. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c +29 -23
  44. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c +25 -14
  45. data/src/core/ext/filters/client_channel/retry_throttle.c +9 -6
  46. data/src/core/ext/filters/client_channel/subchannel.c +30 -30
  47. data/src/core/ext/filters/client_channel/subchannel.h +1 -4
  48. data/src/core/ext/filters/client_channel/subchannel_index.c +31 -15
  49. data/src/core/ext/filters/client_channel/subchannel_index.h +7 -0
  50. data/src/core/ext/filters/client_channel/uri_parser.c +4 -3
  51. data/src/core/ext/filters/deadline/deadline_filter.c +78 -39
  52. data/src/core/ext/filters/deadline/deadline_filter.h +7 -1
  53. data/src/core/ext/filters/http/client/http_client_filter.c +14 -14
  54. data/src/core/ext/filters/http/http_filters_plugin.c +1 -1
  55. data/src/core/ext/filters/http/message_compress/message_compress_filter.c +240 -175
  56. data/src/core/ext/filters/http/server/http_server_filter.c +48 -36
  57. data/src/core/ext/filters/load_reporting/{load_reporting_filter.c → server_load_reporting_filter.c} +11 -12
  58. data/src/core/ext/filters/load_reporting/{load_reporting_filter.h → server_load_reporting_filter.h} +6 -5
  59. data/src/core/ext/filters/load_reporting/{load_reporting.c → server_load_reporting_plugin.c} +19 -13
  60. data/src/core/ext/filters/load_reporting/{load_reporting.h → server_load_reporting_plugin.h} +4 -3
  61. data/src/core/ext/filters/max_age/max_age_filter.c +2 -3
  62. data/src/core/ext/filters/message_size/message_size_filter.c +4 -2
  63. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c +0 -1
  64. data/src/core/ext/transport/chttp2/client/chttp2_connector.c +5 -5
  65. data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
  66. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c +1 -1
  67. data/src/core/ext/transport/chttp2/server/chttp2_server.c +20 -18
  68. data/src/core/ext/transport/chttp2/transport/chttp2_plugin.c +1 -0
  69. data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +493 -210
  70. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
  71. data/src/core/ext/transport/chttp2/transport/flow_control.c +9 -8
  72. data/src/core/ext/transport/chttp2/transport/frame_data.c +2 -2
  73. data/src/core/ext/transport/chttp2/transport/frame_goaway.c +2 -2
  74. data/src/core/ext/transport/chttp2/transport/frame_ping.c +5 -4
  75. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
  76. data/src/core/ext/transport/chttp2/transport/frame_settings.c +10 -9
  77. data/src/core/ext/transport/chttp2/transport/frame_window_update.c +9 -5
  78. data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +62 -41
  79. data/src/core/ext/transport/chttp2/transport/hpack_parser.c +52 -8
  80. data/src/core/ext/transport/chttp2/transport/hpack_table.c +2 -2
  81. data/src/core/ext/transport/chttp2/transport/incoming_metadata.c +3 -2
  82. data/src/core/ext/transport/chttp2/transport/internal.h +60 -30
  83. data/src/core/ext/transport/chttp2/transport/parsing.c +16 -5
  84. data/src/core/ext/transport/chttp2/transport/stream_lists.c +36 -16
  85. data/src/core/ext/transport/chttp2/transport/stream_map.c +6 -4
  86. data/src/core/ext/transport/chttp2/transport/writing.c +133 -105
  87. data/src/core/ext/transport/inproc/inproc_transport.c +61 -65
  88. data/src/core/lib/channel/channel_args.c +112 -12
  89. data/src/core/lib/channel/channel_args.h +31 -0
  90. data/src/core/lib/channel/channel_stack.c +1 -15
  91. data/src/core/lib/channel/channel_stack.h +3 -10
  92. data/src/core/lib/channel/channel_stack_builder.c +41 -10
  93. data/src/core/lib/channel/channel_stack_builder.h +10 -0
  94. data/src/core/lib/channel/connected_channel.c +94 -23
  95. data/src/core/lib/channel/handshaker.c +8 -6
  96. data/src/core/lib/channel/handshaker_registry.c +1 -1
  97. data/src/core/lib/compression/algorithm_metadata.h +14 -0
  98. data/src/core/lib/compression/compression.c +101 -1
  99. data/src/core/lib/compression/stream_compression.c +32 -146
  100. data/src/core/lib/compression/stream_compression.h +28 -4
  101. data/src/core/lib/compression/stream_compression_gzip.c +228 -0
  102. data/src/core/lib/{iomgr/ev_epoll_thread_pool_linux.h → compression/stream_compression_gzip.h} +5 -7
  103. data/src/core/lib/compression/stream_compression_identity.c +94 -0
  104. data/src/core/lib/{iomgr/ev_epoll_limited_pollers_linux.h → compression/stream_compression_identity.h} +7 -8
  105. data/src/core/lib/debug/stats.c +174 -0
  106. data/src/core/lib/debug/stats.h +61 -0
  107. data/src/core/lib/debug/stats_data.c +687 -0
  108. data/src/core/lib/debug/stats_data.h +470 -0
  109. data/src/core/lib/debug/trace.c +3 -3
  110. data/src/core/lib/debug/trace.h +1 -1
  111. data/src/core/lib/http/format_request.c +1 -1
  112. data/src/core/lib/http/httpcli.c +8 -7
  113. data/src/core/lib/http/httpcli_security_connector.c +2 -1
  114. data/src/core/lib/http/parser.c +4 -3
  115. data/src/core/lib/iomgr/call_combiner.c +202 -0
  116. data/src/core/lib/iomgr/call_combiner.h +121 -0
  117. data/src/core/lib/iomgr/closure.c +18 -4
  118. data/src/core/lib/iomgr/combiner.c +11 -4
  119. data/src/core/lib/iomgr/error.c +26 -24
  120. data/src/core/lib/iomgr/ev_epoll1_linux.c +395 -212
  121. data/src/core/lib/iomgr/ev_epollex_linux.c +141 -128
  122. data/src/core/lib/iomgr/ev_epollsig_linux.c +44 -41
  123. data/src/core/lib/iomgr/ev_poll_posix.c +99 -75
  124. data/src/core/lib/iomgr/ev_posix.c +5 -9
  125. data/src/core/lib/iomgr/ev_posix.h +1 -1
  126. data/src/core/lib/iomgr/exec_ctx.h +6 -1
  127. data/src/core/lib/iomgr/executor.c +142 -36
  128. data/src/core/lib/iomgr/executor.h +6 -1
  129. data/src/core/lib/iomgr/fork_posix.c +88 -0
  130. data/src/core/lib/iomgr/fork_windows.c +39 -0
  131. data/src/core/lib/iomgr/iocp_windows.c +2 -0
  132. data/src/core/lib/iomgr/iomgr.c +2 -8
  133. data/src/core/lib/iomgr/is_epollexclusive_available.c +6 -6
  134. data/src/core/lib/iomgr/load_file.c +2 -1
  135. data/src/core/lib/iomgr/polling_entity.c +9 -9
  136. data/src/core/lib/iomgr/polling_entity.h +7 -1
  137. data/src/core/lib/iomgr/pollset.h +1 -1
  138. data/src/core/lib/iomgr/pollset_uv.c +1 -1
  139. data/src/core/lib/iomgr/pollset_windows.c +3 -3
  140. data/src/core/lib/iomgr/port.h +4 -0
  141. data/src/core/lib/iomgr/resolve_address_posix.c +8 -7
  142. data/src/core/lib/iomgr/resolve_address_windows.c +1 -1
  143. data/src/core/lib/iomgr/resource_quota.c +24 -19
  144. data/src/core/lib/iomgr/socket_factory_posix.c +4 -4
  145. data/src/core/lib/iomgr/socket_mutator.c +4 -4
  146. data/src/core/lib/iomgr/socket_utils_windows.c +0 -4
  147. data/src/core/lib/iomgr/tcp_client_posix.c +5 -4
  148. data/src/core/lib/iomgr/tcp_posix.c +181 -20
  149. data/src/core/lib/iomgr/tcp_server_posix.c +8 -7
  150. data/src/core/lib/iomgr/tcp_server_utils_posix_common.c +1 -1
  151. data/src/core/lib/iomgr/timer.h +4 -0
  152. data/src/core/lib/iomgr/timer_generic.c +138 -3
  153. data/src/core/lib/iomgr/timer_generic.h +3 -0
  154. data/src/core/lib/iomgr/timer_heap.c +4 -4
  155. data/src/core/lib/iomgr/timer_manager.c +2 -2
  156. data/src/core/lib/iomgr/timer_uv.c +2 -0
  157. data/src/core/lib/iomgr/udp_server.c +10 -8
  158. data/src/core/lib/iomgr/unix_sockets_posix.c +4 -2
  159. data/src/core/lib/iomgr/wakeup_fd_cv.c +9 -8
  160. data/src/core/lib/iomgr/wakeup_fd_cv.h +2 -2
  161. data/src/core/lib/json/json.c +1 -1
  162. data/src/core/lib/json/json_string.c +13 -13
  163. data/src/core/lib/profiling/timers.h +18 -8
  164. data/src/core/lib/security/credentials/composite/composite_credentials.c +4 -10
  165. data/src/core/lib/security/credentials/google_default/google_default_credentials.c +2 -1
  166. data/src/core/lib/security/credentials/jwt/jwt_verifier.c +11 -6
  167. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +4 -4
  168. data/src/core/lib/security/credentials/plugin/plugin_credentials.c +132 -50
  169. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +2 -0
  170. data/src/core/lib/security/transport/client_auth_filter.c +68 -135
  171. data/src/core/lib/security/transport/secure_endpoint.c +110 -90
  172. data/src/core/lib/security/transport/secure_endpoint.h +8 -3
  173. data/src/core/lib/security/transport/security_connector.c +10 -12
  174. data/src/core/lib/security/transport/security_handshaker.c +45 -24
  175. data/src/core/lib/security/transport/server_auth_filter.c +71 -20
  176. data/src/core/lib/slice/b64.c +2 -2
  177. data/src/core/lib/slice/slice.c +16 -14
  178. data/src/core/lib/slice/slice_buffer.c +5 -4
  179. data/src/core/lib/slice/slice_hash_table.c +3 -2
  180. data/src/core/lib/slice/slice_intern.c +8 -5
  181. data/src/core/lib/support/block_annotate.h +22 -0
  182. data/src/core/lib/support/fork.c +62 -0
  183. data/src/core/lib/support/fork.h +35 -0
  184. data/src/core/lib/support/log_linux.c +1 -1
  185. data/src/core/lib/support/string.c +15 -1
  186. data/src/core/lib/support/string.h +3 -0
  187. data/src/core/lib/support/thd_internal.h +6 -0
  188. data/src/core/lib/support/thd_posix.c +56 -0
  189. data/src/core/lib/support/thd_windows.c +2 -0
  190. data/src/core/lib/surface/alarm.c +22 -15
  191. data/src/core/lib/surface/byte_buffer.c +4 -2
  192. data/src/core/lib/surface/call.c +442 -141
  193. data/src/core/lib/surface/call.h +6 -6
  194. data/src/core/lib/surface/call_log_batch.c +1 -1
  195. data/src/core/lib/surface/call_test_only.h +12 -0
  196. data/src/core/lib/surface/channel.c +39 -4
  197. data/src/core/lib/surface/channel_init.c +6 -6
  198. data/src/core/lib/surface/channel_ping.c +2 -2
  199. data/src/core/lib/surface/completion_queue.c +56 -57
  200. data/src/core/lib/surface/init.c +17 -3
  201. data/src/core/lib/surface/init_secure.c +5 -1
  202. data/src/core/lib/surface/lame_client.cc +9 -10
  203. data/src/core/lib/surface/server.c +81 -72
  204. data/src/core/lib/surface/version.c +2 -2
  205. data/src/core/lib/transport/byte_stream.c +1 -0
  206. data/src/core/lib/transport/byte_stream.h +3 -1
  207. data/src/core/lib/transport/connectivity_state.c +2 -1
  208. data/src/core/lib/transport/metadata.c +7 -4
  209. data/src/core/lib/transport/metadata_batch.c +18 -16
  210. data/src/core/lib/transport/metadata_batch.h +1 -0
  211. data/src/core/lib/transport/service_config.c +5 -3
  212. data/src/core/lib/transport/static_metadata.c +395 -614
  213. data/src/core/lib/transport/static_metadata.h +165 -133
  214. data/src/core/lib/transport/status_conversion.c +1 -1
  215. data/src/core/lib/transport/transport.c +20 -20
  216. data/src/core/lib/transport/transport.h +8 -5
  217. data/src/core/lib/transport/transport_impl.h +0 -3
  218. data/src/core/lib/transport/transport_op_string.c +8 -1
  219. data/src/core/plugin_registry/grpc_plugin_registry.c +4 -4
  220. data/src/core/tsi/fake_transport_security.c +133 -2
  221. data/src/core/tsi/fake_transport_security.h +5 -0
  222. data/src/core/tsi/ssl_transport_security.c +105 -8
  223. data/src/core/tsi/ssl_transport_security.h +30 -7
  224. data/src/core/tsi/transport_security.h +8 -2
  225. data/src/core/tsi/transport_security_grpc.c +20 -13
  226. data/src/core/tsi/transport_security_grpc.h +13 -9
  227. data/src/ruby/ext/grpc/rb_call_credentials.c +6 -2
  228. data/src/ruby/ext/grpc/rb_grpc.c +1 -1
  229. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +30 -20
  230. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +50 -35
  231. data/src/ruby/lib/grpc.rb +1 -0
  232. data/src/ruby/lib/grpc/generic/active_call.rb +34 -9
  233. data/src/ruby/lib/grpc/generic/bidi_call.rb +19 -10
  234. data/src/ruby/lib/grpc/generic/client_stub.rb +95 -38
  235. data/src/ruby/lib/grpc/generic/interceptor_registry.rb +53 -0
  236. data/src/ruby/lib/grpc/generic/interceptors.rb +186 -0
  237. data/src/ruby/lib/grpc/generic/rpc_desc.rb +66 -20
  238. data/src/ruby/lib/grpc/generic/rpc_server.rb +15 -3
  239. data/src/ruby/lib/grpc/google_rpc_status_utils.rb +1 -2
  240. data/src/ruby/lib/grpc/version.rb +1 -1
  241. data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +1 -0
  242. data/src/ruby/spec/channel_connection_spec.rb +1 -34
  243. data/src/ruby/spec/client_server_spec.rb +188 -82
  244. data/src/ruby/spec/generic/active_call_spec.rb +65 -11
  245. data/src/ruby/spec/generic/client_interceptors_spec.rb +153 -0
  246. data/src/ruby/spec/generic/interceptor_registry_spec.rb +65 -0
  247. data/src/ruby/spec/generic/rpc_desc_spec.rb +38 -0
  248. data/src/ruby/spec/generic/rpc_server_spec.rb +1 -34
  249. data/src/ruby/spec/generic/server_interceptors_spec.rb +218 -0
  250. data/src/ruby/spec/spec_helper.rb +4 -0
  251. data/src/ruby/spec/support/helpers.rb +73 -0
  252. data/src/ruby/spec/support/services.rb +147 -0
  253. data/third_party/cares/ares_build.h +21 -62
  254. data/third_party/cares/cares/ares.h +23 -1
  255. data/third_party/cares/cares/ares__close_sockets.c +2 -2
  256. data/third_party/cares/cares/ares_create_query.c +3 -3
  257. data/third_party/cares/cares/ares_expand_name.c +6 -2
  258. data/third_party/cares/cares/ares_expand_string.c +1 -1
  259. data/third_party/cares/cares/ares_getnameinfo.c +27 -7
  260. data/third_party/cares/cares/ares_init.c +407 -39
  261. data/third_party/cares/cares/ares_library_init.c +10 -0
  262. data/third_party/cares/cares/ares_library_init.h +2 -1
  263. data/third_party/cares/cares/ares_nowarn.c +6 -6
  264. data/third_party/cares/cares/ares_nowarn.h +2 -2
  265. data/third_party/cares/cares/ares_parse_naptr_reply.c +6 -1
  266. data/third_party/cares/cares/ares_private.h +11 -0
  267. data/third_party/cares/cares/ares_process.c +126 -37
  268. data/third_party/cares/cares/ares_version.h +2 -2
  269. data/third_party/cares/cares/ares_writev.c +2 -2
  270. data/third_party/cares/cares/config-win32.h +8 -34
  271. data/third_party/cares/cares/inet_net_pton.c +2 -2
  272. data/third_party/cares/cares/setup_once.h +5 -5
  273. data/third_party/cares/config_darwin/ares_config.h +98 -196
  274. data/third_party/cares/config_linux/ares_config.h +103 -203
  275. metadata +47 -20
  276. data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +0 -1957
  277. data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.c +0 -1182
@@ -21,6 +21,6 @@
21
21
 
22
22
  #include <grpc/grpc.h>
23
23
 
24
- const char *grpc_version_string(void) { return "4.0.0"; }
24
+ const char *grpc_version_string(void) { return "5.0.0-dev"; }
25
25
 
26
- const char *grpc_g_stands_for(void) { return "garcia"; }
26
+ const char *grpc_g_stands_for(void) { return "gambit"; }
@@ -85,6 +85,7 @@ static void slice_buffer_stream_shutdown(grpc_exec_ctx *exec_ctx,
85
85
  static void slice_buffer_stream_destroy(grpc_exec_ctx *exec_ctx,
86
86
  grpc_byte_stream *byte_stream) {
87
87
  grpc_slice_buffer_stream *stream = (grpc_slice_buffer_stream *)byte_stream;
88
+ grpc_slice_buffer_reset_and_unref_internal(exec_ctx, stream->backing_buffer);
88
89
  GRPC_ERROR_UNREF(stream->shutdown_error);
89
90
  }
90
91
 
@@ -81,7 +81,9 @@ void grpc_byte_stream_destroy(grpc_exec_ctx *exec_ctx,
81
81
 
82
82
  // grpc_slice_buffer_stream
83
83
  //
84
- // A grpc_byte_stream that wraps a slice buffer.
84
+ // A grpc_byte_stream that wraps a slice buffer. The stream takes
85
+ // ownership of the slices in the buffer, and on destruction will
86
+ // reset the contents of the buffer.
85
87
 
86
88
  typedef struct grpc_slice_buffer_stream {
87
89
  grpc_byte_stream base;
@@ -148,7 +148,8 @@ bool grpc_connectivity_state_notify_on_state_change(
148
148
  GRPC_CLOSURE_SCHED(exec_ctx, notify,
149
149
  GRPC_ERROR_REF(tracker->current_error));
150
150
  } else {
151
- grpc_connectivity_state_watcher *w = gpr_malloc(sizeof(*w));
151
+ grpc_connectivity_state_watcher *w =
152
+ (grpc_connectivity_state_watcher *)gpr_malloc(sizeof(*w));
152
153
  w->current = current;
153
154
  w->notify = notify;
154
155
  w->next = tracker->watchers;
@@ -117,7 +117,8 @@ void grpc_mdctx_global_init(void) {
117
117
  shard->count = 0;
118
118
  gpr_atm_no_barrier_store(&shard->free_estimate, 0);
119
119
  shard->capacity = INITIAL_SHARD_CAPACITY;
120
- shard->elems = gpr_zalloc(sizeof(*shard->elems) * shard->capacity);
120
+ shard->elems = (interned_metadata **)gpr_zalloc(sizeof(*shard->elems) *
121
+ shard->capacity);
121
122
  }
122
123
  }
123
124
 
@@ -204,7 +205,8 @@ static void grow_mdtab(mdtab_shard *shard) {
204
205
 
205
206
  GPR_TIMER_BEGIN("grow_mdtab", 0);
206
207
 
207
- mdtab = gpr_zalloc(sizeof(interned_metadata *) * capacity);
208
+ mdtab =
209
+ (interned_metadata **)gpr_zalloc(sizeof(interned_metadata *) * capacity);
208
210
 
209
211
  for (i = 0; i < shard->capacity; i++) {
210
212
  for (md = shard->elems[i]; md; md = next) {
@@ -243,7 +245,8 @@ grpc_mdelem grpc_mdelem_create(
243
245
  GRPC_MDELEM_STORAGE_EXTERNAL);
244
246
  }
245
247
 
246
- allocated_metadata *allocated = gpr_malloc(sizeof(*allocated));
248
+ allocated_metadata *allocated =
249
+ (allocated_metadata *)gpr_malloc(sizeof(*allocated));
247
250
  allocated->key = grpc_slice_ref_internal(key);
248
251
  allocated->value = grpc_slice_ref_internal(value);
249
252
  gpr_atm_rel_store(&allocated->refcnt, 1);
@@ -292,7 +295,7 @@ grpc_mdelem grpc_mdelem_create(
292
295
  }
293
296
 
294
297
  /* not found: create a new pair */
295
- md = gpr_malloc(sizeof(interned_metadata));
298
+ md = (interned_metadata *)gpr_malloc(sizeof(interned_metadata));
296
299
  gpr_atm_rel_store(&md->refcnt, 1);
297
300
  md->key = grpc_slice_ref_internal(key);
298
301
  md->value = grpc_slice_ref_internal(value);
@@ -105,6 +105,7 @@ static grpc_error *maybe_link_callout(grpc_metadata_batch *batch,
105
105
  return GRPC_ERROR_NONE;
106
106
  }
107
107
  if (batch->idx.array[idx] == NULL) {
108
+ if (grpc_static_callout_is_default[idx]) ++batch->list.default_count;
108
109
  batch->idx.array[idx] = storage;
109
110
  return GRPC_ERROR_NONE;
110
111
  }
@@ -120,6 +121,7 @@ static void maybe_unlink_callout(grpc_metadata_batch *batch,
120
121
  if (idx == GRPC_BATCH_CALLOUTS_COUNT) {
121
122
  return;
122
123
  }
124
+ if (grpc_static_callout_is_default[idx]) --batch->list.default_count;
123
125
  GPR_ASSERT(batch->idx.array[idx] != NULL);
124
126
  batch->idx.array[idx] = NULL;
125
127
  }
@@ -231,32 +233,32 @@ void grpc_metadata_batch_remove(grpc_exec_ctx *exec_ctx,
231
233
  void grpc_metadata_batch_set_value(grpc_exec_ctx *exec_ctx,
232
234
  grpc_linked_mdelem *storage,
233
235
  grpc_slice value) {
234
- grpc_mdelem old = storage->md;
235
- grpc_mdelem new = grpc_mdelem_from_slices(
236
- exec_ctx, grpc_slice_ref_internal(GRPC_MDKEY(old)), value);
237
- storage->md = new;
238
- GRPC_MDELEM_UNREF(exec_ctx, old);
236
+ grpc_mdelem old_mdelem = storage->md;
237
+ grpc_mdelem new_mdelem = grpc_mdelem_from_slices(
238
+ exec_ctx, grpc_slice_ref_internal(GRPC_MDKEY(old_mdelem)), value);
239
+ storage->md = new_mdelem;
240
+ GRPC_MDELEM_UNREF(exec_ctx, old_mdelem);
239
241
  }
240
242
 
241
243
  grpc_error *grpc_metadata_batch_substitute(grpc_exec_ctx *exec_ctx,
242
244
  grpc_metadata_batch *batch,
243
245
  grpc_linked_mdelem *storage,
244
- grpc_mdelem new) {
246
+ grpc_mdelem new_mdelem) {
245
247
  assert_valid_callouts(exec_ctx, batch);
246
248
  grpc_error *error = GRPC_ERROR_NONE;
247
- grpc_mdelem old = storage->md;
248
- if (!grpc_slice_eq(GRPC_MDKEY(new), GRPC_MDKEY(old))) {
249
+ grpc_mdelem old_mdelem = storage->md;
250
+ if (!grpc_slice_eq(GRPC_MDKEY(new_mdelem), GRPC_MDKEY(old_mdelem))) {
249
251
  maybe_unlink_callout(batch, storage);
250
- storage->md = new;
252
+ storage->md = new_mdelem;
251
253
  error = maybe_link_callout(batch, storage);
252
254
  if (error != GRPC_ERROR_NONE) {
253
255
  unlink_storage(&batch->list, storage);
254
256
  GRPC_MDELEM_UNREF(exec_ctx, storage->md);
255
257
  }
256
258
  } else {
257
- storage->md = new;
259
+ storage->md = new_mdelem;
258
260
  }
259
- GRPC_MDELEM_UNREF(exec_ctx, old);
261
+ GRPC_MDELEM_UNREF(exec_ctx, old_mdelem);
260
262
  assert_valid_callouts(exec_ctx, batch);
261
263
  return error;
262
264
  }
@@ -300,12 +302,12 @@ grpc_error *grpc_metadata_batch_filter(grpc_exec_ctx *exec_ctx,
300
302
  grpc_error *error = GRPC_ERROR_NONE;
301
303
  while (l) {
302
304
  grpc_linked_mdelem *next = l->next;
303
- grpc_filtered_mdelem new = func(exec_ctx, user_data, l->md);
304
- add_error(&error, new.error, composite_error_string);
305
- if (GRPC_MDISNULL(new.md)) {
305
+ grpc_filtered_mdelem new_mdelem = func(exec_ctx, user_data, l->md);
306
+ add_error(&error, new_mdelem.error, composite_error_string);
307
+ if (GRPC_MDISNULL(new_mdelem.md)) {
306
308
  grpc_metadata_batch_remove(exec_ctx, batch, l);
307
- } else if (new.md.payload != l->md.payload) {
308
- grpc_metadata_batch_substitute(exec_ctx, batch, l, new.md);
309
+ } else if (new_mdelem.md.payload != l->md.payload) {
310
+ grpc_metadata_batch_substitute(exec_ctx, batch, l, new_mdelem.md);
309
311
  }
310
312
  l = next;
311
313
  }
@@ -41,6 +41,7 @@ typedef struct grpc_linked_mdelem {
41
41
 
42
42
  typedef struct grpc_mdelem_list {
43
43
  size_t count;
44
+ size_t default_count; // Number of default keys.
44
45
  grpc_linked_mdelem *head;
45
46
  grpc_linked_mdelem *tail;
46
47
  } grpc_mdelem_list;
@@ -59,7 +59,8 @@ struct grpc_service_config {
59
59
  };
60
60
 
61
61
  grpc_service_config* grpc_service_config_create(const char* json_string) {
62
- grpc_service_config* service_config = gpr_malloc(sizeof(*service_config));
62
+ grpc_service_config* service_config =
63
+ (grpc_service_config*)gpr_malloc(sizeof(*service_config));
63
64
  service_config->json_string = gpr_strdup(json_string);
64
65
  service_config->json_tree =
65
66
  grpc_json_parse_string(service_config->json_string);
@@ -198,7 +199,8 @@ grpc_slice_hash_table* grpc_service_config_create_method_config_table(
198
199
  num_entries += count_names_in_method_config_json(method);
199
200
  }
200
201
  // Populate method config table entries.
201
- entries = gpr_malloc(num_entries * sizeof(grpc_slice_hash_table_entry));
202
+ entries = (grpc_slice_hash_table_entry*)gpr_malloc(
203
+ num_entries * sizeof(grpc_slice_hash_table_entry));
202
204
  size_t idx = 0;
203
205
  for (grpc_json* method = field->child; method != NULL;
204
206
  method = method->next) {
@@ -230,7 +232,7 @@ void* grpc_method_config_table_get(grpc_exec_ctx* exec_ctx,
230
232
  char* path_str = grpc_slice_to_c_string(path);
231
233
  const char* sep = strrchr(path_str, '/') + 1;
232
234
  const size_t len = (size_t)(sep - path_str);
233
- char* buf = gpr_malloc(len + 2); // '*' and NUL
235
+ char* buf = (char*)gpr_malloc(len + 2); // '*' and NUL
234
236
  memcpy(buf, path_str, len);
235
237
  buf[len] = '*';
236
238
  buf[len + 1] = '\0';
@@ -40,65 +40,68 @@ static uint8_t g_bytes[] = {
40
40
  114, 45, 115, 116, 97, 116, 115, 45, 98, 105, 110, 103, 114, 112, 99,
41
41
  45, 116, 97, 103, 115, 45, 98, 105, 110, 103, 114, 112, 99, 45, 116,
42
42
  114, 97, 99, 101, 45, 98, 105, 110, 99, 111, 110, 116, 101, 110, 116,
43
- 45, 116, 121, 112, 101, 103, 114, 112, 99, 45, 105, 110, 116, 101, 114,
44
- 110, 97, 108, 45, 101, 110, 99, 111, 100, 105, 110, 103, 45, 114, 101,
45
- 113, 117, 101, 115, 116, 117, 115, 101, 114, 45, 97, 103, 101, 110, 116,
46
- 104, 111, 115, 116, 108, 98, 45, 116, 111, 107, 101, 110, 103, 114, 112,
47
- 99, 45, 116, 105, 109, 101, 111, 117, 116, 103, 114, 112, 99, 46, 119,
48
- 97, 105, 116, 95, 102, 111, 114, 95, 114, 101, 97, 100, 121, 103, 114,
49
- 112, 99, 46, 116, 105, 109, 101, 111, 117, 116, 103, 114, 112, 99, 46,
50
- 109, 97, 120, 95, 114, 101, 113, 117, 101, 115, 116, 95, 109, 101, 115,
51
- 115, 97, 103, 101, 95, 98, 121, 116, 101, 115, 103, 114, 112, 99, 46,
52
- 109, 97, 120, 95, 114, 101, 115, 112, 111, 110, 115, 101, 95, 109, 101,
53
- 115, 115, 97, 103, 101, 95, 98, 121, 116, 101, 115, 47, 103, 114, 112,
54
- 99, 46, 108, 98, 46, 118, 49, 46, 76, 111, 97, 100, 66, 97, 108,
55
- 97, 110, 99, 101, 114, 47, 66, 97, 108, 97, 110, 99, 101, 76, 111,
56
- 97, 100, 48, 49, 50, 105, 100, 101, 110, 116, 105, 116, 121, 103, 122,
57
- 105, 112, 100, 101, 102, 108, 97, 116, 101, 116, 114, 97, 105, 108, 101,
58
- 114, 115, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 103,
59
- 114, 112, 99, 80, 79, 83, 84, 50, 48, 48, 52, 48, 52, 104, 116,
60
- 116, 112, 104, 116, 116, 112, 115, 103, 114, 112, 99, 71, 69, 84, 80,
61
- 85, 84, 47, 47, 105, 110, 100, 101, 120, 46, 104, 116, 109, 108, 50,
62
- 48, 52, 50, 48, 54, 51, 48, 52, 52, 48, 48, 53, 48, 48, 97,
63
- 99, 99, 101, 112, 116, 45, 99, 104, 97, 114, 115, 101, 116, 97, 99,
64
- 99, 101, 112, 116, 45, 101, 110, 99, 111, 100, 105, 110, 103, 103, 122,
65
- 105, 112, 44, 32, 100, 101, 102, 108, 97, 116, 101, 97, 99, 99, 101,
66
- 112, 116, 45, 108, 97, 110, 103, 117, 97, 103, 101, 97, 99, 99, 101,
67
- 112, 116, 45, 114, 97, 110, 103, 101, 115, 97, 99, 99, 101, 112, 116,
68
- 97, 99, 99, 101, 115, 115, 45, 99, 111, 110, 116, 114, 111, 108, 45,
69
- 97, 108, 108, 111, 119, 45, 111, 114, 105, 103, 105, 110, 97, 103, 101,
70
- 97, 108, 108, 111, 119, 97, 117, 116, 104, 111, 114, 105, 122, 97, 116,
71
- 105, 111, 110, 99, 97, 99, 104, 101, 45, 99, 111, 110, 116, 114, 111,
72
- 108, 99, 111, 110, 116, 101, 110, 116, 45, 100, 105, 115, 112, 111, 115,
73
- 105, 116, 105, 111, 110, 99, 111, 110, 116, 101, 110, 116, 45, 101, 110,
74
- 99, 111, 100, 105, 110, 103, 99, 111, 110, 116, 101, 110, 116, 45, 108,
75
- 97, 110, 103, 117, 97, 103, 101, 99, 111, 110, 116, 101, 110, 116, 45,
76
- 108, 101, 110, 103, 116, 104, 99, 111, 110, 116, 101, 110, 116, 45, 108,
77
- 111, 99, 97, 116, 105, 111, 110, 99, 111, 110, 116, 101, 110, 116, 45,
78
- 114, 97, 110, 103, 101, 99, 111, 111, 107, 105, 101, 100, 97, 116, 101,
79
- 101, 116, 97, 103, 101, 120, 112, 101, 99, 116, 101, 120, 112, 105, 114,
80
- 101, 115, 102, 114, 111, 109, 105, 102, 45, 109, 97, 116, 99, 104, 105,
81
- 102, 45, 109, 111, 100, 105, 102, 105, 101, 100, 45, 115, 105, 110, 99,
82
- 101, 105, 102, 45, 110, 111, 110, 101, 45, 109, 97, 116, 99, 104, 105,
83
- 102, 45, 114, 97, 110, 103, 101, 105, 102, 45, 117, 110, 109, 111, 100,
84
- 105, 102, 105, 101, 100, 45, 115, 105, 110, 99, 101, 108, 97, 115, 116,
85
- 45, 109, 111, 100, 105, 102, 105, 101, 100, 108, 98, 45, 99, 111, 115,
86
- 116, 45, 98, 105, 110, 108, 105, 110, 107, 108, 111, 99, 97, 116, 105,
87
- 111, 110, 109, 97, 120, 45, 102, 111, 114, 119, 97, 114, 100, 115, 112,
88
- 114, 111, 120, 121, 45, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97,
89
- 116, 101, 112, 114, 111, 120, 121, 45, 97, 117, 116, 104, 111, 114, 105,
90
- 122, 97, 116, 105, 111, 110, 114, 97, 110, 103, 101, 114, 101, 102, 101,
91
- 114, 101, 114, 114, 101, 102, 114, 101, 115, 104, 114, 101, 116, 114, 121,
92
- 45, 97, 102, 116, 101, 114, 115, 101, 114, 118, 101, 114, 115, 101, 116,
93
- 45, 99, 111, 111, 107, 105, 101, 115, 116, 114, 105, 99, 116, 45, 116,
94
- 114, 97, 110, 115, 112, 111, 114, 116, 45, 115, 101, 99, 117, 114, 105,
95
- 116, 121, 116, 114, 97, 110, 115, 102, 101, 114, 45, 101, 110, 99, 111,
96
- 100, 105, 110, 103, 118, 97, 114, 121, 118, 105, 97, 119, 119, 119, 45,
97
- 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 101, 105, 100, 101,
98
- 110, 116, 105, 116, 121, 44, 100, 101, 102, 108, 97, 116, 101, 105, 100,
99
- 101, 110, 116, 105, 116, 121, 44, 103, 122, 105, 112, 100, 101, 102, 108,
100
- 97, 116, 101, 44, 103, 122, 105, 112, 105, 100, 101, 110, 116, 105, 116,
101
- 121, 44, 100, 101, 102, 108, 97, 116, 101, 44, 103, 122, 105, 112};
43
+ 45, 116, 121, 112, 101, 99, 111, 110, 116, 101, 110, 116, 45, 101, 110,
44
+ 99, 111, 100, 105, 110, 103, 97, 99, 99, 101, 112, 116, 45, 101, 110,
45
+ 99, 111, 100, 105, 110, 103, 103, 114, 112, 99, 45, 105, 110, 116, 101,
46
+ 114, 110, 97, 108, 45, 101, 110, 99, 111, 100, 105, 110, 103, 45, 114,
47
+ 101, 113, 117, 101, 115, 116, 103, 114, 112, 99, 45, 105, 110, 116, 101,
48
+ 114, 110, 97, 108, 45, 115, 116, 114, 101, 97, 109, 45, 101, 110, 99,
49
+ 111, 100, 105, 110, 103, 45, 114, 101, 113, 117, 101, 115, 116, 117, 115,
50
+ 101, 114, 45, 97, 103, 101, 110, 116, 104, 111, 115, 116, 108, 98, 45,
51
+ 116, 111, 107, 101, 110, 103, 114, 112, 99, 45, 116, 105, 109, 101, 111,
52
+ 117, 116, 103, 114, 112, 99, 46, 119, 97, 105, 116, 95, 102, 111, 114,
53
+ 95, 114, 101, 97, 100, 121, 103, 114, 112, 99, 46, 116, 105, 109, 101,
54
+ 111, 117, 116, 103, 114, 112, 99, 46, 109, 97, 120, 95, 114, 101, 113,
55
+ 117, 101, 115, 116, 95, 109, 101, 115, 115, 97, 103, 101, 95, 98, 121,
56
+ 116, 101, 115, 103, 114, 112, 99, 46, 109, 97, 120, 95, 114, 101, 115,
57
+ 112, 111, 110, 115, 101, 95, 109, 101, 115, 115, 97, 103, 101, 95, 98,
58
+ 121, 116, 101, 115, 47, 103, 114, 112, 99, 46, 108, 98, 46, 118, 49,
59
+ 46, 76, 111, 97, 100, 66, 97, 108, 97, 110, 99, 101, 114, 47, 66,
60
+ 97, 108, 97, 110, 99, 101, 76, 111, 97, 100, 48, 49, 50, 105, 100,
61
+ 101, 110, 116, 105, 116, 121, 103, 122, 105, 112, 100, 101, 102, 108, 97,
62
+ 116, 101, 116, 114, 97, 105, 108, 101, 114, 115, 97, 112, 112, 108, 105,
63
+ 99, 97, 116, 105, 111, 110, 47, 103, 114, 112, 99, 80, 79, 83, 84,
64
+ 50, 48, 48, 52, 48, 52, 104, 116, 116, 112, 104, 116, 116, 112, 115,
65
+ 103, 114, 112, 99, 71, 69, 84, 80, 85, 84, 47, 47, 105, 110, 100,
66
+ 101, 120, 46, 104, 116, 109, 108, 50, 48, 52, 50, 48, 54, 51, 48,
67
+ 52, 52, 48, 48, 53, 48, 48, 97, 99, 99, 101, 112, 116, 45, 99,
68
+ 104, 97, 114, 115, 101, 116, 103, 122, 105, 112, 44, 32, 100, 101, 102,
69
+ 108, 97, 116, 101, 97, 99, 99, 101, 112, 116, 45, 108, 97, 110, 103,
70
+ 117, 97, 103, 101, 97, 99, 99, 101, 112, 116, 45, 114, 97, 110, 103,
71
+ 101, 115, 97, 99, 99, 101, 112, 116, 97, 99, 99, 101, 115, 115, 45,
72
+ 99, 111, 110, 116, 114, 111, 108, 45, 97, 108, 108, 111, 119, 45, 111,
73
+ 114, 105, 103, 105, 110, 97, 103, 101, 97, 108, 108, 111, 119, 97, 117,
74
+ 116, 104, 111, 114, 105, 122, 97, 116, 105, 111, 110, 99, 97, 99, 104,
75
+ 101, 45, 99, 111, 110, 116, 114, 111, 108, 99, 111, 110, 116, 101, 110,
76
+ 116, 45, 100, 105, 115, 112, 111, 115, 105, 116, 105, 111, 110, 99, 111,
77
+ 110, 116, 101, 110, 116, 45, 108, 97, 110, 103, 117, 97, 103, 101, 99,
78
+ 111, 110, 116, 101, 110, 116, 45, 108, 101, 110, 103, 116, 104, 99, 111,
79
+ 110, 116, 101, 110, 116, 45, 108, 111, 99, 97, 116, 105, 111, 110, 99,
80
+ 111, 110, 116, 101, 110, 116, 45, 114, 97, 110, 103, 101, 99, 111, 111,
81
+ 107, 105, 101, 100, 97, 116, 101, 101, 116, 97, 103, 101, 120, 112, 101,
82
+ 99, 116, 101, 120, 112, 105, 114, 101, 115, 102, 114, 111, 109, 105, 102,
83
+ 45, 109, 97, 116, 99, 104, 105, 102, 45, 109, 111, 100, 105, 102, 105,
84
+ 101, 100, 45, 115, 105, 110, 99, 101, 105, 102, 45, 110, 111, 110, 101,
85
+ 45, 109, 97, 116, 99, 104, 105, 102, 45, 114, 97, 110, 103, 101, 105,
86
+ 102, 45, 117, 110, 109, 111, 100, 105, 102, 105, 101, 100, 45, 115, 105,
87
+ 110, 99, 101, 108, 97, 115, 116, 45, 109, 111, 100, 105, 102, 105, 101,
88
+ 100, 108, 98, 45, 99, 111, 115, 116, 45, 98, 105, 110, 108, 105, 110,
89
+ 107, 108, 111, 99, 97, 116, 105, 111, 110, 109, 97, 120, 45, 102, 111,
90
+ 114, 119, 97, 114, 100, 115, 112, 114, 111, 120, 121, 45, 97, 117, 116,
91
+ 104, 101, 110, 116, 105, 99, 97, 116, 101, 112, 114, 111, 120, 121, 45,
92
+ 97, 117, 116, 104, 111, 114, 105, 122, 97, 116, 105, 111, 110, 114, 97,
93
+ 110, 103, 101, 114, 101, 102, 101, 114, 101, 114, 114, 101, 102, 114, 101,
94
+ 115, 104, 114, 101, 116, 114, 121, 45, 97, 102, 116, 101, 114, 115, 101,
95
+ 114, 118, 101, 114, 115, 101, 116, 45, 99, 111, 111, 107, 105, 101, 115,
96
+ 116, 114, 105, 99, 116, 45, 116, 114, 97, 110, 115, 112, 111, 114, 116,
97
+ 45, 115, 101, 99, 117, 114, 105, 116, 121, 116, 114, 97, 110, 115, 102,
98
+ 101, 114, 45, 101, 110, 99, 111, 100, 105, 110, 103, 118, 97, 114, 121,
99
+ 118, 105, 97, 119, 119, 119, 45, 97, 117, 116, 104, 101, 110, 116, 105,
100
+ 99, 97, 116, 101, 105, 100, 101, 110, 116, 105, 116, 121, 44, 100, 101,
101
+ 102, 108, 97, 116, 101, 105, 100, 101, 110, 116, 105, 116, 121, 44, 103,
102
+ 122, 105, 112, 100, 101, 102, 108, 97, 116, 101, 44, 103, 122, 105, 112,
103
+ 105, 100, 101, 110, 116, 105, 116, 121, 44, 100, 101, 102, 108, 97, 116,
104
+ 101, 44, 103, 122, 105, 112};
102
105
 
103
106
  static void static_ref(void *unused) {}
104
107
  static void static_unref(grpc_exec_ctx *exec_ctx, void *unused) {}
@@ -209,227 +212,129 @@ grpc_slice_refcount grpc_static_metadata_refcounts[GRPC_STATIC_MDSTR_COUNT] = {
209
212
  {&grpc_static_metadata_vtable, &static_sub_refcnt},
210
213
  {&grpc_static_metadata_vtable, &static_sub_refcnt},
211
214
  {&grpc_static_metadata_vtable, &static_sub_refcnt},
215
+ {&grpc_static_metadata_vtable, &static_sub_refcnt},
212
216
  };
213
217
 
214
218
  const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT] = {
215
- {.refcount = &grpc_static_metadata_refcounts[0],
216
- .data.refcounted = {g_bytes + 0, 5}},
217
- {.refcount = &grpc_static_metadata_refcounts[1],
218
- .data.refcounted = {g_bytes + 5, 7}},
219
- {.refcount = &grpc_static_metadata_refcounts[2],
220
- .data.refcounted = {g_bytes + 12, 7}},
221
- {.refcount = &grpc_static_metadata_refcounts[3],
222
- .data.refcounted = {g_bytes + 19, 10}},
223
- {.refcount = &grpc_static_metadata_refcounts[4],
224
- .data.refcounted = {g_bytes + 29, 7}},
225
- {.refcount = &grpc_static_metadata_refcounts[5],
226
- .data.refcounted = {g_bytes + 36, 2}},
227
- {.refcount = &grpc_static_metadata_refcounts[6],
228
- .data.refcounted = {g_bytes + 38, 12}},
229
- {.refcount = &grpc_static_metadata_refcounts[7],
230
- .data.refcounted = {g_bytes + 50, 11}},
231
- {.refcount = &grpc_static_metadata_refcounts[8],
232
- .data.refcounted = {g_bytes + 61, 16}},
233
- {.refcount = &grpc_static_metadata_refcounts[9],
234
- .data.refcounted = {g_bytes + 77, 13}},
235
- {.refcount = &grpc_static_metadata_refcounts[10],
236
- .data.refcounted = {g_bytes + 90, 20}},
237
- {.refcount = &grpc_static_metadata_refcounts[11],
238
- .data.refcounted = {g_bytes + 110, 21}},
239
- {.refcount = &grpc_static_metadata_refcounts[12],
240
- .data.refcounted = {g_bytes + 131, 13}},
241
- {.refcount = &grpc_static_metadata_refcounts[13],
242
- .data.refcounted = {g_bytes + 144, 14}},
243
- {.refcount = &grpc_static_metadata_refcounts[14],
244
- .data.refcounted = {g_bytes + 158, 12}},
245
- {.refcount = &grpc_static_metadata_refcounts[15],
246
- .data.refcounted = {g_bytes + 170, 30}},
247
- {.refcount = &grpc_static_metadata_refcounts[16],
248
- .data.refcounted = {g_bytes + 200, 10}},
249
- {.refcount = &grpc_static_metadata_refcounts[17],
250
- .data.refcounted = {g_bytes + 210, 4}},
251
- {.refcount = &grpc_static_metadata_refcounts[18],
252
- .data.refcounted = {g_bytes + 214, 8}},
253
- {.refcount = &grpc_static_metadata_refcounts[19],
254
- .data.refcounted = {g_bytes + 222, 12}},
255
- {.refcount = &grpc_static_metadata_refcounts[20],
256
- .data.refcounted = {g_bytes + 234, 0}},
257
- {.refcount = &grpc_static_metadata_refcounts[21],
258
- .data.refcounted = {g_bytes + 234, 19}},
259
- {.refcount = &grpc_static_metadata_refcounts[22],
260
- .data.refcounted = {g_bytes + 253, 12}},
261
- {.refcount = &grpc_static_metadata_refcounts[23],
262
- .data.refcounted = {g_bytes + 265, 30}},
263
- {.refcount = &grpc_static_metadata_refcounts[24],
264
- .data.refcounted = {g_bytes + 295, 31}},
265
- {.refcount = &grpc_static_metadata_refcounts[25],
266
- .data.refcounted = {g_bytes + 326, 36}},
267
- {.refcount = &grpc_static_metadata_refcounts[26],
268
- .data.refcounted = {g_bytes + 362, 1}},
269
- {.refcount = &grpc_static_metadata_refcounts[27],
270
- .data.refcounted = {g_bytes + 363, 1}},
271
- {.refcount = &grpc_static_metadata_refcounts[28],
272
- .data.refcounted = {g_bytes + 364, 1}},
273
- {.refcount = &grpc_static_metadata_refcounts[29],
274
- .data.refcounted = {g_bytes + 365, 8}},
275
- {.refcount = &grpc_static_metadata_refcounts[30],
276
- .data.refcounted = {g_bytes + 373, 4}},
277
- {.refcount = &grpc_static_metadata_refcounts[31],
278
- .data.refcounted = {g_bytes + 377, 7}},
279
- {.refcount = &grpc_static_metadata_refcounts[32],
280
- .data.refcounted = {g_bytes + 384, 8}},
281
- {.refcount = &grpc_static_metadata_refcounts[33],
282
- .data.refcounted = {g_bytes + 392, 16}},
283
- {.refcount = &grpc_static_metadata_refcounts[34],
284
- .data.refcounted = {g_bytes + 408, 4}},
285
- {.refcount = &grpc_static_metadata_refcounts[35],
286
- .data.refcounted = {g_bytes + 412, 3}},
287
- {.refcount = &grpc_static_metadata_refcounts[36],
288
- .data.refcounted = {g_bytes + 415, 3}},
289
- {.refcount = &grpc_static_metadata_refcounts[37],
290
- .data.refcounted = {g_bytes + 418, 4}},
291
- {.refcount = &grpc_static_metadata_refcounts[38],
292
- .data.refcounted = {g_bytes + 422, 5}},
293
- {.refcount = &grpc_static_metadata_refcounts[39],
294
- .data.refcounted = {g_bytes + 427, 4}},
295
- {.refcount = &grpc_static_metadata_refcounts[40],
296
- .data.refcounted = {g_bytes + 431, 3}},
297
- {.refcount = &grpc_static_metadata_refcounts[41],
298
- .data.refcounted = {g_bytes + 434, 3}},
299
- {.refcount = &grpc_static_metadata_refcounts[42],
300
- .data.refcounted = {g_bytes + 437, 1}},
301
- {.refcount = &grpc_static_metadata_refcounts[43],
302
- .data.refcounted = {g_bytes + 438, 11}},
303
- {.refcount = &grpc_static_metadata_refcounts[44],
304
- .data.refcounted = {g_bytes + 449, 3}},
305
- {.refcount = &grpc_static_metadata_refcounts[45],
306
- .data.refcounted = {g_bytes + 452, 3}},
307
- {.refcount = &grpc_static_metadata_refcounts[46],
308
- .data.refcounted = {g_bytes + 455, 3}},
309
- {.refcount = &grpc_static_metadata_refcounts[47],
310
- .data.refcounted = {g_bytes + 458, 3}},
311
- {.refcount = &grpc_static_metadata_refcounts[48],
312
- .data.refcounted = {g_bytes + 461, 3}},
313
- {.refcount = &grpc_static_metadata_refcounts[49],
314
- .data.refcounted = {g_bytes + 464, 14}},
315
- {.refcount = &grpc_static_metadata_refcounts[50],
316
- .data.refcounted = {g_bytes + 478, 15}},
317
- {.refcount = &grpc_static_metadata_refcounts[51],
318
- .data.refcounted = {g_bytes + 493, 13}},
319
- {.refcount = &grpc_static_metadata_refcounts[52],
320
- .data.refcounted = {g_bytes + 506, 15}},
321
- {.refcount = &grpc_static_metadata_refcounts[53],
322
- .data.refcounted = {g_bytes + 521, 13}},
323
- {.refcount = &grpc_static_metadata_refcounts[54],
324
- .data.refcounted = {g_bytes + 534, 6}},
325
- {.refcount = &grpc_static_metadata_refcounts[55],
326
- .data.refcounted = {g_bytes + 540, 27}},
327
- {.refcount = &grpc_static_metadata_refcounts[56],
328
- .data.refcounted = {g_bytes + 567, 3}},
329
- {.refcount = &grpc_static_metadata_refcounts[57],
330
- .data.refcounted = {g_bytes + 570, 5}},
331
- {.refcount = &grpc_static_metadata_refcounts[58],
332
- .data.refcounted = {g_bytes + 575, 13}},
333
- {.refcount = &grpc_static_metadata_refcounts[59],
334
- .data.refcounted = {g_bytes + 588, 13}},
335
- {.refcount = &grpc_static_metadata_refcounts[60],
336
- .data.refcounted = {g_bytes + 601, 19}},
337
- {.refcount = &grpc_static_metadata_refcounts[61],
338
- .data.refcounted = {g_bytes + 620, 16}},
339
- {.refcount = &grpc_static_metadata_refcounts[62],
340
- .data.refcounted = {g_bytes + 636, 16}},
341
- {.refcount = &grpc_static_metadata_refcounts[63],
342
- .data.refcounted = {g_bytes + 652, 14}},
343
- {.refcount = &grpc_static_metadata_refcounts[64],
344
- .data.refcounted = {g_bytes + 666, 16}},
345
- {.refcount = &grpc_static_metadata_refcounts[65],
346
- .data.refcounted = {g_bytes + 682, 13}},
347
- {.refcount = &grpc_static_metadata_refcounts[66],
348
- .data.refcounted = {g_bytes + 695, 6}},
349
- {.refcount = &grpc_static_metadata_refcounts[67],
350
- .data.refcounted = {g_bytes + 701, 4}},
351
- {.refcount = &grpc_static_metadata_refcounts[68],
352
- .data.refcounted = {g_bytes + 705, 4}},
353
- {.refcount = &grpc_static_metadata_refcounts[69],
354
- .data.refcounted = {g_bytes + 709, 6}},
355
- {.refcount = &grpc_static_metadata_refcounts[70],
356
- .data.refcounted = {g_bytes + 715, 7}},
357
- {.refcount = &grpc_static_metadata_refcounts[71],
358
- .data.refcounted = {g_bytes + 722, 4}},
359
- {.refcount = &grpc_static_metadata_refcounts[72],
360
- .data.refcounted = {g_bytes + 726, 8}},
361
- {.refcount = &grpc_static_metadata_refcounts[73],
362
- .data.refcounted = {g_bytes + 734, 17}},
363
- {.refcount = &grpc_static_metadata_refcounts[74],
364
- .data.refcounted = {g_bytes + 751, 13}},
365
- {.refcount = &grpc_static_metadata_refcounts[75],
366
- .data.refcounted = {g_bytes + 764, 8}},
367
- {.refcount = &grpc_static_metadata_refcounts[76],
368
- .data.refcounted = {g_bytes + 772, 19}},
369
- {.refcount = &grpc_static_metadata_refcounts[77],
370
- .data.refcounted = {g_bytes + 791, 13}},
371
- {.refcount = &grpc_static_metadata_refcounts[78],
372
- .data.refcounted = {g_bytes + 804, 11}},
373
- {.refcount = &grpc_static_metadata_refcounts[79],
374
- .data.refcounted = {g_bytes + 815, 4}},
375
- {.refcount = &grpc_static_metadata_refcounts[80],
376
- .data.refcounted = {g_bytes + 819, 8}},
377
- {.refcount = &grpc_static_metadata_refcounts[81],
378
- .data.refcounted = {g_bytes + 827, 12}},
379
- {.refcount = &grpc_static_metadata_refcounts[82],
380
- .data.refcounted = {g_bytes + 839, 18}},
381
- {.refcount = &grpc_static_metadata_refcounts[83],
382
- .data.refcounted = {g_bytes + 857, 19}},
383
- {.refcount = &grpc_static_metadata_refcounts[84],
384
- .data.refcounted = {g_bytes + 876, 5}},
385
- {.refcount = &grpc_static_metadata_refcounts[85],
386
- .data.refcounted = {g_bytes + 881, 7}},
387
- {.refcount = &grpc_static_metadata_refcounts[86],
388
- .data.refcounted = {g_bytes + 888, 7}},
389
- {.refcount = &grpc_static_metadata_refcounts[87],
390
- .data.refcounted = {g_bytes + 895, 11}},
391
- {.refcount = &grpc_static_metadata_refcounts[88],
392
- .data.refcounted = {g_bytes + 906, 6}},
393
- {.refcount = &grpc_static_metadata_refcounts[89],
394
- .data.refcounted = {g_bytes + 912, 10}},
395
- {.refcount = &grpc_static_metadata_refcounts[90],
396
- .data.refcounted = {g_bytes + 922, 25}},
397
- {.refcount = &grpc_static_metadata_refcounts[91],
398
- .data.refcounted = {g_bytes + 947, 17}},
399
- {.refcount = &grpc_static_metadata_refcounts[92],
400
- .data.refcounted = {g_bytes + 964, 4}},
401
- {.refcount = &grpc_static_metadata_refcounts[93],
402
- .data.refcounted = {g_bytes + 968, 3}},
403
- {.refcount = &grpc_static_metadata_refcounts[94],
404
- .data.refcounted = {g_bytes + 971, 16}},
405
- {.refcount = &grpc_static_metadata_refcounts[95],
406
- .data.refcounted = {g_bytes + 987, 16}},
407
- {.refcount = &grpc_static_metadata_refcounts[96],
408
- .data.refcounted = {g_bytes + 1003, 13}},
409
- {.refcount = &grpc_static_metadata_refcounts[97],
410
- .data.refcounted = {g_bytes + 1016, 12}},
411
- {.refcount = &grpc_static_metadata_refcounts[98],
412
- .data.refcounted = {g_bytes + 1028, 21}},
219
+ {&grpc_static_metadata_refcounts[0], {{g_bytes + 0, 5}}},
220
+ {&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
221
+ {&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
222
+ {&grpc_static_metadata_refcounts[3], {{g_bytes + 19, 10}}},
223
+ {&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
224
+ {&grpc_static_metadata_refcounts[5], {{g_bytes + 36, 2}}},
225
+ {&grpc_static_metadata_refcounts[6], {{g_bytes + 38, 12}}},
226
+ {&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
227
+ {&grpc_static_metadata_refcounts[8], {{g_bytes + 61, 16}}},
228
+ {&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
229
+ {&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
230
+ {&grpc_static_metadata_refcounts[11], {{g_bytes + 110, 21}}},
231
+ {&grpc_static_metadata_refcounts[12], {{g_bytes + 131, 13}}},
232
+ {&grpc_static_metadata_refcounts[13], {{g_bytes + 144, 14}}},
233
+ {&grpc_static_metadata_refcounts[14], {{g_bytes + 158, 12}}},
234
+ {&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
235
+ {&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
236
+ {&grpc_static_metadata_refcounts[17], {{g_bytes + 201, 30}}},
237
+ {&grpc_static_metadata_refcounts[18], {{g_bytes + 231, 37}}},
238
+ {&grpc_static_metadata_refcounts[19], {{g_bytes + 268, 10}}},
239
+ {&grpc_static_metadata_refcounts[20], {{g_bytes + 278, 4}}},
240
+ {&grpc_static_metadata_refcounts[21], {{g_bytes + 282, 8}}},
241
+ {&grpc_static_metadata_refcounts[22], {{g_bytes + 290, 12}}},
242
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}},
243
+ {&grpc_static_metadata_refcounts[24], {{g_bytes + 302, 19}}},
244
+ {&grpc_static_metadata_refcounts[25], {{g_bytes + 321, 12}}},
245
+ {&grpc_static_metadata_refcounts[26], {{g_bytes + 333, 30}}},
246
+ {&grpc_static_metadata_refcounts[27], {{g_bytes + 363, 31}}},
247
+ {&grpc_static_metadata_refcounts[28], {{g_bytes + 394, 36}}},
248
+ {&grpc_static_metadata_refcounts[29], {{g_bytes + 430, 1}}},
249
+ {&grpc_static_metadata_refcounts[30], {{g_bytes + 431, 1}}},
250
+ {&grpc_static_metadata_refcounts[31], {{g_bytes + 432, 1}}},
251
+ {&grpc_static_metadata_refcounts[32], {{g_bytes + 433, 8}}},
252
+ {&grpc_static_metadata_refcounts[33], {{g_bytes + 441, 4}}},
253
+ {&grpc_static_metadata_refcounts[34], {{g_bytes + 445, 7}}},
254
+ {&grpc_static_metadata_refcounts[35], {{g_bytes + 452, 8}}},
255
+ {&grpc_static_metadata_refcounts[36], {{g_bytes + 460, 16}}},
256
+ {&grpc_static_metadata_refcounts[37], {{g_bytes + 476, 4}}},
257
+ {&grpc_static_metadata_refcounts[38], {{g_bytes + 480, 3}}},
258
+ {&grpc_static_metadata_refcounts[39], {{g_bytes + 483, 3}}},
259
+ {&grpc_static_metadata_refcounts[40], {{g_bytes + 486, 4}}},
260
+ {&grpc_static_metadata_refcounts[41], {{g_bytes + 490, 5}}},
261
+ {&grpc_static_metadata_refcounts[42], {{g_bytes + 495, 4}}},
262
+ {&grpc_static_metadata_refcounts[43], {{g_bytes + 499, 3}}},
263
+ {&grpc_static_metadata_refcounts[44], {{g_bytes + 502, 3}}},
264
+ {&grpc_static_metadata_refcounts[45], {{g_bytes + 505, 1}}},
265
+ {&grpc_static_metadata_refcounts[46], {{g_bytes + 506, 11}}},
266
+ {&grpc_static_metadata_refcounts[47], {{g_bytes + 517, 3}}},
267
+ {&grpc_static_metadata_refcounts[48], {{g_bytes + 520, 3}}},
268
+ {&grpc_static_metadata_refcounts[49], {{g_bytes + 523, 3}}},
269
+ {&grpc_static_metadata_refcounts[50], {{g_bytes + 526, 3}}},
270
+ {&grpc_static_metadata_refcounts[51], {{g_bytes + 529, 3}}},
271
+ {&grpc_static_metadata_refcounts[52], {{g_bytes + 532, 14}}},
272
+ {&grpc_static_metadata_refcounts[53], {{g_bytes + 546, 13}}},
273
+ {&grpc_static_metadata_refcounts[54], {{g_bytes + 559, 15}}},
274
+ {&grpc_static_metadata_refcounts[55], {{g_bytes + 574, 13}}},
275
+ {&grpc_static_metadata_refcounts[56], {{g_bytes + 587, 6}}},
276
+ {&grpc_static_metadata_refcounts[57], {{g_bytes + 593, 27}}},
277
+ {&grpc_static_metadata_refcounts[58], {{g_bytes + 620, 3}}},
278
+ {&grpc_static_metadata_refcounts[59], {{g_bytes + 623, 5}}},
279
+ {&grpc_static_metadata_refcounts[60], {{g_bytes + 628, 13}}},
280
+ {&grpc_static_metadata_refcounts[61], {{g_bytes + 641, 13}}},
281
+ {&grpc_static_metadata_refcounts[62], {{g_bytes + 654, 19}}},
282
+ {&grpc_static_metadata_refcounts[63], {{g_bytes + 673, 16}}},
283
+ {&grpc_static_metadata_refcounts[64], {{g_bytes + 689, 14}}},
284
+ {&grpc_static_metadata_refcounts[65], {{g_bytes + 703, 16}}},
285
+ {&grpc_static_metadata_refcounts[66], {{g_bytes + 719, 13}}},
286
+ {&grpc_static_metadata_refcounts[67], {{g_bytes + 732, 6}}},
287
+ {&grpc_static_metadata_refcounts[68], {{g_bytes + 738, 4}}},
288
+ {&grpc_static_metadata_refcounts[69], {{g_bytes + 742, 4}}},
289
+ {&grpc_static_metadata_refcounts[70], {{g_bytes + 746, 6}}},
290
+ {&grpc_static_metadata_refcounts[71], {{g_bytes + 752, 7}}},
291
+ {&grpc_static_metadata_refcounts[72], {{g_bytes + 759, 4}}},
292
+ {&grpc_static_metadata_refcounts[73], {{g_bytes + 763, 8}}},
293
+ {&grpc_static_metadata_refcounts[74], {{g_bytes + 771, 17}}},
294
+ {&grpc_static_metadata_refcounts[75], {{g_bytes + 788, 13}}},
295
+ {&grpc_static_metadata_refcounts[76], {{g_bytes + 801, 8}}},
296
+ {&grpc_static_metadata_refcounts[77], {{g_bytes + 809, 19}}},
297
+ {&grpc_static_metadata_refcounts[78], {{g_bytes + 828, 13}}},
298
+ {&grpc_static_metadata_refcounts[79], {{g_bytes + 841, 11}}},
299
+ {&grpc_static_metadata_refcounts[80], {{g_bytes + 852, 4}}},
300
+ {&grpc_static_metadata_refcounts[81], {{g_bytes + 856, 8}}},
301
+ {&grpc_static_metadata_refcounts[82], {{g_bytes + 864, 12}}},
302
+ {&grpc_static_metadata_refcounts[83], {{g_bytes + 876, 18}}},
303
+ {&grpc_static_metadata_refcounts[84], {{g_bytes + 894, 19}}},
304
+ {&grpc_static_metadata_refcounts[85], {{g_bytes + 913, 5}}},
305
+ {&grpc_static_metadata_refcounts[86], {{g_bytes + 918, 7}}},
306
+ {&grpc_static_metadata_refcounts[87], {{g_bytes + 925, 7}}},
307
+ {&grpc_static_metadata_refcounts[88], {{g_bytes + 932, 11}}},
308
+ {&grpc_static_metadata_refcounts[89], {{g_bytes + 943, 6}}},
309
+ {&grpc_static_metadata_refcounts[90], {{g_bytes + 949, 10}}},
310
+ {&grpc_static_metadata_refcounts[91], {{g_bytes + 959, 25}}},
311
+ {&grpc_static_metadata_refcounts[92], {{g_bytes + 984, 17}}},
312
+ {&grpc_static_metadata_refcounts[93], {{g_bytes + 1001, 4}}},
313
+ {&grpc_static_metadata_refcounts[94], {{g_bytes + 1005, 3}}},
314
+ {&grpc_static_metadata_refcounts[95], {{g_bytes + 1008, 16}}},
315
+ {&grpc_static_metadata_refcounts[96], {{g_bytes + 1024, 16}}},
316
+ {&grpc_static_metadata_refcounts[97], {{g_bytes + 1040, 13}}},
317
+ {&grpc_static_metadata_refcounts[98], {{g_bytes + 1053, 12}}},
318
+ {&grpc_static_metadata_refcounts[99], {{g_bytes + 1065, 21}}},
413
319
  };
414
320
 
415
321
  uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT] = {
416
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
417
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
418
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
419
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 6, 6, 8, 8};
322
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
323
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
324
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
325
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 6, 6, 8, 8, 2, 4, 4};
420
326
 
421
327
  static const int8_t elems_r[] = {
422
- 10, 8, -3, 0, 9, 21, -77, 22, 0, 10, -7, 0, 0, 0,
423
- 14, 0, 13, 12, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0,
424
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
425
- 0, 0, 0, 0, 0, 0, 0, -50, -51, 16, -53, -54, -55, -56,
426
- -56, -57, -58, -59, 0, 37, 36, 35, 34, 33, 32, 31, 30, 29,
427
- 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15,
428
- 14, 13, 12, 11, 10, 13, 12, 11, 10, 9, 8, 7, 0};
328
+ 11, 9, -3, 0, 10, 27, -74, 28, 0, 14, -7, 0, 0, 0, 18, 8, -2,
329
+ 0, 0, 13, 12, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
330
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
331
+ 0, -50, 0, -33, -55, -56, -57, -58, -57, 0, 40, 39, 38, 37, 36, 35, 34,
332
+ 33, 32, 31, 30, 29, 28, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 22,
333
+ 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 12, 11, 0};
429
334
  static uint32_t elems_phash(uint32_t i) {
430
- i -= 42;
431
- uint32_t x = i % 97;
432
- uint32_t y = i / 97;
335
+ i -= 45;
336
+ uint32_t x = i % 98;
337
+ uint32_t y = i / 98;
433
338
  uint32_t h = x;
434
339
  if (y < GPR_ARRAY_SIZE(elems_r)) {
435
340
  uint32_t delta = (uint32_t)elems_r[y];
@@ -439,30 +344,31 @@ static uint32_t elems_phash(uint32_t i) {
439
344
  }
440
345
 
441
346
  static const uint16_t elem_keys[] = {
442
- 1019, 1020, 1021, 242, 243, 244, 245, 246, 139, 140, 42, 43,
443
- 433, 434, 435, 920, 921, 922, 719, 720, 1406, 527, 721, 1604,
444
- 1703, 1802, 4871, 4970, 5001, 5168, 5267, 5366, 5465, 1419, 5564, 5663,
445
- 5762, 5861, 5960, 6059, 6158, 6257, 6356, 6455, 6554, 6653, 6752, 6851,
446
- 6950, 7049, 7148, 7247, 7346, 7445, 7544, 7643, 7742, 7841, 7940, 8039,
447
- 8138, 8237, 8336, 8435, 8534, 8633, 1085, 1086, 1087, 1088, 8732, 8831,
448
- 8930, 9029, 9128, 9227, 9326, 0, 317, 0, 0, 0, 0, 0,
347
+ 1032, 1033, 1034, 247, 248, 249, 250, 251, 1623, 143, 144, 45,
348
+ 46, 440, 441, 442, 1523, 1632, 1633, 932, 933, 934, 729, 730,
349
+ 1423, 1532, 1533, 535, 731, 1923, 2023, 2123, 5223, 5523, 5623, 5723,
350
+ 5823, 1436, 1653, 5923, 6023, 6123, 6223, 6323, 6423, 6523, 6623, 6723,
351
+ 6823, 6923, 7023, 7123, 7223, 5423, 7323, 7423, 7523, 7623, 7723, 7823,
352
+ 7923, 8023, 8123, 8223, 1096, 1097, 1098, 1099, 8323, 8423, 8523, 8623,
353
+ 8723, 8823, 8923, 9023, 9123, 9223, 9323, 323, 9423, 9523, 1697, 0,
449
354
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
450
- 0, 0, 0, 0, 0, 133, 233, 234, 0, 0, 0, 0,
355
+ 0, 0, 0, 0, 0, 0, 0, 137, 238, 239, 0, 0,
451
356
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
452
357
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
453
- 0};
358
+ 0, 0, 0, 0, 0};
454
359
  static const uint8_t elem_idxs[] = {
455
- 74, 77, 75, 19, 20, 21, 22, 23, 15, 16, 17, 18, 11, 12, 13,
456
- 3, 4, 5, 0, 1, 41, 6, 2, 70, 48, 55, 24, 25, 26, 27,
457
- 28, 29, 30, 7, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42,
458
- 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59,
459
- 60, 61, 62, 63, 64, 65, 76, 78, 79, 80, 66, 67, 68, 69, 71,
460
- 72, 73, 255, 14, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
461
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 8, 9, 10};
360
+ 76, 79, 77, 19, 20, 21, 22, 23, 25, 15, 16, 17, 18, 11,
361
+ 12, 13, 38, 83, 84, 3, 4, 5, 0, 1, 43, 36, 37, 6,
362
+ 2, 72, 50, 57, 24, 28, 29, 30, 31, 7, 26, 32, 33, 34,
363
+ 35, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 27, 51, 52,
364
+ 53, 54, 55, 56, 58, 59, 60, 61, 78, 80, 81, 82, 62, 63,
365
+ 64, 65, 66, 67, 68, 69, 70, 71, 73, 14, 74, 75, 85, 255,
366
+ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
367
+ 255, 255, 255, 255, 255, 8, 9, 10};
462
368
 
463
369
  grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b) {
464
370
  if (a == -1 || b == -1) return GRPC_MDNULL;
465
- uint32_t k = (uint32_t)(a * 99 + b);
371
+ uint32_t k = (uint32_t)(a * 100 + b);
466
372
  uint32_t h = elems_phash(k);
467
373
  return h < GPR_ARRAY_SIZE(elem_keys) && elem_keys[h] == k &&
468
374
  elem_idxs[h] != 255
@@ -472,330 +378,205 @@ grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b) {
472
378
  }
473
379
 
474
380
  grpc_mdelem_data grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT] = {
475
- {{.refcount = &grpc_static_metadata_refcounts[7],
476
- .data.refcounted = {g_bytes + 50, 11}},
477
- {.refcount = &grpc_static_metadata_refcounts[26],
478
- .data.refcounted = {g_bytes + 362, 1}}},
479
- {{.refcount = &grpc_static_metadata_refcounts[7],
480
- .data.refcounted = {g_bytes + 50, 11}},
481
- {.refcount = &grpc_static_metadata_refcounts[27],
482
- .data.refcounted = {g_bytes + 363, 1}}},
483
- {{.refcount = &grpc_static_metadata_refcounts[7],
484
- .data.refcounted = {g_bytes + 50, 11}},
485
- {.refcount = &grpc_static_metadata_refcounts[28],
486
- .data.refcounted = {g_bytes + 364, 1}}},
487
- {{.refcount = &grpc_static_metadata_refcounts[9],
488
- .data.refcounted = {g_bytes + 77, 13}},
489
- {.refcount = &grpc_static_metadata_refcounts[29],
490
- .data.refcounted = {g_bytes + 365, 8}}},
491
- {{.refcount = &grpc_static_metadata_refcounts[9],
492
- .data.refcounted = {g_bytes + 77, 13}},
493
- {.refcount = &grpc_static_metadata_refcounts[30],
494
- .data.refcounted = {g_bytes + 373, 4}}},
495
- {{.refcount = &grpc_static_metadata_refcounts[9],
496
- .data.refcounted = {g_bytes + 77, 13}},
497
- {.refcount = &grpc_static_metadata_refcounts[31],
498
- .data.refcounted = {g_bytes + 377, 7}}},
499
- {{.refcount = &grpc_static_metadata_refcounts[5],
500
- .data.refcounted = {g_bytes + 36, 2}},
501
- {.refcount = &grpc_static_metadata_refcounts[32],
502
- .data.refcounted = {g_bytes + 384, 8}}},
503
- {{.refcount = &grpc_static_metadata_refcounts[14],
504
- .data.refcounted = {g_bytes + 158, 12}},
505
- {.refcount = &grpc_static_metadata_refcounts[33],
506
- .data.refcounted = {g_bytes + 392, 16}}},
507
- {{.refcount = &grpc_static_metadata_refcounts[1],
508
- .data.refcounted = {g_bytes + 5, 7}},
509
- {.refcount = &grpc_static_metadata_refcounts[34],
510
- .data.refcounted = {g_bytes + 408, 4}}},
511
- {{.refcount = &grpc_static_metadata_refcounts[2],
512
- .data.refcounted = {g_bytes + 12, 7}},
513
- {.refcount = &grpc_static_metadata_refcounts[35],
514
- .data.refcounted = {g_bytes + 412, 3}}},
515
- {{.refcount = &grpc_static_metadata_refcounts[2],
516
- .data.refcounted = {g_bytes + 12, 7}},
517
- {.refcount = &grpc_static_metadata_refcounts[36],
518
- .data.refcounted = {g_bytes + 415, 3}}},
519
- {{.refcount = &grpc_static_metadata_refcounts[4],
520
- .data.refcounted = {g_bytes + 29, 7}},
521
- {.refcount = &grpc_static_metadata_refcounts[37],
522
- .data.refcounted = {g_bytes + 418, 4}}},
523
- {{.refcount = &grpc_static_metadata_refcounts[4],
524
- .data.refcounted = {g_bytes + 29, 7}},
525
- {.refcount = &grpc_static_metadata_refcounts[38],
526
- .data.refcounted = {g_bytes + 422, 5}}},
527
- {{.refcount = &grpc_static_metadata_refcounts[4],
528
- .data.refcounted = {g_bytes + 29, 7}},
529
- {.refcount = &grpc_static_metadata_refcounts[39],
530
- .data.refcounted = {g_bytes + 427, 4}}},
531
- {{.refcount = &grpc_static_metadata_refcounts[3],
532
- .data.refcounted = {g_bytes + 19, 10}},
533
- {.refcount = &grpc_static_metadata_refcounts[20],
534
- .data.refcounted = {g_bytes + 234, 0}}},
535
- {{.refcount = &grpc_static_metadata_refcounts[1],
536
- .data.refcounted = {g_bytes + 5, 7}},
537
- {.refcount = &grpc_static_metadata_refcounts[40],
538
- .data.refcounted = {g_bytes + 431, 3}}},
539
- {{.refcount = &grpc_static_metadata_refcounts[1],
540
- .data.refcounted = {g_bytes + 5, 7}},
541
- {.refcount = &grpc_static_metadata_refcounts[41],
542
- .data.refcounted = {g_bytes + 434, 3}}},
543
- {{.refcount = &grpc_static_metadata_refcounts[0],
544
- .data.refcounted = {g_bytes + 0, 5}},
545
- {.refcount = &grpc_static_metadata_refcounts[42],
546
- .data.refcounted = {g_bytes + 437, 1}}},
547
- {{.refcount = &grpc_static_metadata_refcounts[0],
548
- .data.refcounted = {g_bytes + 0, 5}},
549
- {.refcount = &grpc_static_metadata_refcounts[43],
550
- .data.refcounted = {g_bytes + 438, 11}}},
551
- {{.refcount = &grpc_static_metadata_refcounts[2],
552
- .data.refcounted = {g_bytes + 12, 7}},
553
- {.refcount = &grpc_static_metadata_refcounts[44],
554
- .data.refcounted = {g_bytes + 449, 3}}},
555
- {{.refcount = &grpc_static_metadata_refcounts[2],
556
- .data.refcounted = {g_bytes + 12, 7}},
557
- {.refcount = &grpc_static_metadata_refcounts[45],
558
- .data.refcounted = {g_bytes + 452, 3}}},
559
- {{.refcount = &grpc_static_metadata_refcounts[2],
560
- .data.refcounted = {g_bytes + 12, 7}},
561
- {.refcount = &grpc_static_metadata_refcounts[46],
562
- .data.refcounted = {g_bytes + 455, 3}}},
563
- {{.refcount = &grpc_static_metadata_refcounts[2],
564
- .data.refcounted = {g_bytes + 12, 7}},
565
- {.refcount = &grpc_static_metadata_refcounts[47],
566
- .data.refcounted = {g_bytes + 458, 3}}},
567
- {{.refcount = &grpc_static_metadata_refcounts[2],
568
- .data.refcounted = {g_bytes + 12, 7}},
569
- {.refcount = &grpc_static_metadata_refcounts[48],
570
- .data.refcounted = {g_bytes + 461, 3}}},
571
- {{.refcount = &grpc_static_metadata_refcounts[49],
572
- .data.refcounted = {g_bytes + 464, 14}},
573
- {.refcount = &grpc_static_metadata_refcounts[20],
574
- .data.refcounted = {g_bytes + 234, 0}}},
575
- {{.refcount = &grpc_static_metadata_refcounts[50],
576
- .data.refcounted = {g_bytes + 478, 15}},
577
- {.refcount = &grpc_static_metadata_refcounts[20],
578
- .data.refcounted = {g_bytes + 234, 0}}},
579
- {{.refcount = &grpc_static_metadata_refcounts[50],
580
- .data.refcounted = {g_bytes + 478, 15}},
581
- {.refcount = &grpc_static_metadata_refcounts[51],
582
- .data.refcounted = {g_bytes + 493, 13}}},
583
- {{.refcount = &grpc_static_metadata_refcounts[52],
584
- .data.refcounted = {g_bytes + 506, 15}},
585
- {.refcount = &grpc_static_metadata_refcounts[20],
586
- .data.refcounted = {g_bytes + 234, 0}}},
587
- {{.refcount = &grpc_static_metadata_refcounts[53],
588
- .data.refcounted = {g_bytes + 521, 13}},
589
- {.refcount = &grpc_static_metadata_refcounts[20],
590
- .data.refcounted = {g_bytes + 234, 0}}},
591
- {{.refcount = &grpc_static_metadata_refcounts[54],
592
- .data.refcounted = {g_bytes + 534, 6}},
593
- {.refcount = &grpc_static_metadata_refcounts[20],
594
- .data.refcounted = {g_bytes + 234, 0}}},
595
- {{.refcount = &grpc_static_metadata_refcounts[55],
596
- .data.refcounted = {g_bytes + 540, 27}},
597
- {.refcount = &grpc_static_metadata_refcounts[20],
598
- .data.refcounted = {g_bytes + 234, 0}}},
599
- {{.refcount = &grpc_static_metadata_refcounts[56],
600
- .data.refcounted = {g_bytes + 567, 3}},
601
- {.refcount = &grpc_static_metadata_refcounts[20],
602
- .data.refcounted = {g_bytes + 234, 0}}},
603
- {{.refcount = &grpc_static_metadata_refcounts[57],
604
- .data.refcounted = {g_bytes + 570, 5}},
605
- {.refcount = &grpc_static_metadata_refcounts[20],
606
- .data.refcounted = {g_bytes + 234, 0}}},
607
- {{.refcount = &grpc_static_metadata_refcounts[58],
608
- .data.refcounted = {g_bytes + 575, 13}},
609
- {.refcount = &grpc_static_metadata_refcounts[20],
610
- .data.refcounted = {g_bytes + 234, 0}}},
611
- {{.refcount = &grpc_static_metadata_refcounts[59],
612
- .data.refcounted = {g_bytes + 588, 13}},
613
- {.refcount = &grpc_static_metadata_refcounts[20],
614
- .data.refcounted = {g_bytes + 234, 0}}},
615
- {{.refcount = &grpc_static_metadata_refcounts[60],
616
- .data.refcounted = {g_bytes + 601, 19}},
617
- {.refcount = &grpc_static_metadata_refcounts[20],
618
- .data.refcounted = {g_bytes + 234, 0}}},
619
- {{.refcount = &grpc_static_metadata_refcounts[61],
620
- .data.refcounted = {g_bytes + 620, 16}},
621
- {.refcount = &grpc_static_metadata_refcounts[20],
622
- .data.refcounted = {g_bytes + 234, 0}}},
623
- {{.refcount = &grpc_static_metadata_refcounts[62],
624
- .data.refcounted = {g_bytes + 636, 16}},
625
- {.refcount = &grpc_static_metadata_refcounts[20],
626
- .data.refcounted = {g_bytes + 234, 0}}},
627
- {{.refcount = &grpc_static_metadata_refcounts[63],
628
- .data.refcounted = {g_bytes + 652, 14}},
629
- {.refcount = &grpc_static_metadata_refcounts[20],
630
- .data.refcounted = {g_bytes + 234, 0}}},
631
- {{.refcount = &grpc_static_metadata_refcounts[64],
632
- .data.refcounted = {g_bytes + 666, 16}},
633
- {.refcount = &grpc_static_metadata_refcounts[20],
634
- .data.refcounted = {g_bytes + 234, 0}}},
635
- {{.refcount = &grpc_static_metadata_refcounts[65],
636
- .data.refcounted = {g_bytes + 682, 13}},
637
- {.refcount = &grpc_static_metadata_refcounts[20],
638
- .data.refcounted = {g_bytes + 234, 0}}},
639
- {{.refcount = &grpc_static_metadata_refcounts[14],
640
- .data.refcounted = {g_bytes + 158, 12}},
641
- {.refcount = &grpc_static_metadata_refcounts[20],
642
- .data.refcounted = {g_bytes + 234, 0}}},
643
- {{.refcount = &grpc_static_metadata_refcounts[66],
644
- .data.refcounted = {g_bytes + 695, 6}},
645
- {.refcount = &grpc_static_metadata_refcounts[20],
646
- .data.refcounted = {g_bytes + 234, 0}}},
647
- {{.refcount = &grpc_static_metadata_refcounts[67],
648
- .data.refcounted = {g_bytes + 701, 4}},
649
- {.refcount = &grpc_static_metadata_refcounts[20],
650
- .data.refcounted = {g_bytes + 234, 0}}},
651
- {{.refcount = &grpc_static_metadata_refcounts[68],
652
- .data.refcounted = {g_bytes + 705, 4}},
653
- {.refcount = &grpc_static_metadata_refcounts[20],
654
- .data.refcounted = {g_bytes + 234, 0}}},
655
- {{.refcount = &grpc_static_metadata_refcounts[69],
656
- .data.refcounted = {g_bytes + 709, 6}},
657
- {.refcount = &grpc_static_metadata_refcounts[20],
658
- .data.refcounted = {g_bytes + 234, 0}}},
659
- {{.refcount = &grpc_static_metadata_refcounts[70],
660
- .data.refcounted = {g_bytes + 715, 7}},
661
- {.refcount = &grpc_static_metadata_refcounts[20],
662
- .data.refcounted = {g_bytes + 234, 0}}},
663
- {{.refcount = &grpc_static_metadata_refcounts[71],
664
- .data.refcounted = {g_bytes + 722, 4}},
665
- {.refcount = &grpc_static_metadata_refcounts[20],
666
- .data.refcounted = {g_bytes + 234, 0}}},
667
- {{.refcount = &grpc_static_metadata_refcounts[17],
668
- .data.refcounted = {g_bytes + 210, 4}},
669
- {.refcount = &grpc_static_metadata_refcounts[20],
670
- .data.refcounted = {g_bytes + 234, 0}}},
671
- {{.refcount = &grpc_static_metadata_refcounts[72],
672
- .data.refcounted = {g_bytes + 726, 8}},
673
- {.refcount = &grpc_static_metadata_refcounts[20],
674
- .data.refcounted = {g_bytes + 234, 0}}},
675
- {{.refcount = &grpc_static_metadata_refcounts[73],
676
- .data.refcounted = {g_bytes + 734, 17}},
677
- {.refcount = &grpc_static_metadata_refcounts[20],
678
- .data.refcounted = {g_bytes + 234, 0}}},
679
- {{.refcount = &grpc_static_metadata_refcounts[74],
680
- .data.refcounted = {g_bytes + 751, 13}},
681
- {.refcount = &grpc_static_metadata_refcounts[20],
682
- .data.refcounted = {g_bytes + 234, 0}}},
683
- {{.refcount = &grpc_static_metadata_refcounts[75],
684
- .data.refcounted = {g_bytes + 764, 8}},
685
- {.refcount = &grpc_static_metadata_refcounts[20],
686
- .data.refcounted = {g_bytes + 234, 0}}},
687
- {{.refcount = &grpc_static_metadata_refcounts[76],
688
- .data.refcounted = {g_bytes + 772, 19}},
689
- {.refcount = &grpc_static_metadata_refcounts[20],
690
- .data.refcounted = {g_bytes + 234, 0}}},
691
- {{.refcount = &grpc_static_metadata_refcounts[77],
692
- .data.refcounted = {g_bytes + 791, 13}},
693
- {.refcount = &grpc_static_metadata_refcounts[20],
694
- .data.refcounted = {g_bytes + 234, 0}}},
695
- {{.refcount = &grpc_static_metadata_refcounts[18],
696
- .data.refcounted = {g_bytes + 214, 8}},
697
- {.refcount = &grpc_static_metadata_refcounts[20],
698
- .data.refcounted = {g_bytes + 234, 0}}},
699
- {{.refcount = &grpc_static_metadata_refcounts[78],
700
- .data.refcounted = {g_bytes + 804, 11}},
701
- {.refcount = &grpc_static_metadata_refcounts[20],
702
- .data.refcounted = {g_bytes + 234, 0}}},
703
- {{.refcount = &grpc_static_metadata_refcounts[79],
704
- .data.refcounted = {g_bytes + 815, 4}},
705
- {.refcount = &grpc_static_metadata_refcounts[20],
706
- .data.refcounted = {g_bytes + 234, 0}}},
707
- {{.refcount = &grpc_static_metadata_refcounts[80],
708
- .data.refcounted = {g_bytes + 819, 8}},
709
- {.refcount = &grpc_static_metadata_refcounts[20],
710
- .data.refcounted = {g_bytes + 234, 0}}},
711
- {{.refcount = &grpc_static_metadata_refcounts[81],
712
- .data.refcounted = {g_bytes + 827, 12}},
713
- {.refcount = &grpc_static_metadata_refcounts[20],
714
- .data.refcounted = {g_bytes + 234, 0}}},
715
- {{.refcount = &grpc_static_metadata_refcounts[82],
716
- .data.refcounted = {g_bytes + 839, 18}},
717
- {.refcount = &grpc_static_metadata_refcounts[20],
718
- .data.refcounted = {g_bytes + 234, 0}}},
719
- {{.refcount = &grpc_static_metadata_refcounts[83],
720
- .data.refcounted = {g_bytes + 857, 19}},
721
- {.refcount = &grpc_static_metadata_refcounts[20],
722
- .data.refcounted = {g_bytes + 234, 0}}},
723
- {{.refcount = &grpc_static_metadata_refcounts[84],
724
- .data.refcounted = {g_bytes + 876, 5}},
725
- {.refcount = &grpc_static_metadata_refcounts[20],
726
- .data.refcounted = {g_bytes + 234, 0}}},
727
- {{.refcount = &grpc_static_metadata_refcounts[85],
728
- .data.refcounted = {g_bytes + 881, 7}},
729
- {.refcount = &grpc_static_metadata_refcounts[20],
730
- .data.refcounted = {g_bytes + 234, 0}}},
731
- {{.refcount = &grpc_static_metadata_refcounts[86],
732
- .data.refcounted = {g_bytes + 888, 7}},
733
- {.refcount = &grpc_static_metadata_refcounts[20],
734
- .data.refcounted = {g_bytes + 234, 0}}},
735
- {{.refcount = &grpc_static_metadata_refcounts[87],
736
- .data.refcounted = {g_bytes + 895, 11}},
737
- {.refcount = &grpc_static_metadata_refcounts[20],
738
- .data.refcounted = {g_bytes + 234, 0}}},
739
- {{.refcount = &grpc_static_metadata_refcounts[88],
740
- .data.refcounted = {g_bytes + 906, 6}},
741
- {.refcount = &grpc_static_metadata_refcounts[20],
742
- .data.refcounted = {g_bytes + 234, 0}}},
743
- {{.refcount = &grpc_static_metadata_refcounts[89],
744
- .data.refcounted = {g_bytes + 912, 10}},
745
- {.refcount = &grpc_static_metadata_refcounts[20],
746
- .data.refcounted = {g_bytes + 234, 0}}},
747
- {{.refcount = &grpc_static_metadata_refcounts[90],
748
- .data.refcounted = {g_bytes + 922, 25}},
749
- {.refcount = &grpc_static_metadata_refcounts[20],
750
- .data.refcounted = {g_bytes + 234, 0}}},
751
- {{.refcount = &grpc_static_metadata_refcounts[91],
752
- .data.refcounted = {g_bytes + 947, 17}},
753
- {.refcount = &grpc_static_metadata_refcounts[20],
754
- .data.refcounted = {g_bytes + 234, 0}}},
755
- {{.refcount = &grpc_static_metadata_refcounts[16],
756
- .data.refcounted = {g_bytes + 200, 10}},
757
- {.refcount = &grpc_static_metadata_refcounts[20],
758
- .data.refcounted = {g_bytes + 234, 0}}},
759
- {{.refcount = &grpc_static_metadata_refcounts[92],
760
- .data.refcounted = {g_bytes + 964, 4}},
761
- {.refcount = &grpc_static_metadata_refcounts[20],
762
- .data.refcounted = {g_bytes + 234, 0}}},
763
- {{.refcount = &grpc_static_metadata_refcounts[93],
764
- .data.refcounted = {g_bytes + 968, 3}},
765
- {.refcount = &grpc_static_metadata_refcounts[20],
766
- .data.refcounted = {g_bytes + 234, 0}}},
767
- {{.refcount = &grpc_static_metadata_refcounts[94],
768
- .data.refcounted = {g_bytes + 971, 16}},
769
- {.refcount = &grpc_static_metadata_refcounts[20],
770
- .data.refcounted = {g_bytes + 234, 0}}},
771
- {{.refcount = &grpc_static_metadata_refcounts[10],
772
- .data.refcounted = {g_bytes + 90, 20}},
773
- {.refcount = &grpc_static_metadata_refcounts[29],
774
- .data.refcounted = {g_bytes + 365, 8}}},
775
- {{.refcount = &grpc_static_metadata_refcounts[10],
776
- .data.refcounted = {g_bytes + 90, 20}},
777
- {.refcount = &grpc_static_metadata_refcounts[31],
778
- .data.refcounted = {g_bytes + 377, 7}}},
779
- {{.refcount = &grpc_static_metadata_refcounts[10],
780
- .data.refcounted = {g_bytes + 90, 20}},
781
- {.refcount = &grpc_static_metadata_refcounts[95],
782
- .data.refcounted = {g_bytes + 987, 16}}},
783
- {{.refcount = &grpc_static_metadata_refcounts[10],
784
- .data.refcounted = {g_bytes + 90, 20}},
785
- {.refcount = &grpc_static_metadata_refcounts[30],
786
- .data.refcounted = {g_bytes + 373, 4}}},
787
- {{.refcount = &grpc_static_metadata_refcounts[10],
788
- .data.refcounted = {g_bytes + 90, 20}},
789
- {.refcount = &grpc_static_metadata_refcounts[96],
790
- .data.refcounted = {g_bytes + 1003, 13}}},
791
- {{.refcount = &grpc_static_metadata_refcounts[10],
792
- .data.refcounted = {g_bytes + 90, 20}},
793
- {.refcount = &grpc_static_metadata_refcounts[97],
794
- .data.refcounted = {g_bytes + 1016, 12}}},
795
- {{.refcount = &grpc_static_metadata_refcounts[10],
796
- .data.refcounted = {g_bytes + 90, 20}},
797
- {.refcount = &grpc_static_metadata_refcounts[98],
798
- .data.refcounted = {g_bytes + 1028, 21}}},
381
+ {{&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
382
+ {&grpc_static_metadata_refcounts[29], {{g_bytes + 430, 1}}}},
383
+ {{&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
384
+ {&grpc_static_metadata_refcounts[30], {{g_bytes + 431, 1}}}},
385
+ {{&grpc_static_metadata_refcounts[7], {{g_bytes + 50, 11}}},
386
+ {&grpc_static_metadata_refcounts[31], {{g_bytes + 432, 1}}}},
387
+ {{&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
388
+ {&grpc_static_metadata_refcounts[32], {{g_bytes + 433, 8}}}},
389
+ {{&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
390
+ {&grpc_static_metadata_refcounts[33], {{g_bytes + 441, 4}}}},
391
+ {{&grpc_static_metadata_refcounts[9], {{g_bytes + 77, 13}}},
392
+ {&grpc_static_metadata_refcounts[34], {{g_bytes + 445, 7}}}},
393
+ {{&grpc_static_metadata_refcounts[5], {{g_bytes + 36, 2}}},
394
+ {&grpc_static_metadata_refcounts[35], {{g_bytes + 452, 8}}}},
395
+ {{&grpc_static_metadata_refcounts[14], {{g_bytes + 158, 12}}},
396
+ {&grpc_static_metadata_refcounts[36], {{g_bytes + 460, 16}}}},
397
+ {{&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
398
+ {&grpc_static_metadata_refcounts[37], {{g_bytes + 476, 4}}}},
399
+ {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
400
+ {&grpc_static_metadata_refcounts[38], {{g_bytes + 480, 3}}}},
401
+ {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
402
+ {&grpc_static_metadata_refcounts[39], {{g_bytes + 483, 3}}}},
403
+ {{&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
404
+ {&grpc_static_metadata_refcounts[40], {{g_bytes + 486, 4}}}},
405
+ {{&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
406
+ {&grpc_static_metadata_refcounts[41], {{g_bytes + 490, 5}}}},
407
+ {{&grpc_static_metadata_refcounts[4], {{g_bytes + 29, 7}}},
408
+ {&grpc_static_metadata_refcounts[42], {{g_bytes + 495, 4}}}},
409
+ {{&grpc_static_metadata_refcounts[3], {{g_bytes + 19, 10}}},
410
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
411
+ {{&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
412
+ {&grpc_static_metadata_refcounts[43], {{g_bytes + 499, 3}}}},
413
+ {{&grpc_static_metadata_refcounts[1], {{g_bytes + 5, 7}}},
414
+ {&grpc_static_metadata_refcounts[44], {{g_bytes + 502, 3}}}},
415
+ {{&grpc_static_metadata_refcounts[0], {{g_bytes + 0, 5}}},
416
+ {&grpc_static_metadata_refcounts[45], {{g_bytes + 505, 1}}}},
417
+ {{&grpc_static_metadata_refcounts[0], {{g_bytes + 0, 5}}},
418
+ {&grpc_static_metadata_refcounts[46], {{g_bytes + 506, 11}}}},
419
+ {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
420
+ {&grpc_static_metadata_refcounts[47], {{g_bytes + 517, 3}}}},
421
+ {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
422
+ {&grpc_static_metadata_refcounts[48], {{g_bytes + 520, 3}}}},
423
+ {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
424
+ {&grpc_static_metadata_refcounts[49], {{g_bytes + 523, 3}}}},
425
+ {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
426
+ {&grpc_static_metadata_refcounts[50], {{g_bytes + 526, 3}}}},
427
+ {{&grpc_static_metadata_refcounts[2], {{g_bytes + 12, 7}}},
428
+ {&grpc_static_metadata_refcounts[51], {{g_bytes + 529, 3}}}},
429
+ {{&grpc_static_metadata_refcounts[52], {{g_bytes + 532, 14}}},
430
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
431
+ {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
432
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
433
+ {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
434
+ {&grpc_static_metadata_refcounts[53], {{g_bytes + 546, 13}}}},
435
+ {{&grpc_static_metadata_refcounts[54], {{g_bytes + 559, 15}}},
436
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
437
+ {{&grpc_static_metadata_refcounts[55], {{g_bytes + 574, 13}}},
438
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
439
+ {{&grpc_static_metadata_refcounts[56], {{g_bytes + 587, 6}}},
440
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
441
+ {{&grpc_static_metadata_refcounts[57], {{g_bytes + 593, 27}}},
442
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
443
+ {{&grpc_static_metadata_refcounts[58], {{g_bytes + 620, 3}}},
444
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
445
+ {{&grpc_static_metadata_refcounts[59], {{g_bytes + 623, 5}}},
446
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
447
+ {{&grpc_static_metadata_refcounts[60], {{g_bytes + 628, 13}}},
448
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
449
+ {{&grpc_static_metadata_refcounts[61], {{g_bytes + 641, 13}}},
450
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
451
+ {{&grpc_static_metadata_refcounts[62], {{g_bytes + 654, 19}}},
452
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
453
+ {{&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
454
+ {&grpc_static_metadata_refcounts[32], {{g_bytes + 433, 8}}}},
455
+ {{&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
456
+ {&grpc_static_metadata_refcounts[33], {{g_bytes + 441, 4}}}},
457
+ {{&grpc_static_metadata_refcounts[15], {{g_bytes + 170, 16}}},
458
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
459
+ {{&grpc_static_metadata_refcounts[63], {{g_bytes + 673, 16}}},
460
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
461
+ {{&grpc_static_metadata_refcounts[64], {{g_bytes + 689, 14}}},
462
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
463
+ {{&grpc_static_metadata_refcounts[65], {{g_bytes + 703, 16}}},
464
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
465
+ {{&grpc_static_metadata_refcounts[66], {{g_bytes + 719, 13}}},
466
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
467
+ {{&grpc_static_metadata_refcounts[14], {{g_bytes + 158, 12}}},
468
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
469
+ {{&grpc_static_metadata_refcounts[67], {{g_bytes + 732, 6}}},
470
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
471
+ {{&grpc_static_metadata_refcounts[68], {{g_bytes + 738, 4}}},
472
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
473
+ {{&grpc_static_metadata_refcounts[69], {{g_bytes + 742, 4}}},
474
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
475
+ {{&grpc_static_metadata_refcounts[70], {{g_bytes + 746, 6}}},
476
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
477
+ {{&grpc_static_metadata_refcounts[71], {{g_bytes + 752, 7}}},
478
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
479
+ {{&grpc_static_metadata_refcounts[72], {{g_bytes + 759, 4}}},
480
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
481
+ {{&grpc_static_metadata_refcounts[20], {{g_bytes + 278, 4}}},
482
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
483
+ {{&grpc_static_metadata_refcounts[73], {{g_bytes + 763, 8}}},
484
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
485
+ {{&grpc_static_metadata_refcounts[74], {{g_bytes + 771, 17}}},
486
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
487
+ {{&grpc_static_metadata_refcounts[75], {{g_bytes + 788, 13}}},
488
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
489
+ {{&grpc_static_metadata_refcounts[76], {{g_bytes + 801, 8}}},
490
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
491
+ {{&grpc_static_metadata_refcounts[77], {{g_bytes + 809, 19}}},
492
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
493
+ {{&grpc_static_metadata_refcounts[78], {{g_bytes + 828, 13}}},
494
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
495
+ {{&grpc_static_metadata_refcounts[21], {{g_bytes + 282, 8}}},
496
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
497
+ {{&grpc_static_metadata_refcounts[79], {{g_bytes + 841, 11}}},
498
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
499
+ {{&grpc_static_metadata_refcounts[80], {{g_bytes + 852, 4}}},
500
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
501
+ {{&grpc_static_metadata_refcounts[81], {{g_bytes + 856, 8}}},
502
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
503
+ {{&grpc_static_metadata_refcounts[82], {{g_bytes + 864, 12}}},
504
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
505
+ {{&grpc_static_metadata_refcounts[83], {{g_bytes + 876, 18}}},
506
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
507
+ {{&grpc_static_metadata_refcounts[84], {{g_bytes + 894, 19}}},
508
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
509
+ {{&grpc_static_metadata_refcounts[85], {{g_bytes + 913, 5}}},
510
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
511
+ {{&grpc_static_metadata_refcounts[86], {{g_bytes + 918, 7}}},
512
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
513
+ {{&grpc_static_metadata_refcounts[87], {{g_bytes + 925, 7}}},
514
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
515
+ {{&grpc_static_metadata_refcounts[88], {{g_bytes + 932, 11}}},
516
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
517
+ {{&grpc_static_metadata_refcounts[89], {{g_bytes + 943, 6}}},
518
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
519
+ {{&grpc_static_metadata_refcounts[90], {{g_bytes + 949, 10}}},
520
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
521
+ {{&grpc_static_metadata_refcounts[91], {{g_bytes + 959, 25}}},
522
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
523
+ {{&grpc_static_metadata_refcounts[92], {{g_bytes + 984, 17}}},
524
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
525
+ {{&grpc_static_metadata_refcounts[19], {{g_bytes + 268, 10}}},
526
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
527
+ {{&grpc_static_metadata_refcounts[93], {{g_bytes + 1001, 4}}},
528
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
529
+ {{&grpc_static_metadata_refcounts[94], {{g_bytes + 1005, 3}}},
530
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
531
+ {{&grpc_static_metadata_refcounts[95], {{g_bytes + 1008, 16}}},
532
+ {&grpc_static_metadata_refcounts[23], {{g_bytes + 302, 0}}}},
533
+ {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
534
+ {&grpc_static_metadata_refcounts[32], {{g_bytes + 433, 8}}}},
535
+ {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
536
+ {&grpc_static_metadata_refcounts[34], {{g_bytes + 445, 7}}}},
537
+ {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
538
+ {&grpc_static_metadata_refcounts[96], {{g_bytes + 1024, 16}}}},
539
+ {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
540
+ {&grpc_static_metadata_refcounts[33], {{g_bytes + 441, 4}}}},
541
+ {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
542
+ {&grpc_static_metadata_refcounts[97], {{g_bytes + 1040, 13}}}},
543
+ {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
544
+ {&grpc_static_metadata_refcounts[98], {{g_bytes + 1053, 12}}}},
545
+ {{&grpc_static_metadata_refcounts[10], {{g_bytes + 90, 20}}},
546
+ {&grpc_static_metadata_refcounts[99], {{g_bytes + 1065, 21}}}},
547
+ {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
548
+ {&grpc_static_metadata_refcounts[32], {{g_bytes + 433, 8}}}},
549
+ {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
550
+ {&grpc_static_metadata_refcounts[33], {{g_bytes + 441, 4}}}},
551
+ {{&grpc_static_metadata_refcounts[16], {{g_bytes + 186, 15}}},
552
+ {&grpc_static_metadata_refcounts[97], {{g_bytes + 1040, 13}}}},
553
+ };
554
+ bool grpc_static_callout_is_default[GRPC_BATCH_CALLOUTS_COUNT] = {
555
+ true, // :path
556
+ true, // :method
557
+ true, // :status
558
+ true, // :authority
559
+ true, // :scheme
560
+ true, // te
561
+ true, // grpc-message
562
+ true, // grpc-status
563
+ true, // grpc-payload-bin
564
+ true, // grpc-encoding
565
+ true, // grpc-accept-encoding
566
+ true, // grpc-server-stats-bin
567
+ true, // grpc-tags-bin
568
+ true, // grpc-trace-bin
569
+ true, // content-type
570
+ true, // content-encoding
571
+ true, // accept-encoding
572
+ true, // grpc-internal-encoding-request
573
+ true, // grpc-internal-stream-encoding-request
574
+ true, // user-agent
575
+ true, // host
576
+ true, // lb-token
799
577
  };
800
- const uint8_t grpc_static_accept_encoding_metadata[8] = {0, 74, 75, 76,
801
- 77, 78, 79, 80};
578
+
579
+ const uint8_t grpc_static_accept_encoding_metadata[8] = {0, 76, 77, 78,
580
+ 79, 80, 81, 82};
581
+
582
+ const uint8_t grpc_static_accept_stream_encoding_metadata[4] = {0, 83, 84, 85};