| /webrtc/util/src/replay_detector/ |
| H A D | replay_detector_test.rs | 13 vec![ in test_replay_detector() 16 vec![ in test_replay_detector() 20 vec![ in test_replay_detector() 23 vec![], in test_replay_detector() 29 vec![ in test_replay_detector() 46 vec![ in test_replay_detector() 50 vec![ in test_replay_detector() 73 vec![ in test_replay_detector() 102 vec![ in test_replay_detector() 105 vec![ in test_replay_detector() [all …]
|
| /webrtc/dtls/src/fragment_buffer/ |
| H A D | fragment_buffer_test.rs | 5 let tests = vec![ in test_fragment_buffer() 8 vec![vec![ in test_fragment_buffer() 12 vec![vec![ in test_fragment_buffer() 20 vec![vec![ in test_fragment_buffer() 24 vec![vec![ in test_fragment_buffer() 32 vec![ in test_fragment_buffer() 49 vec![vec![ in test_fragment_buffer() 74 vec![vec![ in test_fragment_buffer() 82 vec![vec![ in test_fragment_buffer() 112 vec![vec![ in test_fragment_buffer() [all …]
|
| /webrtc/dtls/src/handshake/handshake_cache/ |
| H A D | handshake_cache_test.rs | 5 let tests = vec![ in test_handshake_cache_single_push() 25 vec![ in test_handshake_cache_single_push() 48 vec![ in test_handshake_cache_single_push() 72 vec![ in test_handshake_cache_single_push() 95 vec![ in test_handshake_cache_single_push() 119 vec![ in test_handshake_cache_single_push() 142 vec![ in test_handshake_cache_single_push() 160 vec![ in test_handshake_cache_single_push() 183 vec![ in test_handshake_cache_single_push() 207 vec![ in test_handshake_cache_single_push() [all …]
|
| /webrtc/dtls/src/prf/ |
| H A D | prf_test.rs | 37 let pre_master_secret = vec![ in test_master_secret() 42 let client_random = vec![ in test_master_secret() 47 let server_random = vec![ in test_master_secret() 76 let client_random = vec![ in test_encryption_keys() 81 let server_random = vec![ in test_encryption_keys() 86 let master_secret = vec![ in test_encryption_keys() 95 client_mac_key: vec![], in test_encryption_keys() 96 server_mac_key: vec![], in test_encryption_keys() 97 client_write_key: vec![ in test_encryption_keys() 129 let client_hello = vec![ in test_verify_data() [all …]
|
| /webrtc/media/src/io/h264_writer/ |
| H A D | h264_writer_test.rs | 7 let tests = vec![ in test_is_key_frame() 10 vec![0x27, 0x90, 0x90], in test_is_key_frame() 15 vec![ in test_is_key_frame() 37 let tests = vec![ in test_write_rtp() 40 vec![], in test_write_rtp() 42 vec![], in test_write_rtp() 49 vec![], in test_write_rtp() 61 vec![ in test_write_rtp() 65 vec![ in test_write_rtp() 97 let tests = vec![ in test_write_rtp_fu() [all …]
|
| /webrtc/rtp/src/codecs/vp9/ |
| H A D | vp9_test.rs | 5 let tests = vec![ in test_vp9_packet_unmarshal() 205 pgpdiff: vec![vec![], vec![33]], in test_vp9_packet_unmarshal() 245 ("NilPayload", vec![Bytes::new()], 100, vec![]), in test_vp9_payloader_payload() 246 ("SmallMTU", vec![Bytes::from(vec![0x00, 0x00])], 1, vec![]), in test_vp9_payloader_payload() 249 vec![Bytes::from(vec![0x00, 0x00])], in test_vp9_payloader_payload() 255 vec![Bytes::from(vec![0x01, 0x02])], in test_vp9_payloader_payload() 257 vec![Bytes::from(vec![ in test_vp9_payloader_payload() 267 vec![Bytes::from(vec![0x01, 0x02])], in test_vp9_payloader_payload() 269 vec![ in test_vp9_payloader_payload() 276 vec![Bytes::from(vec![0x01, 0x02, 0x03])], in test_vp9_payloader_payload() [all …]
|
| /webrtc/rtcp/src/transport_feedbacks/transport_layer_nack/ |
| H A D | transport_layer_nack_test.rs | 7 let tests = vec![ in test_transport_layer_nack_unmarshal() 93 nacks: vec![ in test_transport_layer_nack_roundtrip() 144 vec![42], in test_nack_pair() 152 vec![42, 43], in test_nack_pair() 160 vec![42, 44], in test_nack_pair() 240 let test = vec![ in test_transport_layer_nack_pair_generation() 241 ("No Sequence Numbers", vec![], vec![]), in test_transport_layer_nack_pair_generation() 270 vec![ in test_transport_layer_nack_pair_generation() 288 vec![ in test_transport_layer_nack_pair_generation() 306 vec![ in test_transport_layer_nack_pair_generation() [all …]
|
| /webrtc/dtls/src/record_layer/ |
| H A D | record_layer_test.rs | 9 let tests = vec![ in test_udp_decode() 12 vec![ in test_udp_decode() 15 vec![vec![ in test_udp_decode() 22 vec![ in test_udp_decode() 26 vec![ in test_udp_decode() 27 vec![ in test_udp_decode() 31 vec![ in test_udp_decode() 41 vec![], in test_udp_decode() 46 vec![ in test_udp_decode() 49 vec![], in test_udp_decode() [all …]
|
| /webrtc/rtcp/src/source_description/ |
| H A D | source_description_test.rs | 5 let tests = vec![ in test_source_description_unmarshal() 85 chunks: vec![SourceDescriptionChunk { in test_source_description_unmarshal() 87 items: vec![], in test_source_description_unmarshal() 122 chunks: vec![SourceDescriptionChunk { in test_source_description_unmarshal() 145 items: vec![ in test_source_description_unmarshal() 175 chunks: vec![ in test_source_description_unmarshal() 228 let mut too_many_chunks = vec![]; in test_source_description_roundtrip() 233 let tests = vec![ in test_source_description_roundtrip() 237 chunks: vec![ in test_source_description_roundtrip() 247 items: vec![ in test_source_description_roundtrip() [all …]
|
| /webrtc/turn/src/proto/chandata/ |
| H A D | chandata_test.rs | 6 data: vec![1, 2, 3, 4], in test_channel_data_encode() 28 let tests = vec![ in test_channel_data_equal() 33 data: vec![1, 2, 3], in test_channel_data_equal() 38 data: vec![1, 2, 3], in test_channel_data_equal() 47 data: vec![1, 2, 3], in test_channel_data_equal() 52 data: vec![1, 2, 3], in test_channel_data_equal() 97 let tests = vec![ in test_channel_data_decode() 134 data: vec![1, 2, 3, 4], in test_channel_data_reset() 150 let tests = vec![ in test_is_channel_data() 170 let mut data = vec![]; in test_chrome_channel_data() [all …]
|
| /webrtc/dtls/src/signature_hash_algorithm/ |
| H A D | signature_hash_algorithm_test.rs | 5 let tests = vec![ in test_parse_signature_schemes() 8 vec![ in test_parse_signature_schemes() 16 vec![ in test_parse_signature_schemes() 47 vec![ in test_parse_signature_schemes() 51 vec![], in test_parse_signature_schemes() 57 vec![ in test_parse_signature_schemes() 61 vec![], in test_parse_signature_schemes() 67 vec![ in test_parse_signature_schemes() 80 vec![ in test_parse_signature_schemes() 84 vec![ in test_parse_signature_schemes() [all …]
|
| /webrtc/rtcp/src/goodbye/ |
| H A D | goodbye_test.rs | 5 let tests = vec![ in test_goodbye_unmarshal() 27 sources: vec![], in test_goodbye_unmarshal() 40 sources: vec![], in test_goodbye_unmarshal() 66 sources: vec![], in test_goodbye_unmarshal() 78 sources: vec![], in test_goodbye_unmarshal() 90 sources: vec![], in test_goodbye_unmarshal() 99 sources: vec![], in test_goodbye_unmarshal() 140 let tests = vec![ in test_goodbye_round_trip() 144 sources: vec![], in test_goodbye_round_trip() 168 sources: vec![], in test_goodbye_round_trip() [all …]
|
| /webrtc/rtcp/src/compound_packet/ |
| H A D | compound_packet_test.rs | 109 CompoundPacket(vec![ in test_valid_packet() 117 CompoundPacket(vec![ in test_valid_packet() 125 CompoundPacket(vec![ in test_valid_packet() 134 CompoundPacket(vec![ in test_valid_packet() 142 CompoundPacket(vec![ in test_valid_packet() 151 CompoundPacket(vec![ in test_valid_packet() 190 CompoundPacket(vec![ in test_cname() 199 CompoundPacket(vec![ in test_cname() 208 CompoundPacket(vec![ in test_cname() 218 CompoundPacket(vec![ in test_cname() [all …]
|
| /webrtc/constraints/src/algorithms/fitness_distance/value_sequence_constraint/tests/ |
| H A D | f64.rs | 29 ideal: Some(vec![42.0]), 47 ideal: Some(vec![4.0]), in i64_setting() 55 ideal: Some(vec![4.0]), in i64_setting() 63 ideal: Some(vec![4.0]), in i64_setting() 82 ideal: Some(vec![4.0]), in f64_setting() 90 ideal: Some(vec![4.0]), in f64_setting() 126 ideal: Some(vec![42.0]), 151 exact: Some(vec![42.0]), 183 ideal: Some(vec![1.5]), 211 ideal: Some(vec![1.5]), [all …]
|
| H A D | u64.rs | 29 ideal: Some(vec![42]), 47 ideal: Some(vec![4]), in i64_setting() 55 ideal: Some(vec![4]), in i64_setting() 126 ideal: Some(vec![42]), 151 exact: Some(vec![42]), 177 exact: Some(vec![42]), 181 exact: Some(vec![42]), 182 ideal: Some(vec![42]), 205 exact: Some(vec![42]), 209 exact: Some(vec![42]), [all …]
|
| H A D | bool.rs | 25 ideal: Some(vec![true]), 44 ideal: Some(vec![true]), 67 exact: Some(vec![true]), 89 exact: Some(vec![true]), 93 exact: Some(vec![true]), 94 ideal: Some(vec![true]), 117 exact: Some(vec![true]), 121 exact: Some(vec![true]), 122 ideal: Some(vec![true]),
|
| H A D | string.rs | 25 ideal: Some(vec!["foo".to_owned()]), 44 ideal: Some(vec!["foo".to_owned()]), 68 exact: Some(vec!["foo".to_owned()]), 90 exact: Some(vec!["foo".to_owned(), "bar".to_owned(), "baz".to_owned()]), 94 exact: Some(vec!["foo".to_owned(), "bar".to_owned(), "baz".to_owned()]), 95 ideal: Some(vec!["foo".to_owned()]), 118 exact: Some(vec!["foo".to_owned(), "bar".to_owned(), "baz".to_owned()]), 122 exact: Some(vec!["foo".to_owned(), "bar".to_owned(), "baz".to_owned()]), 123 ideal: Some(vec!["foo".to_owned()]),
|
| /webrtc/media/src/audio/buffer/ |
| H A D | layout.rs | 99 let mut output = vec![0; input.len()]; in interleaved_1_channel() 105 let expected = vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]; in interleaved_1_channel() 113 let mut output = vec![0; input.len()]; in deinterleaved_1_channel() 119 let expected = vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]; in deinterleaved_1_channel() 127 let mut output = vec![0; input.len()]; in interleaved_2_channel() 133 let expected = vec![0, 8, 1, 9, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15]; in interleaved_2_channel() 141 let mut output = vec![0; input.len()]; in deinterleaved_2_channel() 155 let mut output = vec![0; input.len()]; in interleaved_3_channel() 161 let expected = vec![0, 5, 10, 1, 6, 11, 2, 7, 12, 3, 8, 13, 4, 9, 14]; in interleaved_3_channel() 169 let mut output = vec![0; input.len()]; in deinterleaved_3_channel() [all …]
|
| /webrtc/dtls/src/conn/ |
| H A D | conn_test.rs | 706 )> = vec![ in test_srtp_configuration() 709 vec![], in test_srtp_configuration() 710 vec![], in test_srtp_configuration() 726 vec![], in test_srtp_configuration() 741 vec![ in test_srtp_configuration() 745 vec![ in test_srtp_configuration() 755 vec![ in test_srtp_configuration() 759 vec![ in test_srtp_configuration() 1546 vec![ in test_cipher_suite_configuration() 2101 vec![ in test_protocol_version_validation() [all …]
|
| /webrtc/rtcp/src/transport_feedbacks/transport_layer_cc/ |
| H A D | transport_layer_cc_test.rs | 6 let tests = vec![ in test_transport_layer_cc_run_length_chunk_unmarshal() 39 let tests = vec![ in test_transport_layer_cc_run_length_chunk_marshal() 72 let tests = vec![ in test_transport_layer_cc_status_vector_chunk_unmarshal() 80 symbol_list: vec![ in test_transport_layer_cc_status_vector_chunk_unmarshal() 105 symbol_list: vec![ in test_transport_layer_cc_status_vector_chunk_unmarshal() 128 let tests = vec![ in test_transport_layer_cc_status_vector_chunk_marshal() 135 symbol_list: vec![ in test_transport_layer_cc_status_vector_chunk_marshal() 184 let tests = vec![ in test_transport_layer_cc_recv_delta_unmarshal() 224 let tests = vec![ in test_transport_layer_cc_recv_delta_marshal() 285 let tests = vec![ in test_transport_layer_cc_unmarshal() [all …]
|
| /webrtc/constraints/src/constraint/ |
| H A D | value_sequence.rs | 39 Self::Bare(vec![bare]) in from() 243 .exact(vec![1, 2]) in to_string() 244 .ideal(vec![2, 3]), in to_string() 270 .exact(vec![true]) in is_required() 271 .ideal(vec![true]), in is_required() 288 let constraint = ValueSequenceConstraint::Bare(vec![true]); in bare() 307 .exact(vec![true]) in constraint() 308 .ideal(vec![true]), in constraint() 326 ValueSequenceConstraint::Bare(vec![true]), in resolve_to_advanced() 350 ValueSequenceConstraint::Bare(vec![true]), in resolve_to_basic() [all …]
|
| /webrtc/constraints/src/algorithms/select_settings/ |
| H A D | select_optimal.rs | 7 let mut optimal_candidates = vec![]; in select_optimal_candidates() 53 let settings = vec![ in monotonic_increasing() 60 let candidates = vec![ in monotonic_increasing() 69 let expected = vec![&settings[0], &settings[1]]; in monotonic_increasing() 76 let settings = vec![ in monotonic_decreasing() 83 let candidates = vec![ in monotonic_decreasing() 92 let expected = vec![&settings[2], &settings[3]]; in monotonic_decreasing() 99 let settings = vec![ in alternating() 106 let candidates = vec![ in alternating() 115 let expected = vec![&settings[1], &settings[3]]; in alternating()
|
| /webrtc/mdns/src/message/ |
| H A D | message_test.rs | 73 answers: vec![ in large_test_msg() 284 let tests = vec![ in test_name() 384 let wants = vec![ in test_header_unpack_error() 483 let wants = vec![ in test_dns_pack_unpack() 510 let wants = vec![ in test_dns_append_pack_unpack() 684 let tests = vec![ in test_too_many_records() 1082 let tests = vec![ in test_resource_pack() 1167 let tests = vec![ in test_option_pack_unpack() 1170 vec![ in test_option_pack_unpack() 1198 vec![ in test_option_pack_unpack() [all …]
|
| /webrtc/dtls/src/handshake/handshake_message_client_hello/ |
| H A D | handshake_message_client_hello_test.rs | 10 let raw_client_hello = vec![ in test_handshake_message_client_hello() 37 cookie: vec![ in test_handshake_message_client_hello() 41 cipher_suites: vec![ in test_handshake_message_client_hello() 48 ids: vec![CompressionMethodId::Null], in test_handshake_message_client_hello() 50 extensions: vec![Extension::SupportedEllipticCurves( in test_handshake_message_client_hello() 52 elliptic_curves: vec![NamedCurve::X25519], in test_handshake_message_client_hello() 64 let mut raw = vec![]; in test_handshake_message_client_hello()
|
| /webrtc/webrtc/src/ice_transport/ |
| H A D | ice_server.rs | 25 let mut urls = vec![]; in urls() 67 let tests = vec![ in test_ice_server_validate_success() 70 urls: vec!["turn:192.158.29.39?transport=udp".to_owned()], in test_ice_server_validate_success() 79 urls: vec!["turn:[2001:db8:1234:5678::1]?transport=udp".to_owned()], in test_ice_server_validate_success() 105 let tests = vec![ in test_ice_server_validate_failure() 108 urls: vec!["turn:192.158.29.39?transport=udp".to_owned()], in test_ice_server_validate_failure() 115 urls: vec!["turn:192.158.29.39?transport=udp".to_owned()], in test_ice_server_validate_failure() 124 urls: vec!["turn:192.158.29.39?transport=udp".to_owned()], in test_ice_server_validate_failure() 133 urls: vec!["turn:192.158.29.39?transport=udp".to_owned()], in test_ice_server_validate_failure() 153 let tests = vec![( in test_ice_server_validate_failure_err_stun_query() [all …]
|