| /webrtc/util/src/marshal/ |
| H A D | exact_size_buf.rs | 7 Bytes, BytesMut, 37 impl ExactSizeBuf for BytesMut { implementation 40 BytesMut::len(self) in len() 45 BytesMut::is_empty(self) in is_empty()
|
| H A D | mod.rs | 3 use bytes::{Buf, Bytes, BytesMut}; 16 let mut buf = BytesMut::with_capacity(l); in marshal()
|
| /webrtc/rtp/src/extension/video_orientation_extension/ |
| H A D | video_orientation_extension_test.rs | 3 use bytes::{Bytes, BytesMut}; 26 let mut dst = BytesMut::with_capacity(a2.marshal_size()); in test_video_orientation_extension_back_facing_camera() 46 let mut dst = BytesMut::with_capacity(a2.marshal_size()); in test_video_orientation_extension_flip_true() 66 let mut dst = BytesMut::with_capacity(a2.marshal_size()); in test_video_orientation_extension_degree_90() 86 let mut dst = BytesMut::with_capacity(a2.marshal_size()); in test_video_orientation_extension_degree_180() 106 let mut dst = BytesMut::with_capacity(a2.marshal_size()); in test_video_orientation_extension_degree_270()
|
| /webrtc/rtp/src/extension/audio_level_extension/ |
| H A D | audio_level_extension_test.rs | 3 use bytes::{Bytes, BytesMut}; 25 let mut dst = BytesMut::with_capacity(a2.marshal_size()); in test_audio_level_extension_voice_true() 44 let mut dst = BytesMut::with_capacity(a2.marshal_size()); in test_audio_level_extension_voice_false() 59 let mut dst = BytesMut::with_capacity(a.marshal_size()); in test_audio_level_extension_level_overflow()
|
| /webrtc/sctp/src/chunk/ |
| H A D | mod.rs | 25 use bytes::{Bytes, BytesMut}; 34 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize>; in marshal_to() 41 let mut buf = BytesMut::with_capacity(capacity); in marshal()
|
| H A D | chunk_cookie_ack.rs | 3 use bytes::{Bytes, BytesMut}; 42 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | chunk_shutdown_complete.rs | 3 use bytes::{Bytes, BytesMut}; 42 fn marshal_to(&self, writer: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | chunk_shutdown_ack.rs | 3 use bytes::{Bytes, BytesMut}; 42 fn marshal_to(&self, writer: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | chunk_unknown.rs | 3 use bytes::{Bytes, BytesMut}; 36 fn marshal_to(&self, buf: &mut BytesMut) -> crate::error::Result<usize> { in marshal_to()
|
| H A D | chunk_cookie_echo.rs | 3 use bytes::{Bytes, BytesMut}; 48 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | chunk_shutdown.rs | 3 use bytes::{Buf, BufMut, Bytes, BytesMut}; 56 fn marshal_to(&self, writer: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| /webrtc/sctp/src/param/ |
| H A D | param_state_cookie.rs | 3 use bytes::{Bytes, BytesMut}; 33 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize> { in marshal_to() 54 let mut cookie = BytesMut::new(); in new()
|
| H A D | param_forward_tsn_supported.rs | 3 use bytes::{Bytes, BytesMut}; 35 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | param_random.rs | 3 use bytes::{Bytes, BytesMut}; 31 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | param_heartbeat_info.rs | 3 use bytes::{Bytes, BytesMut}; 33 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | param_header.rs | 3 use bytes::{Buf, BufMut, Bytes, BytesMut}; 46 fn marshal_to(&self, writer: &mut BytesMut) -> Result<usize> { in marshal_to()
|
| H A D | mod.rs | 31 use bytes::{Buf, Bytes, BytesMut}; 39 fn marshal_to(&self, buf: &mut BytesMut) -> Result<usize>; in marshal_to() 46 let mut buf = BytesMut::with_capacity(capacity); in marshal()
|
| /webrtc/media/src/io/h264_reader/ |
| H A D | mod.rs | 6 use bytes::{BufMut, Bytes, BytesMut}; 109 pub data: BytesMut, 113 fn new(data: BytesMut) -> Self { in new() 137 nal_buffer: BytesMut, 149 nal_buffer: BytesMut::new(), in new()
|
| /webrtc/rtp/src/extension/transport_cc_extension/ |
| H A D | transport_cc_extension_test.rs | 3 use bytes::{Bytes, BytesMut}; 24 let mut dst = BytesMut::with_capacity(t2.marshal_size()); in test_transport_cc_extension()
|
| /webrtc/srtp/src/cipher/ |
| H A D | cipher_aead_aes_gcm.rs | 6 use bytes::{Bytes, BytesMut}; 40 BytesMut::with_capacity(header.marshal_size() + payload.len() + self.auth_tag_len()); in encrypt_rtp() 79 let mut writer = BytesMut::with_capacity(payload_offset + decrypted_msg.len()); in decrypt_rtp() 98 let mut writer = BytesMut::with_capacity(encrypted_data.len() + aad.len()); in encrypt_rtcp() 122 let mut writer = BytesMut::with_capacity(8 + decrypted_data.len()); in decrypt_rtcp()
|
| /webrtc/rtp/src/extension/abs_send_time_extension/ |
| H A D | abs_send_time_extension_test.rs | 4 use bytes::BytesMut; 78 let mut raw = BytesMut::with_capacity(test.marshal_size()); in test_abs_send_time_extension_roundtrip() 103 let mut raw = BytesMut::with_capacity(send.marshal_size()); in test_abs_send_time_extension_estimate()
|
| /webrtc/data/src/message/ |
| H A D | message_channel_ack.rs | 44 use bytes::{Bytes, BytesMut}; 68 let mut buf = BytesMut::with_capacity(0); in test_channel_ack_marshal()
|
| /webrtc/sctp/src/ |
| H A D | error_cause.rs | 3 use bytes::{Buf, BufMut, Bytes, BytesMut}; 115 let mut buf = BytesMut::with_capacity(self.length()); in marshal() 120 pub(crate) fn marshal_to(&self, writer: &mut BytesMut) -> usize { in marshal_to()
|
| /webrtc/media/src/io/ivf_reader/ |
| H A D | mod.rs | 8 use bytes::BytesMut; 69 pub fn parse_next_frame(&mut self) -> Result<(BytesMut, IVFFrameHeader)> { in parse_next_frame() argument 77 let mut payload = BytesMut::with_capacity(header.frame_size as usize); in parse_next_frame()
|
| /webrtc/rtp/benches/ |
| H A D | packet_bench.rs | 4 use bytes::{Bytes, BytesMut}; 38 let mut buf = BytesMut::with_capacity(pkt.marshal_size()); in benchmark_packet()
|