Lines Matching defs:map
365 let map = pty_child_map.lock().await;
366 if let Some(pty_child) = map.get(&(session_id, channel_id)) {
375 let mut map = pty_child_map.lock().await;
376 map.insert((session_id, channel_id), pty_child);
381 let mut map = pty_child_map.lock().await;
382 map.remove(&(session_id, channel_id));
400 let map = pty_map.lock().await;
401 if let Some(pty_task) = map.get(&(session_id, channel_id)) {
409 let mut map = pty_map.lock().await;
411 map.insert((session_id, channel_id), arc_pty_task);
416 let mut map = pty_map.lock().await;
417 map.remove(&(session_id, channel_id));
424 let map = pty_map.lock().await;
425 crate::info!("hdc shell stop_task, session_id:{}, task_size: {}", session_id, map.len());
426 for _iter in map.iter() {
434 "do map clear kill child, result:{:?}, session_id {}, channel_id {}",
470 let map = arc.lock().await;
472 for _iter in map.iter() {
506 let mut map = shell_execute_map.lock().await;
508 map.insert((session_id, channel_id), arc_shell_execute_task);
513 let mut map = shell_execute_map.lock().await;
514 map.remove(&(session_id, channel_id));
520 let mut map = shell_execute_map.lock().await;
522 for iter in map.iter() {
532 map.len(),
536 map.remove(&(session_id, channel_id));