Searched refs:Context (Results 1 – 11 of 11) sorted by relevance
| /webrtc/srtp/src/context/ |
| H A D | context_test.rs | 15 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 D | srtcp_test.rs | 98 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 D | mod.rs | 102 pub struct Context { struct 112 impl Context { implementation 120 ) -> Result<Context> { in new() argument 152 Ok(Context { in new()
|
| H A D | srtp_test.rs | 60 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 D | srtcp.rs | 7 impl Context { implementation
|
| H A D | srtp.rs | 7 impl Context { impl
|
| /webrtc/srtp/src/session/ |
| H A D | mod.rs | 32 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 D | session_rtcp_test.rs | 145 context: &mut Context, in encrypt_srtcp() argument
|
| H A D | session_rtp_test.rs | 199 fn encrypt_srtp(context: &mut Context, pkt: &rtp::packet::Packet) -> Result<Bytes> { in encrypt_srtp() argument
|
| /webrtc/data/src/data_channel/ |
| H A D | mod.rs | 24 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 D | mod.rs | 20 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()
|