| /webrtc/dtls/src/handshake/ |
| H A D | mod.rs | 123 pub fn size(&self) -> usize { in size() method 125 HandshakeMessage::ClientHello(msg) => msg.size(), in size() 126 HandshakeMessage::ServerHello(msg) => msg.size(), in size() 128 HandshakeMessage::Certificate(msg) => msg.size(), in size() 129 HandshakeMessage::ServerKeyExchange(msg) => msg.size(), in size() 131 HandshakeMessage::ServerHelloDone(msg) => msg.size(), in size() 134 HandshakeMessage::Finished(msg) => msg.size(), in size() 173 length: handshake_message.size() as u32, in new() 176 fragment_length: handshake_message.size() as u32, in new() 186 pub fn size(&self) -> usize { in size() method [all …]
|
| H A D | handshake_message_client_hello.rs | 80 pub fn size(&self) -> usize { in size() method 84 len += self.random.size(); in size() 93 len += self.compression_methods.size(); in size() 97 len += extension.size(); in size()
|
| H A D | handshake_message_server_hello.rs | 59 pub fn size(&self) -> usize { in size() method 60 let mut len = 2 + self.random.size(); in size() 71 len += extension.size(); in size()
|
| H A D | handshake_message_server_hello_done.rs | 16 pub fn size(&self) -> usize { in size() method
|
| H A D | handshake_message_finished.rs | 18 pub fn size(&self) -> usize { in size() method
|
| H A D | handshake_header.rs | 20 pub fn size(&self) -> usize { in size() method
|
| H A D | handshake_message_certificate_verify.rs | 23 pub fn size(&self) -> usize { in size() method
|
| H A D | handshake_message_hello_verify_request.rs | 38 pub fn size(&self) -> usize { in size() method
|
| /webrtc/rtcp/src/ |
| H A D | util.rs | 28 size: u16, in set_nbits_of_uint16() 32 if start_index + size > 16 { in set_nbits_of_uint16() 37 val &= (1 << size) - 1; in set_nbits_of_uint16() 39 Ok(src | (val << (16 - size - start_index))) in set_nbits_of_uint16() 105 for (name, source, size, index, value, result, err) in tests { in test_set_nbits_of_uint16() 106 let res = set_nbits_of_uint16(source, size, index, value); in test_set_nbits_of_uint16()
|
| /webrtc/util/src/buffer/ |
| H A D | buffer_test.rs | 225 assert_eq!(buffer.size().await, 0); in test_buffer_limit_size() 230 assert_eq!(buffer.size().await, 4); in test_buffer_limit_size() 234 assert_eq!(buffer.size().await, 8); in test_buffer_limit_size() 242 assert_eq!(buffer.size().await, 8); in test_buffer_limit_size() 254 assert_eq!(buffer.size().await, 7); in test_buffer_limit_size() 273 assert_eq!(buffer.size().await, 7); in test_buffer_limit_size() 278 assert_eq!(buffer.size().await, 4); in test_buffer_limit_size() 300 for mut size in sizes { in test_buffer_limit_sizes() 302 if size > 0 { in test_buffer_limit_sizes() 307 if size == 0 { in test_buffer_limit_sizes() [all …]
|
| H A D | mod.rs | 33 fn available(&self, size: usize) -> bool { in available() 39 size as isize + 2 < available in available() 88 fn size(&self) -> usize { in size() method 89 let mut size = self.tail as isize - self.head as isize; in size() localVariable 90 if size < 0 { in size() 91 size += self.data.len() as isize; in size() 93 size as usize in size() 138 || (b.limit_size > 0 && b.size() + 2 + packet.len() > b.limit_size) in write() 303 pub async fn size(&self) -> usize { in size() method 306 b.size() in size()
|
| /webrtc/dtls/src/extension/ |
| H A D | mod.rs | 74 pub fn size(&self) -> usize { in size() method 78 Extension::ServerName(ext) => ext.size(), in size() 79 Extension::SupportedEllipticCurves(ext) => ext.size(), in size() 80 Extension::SupportedPointFormats(ext) => ext.size(), in size() 81 Extension::SupportedSignatureAlgorithms(ext) => ext.size(), in size() 82 Extension::UseSrtp(ext) => ext.size(), in size() 83 Extension::UseExtendedMasterSecret(ext) => ext.size(), in size() 84 Extension::RenegotiationInfo(ext) => ext.size(), in size()
|
| H A D | extension_use_extended_master_secret.rs | 19 pub fn size(&self) -> usize { in size() method
|
| H A D | renegotiation_info.rs | 23 pub fn size(&self) -> usize { in size() method
|
| H A D | extension_supported_point_formats.rs | 23 pub fn size(&self) -> usize { in size() method
|
| H A D | extension_supported_elliptic_curves.rs | 20 pub fn size(&self) -> usize { in size() method
|
| H A D | extension_supported_signature_algorithms.rs | 20 pub fn size(&self) -> usize { in size() method
|
| /webrtc/dtls/src/ |
| H A D | content.rs | 50 pub fn size(&self) -> usize { in size() method 52 Content::ChangeCipherSpec(c) => c.size(), in size() 53 Content::Alert(c) => c.size(), in size() 54 Content::Handshake(c) => c.size(), in size() 55 Content::ApplicationData(c) => c.size(), in size()
|
| H A D | application_data.rs | 21 pub fn size(&self) -> usize { in size() method
|
| H A D | compression_methods.rs | 27 pub fn size(&self) -> usize { in size() method
|
| /webrtc/interceptor/src/nack/responder/ |
| H A D | responder_stream.rs | 11 size: u16, field 20 size: 1 << log2_size, in new() 29 self.packets[(seq % self.size) as usize] = Some(packet.clone()); in add() 41 self.packets[(i % self.size) as usize] = None; in add() 46 self.packets[(seq % self.size) as usize] = Some(packet.clone()); in add() 56 if diff >= self.size { in get() 60 self.packets[(seq % self.size) as usize].as_ref() in get()
|
| /webrtc/interceptor/src/nack/generator/ |
| H A D | generator_stream.rs | 10 size: u16, field 20 size: 1 << (log2_size_minus_6 + 6), in new() 53 } else if seq_sub_last_consecutive > self.size { in add() 54 let diff = seq.wrapping_sub(self.size); in add() 73 if diff >= self.size { in get() 102 let pos = (seq % self.size) as usize; in set_received() 107 let pos = (seq % self.size) as usize; in del_received() 112 let pos = (seq % self.size) as usize; in get_received()
|
| /webrtc/turn/src/client/binding/ |
| H A D | binding_test.rs | 47 assert_eq!(count, m.size() as u16, "should match"); in test_binding_manager_method() 62 assert_eq!(0, m.size(), "should match"); in test_binding_manager_method()
|
| /webrtc/dtls/src/change_cipher_spec/ |
| H A D | mod.rs | 23 pub fn size(&self) -> usize { in size() method
|
| /webrtc/dtls/src/fragment_buffer/ |
| H A D | mod.rs | 40 let current_size = self.size(); in push() 128 fn size(&self) -> usize { in size() method
|