Lines Matching refs:Path
26 use std::path::Path;
39 pub static TRACE_OUTPUT_DIR: Lazy<&'static Path> = variable
40 Lazy::new(|| Path::new("/data/misc/profcollectd/trace/"));
41 pub static PROFILE_OUTPUT_DIR: Lazy<&'static Path> = variable
42 Lazy::new(|| Path::new("/data/misc/profcollectd/output/"));
43 pub static REPORT_OUTPUT_DIR: Lazy<&'static Path> = variable
44 Lazy::new(|| Path::new("/data/misc/profcollectd/report/"));
45 pub static CONFIG_FILE: Lazy<&'static Path> = variable
46 Lazy::new(|| Path::new("/data/misc/profcollectd/output/config.json"));
47 pub static LOG_FILE: Lazy<&'static Path> = variable
48 Lazy::new(|| Path::new("/data/misc/profcollectd/output/trace.log"));
165 fn remove_files(path: &Path) -> Result<()> { in clear_data()
180 read_dir(&PROFILE_OUTPUT_DIR as &Path)? in clear_processed_files()
183 .filter(|e| e.is_file() && e != (&CONFIG_FILE as &Path)) in clear_processed_files()