Searched refs:s1 (Results 1 – 4 of 4) sorted by relevance
| /webrtc/sctp/src/ |
| H A D | util.rs | 92 let s1 = i * INTERVAL; in test_serial_number_arithmetic32bit() localVariable 99 !sna32lt(s1, s2b), in test_serial_number_arithmetic32bit() 104 !sna32gt(s1, s2f), in test_serial_number_arithmetic32bit() 110 sna32lte(s1, s2f), in test_serial_number_arithmetic32bit() 155 assert!(sna32eq(s1, s1), "s1 == s1 should be true: s1={s1} s2={s1}"); in test_serial_number_arithmetic32bit() 156 assert!(sna32lte(s1, s1), "s1 == s1 should be true: s1={s1} s2={s1}"); in test_serial_number_arithmetic32bit() 158 assert!(sna32gte(s1, s1), "s1 == s1 should be true: s1={s1} s2={s1}"); in test_serial_number_arithmetic32bit() 172 let s1 = i * INTERVAL; in test_serial_number_arithmetic16bit() localVariable 221 assert!(sna16eq(s1, s1), "s1 == s1 should be true: s1={s1} s2={s1}"); in test_serial_number_arithmetic16bit() 236 assert!(sna16lte(s1, s1), "s1 == s1 should be true: s1={s1} s2={s1}"); in test_serial_number_arithmetic16bit() [all …]
|
| /webrtc/media/src/io/sample_builder/ |
| H A D | sample_sequence_location_test.rs | 5 let s1 = SampleSequenceLocation { head: 32, tail: 42 }; in test_sample_sequence_location_compare() localVariable 6 assert_eq!(s1.compare(16), Comparison::Before); in test_sample_sequence_location_compare() 7 assert_eq!(s1.compare(32), Comparison::Inside); in test_sample_sequence_location_compare() 8 assert_eq!(s1.compare(38), Comparison::Inside); in test_sample_sequence_location_compare() 9 assert_eq!(s1.compare(41), Comparison::Inside); in test_sample_sequence_location_compare() 10 assert_eq!(s1.compare(42), Comparison::After); in test_sample_sequence_location_compare() 11 assert_eq!(s1.compare(0x57), Comparison::After); in test_sample_sequence_location_compare()
|
| /webrtc/sctp/src/association/ |
| H A D | association_test.rs | 197 let s1 = server.accept_stream().await.unwrap(); in establish_session_pair() localVariable 205 let (n, ppi) = s1.read_sctp(&mut buf).await?; in establish_session_pair() 221 Ok((s0, s1)) in establish_session_pair() 271 let (n, ppi) = s1.read_sctp(&mut buf).await?; in test_assoc_reliable_simple() 358 let (n, ppi) = s1.read_sctp(&mut buf).await?; in test_assoc_reliable_ordered_reordered() 367 let (n, ppi) = s1.read_sctp(&mut buf).await?; in test_assoc_reliable_ordered_reordered() 585 let (n, ppi) = s1.read_sctp(&mut buf).await?; in test_assoc_reliable_unordered_ordered() 594 let (n, ppi) = s1.read_sctp(&mut buf).await?; in test_assoc_reliable_unordered_ordered() 674 let (n, ppi) = s1.read_sctp(&mut buf).await?; in test_assoc_reliable_retransmission() 742 let result = s1.read_sctp(&mut buf).await; in test_assoc_reliable_short_buffer() [all …]
|
| /webrtc/sdp/src/description/ |
| H A D | session.rs | 558 let mut state = Some(StateFn { f: s1 }); in unmarshal() 582 fn s1<'a, R: io::BufRead + io::Seek>(lexer: &mut Lexer<'a, R>) -> Result<Option<StateFn<'a, R>>> { in s1() function
|