Home
last modified time | relevance | path

Searched refs:add_to (Results 1 – 25 of 44) sorted by relevance

12

/webrtc/stun/src/integrity/
H A Dintegrity_test.rs24 i.add_to(&mut m)?; in test_message_integrity_add_to_simple()
29 a.add_to(&mut m)?; in test_message_integrity_add_to_simple()
55 a.add_to(&mut m)?; in test_message_integrity_with_fingerprint()
62 i.add_to(&mut m)?; in test_message_integrity_with_fingerprint()
63 FINGERPRINT.add_to(&mut m)?; in test_message_integrity_with_fingerprint()
78 i.add_to(&mut m)?; in test_message_integrity()
87 FINGERPRINT.add_to(&mut m)?; in test_message_integrity_before_fingerprint()
89 let result = i.add_to(&mut m); in test_message_integrity_before_fingerprint()
/webrtc/stun/benches/
H A Dbench.rs39 ma_addr.add_to(&mut m).unwrap(); in benchmark_addr()
135 let _ = a.add_to(&mut m); in benchmark_error_code()
147 let _ = a.add_to(&mut m); in benchmark_error_code()
164 let _ = addr.add_to(&mut m); in benchmark_fingerprint()
165 let _ = s.add_to(&mut m); in benchmark_fingerprint()
184 let _ = addr.add_to(&mut m); in benchmark_fingerprint()
185 let _ = s.add_to(&mut m); in benchmark_fingerprint()
251 let _ = software.add_to(&mut m); in benchmark_message_integrity()
523 u.add_to(&mut m).unwrap(); in benchmark_text_attributes()
558 n.add_to(&mut m).unwrap(); in benchmark_text_attributes()
[all …]
/webrtc/stun/src/fingerprint/
H A Dfingerprint_test.rs14 a.add_to(&mut m)?; in fingerprint_uses_crc_32_iso_hdlc()
17 FINGERPRINT.add_to(&mut m)?; in fingerprint_uses_crc_32_iso_hdlc()
34 a.add_to(&mut m)?; in test_fingerprint_check()
37 FINGERPRINT.add_to(&mut m)?; in test_fingerprint_check()
55 a.add_to(&mut m)?; in test_fingerprint_check_bad()
/webrtc/turn/src/server/request/
H A Drequest_test.rs25 lifetime.add_to(&mut m)?; in test_allocation_lifetime_parsing()
41 lifetime.add_to(&mut m2)?; in test_allocation_lifetime_overflow()
104 Lifetime::default().add_to(&mut m)?; in test_allocation_lifetime_deletion_zero_lifetime()
105 MessageIntegrity(STATIC_KEY.as_bytes().to_vec()).add_to(&mut m)?; in test_allocation_lifetime_deletion_zero_lifetime()
106 Nonce::new(ATTR_NONCE, STATIC_KEY.to_owned()).add_to(&mut m)?; in test_allocation_lifetime_deletion_zero_lifetime()
107 Realm::new(ATTR_REALM, STATIC_KEY.to_owned()).add_to(&mut m)?; in test_allocation_lifetime_deletion_zero_lifetime()
108 Username::new(ATTR_USERNAME, STATIC_KEY.to_owned()).add_to(&mut m)?; in test_allocation_lifetime_deletion_zero_lifetime()
/webrtc/turn/benches/
H A Dbench.rs59 n.add_to(&mut m).unwrap(); in benchmark_chan()
68 expected.add_to(&mut m).unwrap(); in benchmark_chan()
85 d.add_to(&mut m).unwrap(); in benchmark_data()
109 l.add_to(&mut m).unwrap(); in benchmark_lifetime()
118 expected.add_to(&mut m).unwrap(); in benchmark_lifetime()
/webrtc/stun/src/textattrs/
H A Dtextattrs_test.rs40 let result = s.add_to(&mut m); in test_software_add_to_invalid()
77 s.add_to(&mut m)?; in test_software_add_to_regression()
97 let result = bad_u.add_to(&mut m); in test_username()
109 u.add_to(&mut m)?; in test_username()
141 u.add_to(&mut m)?; in test_username()
195 let result = s.add_to(&mut m); in test_realm_add_to_invalid()
268 let result = s.add_to(&mut m); in test_nonce_add_to_invalid()
301 n.add_to(&mut m)?; in test_nonce_add_to()
/webrtc/stun/src/addr/
H A Daddr_test.rs15 addr.add_to(&mut m)?; in test_mapped_address()
76 addr.add_to(&mut m)?; in test_mapped_address_v6()
115 addr.add_to(&mut m)?; in test_alternate_server()
155 addr.add_to(&mut m)?; in test_other_address()
/webrtc/turn/src/proto/rsrvtoken/
H A Drsrvtoken_test.rs10 tk.add_to(&mut m)?; in test_reservation_token()
16 if let Err(err) = bad_tk.add_to(&mut m) { in test_reservation_token()
/webrtc/turn/src/proto/evenport/
H A Devenport_test.rs28 p.add_to(&mut m)?; in test_even_port_false()
44 p.add_to(&mut m)?; in test_even_port_add_to()
/webrtc/stun/src/
H A Derror_code.rs38 fn add_to(&self, m: &mut Message) -> Result<()> { in add_to() method
86 fn add_to(&self, m: &mut Message) -> Result<()> { in add_to() method
92 a.add_to(m) in add_to()
/webrtc/ice/src/control/
H A Dmod.rs39 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
60 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
84 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
/webrtc/turn/src/proto/
H A Ddontfrag.rs13 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
H A Ddata.rs21 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
H A Drsrvtoken.rs25 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
H A Dreqtrans.rs33 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
H A Devenport.rs39 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
/webrtc/ice/src/use_candidate/
H A Dmod.rs13 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
/webrtc/turn/src/proto/peeraddr/
H A Dpeeraddr_test.rs16 a.add_to(&mut m)?; in test_peer_address()
/webrtc/turn/src/proto/relayaddr/
H A Drelayaddr_test.rs16 a.add_to(&mut m)?; in test_relayed_address()
/webrtc/stun/src/xoraddr/
H A Dxoraddr_test.rs120 addr.add_to(&mut m)?; in test_xormapped_address_get_from_invalid()
145 addr.add_to(&mut m)?; in test_xormapped_address_add_to()
177 addr.add_to(&mut m)?; in test_xormapped_address_add_to_ipv6()
/webrtc/turn/src/proto/dontfrag/
H A Ddontfrag_test.rs19 dont_fragment.add_to(&mut m)?; in test_dont_fragment_add_to()
/webrtc/turn/src/proto/data/
H A Ddata_test.rs7 d.add_to(&mut m)?; in test_data_add_to()
/webrtc/stun/src/uattrs/
H A Duattrs_test.rs18 a.add_to(&mut m)?; in test_unknown_attributes()
/webrtc/ice/src/priority/
H A Dmod.rs16 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() method
/webrtc/turn/src/proto/channum/
H A Dchannnum_test.rs41 n.add_to(&mut m)?; in test_channel_number_add_to()

12