Home
last modified time | relevance | path

Searched defs:str (Results 1 – 24 of 24) sorted by relevance

/DADK/dadk-config/src/
H A Dutils.rs41 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 Duboot.rs39 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 Dmetadata.rs67 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 Dglobal.rs12 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 Dconfig.rs
H A Dconfig.rs
H A Dtask.rs200 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 Dtask.rs208 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 Dtask.rs209 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 Dtask.rs204 pub fn name_version_uppercase(name: &str, version: &str) -> String { in name_version_uppercase()
/DADK/dadk-user/src/executor/
H A Dcache.rs111 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 Dcache.rs111 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 Dtarget_arch.rs12 pub const EXPECTED: [&'static str; 2] = ["x86_64", "riscv64"]; global() variable
34 into(self) -> &'static str into() argument
H A Dtarget_arch.rs13 pub const EXPECTED: [&'static str; 2] = ["x86_64", "riscv64"]; global() variable
28 impl From<TargetArch> for &str { global() implementation
H A Dtarget_arch.rs14 pub const EXPECTED: [&'static str; 3] = ["x86_64", "riscv64", "aarch64"]; variable
30 impl From<TargetArch> for &str { implementation
H A Dtask.rs172 key(&self) -> &str key() argument
176 value(&self) -> &str value() argument
H A Dtask.rs186 pub fn key(&self) -> &str { in key()
190 pub fn value(&self) -> &str { in value()
/DADK/dadk-user/src/utils/
H A Dfile.rs15 pub fn download_file(url: &str, path: &Path) -> Result<(), Box<dyn std::error::Error>> { in download_file() argument
H A Dfile.rs15 pub fn download_file(url: &str, path: &Path) -> Result<(), Box<dyn std::error::Error>> { in download_file()
/DADK/dadk/src/actions/rootfs/
H A Dloopdev.rs197 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 Dmod.rs144 pub fn get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> { in get_by_name_version()
H A Dmod.rs152 get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> get_by_name_version() argument
H A Dmod.rs152 get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> get_by_name_version() argument
H A Dmod.rs151 get_by_name_version(&self, name: &str, version: &str) -> Option<Arc<SchedEntity>> get_by_name_version() argument