Home
last modified time | relevance | path

Searched defs:HeaderValue (Results 1 – 25 of 37) sorted by relevance

12

/aosp_15_r20/external/rust/android-crates-io/crates/http/src/header/
Dvalue.rs21 pub struct HeaderValue { struct
26 /// A possible error when converting a `HeaderValue` from a string or byte argument
41 impl HeaderValue { implementation
83 pub const fn from_static(src: &'static str) -> HeaderValue { in from_static()
125 pub fn from_str(src: &str) -> Result<HeaderValue, InvalidHeaderValue> { in from_str()
142 pub fn from_name(name: HeaderName) -> HeaderValue { in from_name()
171 pub fn from_bytes(src: &[u8]) -> Result<HeaderValue, InvalidHeaderValue> { in from_bytes()
179 pub fn from_maybe_shared<T>(src: T) -> Result<HeaderValue, InvalidHeaderValue> in from_maybe_shared()
222 fn from_shared(src: Bytes) -> Result<HeaderValue, InvalidHeaderValue> { in from_shared()
226 …_from_generic<T: AsRef<[u8]>, F: FnOnce(T) -> Bytes>(src: T, into: F) -> Result<HeaderValue, Inval… in try_from_generic()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/metadata/
Dencoding.rs26 fn from_bytes(value: &[u8]) -> Result<HeaderValue, InvalidMetadataValueBytes>; in from_bytes()
29 fn from_shared(value: Bytes) -> Result<HeaderValue, InvalidMetadataValueBytes>; in from_shared()
32 fn from_static(value: &'static str) -> HeaderValue; in from_static()
38 fn equals(a: &HeaderValue, b: &[u8]) -> bool; in equals()
41 fn values_equal(a: &HeaderValue, b: &HeaderValue) -> bool; in values_equal()
44 fn fmt(value: &HeaderValue, f: &mut fmt::Formatter<'_>) -> fmt::Result; in fmt()
85 fn from_bytes(value: &[u8]) -> Result<HeaderValue, InvalidMetadataValueBytes> { in from_bytes()
89 fn from_shared(value: Bytes) -> Result<HeaderValue, InvalidMetadataValueBytes> { in from_shared()
93 fn from_static(value: &'static str) -> HeaderValue { in from_static()
101 fn equals(a: &HeaderValue, b: &[u8]) -> bool { in equals()
[all …]
Dmap.rs2126 fn get_all(self, map: &MetadataMap) -> Option<GetAll<'_, HeaderValue>>; in get_all() argument
2130 -> Result<Entry<'_, HeaderValue>, InvalidMetadataKey>; in entry() argument
2157 fn get_all(self, map: &MetadataMap) -> Option<GetAll<'_, HeaderValue>> { in get_all() argument
2166 ) -> Result<Entry<'_, HeaderValue>, InvalidMetadataKey> { in entry() argument
2200 fn get_all(self, map: &MetadataMap) -> Option<GetAll<'_, HeaderValue>> { in get_all() argument
2209 ) -> Result<Entry<'_, HeaderValue>, InvalidMetadataKey> { in entry() argument
2249 fn get_all(self, map: &MetadataMap) -> Option<GetAll<'_, HeaderValue>> { in get_all() argument
2261 ) -> Result<Entry<'_, HeaderValue>, InvalidMetadataKey> { in entry() argument
2311 fn get_all(self, map: &MetadataMap) -> Option<GetAll<'_, HeaderValue>> { in get_all() argument
2323 ) -> Result<Entry<'_, HeaderValue>, InvalidMetadataKey> { in entry() argument
[all …]
Dvalue.rs217 unsafe { &*(header_value as *const HeaderValue as *const Self) } in unchecked_from_header_value_ref() constant
/aosp_15_r20/external/rust/android-crates-io/crates/http/tests/
Dheader_map_fuzz.rs220 fn insert(&mut self, name: HeaderName, val: HeaderValue) -> Option<HeaderValue> { in insert()
225 fn remove(&mut self, name: &HeaderName) -> Option<HeaderValue> { in remove()
229 fn assert_identical(&self, other: &HeaderMap<HeaderValue>) { in assert_identical()
245 fn apply(self, map: &mut HeaderMap<HeaderValue>) { in apply()
358 fn gen_header_value(g: &mut StdRng) -> HeaderValue { in gen_header_value()
/aosp_15_r20/external/rust/android-crates-io/crates/http/src/
Dresponse.rs349 pub fn headers(&self) -> &HeaderMap<HeaderValue> { in headers()
365 pub fn headers_mut(&mut self) -> &mut HeaderMap<HeaderValue> { in headers_mut()
649 pub fn headers_ref(&self) -> Option<&HeaderMap<HeaderValue>> { in headers_ref()
672 pub fn headers_mut(&mut self) -> Option<&mut HeaderMap<HeaderValue>> { in headers_mut()
Drequest.rs563 pub fn headers(&self) -> &HeaderMap<HeaderValue> { in headers()
579 pub fn headers_mut(&mut self) -> &mut HeaderMap<HeaderValue> { in headers_mut()
947 pub fn headers_ref(&self) -> Option<&HeaderMap<HeaderValue>> { in headers_ref()
969 pub fn headers_mut(&mut self) -> Option<&mut HeaderMap<HeaderValue>> { in headers_mut()
Derror.rs29 HeaderValue(header::InvalidHeaderValue), enumerator
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/transport/service/
Dgrpc_timeout.rs108 headers: &HeaderMap<HeaderValue>, in try_parse_grpc_timeout()
109 ) -> Result<Option<Duration>, &HeaderValue> { in try_parse_grpc_timeout()
180 fn setup_map_try_parse(val: Option<&str>) -> Result<Option<Duration>, HeaderValue> { in setup_map_try_parse() argument
/aosp_15_r20/external/rust/android-crates-io/crates/hyper/src/
Dheaders.rs20 fn connection_has(value: &HeaderValue, needle: &str) -> bool { in connection_has()
137 pub(super) fn add_chunked(mut entry: http::header::OccupiedEntry<'_, HeaderValue>) { in add_chunked() argument
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/common/http/
H A Dhttp_header_block.cc40 HttpHeaderBlock::HeaderValue::HeaderValue(HttpHeaderStorage* storage, in HeaderValue() function in quiche::HttpHeaderBlock::HeaderValue
49 HttpHeaderBlock::HeaderValue::HeaderValue(HeaderValue&& other) in HeaderValue() function in quiche::HttpHeaderBlock::HeaderValue
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/codec/
Dcompression.rs43 pub(crate) fn into_accept_encoding_header_value(self) -> Option<http::HeaderValue> { in into_accept_encoding_header_value()
167 pub(crate) fn into_header_value(self) -> http::HeaderValue { in into_header_value()
/aosp_15_r20/external/aws-eventstream-java/src/main/java/software/amazon/eventstream/
H A DHeaderValue.java36 public abstract class HeaderValue { class
84 protected HeaderValue() {} in HeaderValue() method in HeaderValue
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/extract/
Dws.rs499 pub fn protocol(&self) -> Option<&HeaderValue> { in protocol()
702 fn sign(key: &[u8]) -> HeaderValue { in sign()
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/hpack/test/
Dfuzz.rs347 fn gen_header_value(g: &mut StdRng) -> HeaderValue { in gen_header_value()
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/hpack/
Dheader.rs44 pub fn reify(self) -> Result<Header, HeaderValue> { in reify() argument
Dencoder.rs159 value: &HeaderValue, in encode_header_without_name()
/aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/api/v2/core/
H A Dbase.proto256 message HeaderValue { message
/aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/config/core/v3/
H A Dbase.proto314 message HeaderValue { message
/aosp_15_r20/external/rust/android-crates-io/crates/hyper/src/ffi/
Dhttp_types.rs516 ) -> Result<(HeaderName, HeaderValue, Bytes), hyper_code> { in raw_name_value() argument
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/transport/channel/
Dendpoint.rs92 T: TryInto<HeaderValue>, in user_agent()
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/
Dstatus.rs816 fn to_header_value(self) -> HeaderValue { in to_header_value()
/aosp_15_r20/external/rust/android-crates-io/crates/httparse/src/
Dlib.rs153 HeaderValue, enumerator
/aosp_15_r20/external/aws-sdk-java-v2/services/codegurusecurity/src/main/resources/codegen-resources/
H A Dservice-2.json880 "HeaderValue":{ object
/aosp_15_r20/external/aws-sdk-java-v2/services/ses/src/main/resources/codegen-resources/
H A Dservice-2.json1110 "HeaderValue":{ object
2445 "HeaderValue":{"type":"string"}, object

12