Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 46) sorted by relevance

12

/webrtc/stun/src/
H A Dtextattrs.rs40 pub text: String, field
45 write!(f, "{}", self.text) in fmt()
53 let text = self.text.as_bytes(); in add_to() localVariable
62 check_overflow(self.attr, text.len(), max_len)?; in add_to()
63 m.add(self.attr, text); in add_to()
77 pub fn new(attr: AttrType, text: String) -> Self { in new()
78 TextAttribute { attr, text } in new()
92 let text = String::from_utf8(a)?; in get_from_as() localVariable
93 Ok(TextAttribute { attr, text }) in get_from_as()
/webrtc/rtcp/src/source_description/
H A Dsource_description_test.rs126 text: Bytes::from_static(b""), in test_source_description_unmarshal()
148 text: Bytes::from_static(b"A"), in test_source_description_unmarshal()
152 text: Bytes::from_static(b"B"), in test_source_description_unmarshal()
180 text: Bytes::from_static(b"A"), in test_source_description_unmarshal()
187 text: Bytes::from_static(b"BCD"), in test_source_description_unmarshal()
242 text: Bytes::from_static(b"[email protected]"), in test_source_description_roundtrip()
250 text: Bytes::from_static(b"some note"), in test_source_description_roundtrip()
254 text: Bytes::from_static(b"another note"), in test_source_description_roundtrip()
269 text: Bytes::from_static(b"[email protected]"), in test_source_description_roundtrip()
292 text: Bytes::from_static(b"[email protected]"), in test_source_description_roundtrip()
[all …]
H A Dmod.rs181 pub text: Bytes, field
193 SDES_TYPE_LEN + SDES_OCTET_COUNT_LEN + self.text.len() in marshal_size()
218 if self.text.len() > SDES_MAX_OCTET_COUNT { in marshal_to()
221 buf.put_u8(self.text.len() as u8); in marshal_to()
222 buf.put(self.text.clone()); in marshal_to()
252 text: Bytes::new(), in unmarshal()
265 let text = raw_packet.copy_to_bytes(octet_count); in unmarshal() localVariable
267 Ok(SourceDescriptionItem { sdes_type, text }) in unmarshal()
/webrtc/examples/examples/data-channels-create/
H A DREADME.md23 Copy the text that `data-channels-create` just emitted and copy into first text area of the jsfiddl…
31 Meanwhile text has appeared in the second text area of the jsfiddle. Copy the text and paste it int…
/webrtc/stun/src/textattrs/
H A Dtextattrs_test.rs38 text: String::from_utf8(vec![0; 1024]).unwrap(), in test_software_add_to_invalid()
75 text: String::from_utf8(vec![0; 100]).unwrap(), in test_software_add_to_regression()
87 text: username.clone(), in test_username()
95 text: String::from_utf8(vec![0; 600]).unwrap(), in test_username()
138 text: "username".to_owned(), in test_username()
193 text: String::from_utf8(vec![0; 1024]).unwrap(), in test_realm_add_to_invalid()
266 text: String::from_utf8(vec![0; 1024]).unwrap(), in test_nonce_add_to_invalid()
299 text: "example.org".to_owned(), in test_nonce_add_to()
/webrtc/stun/src/fingerprint/
H A Dfingerprint_test.rs12 text: "software".to_owned(), in fingerprint_uses_crc_32_iso_hdlc()
32 text: "software".to_owned(), in test_fingerprint_check()
53 text: "software".to_owned(), in test_fingerprint_check_bad()
/webrtc/examples/examples/swap-tracks/
H A DREADME.md15 [jsfiddle.net](https://jsfiddle.net/dzc17fga/) you should see two text-areas and a 'Start Session' …
32 Copy the text that `swap-tracks` just emitted and copy into second text area
/webrtc/examples/examples/reflect/
H A DREADME.md15 [jsfiddle.net](https://jsfiddle.net/9jgukzt1/) you should see two text-areas and a 'Start Session' …
32 Copy the text that `reflect` just emitted and copy into second text area
/webrtc/examples/examples/simulcast/
H A DREADME.md19 [jsfiddle.net](https://jsfiddle.net/rxk4bftc) you should see two text-areas and a 'Start Session' b…
36 Copy the text that `simulcast` just emitted and copy into second text area
/webrtc/examples/examples/save-to-disk-vpx/
H A DREADME.md15 [jsfiddle.net](https://jsfiddle.net/vfmcg8rk/1/) you should see your Webcam, two text-areas and a '…
32 Copy the text that `save-to-disk-vpx` just emitted and copy into second text area
/webrtc/examples/examples/save-to-disk-h264/
H A DREADME.md15 [jsfiddle.net](https://jsfiddle.net/vfmcg8rk/1/) you should see your Webcam, two text-areas and a '…
32 Copy the text that `save-to-disk-h264` just emitted and copy into second text area
/webrtc/rtcp/src/compound_packet/
H A Dcompound_packet_test.rs96 text: Bytes::from_static(b"cname"), in test_valid_packet()
176 text: Bytes::from_static(b"cname"), in test_cname()
247 for (name, compound_packet, want_error, text) in tests { in test_cname()
259 assert_eq!(e, text, "CNAME({name}) = {e:?}, want {text}",); in test_cname()
278 text: Bytes::from_static(b"cname"), in test_compound_packet_roundtrip()
H A Dmod.rs180 return Ok(it.text.clone()); in cname()
/webrtc/examples/examples/rtp-to-webrtc/
H A DREADME.md17 [jsfiddle.net](https://jsfiddle.net/z7ms3u5r/) you should see two text-areas and a 'Start Session' …
50 Copy the text that `rtp-to-webrtc` just emitted and copy into second text area
/webrtc/examples/examples/insertable-streams/
H A DREADME.md26 [jsfiddle.net](https://jsfiddle.net/uqr80Lak/) you should see two text-areas and a 'Start Session' …
44 Copy the text that `insertable-streams` just emitted and copy into second text area
/webrtc/examples/examples/play-from-disk-h264/
H A DREADME.md22 [jsfiddle.net](https://jsfiddle.net/9s10amwL/) you should see two text-areas and a 'Start Session' …
39 Copy the text that `play-from-disk-h264` just emitted and copy into second text area
/webrtc/examples/examples/rtp-forwarder/
H A DREADME.md15 [jsfiddle.net](https://jsfiddle.net/1qva2zd8/) you should see your Webcam, two text-areas and a 'St…
32 Copy the text that `rtp-forwarder` just emitted and copy into second text area
/webrtc/stun/src/integrity/
H A Dintegrity_test.rs27 text: "software".to_owned(), in test_message_integrity_add_to_simple()
53 text: "software".to_owned(), in test_message_integrity_with_fingerprint()
/webrtc/examples/examples/data-channels/
H A DREADME.md32 Copy the text that `data-channels` just emitted and copy into second text area
/webrtc/examples/examples/play-from-disk-vpx/
H A DREADME.md23 [jsfiddle.net](https://jsfiddle.net/9s10amwL/) you should see two text-areas and a 'Start Session' …
42 Copy the text that `play-from-disk-vpx` just emitted and copy into second text area
/webrtc/examples/examples/data-channels-detach/
H A DREADME.md32 Copy the text that `data-channels` just emitted and copy into second text area
/webrtc/stun/src/attributes/
H A Dattributes_test.rs25 text: "c".to_owned(), in test_message_get_no_allocs()
/webrtc/turn/src/allocation/
H A Dallocation_manager.rs64 alloc.username.text.clone(), in get_allocations_info()
145 let match_name = allocation.username.text == name; in delete_allocations_by_username()
/webrtc/turn/src/client/
H A Dmod.rs439 let attrs: Vec<Box<dyn Setter>> = if !self.software.text.is_empty() { in send_binding_request_to()
514 self.username.text.clone(), in allocate()
515 self.realm.text.clone(), in allocate()
/webrtc/sctp/
H A DLICENSE-APACHE106 (d) If the Work includes a "NOTICE" text file as part of its
111 of the following places: within a NOTICE text file distributed
119 or as an addendum to the NOTICE text from the Work, provided
183 the brackets!) The text should be enclosed in the appropriate

12