Home
last modified time | relevance | path

Searched refs:None (Results 1 – 25 of 46) sorted by relevance

12

/DADK/dadk-config/src/rootfs/utils/
H A Dsize.rs61 /// - `None` if the input string is invalid or contains an unsupported unit. in parse_size_from_string()
77 _ => None,
106 assert_eq!(parse_size_from_string("1T"), None); in test_parse_size_from_string()
107 assert_eq!(parse_size_from_string("2X"), None); in test_parse_size_from_string()
110 assert_eq!(parse_size_from_string("aK"), None); in test_parse_size_from_string()
111 assert_eq!(parse_size_from_string("1.5M"), None); in test_parse_size_from_string()
114 assert_eq!(parse_size_from_string(""), None); in test_parse_size_from_string()
117 assert_eq!(parse_size_from_string("K"), None); in test_parse_size_from_string()
120 assert_eq!(parse_size_from_string("1KextrK"), None);
H A Dsize.rs77 _ => None, in parse_size_from_string()
106 assert_eq!(parse_size_from_string("1T"), None); in test_parse_size_from_string()
107 assert_eq!(parse_size_from_string("2X"), None); in test_parse_size_from_string()
110 assert_eq!(parse_size_from_string("aK"), None); in test_parse_size_from_string()
111 assert_eq!(parse_size_from_string("1.5M"), None); in test_parse_size_from_string()
114 assert_eq!(parse_size_from_string(""), None); in test_parse_size_from_string()
117 assert_eq!(parse_size_from_string("K"), None); in test_parse_size_from_string()
120 assert_eq!(parse_size_from_string("1KextrK"), None); in test_parse_size_from_string()
/DADK/dadk-config/src/rootfs/
H A Dpartition.rs14 None, enumerator
26 /// Returns `true` if the partition type is not `None`, otherwise returns `false`.
28 self.partition_type != PartitionType::None in should_create_partitioned_image()
38 (r#"type = "none""#, PartitionType::None), in test_parse_partition_type()
H A Dpartition.rs14 None, enumerator
28 self.partition_type != PartitionType::None in image_should_be_partitioned()
38 (r#"type = "none""#, PartitionType::None), in test_parse_partition_type()
/DADK/dadk-user/src/console/
H A Dnew_config.rs
/DADK/dadk-user/src/parser/
H A Dtask_log.rs38 build_timestamp: None, in new()
39 build_status: None, in new()
40 install_timestamp: None, in new()
41 install_status: None, in new()
71 self.build_status = None; in clean_build_status()
87 self.install_status = None; in clean_install_status()
H A Dtask_log.rs38 build_timestamp: None, in new()
39 build_status: None, in new()
40 install_timestamp: None, in new()
41 install_status: None, in new()
71 self.build_status = None; in install_status()
87 self.install_status = None;
H A Dmod.rs
H A Dconfig.rs
H A Dconfig.rs
H A Dtask.rs222 return None; in source_path()
230 return None; in source_path()
356 PrebuiltSource::Local(source) => source.validate(None), in validate()
H A Dmod.rs
H A Dtask.rs222 return None; in source_path()
230 return None; in source_path()
356 PrebuiltSource::Local(source) => source.validate(None), in trim()
H A Dtests.rs
H A Dtests.rs
/DADK/dadk-config/src/boot/hypervisor/
H A Dqemu.rs72 self.accelerate.clone().unwrap_or(QemuAccel::None) in accelerate()
79 None, enumerator
149 path_prefix: None, in test_qemu_config_path_default()
161 path_prefix: None, in test_apply_qemu_args()
177 path_prefix: None, in test_apply_qemu_args_invalid()
205 path_prefix: None, in test_apply_qemu_args_multi_value_keys()
226 path_prefix: None, in test_apply_qemu_args_multi_value_keys_invalid()
253 path_prefix: None, in test_qemu_config_args()
281 Ok(QemuAccel::None) => assert!(true), in test_qemu_accelerate_args()
/DADK/dadk-config/tests/
H A Dtest_rootfs_config.rs21 assert_eq!(manifest.partition.partition_type, PartitionType::None); in test_load_rootfs_manifest_template()
H A Dtest_user_config.rs41 branch: None, in test_parse_dadk_user_config()
H A Dtest_user_config.rs41 branch: None, in test_parse_dadk_user_config()
H A Dtest_user_config.rs41 branch: None, in test_parse_dadk_user_config()
/DADK/dadk-user/tests/
H A Dtest_parse_dadk_user_config.rs
H A Dtest_parse_dadk_user_config.rs
/DADK/dadk/src/actions/rootfs/
H A Dloopdev.rs128 self.loop_device_path = None; in detach()
168 img_path: None, in new()
169 loop_device_path: None, in new()
/DADK/dadk-config/src/
H A Dutils.rs134 return None; in get_key()
138 return None; in get_key()
/DADK/dadk-user/src/utils/
H A Dlazy_init.rs96 return None; in try_get()

12