Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 26) sorted by relevance

12

/webrtc/data/src/message/
H A Dmessage_channel_open.rs150 pub label: Vec<u8>, field
156 let label_len = self.label.len(); in marshal_size()
178 buf.put_u16(self.label.len() as u16); in marshal_to()
180 buf.put_slice(self.label.as_slice()); in marshal_to()
215 let mut label = vec![0; label_len]; in unmarshal() localVariable
218 buf.copy_to_slice(&mut label[..]); in unmarshal()
225 label, in unmarshal()
326 assert_eq!(channel_open.label, b"label"); in test_channel_open_unmarshal_success()
411 label: b"label".to_vec(), in test_channel_open_marshal_size()
427 label: b"label".to_vec(), in test_channel_open_marshal()
H A Dmessage_test.rs26 label: b"label".to_vec(), in test_message_unmarshal_open_success()
74 label: b"label".to_vec(), in test_message_marshal()
/webrtc/webrtc/src/data_channel/
H A Ddata_channel_test.rs202 if d.label() != EXPECTED_LABEL { in test_data_channel_send_before_signaling()
258 if d.label() != EXPECTED_LABEL { in test_data_channel_send_after_connected()
387 if d.label() != EXPECTED_LABEL { in test_data_channel_parameters_max_packet_life_time_exchange()
438 if d.label() != EXPECTED_LABEL { in test_data_channel_parameters_max_retransmits_exchange()
483 if d.label() != EXPECTED_LABEL { in test_data_channel_parameters_protocol_exchange()
790 assert_eq!(dc.label, dc.label(), "should match"); in test_data_channel_parameters_go()
1005 let label: &str = "test-channel"; in test_eof_detach() localVariable
1022 if dc.label() != label { in test_eof_detach()
1114 let label: &str = "test-channel"; in test_eof_no_detach() localVariable
1128 if dc.label() != label { in test_eof_no_detach()
[all …]
H A Ddata_channel_parameters.rs6 pub label: String, field
H A Dmod.rs58 pub(crate) label: String, field
105 label: params.label, in new()
164 label: self.label.clone(), in open()
442 pub fn label(&self) -> &str { in label() method
443 self.label.as_str() in label()
/webrtc/examples/examples/ortc/
H A Dortc.rs104 let d_label = d.label().to_owned(); in main()
198 label: "Foo".to_owned(), in main()
222 let d_label = d.label().to_owned(); in main()
260 …andom messages will now be sent to any connected DataChannels every 5 seconds", d.label(), d.id()); in handle_on_open()
/webrtc/srtp/src/
H A Dkey_derivation.rs20 label: u8, in aes_cm_key_derivation()
42 prf_in[7] ^= label; in aes_cm_key_derivation()
/webrtc/examples/examples/data-channels-create/
H A Ddata-channels-create.rs121 …dom messages will now be sent to any connected DataChannels every 5 seconds", d1.label(), d1.id()); in main()
142 let d_label = data_channel.label().to_owned(); in main()
/webrtc/util/src/
H A Dlib.rs28 label: &str, in export_keying_material()
/webrtc/dtls/src/
H A Dstate.rs260 label: &str, in export_keying_material()
270 } else if INVALID_KEYING_LABELS.contains(&label) { in export_keying_material()
285 let mut seed = label.as_bytes().to_vec(); in export_keying_material()
/webrtc/data/src/data_channel/
H A Dmod.rs35 pub label: String, field
109 label: config.label.bytes().collect(), in client()
138 config.label = String::from_utf8(dco.label)?; in server()
H A Ddata_channel_test.rs184 label: "data".to_string(), in pr_ordered_unordered_test()
271 label: "data".to_string(), in test_data_channel_channel_type_reliable_ordered()
334 label: "data".to_string(), in test_data_channel_channel_type_reliable_unordered()
436 label: "data".to_owned(), in test_data_channel_buffered_amount()
538 label: "data".to_owned(), in test_stats()
632 label: "data".to_string(), in test_poll_data_channel()
/webrtc/examples/examples/data-channels-close/
H A Ddata-channels-close.rs135 let d_label = d.label().to_owned(); in main()
176 … println!("Sent times out. Closing data channel '{}'-'{}'.", d2.label(), d2.id()); in main()
/webrtc/webrtc/src/stats/
H A Dmod.rs363 pub label: String, field
393 label: data_channel.label.clone(), in from()
/webrtc/dtls/src/prf/
H A Dmod.rs252 label: &str, in prf_verify_data()
260 let mut seed = label.as_bytes().to_vec(); in prf_verify_data()
/webrtc/examples/examples/offer-answer/
H A Doffer.rs303 …dom messages will now be sent to any connected DataChannels every 5 seconds", d1.label(), d1.id()); in main()
324 let d_label = data_channel.label().to_owned(); in main()
H A Danswer.rs341 let d_label = d.label().to_owned(); in main()
/webrtc/examples/examples/data-channels-flow-control/
H A DREADME.md44 connection, and data channel (label: "data").
/webrtc/webrtc/src/api/
H A Dmod.rs128 if params.label.len() > 65535 { in new_data_channel()
/webrtc/examples/examples/data-channels/
H A Ddata-channels.rs119 let d_label = d.label().to_owned(); in main()
/webrtc/webrtc/src/sctp_transport/
H A Dmod.rs286 label: dc.config.label.clone(), in accept_data_channels()
/webrtc/sdp/src/description/
H A Dmedia.rs158 label: String, in with_media_source()
/webrtc/examples/examples/data-channels-detach-create/
H A Ddata-channels-detach-create.rs133 println!("Data channel '{}'-'{}' open.", d.label(), d.id()); in main()
/webrtc/examples/examples/data-channels-detach/
H A Ddata-channels-detach.rs130 let d_label = d.label().to_owned(); in main()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs1789 label: &str, in create_data_channel()
1798 label: label.to_owned(), in create_data_channel()

12