Searched refs:ids (Results 1 – 8 of 8) sorted by relevance
| /webrtc/dtls/src/ |
| H A D | compression_methods.rs | 23 pub ids: Vec<CompressionMethodId>, field 28 1 + self.ids.len() in size() 32 writer.write_u8(self.ids.len() as u8)?; in marshal() 34 for id in &self.ids { in marshal() 43 let mut ids = vec![]; in unmarshal() localVariable 47 ids.push(id); in unmarshal() 51 Ok(CompressionMethods { ids }) in unmarshal() 57 ids: vec![CompressionMethodId::Null], in default_compression_methods()
|
| /webrtc/webrtc/src/sctp_transport/ |
| H A D | sctp_transport_test.rs | 6 let sctp_transport_with_channels = |ids: &[u16]| -> RTCSctpTransport { in test_generate_data_channel_id() 8 for id in ids { in test_generate_data_channel_id()
|
| /webrtc/rtp/src/packet/ |
| H A D | packet_test.rs | 665 let ids = p.header.get_extension_ids(); in test_rfc8285_get_extension_ids() localVariable 666 assert!(!ids.is_empty(), "Extenstions should exist"); in test_rfc8285_get_extension_ids() 669 ids.len(), in test_rfc8285_get_extension_ids() 672 ids.len(), in test_rfc8285_get_extension_ids() 676 for id in ids { in test_rfc8285_get_extension_ids() 700 let ids = p.header.get_extension_ids(); in test_rfc8285_get_extension_ids_return_empty_when_extension_disabled() localVariable 701 assert!(ids.is_empty(), "Extenstions should not exist"); in test_rfc8285_get_extension_ids_return_empty_when_extension_disabled() 722 let ids = p.header.del_extension(1); in test_rfc8285_del_extension_returns_error_when_extenstions_disabled() localVariable 724 ids.is_err(), in test_rfc8285_del_extension_returns_error_when_extenstions_disabled()
|
| /webrtc/dtls/src/handshake/handshake_message_client_hello/ |
| H A D | handshake_message_client_hello_test.rs | 48 ids: vec![CompressionMethodId::Null], in test_handshake_message_client_hello()
|
| /webrtc/dtls/src/handshake/ |
| H A D | handshake_test.rs | 48 compression_methods: CompressionMethods { ids: vec![] }, in test_handshake_message()
|
| /webrtc/dtls/src/cipher_suite/ |
| H A D | mod.rs | 198 fn cipher_suites_for_ids(ids: &[CipherSuiteId]) -> Result<Vec<Box<dyn CipherSuite + Send + Sync>>> { in cipher_suites_for_ids() 200 for id in ids { in cipher_suites_for_ids()
|
| /webrtc/dtls/src/flight/ |
| H A D | flight4.rs | 548 compression_method: default_compression_methods().ids[0], in generate()
|
| /webrtc/dtls/src/conn/ |
| H A D | conn_test.rs | 2121 compression_method: default_compression_methods().ids[0], in test_protocol_version_validation()
|