/DADK/dadk-user/src/parser/ |
H A D | config.rs |
|
H A D | config.rs |
|
H A D | task_log.rs | 32 Ok(r.unwrap_or_default()) in ok_or_default() 107 "success" => Ok(BuildStatus::Success), 108 "failed" => Ok(BuildStatus::Failed), 111 Ok(BuildStatus::Failed) 133 "success" => Ok(InstallStatus::Success), 134 "failed" => Ok(InstallStatus::Failed), 137 Ok(InstallStatus::Failed)
|
H A D | task_log.rs | 32 Ok(r.unwrap_or_default()) in ok_or_default() 107 "success" => Ok(BuildStatus::Success), in deserialize() 108 "failed" => Ok(BuildStatus::Failed), in deserialize() 111 Ok(BuildStatus::Failed) in deserialize() 133 "success" => Ok(InstallStatus::Success), in deserialize() 134 "failed" => Ok(InstallStatus::Failed), in deserialize() 137 Ok(InstallStatus::Failed) in deserialize()
|
H A D | task.rs | 16 use anyhow::{Ok, Result}; 121 return Ok(()); in trim() 140 return Ok(()); in trim_depends() 155 return Ok(()); in validate_target_arch() 162 return Ok(()); in trim_envs() 189 return Ok(()); in name_version() 241 Ok(DADKTask { 288 Source::Git => Ok(TaskType::BuildFromSource(CodeSource::Git(GitSource::new( 293 Source::Local => Ok(TaskType::BuildFromSource(CodeSource::Local( in new() 296 Source::Archive => Ok(TaskTyp in validate() 524 serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: serde::Serializer, serialize() argument [all...] |
H A D | task.rs | 16 use anyhow::{Ok, Result}; 121 return Ok(()); in validate() 140 return Ok(()); in validate_depends() 155 return Ok(()); in validate_envs() 162 return Ok(()); in validate_target_arch() 189 return Ok(()); in validate_build_type() 241 Ok(DADKTask { 288 Source::Git => Ok(TaskType::BuildFromSource(CodeSource::Git(GitSource::new( in from() 293 Source::Local => Ok(TaskType::BuildFromSource(CodeSource::Local( 296 Source::Archive => Ok(TaskTyp 640 serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: serde::Serializer, serialize() argument [all...] |
H A D | task.rs | 16 use anyhow::{Ok, Result}; 121 return Ok(()); in validate() 140 return Ok(()); in validate_depends() 155 return Ok(()); in validate_envs() 162 return Ok(()); in validate_target_arch() 189 return Ok(()); in validate_build_type() 241 Ok(DADKTask { in try_from() 288 Source::Git => Ok(TaskType::BuildFromSource(CodeSource::Git(GitSource::new( in try_from() 293 Source::Local => Ok(TaskType::BuildFromSource(CodeSource::Local( in try_from() 296 Source::Archive => Ok(TaskType::BuildFromSource(CodeSource::Archive( in try_from() [all …]
|
/DADK/dadk-user/src/console/ |
H A D | new_config.rs |
|
H A D | clean.rs |
|
H A D | elements.rs |
|
/DADK/dadk/src/actions/rootfs/ |
H A D | disk_img.rs | 12 return Ok(()); in create() 44 return Ok(()); in delete() 55 Ok(()) in delete() 80 Ok(()) in mount() 102 Ok(()) in mount_partitioned_image() 121 Ok(()) in mount_unpartitioned_image() 130 if let Ok(loop_device) = loop_device.as_mut() { in umount() 146 Ok(cmd) => { in umount() 169 if let Ok(mut loop_device) = loop_device { in umount() 176 Ok(()) in umount() [all …]
|
H A D | loopdev.rs | 28 return Ok(()); in attach() 49 Ok(()) in attach() 61 return Ok(()); in attach_by_exists() 82 Ok(()) in attach_by_exists() 108 Ok(s) in partition_path() 113 return Ok(()); in detach() 129 Ok(()) in detach() 192 Ok(loop_dev) in build() 212 return Ok(loop_device); in __loop_device_path_by_disk_image_path()
|
/DADK/dadk-user/src/executor/ |
H A D | mod.rs | 92 return Ok(result); in new() 177 return Ok(()); in do_execute() 196 Ok(()) in pre_build() 215 return Ok(()); in build() 239 Ok(()) in post_build() 259 return Ok(()); in do_build() 279 return Ok(()); in install() 296 return Ok(()); in do_install() 321 return Ok(()); in do_install() 356 return Ok(()); in clean() [all …]
|
H A D | target.rs |
|
H A D | mod.rs | 65 /// * `Ok(Executor)` - 创建成功 in new() 92 return Ok(result); 177 return Ok(()); 196 Ok(()) in build() 215 return Ok(()); in install() 239 Ok(()) in install() 259 return Ok(()); in clean() 279 return Ok(()); in clean() 296 return Ok(()); in clean_all() 321 return Ok(()); in clean_target() [all...] |
H A D | mod.rs | 65 /// * `Ok(Executor)` - 创建成功 in new() 92 return Ok(result); 177 return Ok(()); in build() 196 Ok(()) in build() 215 return Ok(()); in install() 239 Ok(()) in install() 259 return Ok(()); in clean() 279 return Ok(()); in clean() 296 return Ok(()); in clean_all() 321 return Ok(()); in clean_target() [all...] |
H A D | mod.rs | 65 /// * `Ok(Executor)` - 创建成功 92 return Ok(result); in new() 177 return Ok(()); in build() 196 Ok(()) in build() 215 return Ok(()); in do_build() 239 Ok(()) in install() 259 return Ok(()); in do_install() 279 return Ok(()); in do_install() 296 return Ok(()); in clean() 321 return Ok(()); in clean_all() [all...] |
H A D | mod.rs | 65 /// * `Ok(Executor)` - 创建成功 92 return Ok(result); in new() 177 return Ok(()); in build() 196 Ok(()) in build() 215 return Ok(()); in do_build() 239 Ok(()) in install() 259 return Ok(()); in do_install() 279 return Ok(()); in clean() 296 return Ok(()); in clean() 321 return Ok(()); in clean_all() [all...] |
H A D | mod.rs | 65 /// * `Ok(Executor)` - 创建成功 92 return Ok(result); in new() 177 return Ok(()); in build() 196 Ok(()) in do_build() 215 return Ok(()); in install() 239 Ok(()) in do_install() 259 return Ok(()); in do_install() 279 return Ok(()); in clean() 296 return Ok(()); in clean() 321 return Ok(()); in clean_src() [all...] |
H A D | mod.rs | 65 /// * `Ok(Executor)` - 创建成功 in new() 92 return Ok(result); 177 return Ok(()); in build() 196 Ok(()) in build() 215 return Ok(()); in install() 239 Ok(()) in install() 259 return Ok(()); in clean() 279 return Ok(()); in clean() 296 return Ok(()); in clean_src() 321 return Ok(()); in clean_cache() [all...] |
H A D | cache.rs | 89 return Ok(()); in cache_root_init() 125 return Ok(result); in new() 150 return Ok(Self::new(entity.clone(), CacheDirType::Build)?.path); in build_dir() 154 return Ok(Self::new(entity.clone(), CacheDirType::Source)?.path); in source_dir() 159 return Ok(format!( in build_dir_env_key() 168 return Ok(format!( in source_dir_env_key() 213 return Ok(()); in create() 223 return Ok(false); in is_empty() 226 return Ok(true); in is_empty() 238 return Ok(()); in remove_self_recursive() [all...] |
H A D | cache.rs | 89 return Ok(()); in cache_root_init() 125 return Ok(result); in new() 150 return Ok(Self::new(entity.clone(), CacheDirType::Build)?.path); in build_dir() 154 return Ok(Self::new(entity.clone(), CacheDirType::Source)?.path); in source_dir() 159 return Ok(format!( in build_dir_env_key() 168 return Ok(format!( in source_dir_env_key() 213 return Ok(()); in create() 223 return Ok(false); in is_empty() 226 return Ok(true); in is_empty() 238 return Ok(()); in remove_self_recursive() [all …]
|
/DADK/dadk-config/src/ |
H A D | manifest.rs | 35 Ok(manifest_toml) 168 Ok(()) 196 Ok(()) 216 Ok(()) 235 Ok(()) 263 Ok(())
|
/DADK/dadk-config/src/boot/hypervisor/ |
H A D | qemu.rs | 62 Ok(()) in apply_qemu_args() 121 Ok(()) in check_qemu_arg() 170 Ok(()) in test_apply_qemu_args() 192 Ok(()) in test_check_qemu_arg_valid() 220 Ok(()) in test_apply_qemu_args_multi_value_keys() 241 Ok(()) in test_check_qemu_arg_multi_value_keys_valid() 267 Ok(QemuAccel::Kvm) => assert!(true), in test_qemu_accelerate_args() 274 Ok(QemuAccel::Tcg) => assert!(true), in test_qemu_accelerate_args() 281 Ok(QemuAccel::None) => assert!(true), in test_qemu_accelerate_args() 288 Ok(QemuAccel::Hvf) => assert!(true), in test_qemu_accelerate_args()
|
/DADK/dadk-config/src/common/ |
H A D | target_arch.rs | 22 "x86_64" => Ok(TargetArch::X86_64), in try_from() 23 "riscv64" => Ok(TargetArch::RiscV64), in try_from() 24 "aarch64" => Ok(TargetArch::AArch64), in try_from() 56 Ok(v) => Ok(v), in deserialize() 66 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> in serialize() argument
|