Home
last modified time | relevance | path

Searched refs:ExternallyManagedSlice (Results 1 – 13 of 13) sorted by relevance

/third_party/grpc/test/cpp/microbenchmarks/
Dbm_metadata.cc35 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/
Dslice_utils.h147 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
Dslice.cc105 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/
Dchannel.cc416 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()
Dserver.h172 ExternallyManagedSlice method;
173 ExternallyManagedSlice host;
Dserver.cc1030 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/
Dmetadata.h316 AllocatedMetadata(const grpc_core::ExternallyManagedSlice& key,
431 const grpc_core::ExternallyManagedSlice& key,
Derror_utils.cc64 *slice = grpc_core::ExternallyManagedSlice(""); in grpc_error_get_status()
Dmetadata.cc137 const grpc_core::ExternallyManagedSlice& key, in AllocatedMetadata()
/third_party/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc208 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/
Dinproc_transport.cc1251 g_empty_slice = grpc_core::ExternallyManagedSlice(); in grpc_inproc_transport_init()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc1535 p->key.copied ? grpc_core::ExternallyManagedSlice( in is_binary_literal_header()
/third_party/grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc4805 ExternallyManagedSlice(key.data(), key.size()), in Add()
4806 ExternallyManagedSlice(value.data(), value.size())); in Add()