Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice_utils.h147 struct ExternallyManagedSlice : public UnmanagedMemorySlice { struct
148 ExternallyManagedSlice() in ExternallyManagedSlice() argument
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() argument
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()
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/inproc/
Dinproc_transport.cc1251 g_empty_slice = grpc_core::ExternallyManagedSlice(); in grpc_inproc_transport_init()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc1535 p->key.copied ? grpc_core::ExternallyManagedSlice( in is_binary_literal_header()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc4799 ExternallyManagedSlice(key.data(), key.size()), in Add()
4800 ExternallyManagedSlice(value.data(), value.size())); in Add()