GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include <cstdint>
#include "src/core/lib/transport/metadata.h"
Go to the source code of this file.
Data Structures | |
union | grpc_metadata_batch_callouts |
Namespaces | |
grpc_core | |
Round Robin Policy. | |
Functions | |
void | grpc_init_static_metadata_ctx (void) |
void | grpc_destroy_static_metadata_ctx (void) |
uint64_t | grpc_core::StaticMetadataInitCanary () |
const grpc_core::StaticMetadataSlice * | grpc_static_slice_table () |
grpc_core::StaticSliceRefcount * | grpc_static_metadata_refcounts () |
grpc_core::StaticMetadata * | grpc_static_mdelem_table () |
grpc_mdelem * | grpc_static_mdelem_manifested () |
grpc_mdelem | grpc_static_mdelem_for_static_strings (intptr_t a, intptr_t b) |
Variables | |
constexpr uint64_t | grpc_core::kGrpcStaticMetadataInitCanary = 0xCAFEF00DC0FFEE11L |
uintptr_t | grpc_static_mdelem_user_data [85] |
const uint8_t | grpc_static_accept_encoding_metadata [8] |
const uint8_t | grpc_static_accept_stream_encoding_metadata [4] |
#define GRPC_BATCH_INDEX_OF | ( | slice | ) |
#define GRPC_IS_STATIC_METADATA_STRING | ( | slice | ) |
#define GRPC_MDELEM_ACCEPT_CHARSET_EMPTY (grpc_static_mdelem_manifested()[14]) |
#define GRPC_MDELEM_ACCEPT_EMPTY (grpc_static_mdelem_manifested()[18]) |
#define GRPC_MDELEM_ACCEPT_ENCODING_EMPTY (grpc_static_mdelem_manifested()[71]) |
#define GRPC_MDELEM_ACCEPT_ENCODING_FOR_ALGORITHMS | ( | algs | ) |
#define GRPC_MDELEM_ACCEPT_ENCODING_GZIP (grpc_static_mdelem_manifested()[83]) |
#define GRPC_MDELEM_ACCEPT_ENCODING_GZIP_COMMA_DEFLATE (grpc_static_mdelem_manifested()[15]) |
#define GRPC_MDELEM_ACCEPT_ENCODING_IDENTITY (grpc_static_mdelem_manifested()[82]) |
#define GRPC_MDELEM_ACCEPT_ENCODING_IDENTITY_COMMA_GZIP (grpc_static_mdelem_manifested()[84]) |
#define GRPC_MDELEM_ACCEPT_LANGUAGE_EMPTY (grpc_static_mdelem_manifested()[16]) |
#define GRPC_MDELEM_ACCEPT_RANGES_EMPTY (grpc_static_mdelem_manifested()[17]) |
#define GRPC_MDELEM_ACCEPT_STREAM_ENCODING_FOR_ALGORITHMS | ( | algs | ) |
#define GRPC_MDELEM_ACCESS_CONTROL_ALLOW_ORIGIN_EMPTY (grpc_static_mdelem_manifested()[19]) |
#define GRPC_MDELEM_AGE_EMPTY (grpc_static_mdelem_manifested()[20]) |
#define GRPC_MDELEM_ALLOW_EMPTY (grpc_static_mdelem_manifested()[21]) |
#define GRPC_MDELEM_AUTHORITY_EMPTY (grpc_static_mdelem_manifested()[0]) |
#define GRPC_MDELEM_AUTHORIZATION_EMPTY (grpc_static_mdelem_manifested()[22]) |
#define GRPC_MDELEM_CACHE_CONTROL_EMPTY (grpc_static_mdelem_manifested()[23]) |
#define GRPC_MDELEM_CONTENT_DISPOSITION_EMPTY (grpc_static_mdelem_manifested()[24]) |
#define GRPC_MDELEM_CONTENT_ENCODING_EMPTY (grpc_static_mdelem_manifested()[25]) |
#define GRPC_MDELEM_CONTENT_ENCODING_GZIP (grpc_static_mdelem_manifested()[73]) |
#define GRPC_MDELEM_CONTENT_ENCODING_IDENTITY (grpc_static_mdelem_manifested()[72]) |
#define GRPC_MDELEM_CONTENT_LANGUAGE_EMPTY (grpc_static_mdelem_manifested()[26]) |
#define GRPC_MDELEM_CONTENT_LENGTH_EMPTY (grpc_static_mdelem_manifested()[27]) |
#define GRPC_MDELEM_CONTENT_LOCATION_EMPTY (grpc_static_mdelem_manifested()[28]) |
#define GRPC_MDELEM_CONTENT_RANGE_EMPTY (grpc_static_mdelem_manifested()[29]) |
#define GRPC_MDELEM_CONTENT_TYPE_APPLICATION_SLASH_GRPC (grpc_static_mdelem_manifested()[68]) |
#define GRPC_MDELEM_CONTENT_TYPE_EMPTY (grpc_static_mdelem_manifested()[30]) |
#define GRPC_MDELEM_COOKIE_EMPTY (grpc_static_mdelem_manifested()[31]) |
#define GRPC_MDELEM_DATE_EMPTY (grpc_static_mdelem_manifested()[32]) |
#define GRPC_MDELEM_ETAG_EMPTY (grpc_static_mdelem_manifested()[33]) |
#define GRPC_MDELEM_EXPECT_EMPTY (grpc_static_mdelem_manifested()[34]) |
#define GRPC_MDELEM_EXPIRES_EMPTY (grpc_static_mdelem_manifested()[35]) |
#define GRPC_MDELEM_FROM_EMPTY (grpc_static_mdelem_manifested()[36]) |
#define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE (grpc_static_mdelem_manifested()[76]) |
#define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE_COMMA_GZIP (grpc_static_mdelem_manifested()[80]) |
#define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_GZIP (grpc_static_mdelem_manifested()[78]) |
#define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY (grpc_static_mdelem_manifested()[75]) |
#define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE (grpc_static_mdelem_manifested()[77]) |
#define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE_COMMA_GZIP (grpc_static_mdelem_manifested()[81]) |
#define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_GZIP (grpc_static_mdelem_manifested()[79]) |
#define GRPC_MDELEM_GRPC_ENCODING_DEFLATE (grpc_static_mdelem_manifested()[66]) |
#define GRPC_MDELEM_GRPC_ENCODING_GZIP (grpc_static_mdelem_manifested()[65]) |
#define GRPC_MDELEM_GRPC_ENCODING_IDENTITY (grpc_static_mdelem_manifested()[64]) |
#define GRPC_MDELEM_GRPC_STATUS_0 (grpc_static_mdelem_manifested()[61]) |
#define GRPC_MDELEM_GRPC_STATUS_1 (grpc_static_mdelem_manifested()[62]) |
#define GRPC_MDELEM_GRPC_STATUS_2 (grpc_static_mdelem_manifested()[63]) |
#define GRPC_MDELEM_HOST_EMPTY (grpc_static_mdelem_manifested()[37]) |
#define GRPC_MDELEM_IF_MATCH_EMPTY (grpc_static_mdelem_manifested()[38]) |
#define GRPC_MDELEM_IF_MODIFIED_SINCE_EMPTY (grpc_static_mdelem_manifested()[39]) |
#define GRPC_MDELEM_IF_NONE_MATCH_EMPTY (grpc_static_mdelem_manifested()[40]) |
#define GRPC_MDELEM_IF_RANGE_EMPTY (grpc_static_mdelem_manifested()[41]) |
#define GRPC_MDELEM_IF_UNMODIFIED_SINCE_EMPTY (grpc_static_mdelem_manifested()[42]) |
#define GRPC_MDELEM_LAST_MODIFIED_EMPTY (grpc_static_mdelem_manifested()[43]) |
#define GRPC_MDELEM_LB_COST_BIN_EMPTY (grpc_static_mdelem_manifested()[74]) |
#define GRPC_MDELEM_LINK_EMPTY (grpc_static_mdelem_manifested()[44]) |
#define GRPC_MDELEM_LOCATION_EMPTY (grpc_static_mdelem_manifested()[45]) |
#define GRPC_MDELEM_MAX_FORWARDS_EMPTY (grpc_static_mdelem_manifested()[46]) |
#define GRPC_MDELEM_METHOD_GET (grpc_static_mdelem_manifested()[1]) |
#define GRPC_MDELEM_METHOD_POST (grpc_static_mdelem_manifested()[2]) |
#define GRPC_MDELEM_METHOD_PUT (grpc_static_mdelem_manifested()[70]) |
#define GRPC_MDELEM_PATH_SLASH (grpc_static_mdelem_manifested()[3]) |
#define GRPC_MDELEM_PATH_SLASH_INDEX_DOT_HTML (grpc_static_mdelem_manifested()[4]) |
#define GRPC_MDELEM_PROXY_AUTHENTICATE_EMPTY (grpc_static_mdelem_manifested()[47]) |
#define GRPC_MDELEM_PROXY_AUTHORIZATION_EMPTY (grpc_static_mdelem_manifested()[48]) |
#define GRPC_MDELEM_RANGE_EMPTY (grpc_static_mdelem_manifested()[49]) |
#define GRPC_MDELEM_REFERER_EMPTY (grpc_static_mdelem_manifested()[50]) |
#define GRPC_MDELEM_REFRESH_EMPTY (grpc_static_mdelem_manifested()[51]) |
#define GRPC_MDELEM_RETRY_AFTER_EMPTY (grpc_static_mdelem_manifested()[52]) |
#define GRPC_MDELEM_SCHEME_GRPC (grpc_static_mdelem_manifested()[69]) |
#define GRPC_MDELEM_SCHEME_HTTP (grpc_static_mdelem_manifested()[5]) |
#define GRPC_MDELEM_SCHEME_HTTPS (grpc_static_mdelem_manifested()[6]) |
#define GRPC_MDELEM_SERVER_EMPTY (grpc_static_mdelem_manifested()[53]) |
#define GRPC_MDELEM_SET_COOKIE_EMPTY (grpc_static_mdelem_manifested()[54]) |
#define GRPC_MDELEM_STATUS_200 (grpc_static_mdelem_manifested()[7]) |
#define GRPC_MDELEM_STATUS_204 (grpc_static_mdelem_manifested()[8]) |
#define GRPC_MDELEM_STATUS_206 (grpc_static_mdelem_manifested()[9]) |
#define GRPC_MDELEM_STATUS_304 (grpc_static_mdelem_manifested()[10]) |
#define GRPC_MDELEM_STATUS_400 (grpc_static_mdelem_manifested()[11]) |
#define GRPC_MDELEM_STATUS_404 (grpc_static_mdelem_manifested()[12]) |
#define GRPC_MDELEM_STATUS_500 (grpc_static_mdelem_manifested()[13]) |
#define GRPC_MDELEM_STRICT_TRANSPORT_SECURITY_EMPTY (grpc_static_mdelem_manifested()[55]) |
#define GRPC_MDELEM_TE_TRAILERS (grpc_static_mdelem_manifested()[67]) |
#define GRPC_MDELEM_TRANSFER_ENCODING_EMPTY (grpc_static_mdelem_manifested()[56]) |
#define GRPC_MDELEM_USER_AGENT_EMPTY (grpc_static_mdelem_manifested()[57]) |
#define GRPC_MDELEM_VARY_EMPTY (grpc_static_mdelem_manifested()[58]) |
#define GRPC_MDELEM_VIA_EMPTY (grpc_static_mdelem_manifested()[59]) |
#define GRPC_MDELEM_WWW_AUTHENTICATE_EMPTY (grpc_static_mdelem_manifested()[60]) |
#define GRPC_MDSTR_0 (grpc_static_slice_table()[99]) |
#define GRPC_MDSTR_1 (grpc_static_slice_table()[25]) |
#define GRPC_MDSTR_2 (grpc_static_slice_table()[26]) |
#define GRPC_MDSTR_200 (grpc_static_slice_table()[49]) |
#define GRPC_MDSTR_204 (grpc_static_slice_table()[50]) |
#define GRPC_MDSTR_206 (grpc_static_slice_table()[51]) |
#define GRPC_MDSTR_3 (grpc_static_slice_table()[27]) |
#define GRPC_MDSTR_304 (grpc_static_slice_table()[52]) |
#define GRPC_MDSTR_4 (grpc_static_slice_table()[28]) |
#define GRPC_MDSTR_400 (grpc_static_slice_table()[53]) |
#define GRPC_MDSTR_404 (grpc_static_slice_table()[54]) |
#define GRPC_MDSTR_500 (grpc_static_slice_table()[55]) |
#define GRPC_MDSTR_ACCEPT (grpc_static_slice_table()[60]) |
#define GRPC_MDSTR_ACCEPT_CHARSET (grpc_static_slice_table()[56]) |
#define GRPC_MDSTR_ACCEPT_ENCODING (grpc_static_slice_table()[16]) |
#define GRPC_MDSTR_ACCEPT_LANGUAGE (grpc_static_slice_table()[58]) |
#define GRPC_MDSTR_ACCEPT_RANGES (grpc_static_slice_table()[59]) |
#define GRPC_MDSTR_ACCESS_CONTROL_ALLOW_ORIGIN (grpc_static_slice_table()[61]) |
#define GRPC_MDSTR_AGE (grpc_static_slice_table()[62]) |
#define GRPC_MDSTR_ALLOW (grpc_static_slice_table()[63]) |
#define GRPC_MDSTR_APPLICATION_SLASH_GRPC (grpc_static_slice_table()[102]) |
#define GRPC_MDSTR_AUTHORITY (grpc_static_slice_table()[3]) |
#define GRPC_MDSTR_AUTHORIZATION (grpc_static_slice_table()[64]) |
#define GRPC_MDSTR_CACHE_CONTROL (grpc_static_slice_table()[65]) |
#define GRPC_MDSTR_CONTENT_DISPOSITION (grpc_static_slice_table()[66]) |
#define GRPC_MDSTR_CONTENT_ENCODING (grpc_static_slice_table()[15]) |
#define GRPC_MDSTR_CONTENT_LANGUAGE (grpc_static_slice_table()[67]) |
#define GRPC_MDSTR_CONTENT_LENGTH (grpc_static_slice_table()[68]) |
#define GRPC_MDSTR_CONTENT_LOCATION (grpc_static_slice_table()[69]) |
#define GRPC_MDSTR_CONTENT_RANGE (grpc_static_slice_table()[70]) |
#define GRPC_MDSTR_CONTENT_TYPE (grpc_static_slice_table()[14]) |
#define GRPC_MDSTR_COOKIE (grpc_static_slice_table()[71]) |
#define GRPC_MDSTR_DATE (grpc_static_slice_table()[72]) |
#define GRPC_MDSTR_DEFLATE (grpc_static_slice_table()[40]) |
#define GRPC_MDSTR_DEFLATE_COMMA_GZIP (grpc_static_slice_table()[108]) |
#define GRPC_MDSTR_EMPTY (grpc_static_slice_table()[29]) |
#define GRPC_MDSTR_ETAG (grpc_static_slice_table()[73]) |
#define GRPC_MDSTR_EXPECT (grpc_static_slice_table()[74]) |
#define GRPC_MDSTR_EXPIRES (grpc_static_slice_table()[75]) |
#define GRPC_MDSTR_FROM (grpc_static_slice_table()[76]) |
#define GRPC_MDSTR_GET (grpc_static_slice_table()[43]) |
#define GRPC_MDSTR_GRPC (grpc_static_slice_table()[103]) |
#define GRPC_MDSTR_GRPC_ACCEPT_ENCODING (grpc_static_slice_table()[10]) |
#define GRPC_MDSTR_GRPC_DOT_MAX_REQUEST_MESSAGE_BYTES (grpc_static_slice_table()[32]) |
#define GRPC_MDSTR_GRPC_DOT_MAX_RESPONSE_MESSAGE_BYTES (grpc_static_slice_table()[33]) |
#define GRPC_MDSTR_GRPC_DOT_TIMEOUT (grpc_static_slice_table()[31]) |
#define GRPC_MDSTR_GRPC_DOT_WAIT_FOR_READY (grpc_static_slice_table()[30]) |
#define GRPC_MDSTR_GRPC_ENCODING (grpc_static_slice_table()[9]) |
#define GRPC_MDSTR_GRPC_INTERNAL_ENCODING_REQUEST (grpc_static_slice_table()[17]) |
#define GRPC_MDSTR_GRPC_INTERNAL_STREAM_ENCODING_REQUEST (grpc_static_slice_table()[18]) |
#define GRPC_MDSTR_GRPC_MESSAGE (grpc_static_slice_table()[6]) |
#define GRPC_MDSTR_GRPC_PAYLOAD_BIN (grpc_static_slice_table()[8]) |
#define GRPC_MDSTR_GRPC_PREVIOUS_RPC_ATTEMPTS (grpc_static_slice_table()[21]) |
#define GRPC_MDSTR_GRPC_RETRY_PUSHBACK_MS (grpc_static_slice_table()[22]) |
#define GRPC_MDSTR_GRPC_SERVER_STATS_BIN (grpc_static_slice_table()[11]) |
#define GRPC_MDSTR_GRPC_STATUS (grpc_static_slice_table()[7]) |
#define GRPC_MDSTR_GRPC_TAGS_BIN (grpc_static_slice_table()[12]) |
#define GRPC_MDSTR_GRPC_TIMEOUT (grpc_static_slice_table()[24]) |
#define GRPC_MDSTR_GRPC_TRACE_BIN (grpc_static_slice_table()[13]) |
#define GRPC_MDSTR_GZIP (grpc_static_slice_table()[41]) |
#define GRPC_MDSTR_GZIP_COMMA_DEFLATE (grpc_static_slice_table()[57]) |
#define GRPC_MDSTR_HOST (grpc_static_slice_table()[20]) |
#define GRPC_MDSTR_HTTP (grpc_static_slice_table()[47]) |
#define GRPC_MDSTR_HTTPS (grpc_static_slice_table()[48]) |
#define GRPC_MDSTR_IDENTITY (grpc_static_slice_table()[100]) |
#define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE (grpc_static_slice_table()[106]) |
#define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE_COMMA_GZIP (grpc_static_slice_table()[109]) |
#define GRPC_MDSTR_IDENTITY_COMMA_GZIP (grpc_static_slice_table()[107]) |
#define GRPC_MDSTR_IF_MATCH (grpc_static_slice_table()[77]) |
#define GRPC_MDSTR_IF_MODIFIED_SINCE (grpc_static_slice_table()[78]) |
#define GRPC_MDSTR_IF_NONE_MATCH (grpc_static_slice_table()[79]) |
#define GRPC_MDSTR_IF_RANGE (grpc_static_slice_table()[80]) |
#define GRPC_MDSTR_IF_UNMODIFIED_SINCE (grpc_static_slice_table()[81]) |
#define GRPC_MDSTR_LAST_MODIFIED (grpc_static_slice_table()[82]) |
#define GRPC_MDSTR_LB_COST_BIN (grpc_static_slice_table()[105]) |
#define GRPC_MDSTR_LINK (grpc_static_slice_table()[83]) |
#define GRPC_MDSTR_LOCATION (grpc_static_slice_table()[84]) |
#define GRPC_MDSTR_MAX_FORWARDS (grpc_static_slice_table()[85]) |
#define GRPC_MDSTR_METHOD (grpc_static_slice_table()[1]) |
#define GRPC_MDSTR_PATH (grpc_static_slice_table()[0]) |
#define GRPC_MDSTR_POST (grpc_static_slice_table()[44]) |
#define GRPC_MDSTR_PROXY_AUTHENTICATE (grpc_static_slice_table()[86]) |
#define GRPC_MDSTR_PROXY_AUTHORIZATION (grpc_static_slice_table()[87]) |
#define GRPC_MDSTR_PUT (grpc_static_slice_table()[104]) |
#define GRPC_MDSTR_RANGE (grpc_static_slice_table()[88]) |
#define GRPC_MDSTR_REFERER (grpc_static_slice_table()[89]) |
#define GRPC_MDSTR_REFRESH (grpc_static_slice_table()[90]) |
#define GRPC_MDSTR_RETRY_AFTER (grpc_static_slice_table()[91]) |
#define GRPC_MDSTR_SCHEME (grpc_static_slice_table()[4]) |
#define GRPC_MDSTR_SERVER (grpc_static_slice_table()[92]) |
#define GRPC_MDSTR_SET_COOKIE (grpc_static_slice_table()[93]) |
#define GRPC_MDSTR_SLASH (grpc_static_slice_table()[45]) |
#define GRPC_MDSTR_SLASH_ENVOY_DOT_SERVICE_DOT_DISCOVERY_DOT_V2_DOT_AGGREGATEDDISCOVERYSERVICE_SLASH_STREAMAGGREGATEDRESOURCES (grpc_static_slice_table()[38]) |
#define GRPC_MDSTR_SLASH_ENVOY_DOT_SERVICE_DOT_DISCOVERY_DOT_V3_DOT_AGGREGATEDDISCOVERYSERVICE_SLASH_STREAMAGGREGATEDRESOURCES (grpc_static_slice_table()[39]) |
#define GRPC_MDSTR_SLASH_ENVOY_DOT_SERVICE_DOT_LOAD_STATS_DOT_V2_DOT_LOADREPORTINGSERVICE_SLASH_STREAMLOADSTATS (grpc_static_slice_table()[35]) |
#define GRPC_MDSTR_SLASH_ENVOY_DOT_SERVICE_DOT_LOAD_STATS_DOT_V3_DOT_LOADREPORTINGSERVICE_SLASH_STREAMLOADSTATS (grpc_static_slice_table()[36]) |
#define GRPC_MDSTR_SLASH_GRPC_DOT_HEALTH_DOT_V1_DOT_HEALTH_SLASH_WATCH (grpc_static_slice_table()[37]) |
#define GRPC_MDSTR_SLASH_GRPC_DOT_LB_DOT_V1_DOT_LOADBALANCER_SLASH_BALANCELOAD (grpc_static_slice_table()[34]) |
#define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (grpc_static_slice_table()[46]) |
#define GRPC_MDSTR_STATUS (grpc_static_slice_table()[2]) |
#define GRPC_MDSTR_STREAM_SLASH_GZIP (grpc_static_slice_table()[42]) |
#define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (grpc_static_slice_table()[94]) |
#define GRPC_MDSTR_TE (grpc_static_slice_table()[5]) |
#define GRPC_MDSTR_TRAILERS (grpc_static_slice_table()[101]) |
#define GRPC_MDSTR_TRANSFER_ENCODING (grpc_static_slice_table()[95]) |
#define GRPC_MDSTR_USER_AGENT (grpc_static_slice_table()[19]) |
#define GRPC_MDSTR_VARY (grpc_static_slice_table()[96]) |
#define GRPC_MDSTR_VIA (grpc_static_slice_table()[97]) |
#define GRPC_MDSTR_WWW_AUTHENTICATE (grpc_static_slice_table()[98]) |
#define GRPC_MDSTR_X_ENDPOINT_LOAD_METRICS_BIN (grpc_static_slice_table()[23]) |
#define GRPC_STATIC_MDELEM_COUNT 85 |
#define GRPC_STATIC_MDSTR_COUNT 110 |
#define GRPC_STATIC_METADATA_INDEX | ( | static_slice | ) |
void grpc_destroy_static_metadata_ctx | ( | void | ) |
void grpc_init_static_metadata_ctx | ( | void | ) |
grpc_mdelem grpc_static_mdelem_for_static_strings | ( | intptr_t | a, |
intptr_t | b | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
extern |
|
extern |
|
extern |