/DADK/dadk/src/context/ |
H A D | mod.rs | 41 pub fn workdir(&self) -> PathBuf { in workdir() 61 pub fn sysroot_dir(&self) -> Result<PathBuf> { in sysroot_dir() 70 pub fn cache_root_dir(&self) -> Result<PathBuf> { in cache_root_dir() 77 pub fn user_config_dir(&self) -> Result<PathBuf> { in user_config_dir() 88 pub fn disk_image_path(&self) -> PathBuf { in disk_image_path() 94 pub fn disk_mount_path(&self) -> PathBuf { in disk_mount_path()
|
/DADK/crates/test_base/src/ |
H A D | global.rs | 18 pub fn project_base_path(&self) -> &PathBuf { in project_base_path() 23 pub fn abs_path(&self, relative_path: &str) -> PathBuf { in abs_path() 28 pub fn config_v1_dir(&self) -> PathBuf { in config_v1_dir() 32 pub fn config_v2_dir(&self) -> PathBuf { in config_v2_dir() 54 pub fn fake_dadk_cache_root(&self) -> PathBuf { in fake_dadk_cache_root() 59 pub fn fake_dragonos_sysroot(&self) -> PathBuf { in fake_dragonos_sysroot()
|
H A D | dadk_config.rs | 13 pub fn test_base_path(&self) -> &PathBuf { in test_base_path() 18 pub fn abs_path(&self, relative_path: &str) -> PathBuf { in abs_path() 23 pub fn templates_dir(&self) -> PathBuf { in templates_dir()
|
/DADK/dadk/src/ |
H A D | utils.rs | 6 pub(super) fn check_dir_exists<'a>(path: &'a PathBuf) -> Result<&'a PathBuf> { in check_dir_exists() 18 pub fn abs_path(path: &PathBuf) -> PathBuf { in abs_path()
|
/DADK/dadk-user/src/executor/ |
H A D | target.rs |
|
H A D | cache.rs | 128 fn get_path(task: &DADKTask, cache_type: CacheDirType) -> PathBuf { in get_path() argument 150 build_dir(entity: Arc<SchedEntity>) -> Result<PathBuf, ExecutorError> build_dir() argument 154 source_dir(entity: Arc<SchedEntity>) -> Result<PathBuf, ExecutorError> source_dir() argument
|
/DADK/dadk/src/actions/rootfs/ |
H A D | disk_img.rs | 85 disk_image_path: &PathBuf, in mount_partitioned_image() 86 disk_mount_path: &PathBuf, in mount_partitioned_image() 107 disk_image_path: &PathBuf, in mount_unpartitioned_image() 108 disk_mount_path: &PathBuf, in mount_unpartitioned_image() 221 fn create_raw_img(disk_image_path: &PathBuf, image_size: usize) -> Result<()> { in create_raw_img() 277 fn create_partitioned_image(disk_image_path: &PathBuf, part_type: PartitionType) -> Result<()> { in create_partitioned_image() 337 fn format_disk(disk_image_path: &PathBuf, fs_type: &FsType) -> Result<()> { in format_disk()
|
/DADK/dadk-user/src/parser/ |
H A D | config.rs |
|
H A D | config.rs |
|
H A D | mod.rs | 143 pub fn parse(&mut self) -> Result<Vec<(PathBuf, DADKTask)>> { in parse() argument 198 gen_tasks(&self) -> Result<Vec<(PathBuf, DADKTask)>> gen_tasks() argument [all...] |
H A D | mod.rs | 143 pub fn parse(&mut self) -> Result<Vec<(PathBuf, DADKTask)>> { in parse() 198 fn gen_tasks(&self) -> Result<Vec<(PathBuf, DADKTask)>> { in gen_tasks()
|
H A D | mod.rs | 143 pub fn parse(&mut self) -> Result<Vec<(PathBuf, DADKTask)>> { in parse() argument 198 gen_tasks(&self) -> Result<Vec<(PathBuf, DADKTask)>> gen_tasks() argument [all...] |
H A D | mod.rs | 123 parse(&mut self) -> Result<Vec<(PathBuf, DADKTask)>, ParserError> parse() argument 184 gen_tasks(&self) -> Result<Vec<(PathBuf, DADKTask)>, ParserError> gen_tasks() argument [all...] |
/DADK/dadk-user/src/utils/ |
H A D | path.rs | 4 pub fn abs_path(path: &PathBuf) -> PathBuf { in abs_path()
|
/DADK/dadk-user/src/scheduler/ |
H A D | mod.rs | 68 file_path(&self) -> PathBuf file_path() argument 308 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument 310 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument 333 add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> add_tasks() argument 357 add_task( &mut self, path: PathBuf, task: DADKTask, ) -> Result<Arc<SchedEntity>, SchedulerError> add_task() argument 410 generate_task_target( &self, path: &PathBuf, rust_target: &Option<String>, ) -> Result<Option<Target>, SchedulerError> generate_task_target() argument 502 execute(action: Action, dragonos_dir: PathBuf, entity: Arc<SchedEntity>) execute() argument 542 build_install_daemon( action: Action, dragonos_dir: PathBuf, id2entity: BTreeMap<i32, Arc<SchedEntity>>, mut count: usize, r: &Vec<Arc<SchedEntity>>, ) build_install_daemon() argument 598 clean_daemon(action: Action, dragonos_dir: PathBuf, r: &mut Vec<Arc<SchedEntity>>) clean_daemon() argument [all...] |
H A D | mod.rs | 68 file_path(&self) -> PathBuf file_path() argument 308 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument 310 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument 333 add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> add_tasks() argument 357 add_task( &mut self, path: PathBuf, task: DADKTask, ) -> Result<Arc<SchedEntity>, SchedulerError> add_task() argument 410 generate_task_target( &self, path: &PathBuf, rust_target: &Option<String>, ) -> Result<Option<Target>, SchedulerError> generate_task_target() argument 502 execute(action: Action, dragonos_dir: PathBuf, entity: Arc<SchedEntity>) execute() argument 542 build_install_daemon( action: Action, dragonos_dir: PathBuf, id2entity: BTreeMap<i32, Arc<SchedEntity>>, mut count: usize, r: &Vec<Arc<SchedEntity>>, ) build_install_daemon() argument 598 clean_daemon(action: Action, dragonos_dir: PathBuf, r: &mut Vec<Arc<SchedEntity>>) clean_daemon() argument [all...] |
H A D | mod.rs | 67 file_path(&self) -> PathBuf file_path() argument 307 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument 309 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument 332 add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> add_tasks() argument 356 add_task( &mut self, path: PathBuf, task: DADKTask, ) -> Result<Arc<SchedEntity>, SchedulerError> add_task() argument 409 generate_task_target( &self, path: &PathBuf, rust_target: &Option<String>, ) -> Result<Option<Target>, SchedulerError> generate_task_target() argument 500 execute(action: Action, dragonos_dir: PathBuf, entity: Arc<SchedEntity>) execute() argument 540 build_install_daemon( action: Action, dragonos_dir: PathBuf, id2entity: BTreeMap<i32, Arc<SchedEntity>>, mut count: usize, r: &Vec<Arc<SchedEntity>>, ) build_install_daemon() argument 596 clean_daemon(action: Action, dragonos_dir: PathBuf, r: &mut Vec<Arc<SchedEntity>>) clean_daemon() argument [all...] |
H A D | task_deque.rs | 46 dragonos_dir: PathBuf, in build_install_task() argument 73 pub fn clean_task(&mut self, action: Action, dragonos_dir: PathBuf, entity: Arc<SchedEntity>) { in clean_task() argument
|
H A D | task_deque.rs | 46 dragonos_dir: PathBuf, in build_install_task() 73 pub fn clean_task(&mut self, action: Action, dragonos_dir: PathBuf, entity: Arc<SchedEntity>) { in clean_task()
|
H A D | mod.rs | 65 pub fn file_path(&self) -> PathBuf { in file_path() 300 dragonos_dir: PathBuf, in new() 302 tasks: Vec<(PathBuf, DADKTask)>, in new() 325 pub fn add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> { in add_tasks() 349 path: PathBuf, in add_task() 457 pub fn execute(action: Action, dragonos_dir: PathBuf, entity: Arc<SchedEntity>) { in execute() 497 dragonos_dir: PathBuf, in build_install_daemon() 553 pub fn clean_daemon(action: Action, dragonos_dir: PathBuf, r: &mut Vec<Arc<SchedEntity>>) { in clean_daemon()
|
/DADK/dadk-user/src/console/ |
H A D | interactive.rs |
|
/DADK/dadk-user/src/ |
H A D | context.rs | 89 sysroot_dir(&self) -> Option<&PathBuf> sysroot_dir() argument 93 config_dir(&self) -> Option<&PathBuf> config_dir() argument 105 cache_dir(&self) -> Option<&PathBuf> cache_dir() argument
|
H A D | context.rs | 85 sysroot_dir(&self) -> Option<&PathBuf> sysroot_dir() argument 89 config_dir(&self) -> Option<&PathBuf> config_dir() argument 101 cache_dir(&self) -> Option<&PathBuf> cache_dir() argument
|
H A D | context.rs | 85 sysroot_dir(&self) -> Option<&PathBuf> sysroot_dir() argument 89 config_dir(&self) -> Option<&PathBuf> config_dir() argument 101 cache_dir(&self) -> Option<&PathBuf> cache_dir() argument
|
H A D | context.rs | 83 pub fn sysroot_dir(&self) -> Option<&PathBuf> { in sysroot_dir() 87 pub fn config_dir(&self) -> Option<&PathBuf> { in config_dir() 99 pub fn cache_dir(&self) -> Option<&PathBuf> { in cache_dir()
|