Home
last modified time | relevance | path

Searched refs:_file (Results 1 - 2 of 2) sorted by relevance

/developtools/hdc/hdc_rust/src/common/
H A Dfilemanager.rs46 let mut _file = OpenOptions::new().read(true).open(path); in open() variables
47 match _file { in open()
85 let mut _file = File::open(path); in buffer_read() variables
86 if let Ok(mut f) = _file { in buffer_read()
/developtools/hdc/hdc_rust/src/tar/
H A Dentry.rs170 /// Read the file content from the file pointed to by name() to _file
171 pub fn read_data_to_file(&mut self, _file: &mut fs::File) -> Result<(), std::io::Error> { in read_data_to_file()
176 _file.write_all(&buff)?; in read_data_to_file()
178 io::copy(&mut in_file, _file)?; in read_data_to_file()
182 _file.write_all(&empty_buff[..pading as usize])?; in read_data_to_file()
188 _file.write_all(&buff)?; in read_data_to_file()

Completed in 1 milliseconds