/DADK/dadk-config/src/ |
H A D | utils.rs | 41 separator: &str, in apply_kv_array() 42 multi_value_keys: &[&str], in apply_kv_array() 43 single_value_keys: &[&str], in apply_kv_array() 129 pub fn get_key(item: &str, separator: &str) -> Option<String> { in get_key()
|
/DADK/dadk-config/src/boot/ |
H A D | uboot.rs | 39 const DEFAULT_DOWNLOAD_URL: &'static str = variable 42 const DEFAULT_VERSION: &'static str = "v2023.10"; variable 44 const DEFAULT_PATH_PREFIX: &'static str = "bin/uboot/"; variable
|
H A D | metadata.rs | 67 fn assert_missing_field(err_str: &str, field: &str) { in assert_missing_field() 71 fn assert_unknown_variant(err_str: &str, variant: &str) { in assert_unknown_variant()
|
/DADK/crates/test_base/src/ |
H A D | global.rs | 12 const CONFIG_V1_DIR: &'static str = "tests/data/dadk_config_v1"; variable 13 const CONFIG_V2_DIR: &'static str = "tests/data/dadk_config_v2"; variable 14 const FAKE_DRAGONOS_SYSROOT: &'static str = "tests/data/fake_dragonos_sysroot"; variable 15 const FAKE_DADK_CACHE_ROOT: &'static str = "tests/data/fake_dadk_cache_root"; variable
|
/DADK/dadk-user/src/parser/ |
H A D | config.rs |
|
H A D | config.rs |
|
H A D | task.rs | 200 name_version_uppercase(name: &str, version: &str) -> String name_version_uppercase() argument 432 key(&self) -> &str key() argument 436 value(&self) -> &str value() argument 464 pub const EXPECTED: [&'static str; 4] = ["aarch64", "x86_64", "riscv64", "riscv32"]; global() variable 488 into(self) -> &'static str into() argument
|
H A D | task.rs | 208 name_version_uppercase(name: &str, version: &str) -> String name_version_uppercase() argument 548 key(&self) -> &str key() argument 552 value(&self) -> &str value() argument 580 pub const EXPECTED: [&'static str; 4] = ["aarch64", "x86_64", "riscv64", "riscv32"]; global() variable 604 into(self) -> &'static str into() argument
|
H A D | task.rs | 209 name_version_uppercase(name: &str, version: &str) -> String name_version_uppercase() argument 549 key(&self) -> &str key() argument 553 value(&self) -> &str value() argument
|
H A D | task.rs | 204 pub fn name_version_uppercase(name: &str, version: &str) -> String { in name_version_uppercase()
|
/DADK/dadk-user/src/executor/ |
H A D | cache.rs | 111 pub const DADK_BUILD_CACHE_DIR_ENV_KEY_PREFIX: &'static str = "DADK_BUILD_CACHE_DIR"; variable 112 pub const DADK_SOURCE_CACHE_DIR_ENV_KEY_PREFIX: &'static str = "DADK_SOURCE_CACHE_DIR"; variable 249 const TASK_LOG_FILE_NAME: &'static str = "task_log.toml"; global() variable
|
H A D | cache.rs | 111 pub const DADK_BUILD_CACHE_DIR_ENV_KEY_PREFIX: &'static str = "DADK_BUILD_CACHE_DIR"; variable 112 pub const DADK_SOURCE_CACHE_DIR_ENV_KEY_PREFIX: &'static str = "DADK_SOURCE_CACHE_DIR"; variable 248 const TASK_LOG_FILE_NAME: &'static str = "task_log.toml"; variable
|
/DADK/dadk-config/src/common/ |
H A D | target_arch.rs | 12 pub const EXPECTED: [&'static str; 2] = ["x86_64", "riscv64"]; global() variable 34 into(self) -> &'static str into() argument
|
H A D | target_arch.rs | 13 pub const EXPECTED: [&'static str; 2] = ["x86_64", "riscv64"]; global() variable 28 impl From<TargetArch> for &str { global() implementation
|
H A D | target_arch.rs | 14 pub const EXPECTED: [&'static str; 3] = ["x86_64", "riscv64", "aarch64"]; variable 30 impl From<TargetArch> for &str { implementation
|
H A D | task.rs | 172 key(&self) -> &str key() argument 176 value(&self) -> &str value() argument
|
H A D | task.rs | 186 pub fn key(&self) -> &str { in key() 190 pub fn value(&self) -> &str { in value()
|
/DADK/dadk-user/src/utils/ |
H A D | file.rs | 15 pub fn download_file(url: &str, path: &Path) -> Result<(), Box<dyn std::error::Error>> { in download_file() argument
|
H A D | file.rs | 15 pub fn download_file(url: &str, path: &Path) -> Result<(), Box<dyn std::error::Error>> { in download_file()
|
/DADK/dadk/src/actions/rootfs/ |
H A D | loopdev.rs | 197 disk_img_path: &str, in __loop_device_path_by_disk_image_path() 198 losetup_a_output: &str, in __loop_device_path_by_disk_image_path()
|
/DADK/dadk-user/src/scheduler/ |
H A D | mod.rs | 144 pub fn get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> { in get_by_name_version()
|
H A D | mod.rs | 152 get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> get_by_name_version() argument
|
H A D | mod.rs | 152 get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> get_by_name_version() argument
|
H A D | mod.rs | 151 get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> get_by_name_version() argument
|