Home
last modified time | relevance | path

Searched refs:get_from (Results 1 – 25 of 41) sorted by relevance

12

/webrtc/ice/src/control/
H A Dcontrol_test.rs8 let result = c.get_from(&m); in test_controlled_get_from()
21 c1.get_from(&m1)?; in test_controlled_get_from()
30 let result = c2.get_from(&m3); in test_controlled_get_from()
45 let result = c.get_from(&m); in test_controlling_get_from()
58 c1.get_from(&m1)?; in test_controlling_get_from()
67 let result = c2.get_from(&m3); in test_controlling_get_from()
84 let result = c.get_from(&m); in test_control_get_from()
95 let result = c.get_from(&m); in test_control_get_from()
111 c1.get_from(&m1)?; in test_control_get_from()
133 let result = c.get_from(&m); in test_control_get_from()
[all …]
H A Dmod.rs46 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
67 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
95 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
/webrtc/stun/src/addr/
H A Daddr_test.rs20 got.get_from(&m)?; in test_mapped_address()
26 let result = got.get_from(&message); in test_mapped_address()
41 got.get_from(&m)? in test_mapped_address()
47 let result = got.get_from(&message); in test_mapped_address()
81 got.get_from(&m)?; in test_mapped_address_v6()
87 let result = got.get_from(&message); in test_mapped_address_v6()
120 got.get_from(&m)?; in test_alternate_server()
126 let result = got.get_from(&message); in test_alternate_server()
160 got.get_from(&m)?; in test_other_address()
166 let result = got.get_from(&message); in test_other_address()
/webrtc/turn/src/proto/reqfamily/
H A Dreqfamily_test.rs42 req.get_from(&decoded)?; in test_requested_address_family_add_to()
49 if let Err(err) = handle.get_from(&m) { in test_requested_address_family_add_to()
59 if let Err(err) = handle.get_from(&m) { in test_requested_address_family_add_to()
70 handle.get_from(&m).is_err(), in test_requested_address_family_add_to()
/webrtc/turn/src/proto/evenport/
H A Devenport_test.rs34 port.get_from(&m)?; in test_even_port_false()
51 port.get_from(&decoded)?; in test_even_port_add_to()
58 if let Err(err) = handle.get_from(&m) { in test_even_port_add_to()
66 if let Err(err) = handle.get_from(&m) { in test_even_port_add_to()
/webrtc/stun/src/uattrs/
H A Duattrs_test.rs23 attrs.get_from(&m)?; in test_unknown_attributes()
28 let result = attrs.get_from(&m_blank); in test_unknown_attributes()
32 let result = attrs.get_from(&m_blank); in test_unknown_attributes()
/webrtc/ice/src/priority/
H A Dpriority_test.rs8 let result = p.get_from(&m); in test_priority_get_from()
21 p1.get_from(&m1)?; in test_priority_get_from()
30 let result = p2.get_from(&m3); in test_priority_get_from()
H A Dmod.rs26 pub fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
/webrtc/turn/src/proto/channum/
H A Dchannnum_test.rs50 num_decoded.get_from(&decoded)?; in test_channel_number_add_to()
57 if let Err(err) = n_handle.get_from(&m) { in test_channel_number_add_to()
69 if let Err(err) = n_handle.get_from(&m) { in test_channel_number_add_to()
/webrtc/turn/src/proto/lifetime/
H A Dlifetime_test.rs24 life.get_from(&decoded)?; in test_lifetime_add_to()
31 if let Err(err) = n_handle.get_from(&m) { in test_lifetime_add_to()
42 if let Err(err) = n_handle.get_from(&m) { in test_lifetime_add_to()
/webrtc/turn/src/proto/rsrvtoken/
H A Drsrvtoken_test.rs31 tok.get_from(&decoded)?; in test_reservation_token()
38 if let Err(err) = handle.get_from(&m) { in test_reservation_token()
48 if let Err(err) = handle.get_from(&m) { in test_reservation_token()
/webrtc/turn/src/proto/reqtrans/
H A Dreqtrans_test.rs45 req.get_from(&decoded)?; in test_requested_transport_add_to()
52 if let Err(err) = handle.get_from(&m) { in test_requested_transport_add_to()
63 if let Err(err) = handle.get_from(&m) { in test_requested_transport_add_to()
/webrtc/stun/src/xoraddr/
H A Dxoraddr_test.rs47 addr.get_from(&m)?; in test_xormapped_address_get_from()
65 let result = addr.get_from(&m); in test_xormapped_address_get_from()
90 let result = addr.get_from(&m); in test_xormapped_address_get_from()
115 let result = addr.get_from(&m); in test_xormapped_address_get_from_invalid()
128 let result = addr.get_from(&m); in test_xormapped_address_get_from_invalid()
150 addr.get_from(&m_res)?; in test_xormapped_address_add_to()
188 got_addr.get_from(&m)?; in test_xormapped_address_add_to_ipv6()
/webrtc/turn/src/proto/dontfrag/
H A Ddontfrag_test.rs9 assert!(dont_fragment.get_from(&m).is_err(), "should not be set"); in test_dont_fragment_false()
24 assert!(dont_fragment.get_from(&m).is_ok(), "should be set"); in test_dont_fragment_add_to()
/webrtc/turn/src/proto/data/
H A Ddata_test.rs16 data_decoded.get_from(&decoded)?; in test_data_add_to()
23 if let Err(err) = handle.get_from(&m) { in test_data_add_to()
/webrtc/turn/src/server/
H A Drequest.rs164 if let Err(err) = nonce_attr.get_from(m) { in authenticate_request()
194 if let Err(err) = realm_attr.get_from(m) { in authenticate_request()
198 if let Err(err) = username_attr.get_from(m) { in authenticate_request()
338 if let Err(err) = requested_transport.get_from(m) { in handle_allocate_request()
402 if reservation_token_attr.get_from(m).is_ok() { in handle_allocate_request()
404 if even_port.get_from(m).is_ok() { in handle_allocate_request()
430 if even_port.get_from(m).is_ok() { in handle_allocate_request()
676 data_attr.get_from(m)?; in handle_send_indication()
679 peer_address.get_from(m)?; in handle_send_indication()
733 if let Err(err) = channel.get_from(m) { in handle_channel_bind_request()
[all …]
/webrtc/turn/src/proto/
H A Ddontfrag.rs21 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
H A Ddata.rs29 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
H A Drsrvtoken.rs34 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
H A Dreqtrans.rs46 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
H A Devenport.rs52 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
/webrtc/turn/src/proto/peeraddr/
H A Dpeeraddr_test.rs23 a_got.get_from(&decoded)?; in test_peer_address()
/webrtc/turn/src/proto/relayaddr/
H A Drelayaddr_test.rs23 a_got.get_from(&decoded)?; in test_relayed_address()
/webrtc/turn/benches/
H A Dbench.rs72 n.get_from(&m).unwrap(); in benchmark_chan()
122 l.get_from(&m).unwrap(); in benchmark_lifetime()
/webrtc/turn/src/client/
H A Dmod.rs325 peer_addr.get_from(&msg)?; in handle_stun_message()
329 data.get_from(&msg)?; in handle_stun_message()
458 refl_addr.get_from(&tr_res.msg)?; in send_binding_request_to()
541 let result = code.get_from(&res); in allocate()
551 relayed.get_from(&res)?; in allocate()
556 lifetime.get_from(&res)?; in allocate()

12