Home
last modified time | relevance | path

Searched refs:collect (Results 1 – 25 of 83) sorted by relevance

1234

/webrtc/webrtc/src/rtp_transceiver/fmtp/h264/
H A Dh264_test.rs13 .collect(), in test_h264_fmtp_parse()
23 .collect(), in test_h264_fmtp_parse()
36 .collect(), in test_h264_fmtp_parse()
49 .collect(), in test_h264_fmtp_parse()
70 .collect(); in test_h264_fmtp_compare()
/webrtc/webrtc/src/rtp_transceiver/fmtp/generic/
H A Dgeneric_test.rs14 .collect(), in test_generic_fmtp_parse()
25 .collect(), in test_generic_fmtp_parse()
39 .collect(), in test_generic_fmtp_parse()
53 .collect(), in test_generic_fmtp_parse()
74 .collect(); in test_generic_fmtp_compare()
/webrtc/sdp/src/util/
H A Dmod.rs109 let split: Vec<&str> = rtpmap.split_whitespace().collect(); in parse_rtpmap()
114 let pt_split: Vec<&str> = split[0].split(':').collect(); in parse_rtpmap()
120 let split: Vec<&str> = split[1].split('/').collect(); in parse_rtpmap()
145 let split: Vec<&str> = fmtp.split_whitespace().collect(); in parse_fmtp()
152 let split: Vec<&str> = split[0].split(':').collect(); in parse_fmtp()
167 let split: Vec<&str> = rtcp_fb.splitn(2, ' ').collect(); in parse_rtcp_fb()
172 let pt_split: Vec<&str> = split[0].split(':').collect(); in parse_rtcp_fb()
208 let mut want_split: Vec<&str> = want.split(';').collect(); in equivalent_fmtp()
209 let mut got_split: Vec<&str> = got.split(';').collect(); in equivalent_fmtp()
/webrtc/constraints/src/algorithms/select_settings/
H A Dapply_advanced.rs87 .collect(); in overconstrained()
104 .collect(); in overconstrained()
106 let expected: Vec<_> = settings.iter().collect(); in overconstrained()
153 let candidates: Vec<_> = settings.iter().map(|settings| (settings, 42.0)).collect(); in constrained()
184 .collect(); in constrained()
H A Dapply_mandatory.rs94 let candidates: Vec<_> = settings.iter().collect(); in overconstrained()
188 let candidates: Vec<_> = settings.iter().collect(); in constrained()
/webrtc/webrtc/src/peer_connection/policy/
H A Dsdp_semantics.rs90 .collect() in get_md_names()
98 let fields: Vec<&str> = value.split_whitespace().collect(); in extract_ssrc_list()
108 .collect::<Vec<String>>() in extract_ssrc_list()
/webrtc/media/benches/
H A Daudio_buffer.rs13 let samples = (0..(channels * frames)).map(|i| i as i32).collect(); in benchmark_from()
17 let samples = (0..(channels * frames)).map(|i| i as i32).collect(); in benchmark_from()
/webrtc/sdp/src/extmap/
H A Dmod.rs67 let parts: Vec<&str> = line.trim().splitn(2, ':').collect(); in unmarshal()
72 let fields: Vec<&str> = parts[1].split_whitespace().collect(); in unmarshal()
77 let valdir: Vec<&str> = fields[0].split('/').collect(); in unmarshal()
/webrtc/webrtc/src/rtp_transceiver/fmtp/
H A Dmod.rs38 for p in line.split(';').collect::<Vec<&str>>() { in parse()
39 let pp: Vec<&str> = p.trim().splitn(2, '=').collect(); in parse()
/webrtc/constraints/src/constraints/
H A Dconstraint_set.rs81 Self::new(iter.into_iter().map(|(k, v)| (k.into(), v)).collect()) in from_iter()
109 .collect(), in into_resolved()
137 .collect(); in into_sanitized()
/webrtc/dtls/src/crypto/
H A Dcrypto_test.rs194 .collect::<Vec<Vec<u8>>>(), in test_certificate_verify()
216 .collect::<Vec<Vec<u8>>>(), in test_certificate_verify()
/webrtc/ice/src/rand/
H A Dmod.rs22 .collect(); in generate_crypto_random_string()
/webrtc/mdns/src/message/
H A Dmod.rs249 let v: Vec<String> = self.questions.iter().map(|q| q.to_string()).collect(); in fmt()
253 let v: Vec<String> = self.answers.iter().map(|q| q.to_string()).collect(); in fmt()
257 let v: Vec<String> = self.authorities.iter().map(|q| q.to_string()).collect(); in fmt()
261 let v: Vec<String> = self.additionals.iter().map(|q| q.to_string()).collect(); in fmt()
/webrtc/constraints/src/settings/
H A Dtrack.rs69 Self::new(iter.into_iter().map(|(k, v)| (k.into(), v)).collect()) in from_iter()
119 let actual: HashMap<_, _> = subject.into_iter().collect(); in into_iter()
/webrtc/constraints/src/capabilities/
H A Dtrack.rs67 Self::new(iter.into_iter().map(|(k, v)| (k.into(), v)).collect()) in from_iter()
117 let actual: HashMap<_, _> = subject.into_iter().collect(); in into_iter()
/webrtc/turn/examples/
H A Dturn_server_udp.rs102 let creds: Vec<&str> = users.split(',').collect(); in main()
105 let cred: Vec<&str> = user.splitn(2, '=').collect(); in main()
/webrtc/interceptor/src/
H A Derror.rs43 let errs_strs: Vec<String> = errs.into_iter().map(|e| e.to_string()).collect(); in flatten_errs()
H A Dregistry.rs40 let interceptors: Result<Vec<_>> = self.builders.iter().map(|b| b.build(id)).collect(); in build_chain()
/webrtc/constraints/src/algorithms/fitness_distance/
H A Dsettings.rs25 .collect(); in fitness_distance()
/webrtc/rtp/src/codecs/g7xx/
H A Dg7xx_test.rs11 let samples: Vec<u8> = (0..TEST_LEN).map(|_| rand::random::<u8>()).collect(); in test_g7xx_payload()
/webrtc/constraints/src/
H A Dsupported_constraints.rs83 Self(iter.into_iter().map(|property| property.into()).collect()) in from_iter()
182 let actual: HashSet<_, _> = subject.into_iter().collect(); in into_iter()
/webrtc/webrtc/src/peer_connection/
H A Dconfiguration.rs63 let parts: Vec<&str> = raw_url.split('?').collect(); in get_ice_servers()
/webrtc/sctp/src/param/
H A Dparam_supported_extensions.rs20 .collect::<Vec<String>>() in fmt()
H A Dparam_chunk_list.rs20 .collect::<Vec<String>>() in fmt()
/webrtc/media/src/io/sample_builder/
H A Dsample_sequence_location_test.rs39 let reconstructed: Vec<_> = s.range(&data).map(|x| x.cloned()).collect(); in test_sample_sequence_location_range()

1234