/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/bytes-1.6.0/src/ |
H A D | bytes_mut.rs | 61 pub struct BytesMut { struct 62 ptr: NonNull<u8>, 63 len: usize, 64 cap: usize, 65 data: *mut Shared, 124 impl BytesMut { implementation 148 pub fn with_capacity(capacity: usize) -> BytesMut { in with_capacity() 279 pub fn zeroed(len: usize) -> BytesMut { in zeroed() 310 pub fn split_off(&mut self, at: usize) -> BytesMut { in split_off() 353 pub fn split(&mut self) -> BytesMut { in split() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/bytes/src/ |
D | bytes_mut.rs | 61 pub struct BytesMut { struct 62 ptr: NonNull<u8>, 63 len: usize, 64 cap: usize, 65 data: *mut Shared, 124 impl BytesMut { impl 148 pub fn with_capacity(capacity: usize) -> BytesMut { in with_capacity() 287 pub fn zeroed(len: usize) -> BytesMut { in zeroed() 320 pub fn split_off(&mut self, at: usize) -> BytesMut { in split_off() 363 pub fn split(&mut self) -> BytesMut { in split() [all …]
|
D | bytes.rs | 641 pub fn try_into_mut(self) -> Result<BytesMut, Bytes> { in try_into_mut() 1030 impl From<Bytes> for BytesMut { implementation 1096 unsafe fn static_to_mut(_: &AtomicPtr<()>, ptr: *const u8, len: usize) -> BytesMut { in static_to_mut() 1149 unsafe fn owned_to_mut(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> BytesMut { in owned_to_mut() 1248 ) -> BytesMut { in promotable_to_mut() 1278 unsafe fn promotable_even_to_mut(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> BytesMut { in promotable_even_to_mut() 1315 unsafe fn promotable_odd_to_mut(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> BytesMut { in promotable_odd_to_mut() 1422 unsafe fn shared_to_mut_impl(shared: *mut Shared, ptr: *const u8, len: usize) -> BytesMut { in shared_to_mut_impl() 1457 unsafe fn shared_to_mut(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> BytesMut { in shared_to_mut()
|
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/hpack/ |
D | encoder.rs | 99 fn encode_size_updates(&mut self, dst: &mut BytesMut) { in encode_size_updates() 115 fn encode_header(&mut self, index: &Index, dst: &mut BytesMut) { in encode_header() 160 dst: &mut BytesMut, in encode_header_without_name() 191 fn encode_size_update(val: usize, dst: &mut BytesMut) { in encode_size_update() 195 fn encode_not_indexed(name: usize, value: &[u8], sensitive: bool, dst: &mut BytesMut) { in encode_not_indexed() 205 fn encode_not_indexed2(name: &[u8], value: &[u8], sensitive: bool, dst: &mut BytesMut) { in encode_not_indexed2() 216 fn encode_str(val: &[u8], dst: &mut BytesMut) { in encode_str() 696 fn encode(e: &mut Encoder, hdrs: Vec<Header<Option<HeaderName>>>) -> BytesMut { in encode() 716 fn huff_decode(src: &[u8]) -> BytesMut { in huff_decode()
|
D | decoder.rs | 178 src: &mut Cursor<&mut BytesMut>, in decode() 278 buf: &mut Cursor<&mut BytesMut>, in decode_literal() 306 buf: &mut Cursor<&mut BytesMut>, in try_decode_string() 458 fn take(buf: &mut Cursor<&mut BytesMut>, n: usize) -> Bytes { in take() 479 fn consume(buf: &mut Cursor<&mut BytesMut>) { in consume() 888 fn huff_encode(src: &[u8]) -> BytesMut { in huff_encode()
|
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/codec/ |
D | compression.rs | 201 decompressed_buf: &mut BytesMut, in compress() 202 out_buf: &mut BytesMut, in compress() 241 compressed_buf: &mut BytesMut, in decompress() 242 out_buf: &mut BytesMut, in decompress()
|
D | encode.rs | 173 buf: &mut BytesMut, in encode_item() 174 uncompression_buf: &mut BytesMut, in encode_item()
|
D | buffer.rs | 18 pub(crate) fn new(buf: &'a mut BytesMut, len: usize) -> Self { in new()
|
/aosp_15_r20/external/rust/android-crates-io/crates/tokio-util/src/codec/ |
D | framed.rs | 248 pub fn read_buffer(&self) -> &BytesMut { in read_buffer() 253 pub fn read_buffer_mut(&mut self) -> &mut BytesMut { in read_buffer_mut() 258 pub fn write_buffer(&self) -> &BytesMut { in write_buffer() 263 pub fn write_buffer_mut(&mut self) -> &mut BytesMut { in write_buffer_mut()
|
D | bytes_codec.rs | 58 fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<BytesMut>, io::Error> { in decode() 81 fn encode(&mut self, data: BytesMut, buf: &mut BytesMut) -> Result<(), io::Error> { in encode()
|
D | framed_write.rs | 129 pub fn write_buffer(&self) -> &BytesMut { in write_buffer() 134 pub fn write_buffer_mut(&mut self) -> &mut BytesMut { in write_buffer_mut()
|
D | framed_read.rs | 148 pub fn read_buffer(&self) -> &BytesMut { in read_buffer() 153 pub fn read_buffer_mut(&mut self) -> &mut BytesMut { in read_buffer_mut()
|
D | length_delimited.rs | 560 fn decode_data(&self, n: usize, src: &mut BytesMut) -> Option<BytesMut> { in decode_data() 575 fn decode(&mut self, src: &mut BytesMut) -> io::Result<Option<BytesMut>> { in decode()
|
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/hpack/huffman/ |
D | mod.rs | 20 pub fn decode(src: &[u8], buf: &mut BytesMut) -> Result<BytesMut, DecoderError> { in decode() 43 pub fn encode(src: &[u8], dst: &mut BytesMut) { in encode() 107 fn decode(src: &[u8]) -> Result<BytesMut, DecoderError> { in decode()
|
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/frame/ |
D | headers.rs | 151 pub fn load(head: Head, mut src: BytesMut) -> Result<(Self, BytesMut), Error> { in load() argument 217 src: &mut BytesMut, in load_hpack() 410 pub fn load(head: Head, mut src: BytesMut) -> Result<(Self, BytesMut), Error> { in load() argument 464 src: &mut BytesMut, in load_hpack() 841 src: &mut BytesMut, in load() 1047 fn huff_decode(src: &[u8]) -> BytesMut { in huff_decode()
|
D | settings.rs | 213 pub fn encode(&self, dst: &mut BytesMut) { in encode() 339 fn encode(&self, dst: &mut BytesMut) { in encode()
|
/aosp_15_r20/external/rust/android-crates-io/crates/hyper/src/proto/h1/ |
D | role.rs | 64 bytes: &mut BytesMut, in parse_headers() 126 fn parse(buf: &mut BytesMut, ctx: ParseContext<'_>) -> ParseResult<RequestLine> { in parse() 932 fn parse(buf: &mut BytesMut, ctx: ParseContext<'_>) -> ParseResult<StatusCode> { in parse() 2729 fn restart(b: &mut BytesMut, len: usize) { in bench_parse_incoming() 2777 fn restart(b: &mut BytesMut, len: usize) { in bench_parse_short()
|
/aosp_15_r20/external/uwb/src/rust/uwb_core/src/uci/ |
H A D | notification.rs | 1004 buffer: &mut BytesMut, in write_multicast_ntf_v1_payload() 1013 fn write_v1_controlee_status(status: &ControleeStatusV1, buffer: &mut BytesMut) { in write_v1_controlee_status() 1023 buffer: &mut BytesMut, in write_multicast_ntf_v2_payload() 1031 fn write_v2_controlee_status(status: &ControleeStatusV2, buffer: &mut BytesMut) { in write_v2_controlee_status()
|
/aosp_15_r20/external/rust/android-crates-io/crates/tokio-util/src/udp/ |
D | frame.rs | 235 pub fn read_buffer(&self) -> &BytesMut { in read_buffer() 240 pub fn read_buffer_mut(&mut self) -> &mut BytesMut { in read_buffer_mut()
|
/aosp_15_r20/external/rust/android-crates-io/crates/combine/src/stream/ |
D | buf_reader.rs | 284 bs: &mut bytes::BytesMut, in tokio_03_read_buf() 317 bs: &mut bytes::BytesMut, in tokio_read_buf() 356 fn extend_buf_sync<R>(buf: &mut BytesMut, read: &mut R) -> io::Result<usize> in extend_buf_sync() 496 buf: &mut BytesMut, in poll_extend_buf()
|
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/codec/ |
D | framed_read.rs | 127 mut bytes: BytesMut, in decode_frame() 442 src: &mut BytesMut, in load_hpack()
|
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/ |
D | fuzz_bridge.rs | 23 fn encode(e: &mut hpack::Encoder, hdrs: Vec<hpack::Header<Option<HeaderName>>>) -> BytesMut { in encode()
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/bytes-1.6.0/src/fmt/ |
H A D | debug.rs | 45 impl Debug for BytesMut { implementation
|
/aosp_15_r20/external/uwb/src/rust/uwb_uci_packets/src/ |
H A D | lib.rs | 846 pub fn write_controlee(controlee: &Controlee) -> BytesMut { in write_controlee() 854 pub fn write_controlee_2_0_16byte(controlee: &Controlee_V2_0_16_Byte_Version) -> BytesMut { in write_controlee_2_0_16byte() 863 pub fn write_controlee_2_0_32byte(controlee: &Controlee_V2_0_32_Byte_Version) -> BytesMut { in write_controlee_2_0_32byte()
|
/aosp_15_r20/external/rust/pica/src/ |
D | session.rs | 105 pub fn data(&self) -> &BytesMut { in data()
|