Searched refs:watch_rules_wrapper (Results 1 – 1 of 1) sorted by relevance
517 let mut watch_rules_wrapper: Vec<HiSysEventWatchRule> = vec![]; in add_watcher() localVariable519 watch_rules_wrapper.push(HiSysEventWatchRule { in add_watcher()526 … crate::utils::trans_slice_to_array(watch_rules[i].domain, &mut watch_rules_wrapper[i].domain); in add_watcher()527 crate::utils::trans_slice_to_array(watch_rules[i].name, &mut watch_rules_wrapper[i].name); in add_watcher()528 crate::utils::trans_slice_to_array(watch_rules[i].tag, &mut watch_rules_wrapper[i].tag); in add_watcher()529 watch_rules_wrapper[i].rule_type = watch_rules[i].rule_type as i32 as c_int; in add_watcher()530 watch_rules_wrapper[i].event_type = watch_rules[i].event_type as i32 as c_int; in add_watcher()535 watch_rules_wrapper.as_mut_ptr(), in add_watcher()