Searched refs:ExternallyManagedSlice (Results 1 – 13 of 13) sorted by relevance
/third_party/grpc/test/cpp/microbenchmarks/ |
D | bm_metadata.cc | 35 benchmark::DoNotOptimize(grpc_core::ExternallyManagedSlice("abc")); in BM_SliceFromStatic() 52 grpc_core::ExternallyManagedSlice slice("abc"); in BM_SliceIntern() 62 grpc_core::ExternallyManagedSlice static_slice("abc"); in BM_SliceReIntern() 83 grpc_core::ExternallyManagedSlice slice("gzip"); in BM_SliceInternEqualToStaticMetadata() 93 grpc_core::ExternallyManagedSlice k("key"); in BM_MetadataFromNonInternedSlices() 94 grpc_core::ExternallyManagedSlice v("value"); in BM_MetadataFromNonInternedSlices() 140 grpc_core::ExternallyManagedSlice v("value"); in BM_MetadataFromInternedKey() 154 grpc_core::ExternallyManagedSlice k("key"); in BM_MetadataFromNonInternedSlicesWithBackingStore() 155 grpc_core::ExternallyManagedSlice v("value"); in BM_MetadataFromNonInternedSlicesWithBackingStore() 189 grpc_core::ExternallyManagedSlice v("value"); in BM_MetadataFromInternedKeyWithBackingStore() [all …]
|
/third_party/grpc/src/core/lib/slice/ |
D | slice_utils.h | 147 struct ExternallyManagedSlice : public UnmanagedMemorySlice { struct 148 ExternallyManagedSlice() in ExternallyManagedSlice() function 149 : ExternallyManagedSlice(&kNoopRefcount, 0, nullptr) {} in ExternallyManagedSlice() 150 explicit ExternallyManagedSlice(const char* s) in ExternallyManagedSlice() argument 151 : ExternallyManagedSlice(s, strlen(s)) {} in ExternallyManagedSlice() 152 ExternallyManagedSlice(const void* s, size_t len) in ExternallyManagedSlice() function 153 : ExternallyManagedSlice( in ExternallyManagedSlice() 156 ExternallyManagedSlice(grpc_slice_refcount* ref, size_t length, in ExternallyManagedSlice() function
|
D | slice.cc | 105 return grpc_core::ExternallyManagedSlice(s, len); in grpc_slice_from_static_buffer() 109 return grpc_core::ExternallyManagedSlice(s, strlen(s)); in grpc_slice_from_static_string()
|
/third_party/grpc/src/core/lib/surface/ |
D | channel.cc | 416 GRPC_MDSTR_PATH, grpc_core::ExternallyManagedSlice(method.c_str()))), in RegisteredCall() 420 grpc_core::ExternallyManagedSlice(host.c_str())) in RegisteredCall() 431 GRPC_MDSTR_PATH, grpc_core::ExternallyManagedSlice(method.c_str()))), in RegisteredCall() 435 grpc_core::ExternallyManagedSlice(host.c_str())) in RegisteredCall()
|
D | server.h | 172 ExternallyManagedSlice method; 173 ExternallyManagedSlice host;
|
D | server.cc | 1030 ExternallyManagedSlice host; in InitTransport() 1031 ExternallyManagedSlice method(rm->method.c_str()); in InitTransport() 1034 host = ExternallyManagedSlice(rm->host.c_str()); in InitTransport()
|
/third_party/grpc/src/core/lib/transport/ |
D | metadata.h | 316 AllocatedMetadata(const grpc_core::ExternallyManagedSlice& key, 431 const grpc_core::ExternallyManagedSlice& key,
|
D | error_utils.cc | 64 *slice = grpc_core::ExternallyManagedSlice(""); in grpc_error_get_status()
|
D | metadata.cc | 137 const grpc_core::ExternallyManagedSlice& key, in AllocatedMetadata()
|
/third_party/grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 208 grpc_core::ExternallyManagedSlice(GRPC_AUTHORIZATION_METADATA_KEY), in grpc_oauth2_token_fetcher_credentials_parse_server_response() 736 grpc_core::ExternallyManagedSlice(GRPC_AUTHORIZATION_METADATA_KEY), in grpc_access_token_credentials()
|
/third_party/grpc/src/core/ext/transport/inproc/ |
D | inproc_transport.cc | 1251 g_empty_slice = grpc_core::ExternallyManagedSlice(); in grpc_inproc_transport_init()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_parser.cc | 1535 p->key.copied ? grpc_core::ExternallyManagedSlice( in is_binary_literal_header()
|
/third_party/grpc/src/core/ext/filters/client_channel/ |
D | client_channel.cc | 4805 ExternallyManagedSlice(key.data(), key.size()), in Add() 4806 ExternallyManagedSlice(value.data(), value.size())); in Add()
|