Home
last modified time | relevance | path

Searched refs:ManagedMemorySlice (Results 1 – 8 of 8) sorted by relevance

/third_party/grpc/test/cpp/microbenchmarks/
Dbm_metadata.cc54 grpc_slice_unref(grpc_core::ManagedMemorySlice(&slice)); in BM_SliceIntern()
63 grpc_core::ManagedMemorySlice slice(&static_slice); in BM_SliceReIntern()
65 grpc_slice_unref(grpc_core::ManagedMemorySlice(&slice)); in BM_SliceReIntern()
75 benchmark::DoNotOptimize(grpc_core::ManagedMemorySlice(&GRPC_MDSTR_GZIP)); in BM_SliceInternStaticMetadata()
85 benchmark::DoNotOptimize(grpc_core::ManagedMemorySlice(&slice)); in BM_SliceInternEqualToStaticMetadata()
106 grpc_core::ManagedMemorySlice k("key"); in BM_MetadataFromInternedSlices()
107 grpc_core::ManagedMemorySlice v("value"); in BM_MetadataFromInternedSlices()
122 grpc_core::ManagedMemorySlice k("key"); in BM_MetadataFromInternedSlicesAlreadyInIndex()
123 grpc_core::ManagedMemorySlice v("value"); in BM_MetadataFromInternedSlicesAlreadyInIndex()
139 grpc_core::ManagedMemorySlice k("key"); in BM_MetadataFromInternedKey()
[all …]
/third_party/grpc/src/core/lib/slice/
Dslice_utils.h103 struct ManagedMemorySlice : public grpc_slice { struct
104 ManagedMemorySlice() { in ManagedMemorySlice() function
109 explicit ManagedMemorySlice(const char* string);
110 ManagedMemorySlice(const char* buf, size_t len);
111 explicit ManagedMemorySlice(const grpc_slice* slice);
174 struct StaticMetadataSlice : public ManagedMemorySlice {
187 struct InternedSlice : public ManagedMemorySlice {
Dslice_intern.cc157 return grpc_core::ManagedMemorySlice(&slice); in grpc_slice_intern()
272 grpc_core::ManagedMemorySlice::ManagedMemorySlice(const char* string) in ManagedMemorySlice() function in grpc_core::ManagedMemorySlice
273 : grpc_core::ManagedMemorySlice::ManagedMemorySlice(string, in ManagedMemorySlice()
276 grpc_core::ManagedMemorySlice::ManagedMemorySlice(const char* buf, size_t len) { in ManagedMemorySlice() function in grpc_core::ManagedMemorySlice
289 grpc_core::ManagedMemorySlice::ManagedMemorySlice(const grpc_slice* slice_ptr) { in ManagedMemorySlice() function in grpc_core::ManagedMemorySlice
/third_party/grpc/src/core/lib/transport/
Dmetadata.h137 const grpc_core::ManagedMemorySlice& value);
140 grpc_mdelem grpc_mdelem_from_slices(const grpc_core::ManagedMemorySlice& key,
141 const grpc_core::ManagedMemorySlice& value);
314 AllocatedMetadata(const grpc_core::ManagedMemorySlice& key,
423 const grpc_core::ManagedMemorySlice& key,
Dmetadata.cc128 const grpc_core::ManagedMemorySlice& key, in AllocatedMetadata()
532 const grpc_core::ManagedMemorySlice& value) { in grpc_mdelem_from_slices()
541 const grpc_core::ManagedMemorySlice& key, in grpc_mdelem_from_slices()
542 const grpc_core::ManagedMemorySlice& value) { in grpc_mdelem_from_slices()
/third_party/grpc/src/core/ext/filters/http/
Dclient_authority_filter.cc47 grpc_core::ManagedMemorySlice default_authority;
105 grpc_core::ManagedMemorySlice(default_authority_str); in client_authority_init_channel_elem()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc679 static grpc_core::ManagedMemorySlice take_string_intern( in take_string_intern()
681 grpc_core::ManagedMemorySlice s; in take_string_intern()
683 s = grpc_core::ManagedMemorySlice(&str->data.referenced); in take_string_intern()
688 s = grpc_core::ManagedMemorySlice(str->data.copied.str, in take_string_intern()
826 static const grpc_core::ManagedMemorySlice& get_indexed_key(grpc_mdelem md) { in get_indexed_key()
828 return static_cast<const grpc_core::ManagedMemorySlice&>( in get_indexed_key()
/third_party/grpc/src/core/ext/filters/http/client/
Dhttp_client_filter.cc529 static grpc_core::ManagedMemorySlice user_agent_from_args( in user_agent_from_args()
560 return grpc_core::ManagedMemorySlice(user_agent_string.c_str()); in user_agent_from_args()