/DADK/dadk-config/src/rootfs/utils/ |
H A D | size.rs | 61 /// - `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 D | size.rs | 77 _ => 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 D | partition.rs | 14 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 D | partition.rs | 14 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 D | new_config.rs |
|
/DADK/dadk-user/src/parser/ |
H A D | task_log.rs | 38 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 D | task_log.rs | 38 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 D | mod.rs |
|
H A D | config.rs |
|
H A D | config.rs |
|
H A D | task.rs | 222 return None; in source_path() 230 return None; in source_path() 356 PrebuiltSource::Local(source) => source.validate(None), in validate()
|
H A D | mod.rs |
|
H A D | task.rs | 222 return None; in source_path() 230 return None; in source_path() 356 PrebuiltSource::Local(source) => source.validate(None), in trim()
|
H A D | tests.rs |
|
H A D | tests.rs |
|
/DADK/dadk-config/src/boot/hypervisor/ |
H A D | qemu.rs | 72 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 D | test_rootfs_config.rs | 21 assert_eq!(manifest.partition.partition_type, PartitionType::None); in test_load_rootfs_manifest_template()
|
H A D | test_user_config.rs | 41 branch: None, in test_parse_dadk_user_config()
|
H A D | test_user_config.rs | 41 branch: None, in test_parse_dadk_user_config()
|
H A D | test_user_config.rs | 41 branch: None, in test_parse_dadk_user_config()
|
/DADK/dadk-user/tests/ |
H A D | test_parse_dadk_user_config.rs |
|
H A D | test_parse_dadk_user_config.rs |
|
/DADK/dadk/src/actions/rootfs/ |
H A D | loopdev.rs | 128 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 D | utils.rs | 134 return None; in get_key() 138 return None; in get_key()
|
/DADK/dadk-user/src/utils/ |
H A D | lazy_init.rs | 96 return None; in try_get()
|