Searched refs:ManagedMemorySlice (Results 1 – 8 of 8) sorted by relevance
54 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 …]
103 struct ManagedMemorySlice : public grpc_slice { struct104 ManagedMemorySlice() { in ManagedMemorySlice() function109 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 {
157 return grpc_core::ManagedMemorySlice(&slice); in grpc_slice_intern()272 grpc_core::ManagedMemorySlice::ManagedMemorySlice(const char* string) in ManagedMemorySlice() function in grpc_core::ManagedMemorySlice273 : grpc_core::ManagedMemorySlice::ManagedMemorySlice(string, in ManagedMemorySlice()276 grpc_core::ManagedMemorySlice::ManagedMemorySlice(const char* buf, size_t len) { in ManagedMemorySlice() function in grpc_core::ManagedMemorySlice289 grpc_core::ManagedMemorySlice::ManagedMemorySlice(const grpc_slice* slice_ptr) { in ManagedMemorySlice() function in grpc_core::ManagedMemorySlice
137 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,
128 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()
47 grpc_core::ManagedMemorySlice default_authority;105 grpc_core::ManagedMemorySlice(default_authority_str); in client_authority_init_channel_elem()
679 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()
529 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()