Home
last modified time | relevance | path

Searched defs:unit (Results 1 – 11 of 11) sorted by relevance

/DragonReach/src/manager/ctl_manager/
H A Dmod.rs145 let unit = UnitManager::get_unit_with_id(&i).unwrap(); in start() localVariable
146 let mut unit = unit.lock().unwrap(); in start() localVariable
167 let mut unit = unit.lock().unwrap(); in restart() localVariable
176 let unit = UnitManager::get_unit_with_id(&i).unwrap(); in restart() localVariable
/DragonReach/src/manager/
H A Dmod.rs60 let unit = UnitManager::get_unit_with_id(&tmp.0).unwrap(); in check_running_status() localVariable
66 let unit = UnitManager::pop_a_idle_service(); in check_running_status() localVariable
/DragonReach/src/executor/
H A Dmod.rs65 let mut unit = mutex.lock().unwrap(); in exec() localVariable
82 let unit = match UnitManager::get_unit_with_id(&unit_id) { in exec_() localVariable
89 let mut unit = unit.lock().unwrap(); in exec_() localVariable
/DragonReach/src/parse/
H A Dmod.rs250 let unit = UnitManager::get_unit_with_name(&name).unwrap(); in parse() localVariable
251 let unit = unit.lock().unwrap(); in parse() localVariable
255 let mut unit: T = T::default(); in parse() localVariable
/DragonReach/src/executor/dep_graph/
H A Dmod.rs92 let unit = arc_unit.lock().unwrap(); in add_edges() localVariable
102 let unit = unit.lock().unwrap(); in construct_graph() localVariable
/DragonReach/src/
H A Dmain.rs9 mod unit; module
/DragonReach/src/manager/unit_manager/
H A Dmod.rs197 let mut unit = unit.lock().unwrap(); in init_units_dependencies() localVariable
207 let mut unit = unit.lock().unwrap(); in init_units_dependencies() localVariable
238 let unit = running_manager.running_table.get_mut(&id).unwrap(); in kill_running() localVariable
/DragonReach/src/unit/
H A Dmod.rs448 let unit = UnitParseUtil::parse_unit_no_type(unit_path)?; in set_attr() localVariable
541 let unit = UnitParseUtil::parse_unit::<TargetUnit>(unit_path)?; in set_attr() localVariable
549 let unit = UnitParseUtil::parse_unit_no_type(unit_path)?; in set_attr() localVariable
557 let unit = UnitParseUtil::parse_unit::<TargetUnit>(unit_path)?; in set_attr() localVariable
/DragonReach/src/parse/parse_util/
H A Dmod.rs452 let unit = match suffix { in parse_unit_no_type() localVariable
585 let unit: &str; in parse_sec() localVariable
/DragonReach/src/executor/service_executor/
H A Dmod.rs40 let unit = mutex.lock().unwrap(); in exec_simple() localVariable
/DragonReach/src/unit/timer/
H A Dmod.rs201 let unit: Arc<Mutex<TimerUnit>> = Arc::new(Mutex::new(self.clone())); in _init() localVariable
323 unit: usize, field