Searched refs:ATTR_SOFTWARE (Results 1 – 9 of 9) sorted by relevance
| /webrtc/stun/src/fingerprint/ |
| H A D | fingerprint_test.rs | 4 use crate::attributes::ATTR_SOFTWARE; 11 attr: ATTR_SOFTWARE, in fingerprint_uses_crc_32_iso_hdlc() 31 attr: ATTR_SOFTWARE, in test_fingerprint_check() 52 attr: ATTR_SOFTWARE, in test_fingerprint_check_bad()
|
| /webrtc/stun/src/attributes/ |
| H A D | attributes_test.rs | 24 attr: ATTR_SOFTWARE, in test_message_get_no_allocs() 32 m.get(ATTR_SOFTWARE)?; in test_message_get_no_allocs() 80 let tests = vec![ATTR_SOFTWARE, ATTR_ICE_CONTROLLED, ATTR_ORIGIN]; in test_attr_type_range()
|
| /webrtc/stun/src/integrity/ |
| H A D | integrity_test.rs | 3 use crate::attributes::ATTR_SOFTWARE; 26 attr: ATTR_SOFTWARE, in test_message_integrity_add_to_simple() 52 attr: ATTR_SOFTWARE, in test_message_integrity_with_fingerprint()
|
| /webrtc/stun/src/textattrs/ |
| H A D | textattrs_test.rs | 11 m.add(ATTR_SOFTWARE, v.as_bytes()); in test_software_get_from() 21 let software = TextAttribute::get_from_as(&m, ATTR_SOFTWARE)?; in test_software_get_from() 24 let (s_attr, ok) = m.attributes.get(ATTR_SOFTWARE); in test_software_get_from() 37 attr: ATTR_SOFTWARE, in test_software_add_to_invalid() 50 let result = TextAttribute::get_from_as(&m, ATTR_SOFTWARE); in test_software_add_to_invalid() 74 attr: ATTR_SOFTWARE, in test_software_add_to_regression()
|
| /webrtc/stun/src/ |
| H A D | textattrs.rs | 57 ATTR_SOFTWARE => MAX_SOFTWARE_B, in add_to() 86 ATTR_SOFTWARE => {} in get_from_as()
|
| H A D | attributes.rs | 46 ATTR_SOFTWARE => "SOFTWARE", in fmt() 104 pub const ATTR_SOFTWARE: AttrType = AttrType(0x8022); // SOFTWARE constant
|
| /webrtc/stun/benches/ |
| H A D | bench.rs | 12 ATTR_REALM, ATTR_SOFTWARE, ATTR_USERNAME, ATTR_XORMAPPED_ADDRESS, 159 let s = Software::new(ATTR_SOFTWARE, "software".to_owned()); in benchmark_fingerprint() 179 let s = Software::new(ATTR_SOFTWARE, "software".to_owned()); in benchmark_fingerprint() 250 let software = Software::new(ATTR_SOFTWARE, "software".to_owned()); in benchmark_message_integrity() 370 let software = Software::new(ATTR_SOFTWARE, "cydev/stun test".to_owned()); in benchmark_message() 392 let s = Software::new(ATTR_SOFTWARE, "software".to_owned()); in benchmark_message() 412 let s = Software::new(ATTR_SOFTWARE, "software".to_owned()); in benchmark_message() 450 Box::new(Software::new(ATTR_SOFTWARE, "webrtc-rs/stun".to_owned())), in benchmark_message()
|
| /webrtc/stun/src/message/ |
| H A D | message_test.rs | 309 ATTR_SOFTWARE, in test_attr_type_string() 577 attr: ATTR_SOFTWARE, in test_is_message() 608 m.add(ATTR_SOFTWARE, "value".as_bytes()); in test_message_contains() 610 assert!(m.contains(ATTR_SOFTWARE), "message should contain software"); in test_message_contains() 622 Box::new(TextAttribute::new(ATTR_SOFTWARE, "pion/stun".to_owned())), in test_message_full_size() 648 Box::new(TextAttribute::new(ATTR_SOFTWARE, "pion/stun".to_owned())), in test_message_clone_to() 721 Box::new(TextAttribute::new(ATTR_SOFTWARE, "software".to_owned())), in test_message_marshal_binary()
|
| /webrtc/turn/src/client/ |
| H A D | mod.rs | 196 software: Software::new(ATTR_SOFTWARE, config.software), in new()
|