Home
last modified time | relevance | path

Searched refs:grpc_static_slice_table (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dstatic_metadata.h50 inline const grpc_core::StaticMetadataSlice* grpc_static_slice_table() { in grpc_static_slice_table() function
58 #define GRPC_MDSTR_PATH (grpc_static_slice_table()[0])
60 #define GRPC_MDSTR_METHOD (grpc_static_slice_table()[1])
62 #define GRPC_MDSTR_STATUS (grpc_static_slice_table()[2])
64 #define GRPC_MDSTR_AUTHORITY (grpc_static_slice_table()[3])
66 #define GRPC_MDSTR_SCHEME (grpc_static_slice_table()[4])
68 #define GRPC_MDSTR_TE (grpc_static_slice_table()[5])
70 #define GRPC_MDSTR_GRPC_MESSAGE (grpc_static_slice_table()[6])
72 #define GRPC_MDSTR_GRPC_STATUS (grpc_static_slice_table()[7])
74 #define GRPC_MDSTR_GRPC_PAYLOAD_BIN (grpc_static_slice_table()[8])
[all …]
/external/grpc-grpc/src/core/lib/transport/
Dstatic_metadata.h35 extern const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT];
37 #define GRPC_MDSTR_PATH (grpc_static_slice_table[0])
39 #define GRPC_MDSTR_METHOD (grpc_static_slice_table[1])
41 #define GRPC_MDSTR_STATUS (grpc_static_slice_table[2])
43 #define GRPC_MDSTR_AUTHORITY (grpc_static_slice_table[3])
45 #define GRPC_MDSTR_SCHEME (grpc_static_slice_table[4])
47 #define GRPC_MDSTR_TE (grpc_static_slice_table[5])
49 #define GRPC_MDSTR_GRPC_MESSAGE (grpc_static_slice_table[6])
51 #define GRPC_MDSTR_GRPC_STATUS (grpc_static_slice_table[7])
53 #define GRPC_MDSTR_GRPC_PAYLOAD_BIN (grpc_static_slice_table[8])
[all …]
Dstatic_metadata.cc229 const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT] = { variable
/external/grpc-grpc/test/core/slice/
Dslice_test.cc274 grpc_static_slice_table[i], in test_static_slice_interning()
275 grpc_slice_intern(grpc_static_slice_table[i]))); in test_static_slice_interning()
285 grpc_slice copy = grpc_slice_dup(grpc_static_slice_table[i]); in test_static_slice_copy_interning()
286 GPR_ASSERT(grpc_static_slice_table[i].refcount != copy.refcount); in test_static_slice_copy_interning()
287 GPR_ASSERT(grpc_static_slice_table[i].refcount == in test_static_slice_copy_interning()
/external/grpc-grpc/src/core/lib/slice/
Dslice_intern.cc190 grpc_slice_eq(grpc_static_slice_table[ent.idx], slice)) { in grpc_slice_maybe_static_intern()
192 return grpc_static_slice_table[ent.idx]; in grpc_slice_maybe_static_intern()
215 grpc_slice_eq(grpc_static_slice_table[ent.idx], slice)) { in grpc_slice_intern()
216 return grpc_static_slice_table[ent.idx]; in grpc_slice_intern()
293 grpc_slice_default_hash_impl(grpc_static_slice_table[i]); in grpc_slice_intern_init()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice_intern.cc141 grpc_static_slice_table(); in grpc_slice_maybe_static_intern()
172 grpc_static_slice_table(); in MatchStaticSlice()
329 grpc_static_slice_table(); in grpc_slice_intern_init()