Home
last modified time | relevance | path

Searched refs:allocations (Results 1 – 5 of 5) sorted by relevance

/webrtc/turn/src/allocation/
H A Dallocation_manager.rs22 allocations: AllocationMap, field
32 allocations: Arc::new(Mutex::new(HashMap::new())), in new()
41 let allocations = self.allocations.lock().await; in close() localVariable
42 for a in allocations.values() { in close()
56 let guarded = self.allocations.lock().await; in get_allocations_info()
77 let allocations = self.allocations.lock().await; in get_allocation() localVariable
78 allocations.get(five_tuple).map(Arc::clone) in get_allocation()
110 a.allocations = Some(Arc::clone(&self.allocations)); in create_allocation()
118 let mut allocations = self.allocations.lock().await; in create_allocation() localVariable
139 let mut allocations = self.allocations.lock().await; in delete_allocations_by_username() localVariable
[all …]
H A Dmod.rs80 pub(crate) allocations: Option<AllocationMap>, field
112 allocations: None, in new()
270 let allocations = self.allocations.clone(); in start() localVariable
282 if let Some(allocs) = &allocations{ in start()
341 let allocations = self.allocations.clone(); in packet_handler() localVariable
358 if let Some(allocs) = &allocations { in packet_handler()
/webrtc/turn/src/allocation/allocation_manager/
H A Dallocation_manager_test.rs247 let mut allocations = vec![]; in test_allocation_timeout() localVariable
263 allocations.push(a); in test_allocation_timeout()
279 for a in &allocations { in test_allocation_timeout()
300 let mut allocations = vec![]; in test_manager_close() localVariable
311 allocations.push(a1); in test_manager_close()
322 allocations.push(a2); in test_manager_close()
330 for a in allocations { in test_manager_close()
378 assert_eq!(m.allocations.lock().await.len(), 3); in test_delete_allocation_by_username()
382 assert_eq!(m.allocations.lock().await.len(), 1); in test_delete_allocation_by_username()
/webrtc/turn/
H A DCHANGELOG.md11 …on `Server`. This method provides possibility to get information about allocations [#288](https://…
/webrtc/sctp/
H A DCHANGELOG.md10 * Reuse as many allocations as possible when marshaling [#364](https://github.com/webrtc-rs/webrtc/…