Home
last modified time | relevance | path

Searched refs:index (Results 1 – 14 of 14) sorted by relevance

/webrtc/
H A DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
27 source = "registry+https://github.com/rust-lang/crates.io-index"
37 source = "registry+https://github.com/rust-lang/crates.io-index"
48 source = "registry+https://github.com/rust-lang/crates.io-index"
60 source = "registry+https://github.com/rust-lang/crates.io-index"
71 source = "registry+https://github.com/rust-lang/crates.io-index"
85 source = "registry+https://github.com/rust-lang/crates.io-index"
95 source = "registry+https://github.com/rust-lang/crates.io-index"
105 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/webrtc/srtp/src/context/
H A Dsrtcp.rs13 let index = self.cipher.get_rtcp_index(encrypted); in decrypt_rtcp() localVariable
19 if !replay_detector.check(index as u64) { in decrypt_rtcp()
20 return Err(Error::SrtcpSsrcDuplicated(ssrc, index)); in decrypt_rtcp()
28 let dst = self.cipher.decrypt_rtcp(encrypted, index, ssrc)?; in decrypt_rtcp()
49 let index; in encrypt_rtcp() localVariable
56 index = state.srtcp_index; in encrypt_rtcp()
62 self.cipher.encrypt_rtcp(decrypted, index, ssrc) in encrypt_rtcp()
H A Dsrtcp_test.rs9 index: usize, field
27 index: 0,
44 index: 0,
61 index: 0x7ffffffe, // Upper boundary of index
78 index: 0x7fffffff, // Will be wrapped to 0
120 encrypt_context.set_index(test_case.ssrc, test_case.index); in test_rtcp_lifecycle()
H A Dcontext_test.rs50 let index = c.get_index(123); in test_context_index() localVariable
51 assert!(index.is_none(), "Index must return None for unused SSRC"); in test_context_index()
54 let index = c.get_index(123); in test_context_index() localVariable
55 if let Some(i) = index { in test_context_index()
H A Dmod.rs200 fn set_index(&mut self, ssrc: u32, index: usize) { in set_index()
202 s.srtcp_index = index; in set_index()
/webrtc/mdns/src/message/
H A Dparser.rs27 pub index: usize, field
52 if self.index == self.header.count(sec) as usize { in check_advance()
53 self.index = 0; in check_advance()
66 self.index += 1; in resource()
95 self.index += 1; in skip_resource()
101 self.index += 1; in skip_resource()
115 self.index += 1; in question()
149 self.index += 1; in skip_question()
344 self.index += 1; in resource_body()
/webrtc/media/src/io/ogg_reader/
H A Dmod.rs51 index: u32, field
122 let index = head_reader.read_u32::<LittleEndian>()?; //18-21 in parse_next_page() localVariable
141 for (index, v) in h.iter().enumerate() { in parse_next_page()
143 if index > 21 && index < 26 { in parse_next_page()
168 index, in parse_next_page()
/webrtc/webrtc/src/track/track_local/
H A Dtrack_local_static_rtp.rs172 for (index, binding) in bindings.iter().enumerate() { in unbind()
174 idx = Some(index); in unbind()
178 if let Some(index) = idx { in unbind()
179 bindings.remove(index); in unbind()
/webrtc/rtcp/src/
H A Dutil.rs105 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/examples/
H A Ddisplay-interfaces.rs6 for (index, interface) in interfaces.iter().enumerate() { in main()
/webrtc/stun/examples/
H A Dstun_decode.rs19 .index(1) in main()
/webrtc/constraints/src/algorithms/select_settings/
H A Dtie_breaking.rs178 for (index, ideal) in ideal_settings.iter().enumerate() { in closest_to_ideal()
183 let expected = &settings[index]; in closest_to_ideal()
/webrtc/rtp/src/
H A Dheader.rs414 if let Some(index) = self in del_extension()
419 self.extensions.remove(index); in del_extension()
/webrtc/rtcp/src/transport_feedbacks/transport_layer_cc/
H A Dmod.rs244 let index = num_of_bits * (i as u16) + 2; in marshal_to() localVariable
245 dst = set_nbits_of_uint16(dst, num_of_bits, index, *s as u16)?; in marshal_to()