Searched refs:file (Results 1 – 5 of 5) sorted by relevance
42 file: File, field57 let file = File::open(MOUSE_DEVICE_PATH).expect("Fail to open mouse device"); in new() localVariable62 file: file, in new()72 self.file.by_ref() in get_listening_file()75 fn set_listening_file(&mut self, file: File) { in set_listening_file()76 self.file = file; in set_listening_file()134 file: File, field139 let file = File::open(KBD_DEVICE_PATH).expect("Fail to open mouse device"); in new() localVariable141 Box::new(KeyboardInputHandler { file: file }) in new()147 &self.file in get_listening_file()[all …]
57 fn set_listening_file(&mut self, file: File); in set_listening_file()65 let mut file = self.get_listening_file(); in polling() localVariable66 let result = file.read(&mut buf); in polling()69 println!("[Error] Filed to polling file {:?}", file); in polling()
79 Ok(mut file) => match file.read_to_string(&mut string) { in config_from_path()
321 to attach them to the start of each source file to most effectively322 convey the exclusion of warranty; and each file should have at least
630 to attach them to the start of each source file to most effectively631 state the exclusion of warranty; and each file should have at least