Searched refs:allocations (Results 1 – 5 of 5) sorted by relevance
22 allocations: AllocationMap, field32 allocations: Arc::new(Mutex::new(HashMap::new())), in new()41 let allocations = self.allocations.lock().await; in close() localVariable42 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() localVariable78 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() localVariable139 let mut allocations = self.allocations.lock().await; in delete_allocations_by_username() localVariable[all …]
80 pub(crate) allocations: Option<AllocationMap>, field112 allocations: None, in new()270 let allocations = self.allocations.clone(); in start() localVariable282 if let Some(allocs) = &allocations{ in start()341 let allocations = self.allocations.clone(); in packet_handler() localVariable358 if let Some(allocs) = &allocations { in packet_handler()
247 let mut allocations = vec![]; in test_allocation_timeout() localVariable263 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() localVariable311 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()
11 …on `Server`. This method provides possibility to get information about allocations [#288](https://…
10 * Reuse as many allocations as possible when marshaling [#364](https://github.com/webrtc-rs/webrtc/…