Home
last modified time | relevance | path

Searched refs:array (Results 1 – 3 of 3) sorted by relevance

/DADK/dadk-config/src/
H A Dutils.rs39 array: &mut Vec<String>, in apply_kv_array()
46 let mut inferred_keys = infer_multi_value_keys(array, separator); in apply_kv_array()
58 for item in array.drain(..) { in apply_kv_array()
102 *array = key_strings.into_iter().map(|(_, value)| value).collect(); in apply_kv_array()
105 array.append(&mut values); in apply_kv_array()
110 fn infer_multi_value_keys(array: &Vec<String>, separator: &str) -> IndexSet<String> { in infer_multi_value_keys()
114 for item in array { in infer_multi_value_keys()
192 let mut array = qemu_args.iter().map(ToString::to_string).collect(); in test_apply_kv_array() localVariable
194 assert!(apply_kv_array(&mut array, &args, " ", &["-device"], &[]).is_ok()); in test_apply_kv_array()
197 assert_eq!(expected, array); in test_apply_kv_array()
[all …]
/DADK/dadk-user/src/parser/
H A Dconfig.rs
H A Dconfig.rs