Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 11 of 11) sorted by relevance

/webrtc/srtp/src/context/
H A Dcontext_test.rs15 let mut c = Context::new( in test_context_roc()
42 let mut c = Context::new( in test_context_index()
69 let result = Context::new(&[], &vec![0; salt_len], CIPHER_CONTEXT_ALGO, None, None); in test_key_len()
72 let result = Context::new(&vec![0; key_len], &[], CIPHER_CONTEXT_ALGO, None, None); in test_key_len()
75 let result = Context::new( in test_key_len()
237 let mut ctx = Context::new( in test_encrypt_rtp()
255 let mut ctx = Context::new( in test_decrypt_rtp()
273 let mut ctx = Context::new( in test_encrypt_rtcp()
291 let mut ctx = Context::new( in test_decrypt_rtcp()
H A Dsrtcp_test.rs98 let mut encrypt_context = Context::new( in test_rtcp_lifecycle()
105 let mut decrypt_context = Context::new( in test_rtcp_lifecycle()
135 let mut decrypt_context = Context::new( in test_rtcp_invalid_auth_tag()
166 let mut decrypt_context = Context::new( in test_rtcp_replay_detector_separation()
212 let mut encrypt_context = Context::new( in test_encrypt_rtcp_separation()
222 let mut decrypt_context = Context::new( in test_encrypt_rtcp_separation()
H A Dmod.rs102 pub struct Context { struct
112 impl Context { implementation
120 ) -> Result<Context> { in new() argument
152 Ok(Context { in new()
H A Dsrtp_test.rs60 fn build_test_context() -> Result<Context> { in build_test_context()
69 Context::new( in build_test_context()
89 let mut invalid_context = Context::new( in test_rtp_invalid_auth()
H A Dsrtcp.rs7 impl Context { implementation
H A Dsrtp.rs7 impl Context { impl
/webrtc/srtp/src/session/
H A Dmod.rs32 local_context: Arc<Mutex<Context>>,
47 let local_context = Context::new( in new()
55 let mut remote_context = Context::new( in new()
135 remote_context: &mut Context, in incoming() argument
H A Dsession_rtcp_test.rs145 context: &mut Context, in encrypt_srtcp() argument
H A Dsession_rtp_test.rs199 fn encrypt_srtp(context: &mut Context, pkt: &rtp::packet::Packet) -> Result<Bytes> { in encrypt_srtp() argument
/webrtc/data/src/data_channel/
H A Dmod.rs24 use std::task::{Context, Poll};
484 cx: &mut Context<'_>, in poll_read()
555 cx: &mut Context<'_>, in poll_write()
612 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_flush()
629 fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_shutdown()
/webrtc/sctp/src/stream/
H A Dmod.rs20 task::{Context, Poll},
661 cx: &mut Context<'_>, in poll_read()
732 cx: &mut Context<'_>, in poll_write()
787 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_flush()
804 fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_shutdown()