Searched defs:unit (Results 1 – 11 of 11) sorted by relevance
145 let unit = UnitManager::get_unit_with_id(&i).unwrap(); in start() localVariable146 let mut unit = unit.lock().unwrap(); in start() localVariable167 let mut unit = unit.lock().unwrap(); in restart() localVariable176 let unit = UnitManager::get_unit_with_id(&i).unwrap(); in restart() localVariable
60 let unit = UnitManager::get_unit_with_id(&tmp.0).unwrap(); in check_running_status() localVariable66 let unit = UnitManager::pop_a_idle_service(); in check_running_status() localVariable
65 let mut unit = mutex.lock().unwrap(); in exec() localVariable82 let unit = match UnitManager::get_unit_with_id(&unit_id) { in exec_() localVariable89 let mut unit = unit.lock().unwrap(); in exec_() localVariable
250 let unit = UnitManager::get_unit_with_name(&name).unwrap(); in parse() localVariable251 let unit = unit.lock().unwrap(); in parse() localVariable255 let mut unit: T = T::default(); in parse() localVariable
92 let unit = arc_unit.lock().unwrap(); in add_edges() localVariable102 let unit = unit.lock().unwrap(); in construct_graph() localVariable
9 mod unit; module
197 let mut unit = unit.lock().unwrap(); in init_units_dependencies() localVariable207 let mut unit = unit.lock().unwrap(); in init_units_dependencies() localVariable238 let unit = running_manager.running_table.get_mut(&id).unwrap(); in kill_running() localVariable
448 let unit = UnitParseUtil::parse_unit_no_type(unit_path)?; in set_attr() localVariable541 let unit = UnitParseUtil::parse_unit::<TargetUnit>(unit_path)?; in set_attr() localVariable549 let unit = UnitParseUtil::parse_unit_no_type(unit_path)?; in set_attr() localVariable557 let unit = UnitParseUtil::parse_unit::<TargetUnit>(unit_path)?; in set_attr() localVariable
452 let unit = match suffix { in parse_unit_no_type() localVariable585 let unit: &str; in parse_sec() localVariable
40 let unit = mutex.lock().unwrap(); in exec_simple() localVariable
201 let unit: Arc<Mutex<TimerUnit>> = Arc::new(Mutex::new(self.clone())); in _init() localVariable323 unit: usize, field