Searched refs:try_clone (Results 1 – 4 of 4) sorted by relevance
295 pub fn try_clone(&self) -> Option<Box<File>> { in try_clone() method416 res.fds[i] = file.try_clone(); in clone()
384 let file_cp: Box<File> = file.try_clone().ok_or(SystemError::EBADF)?; in dup()432 let file_cp = file.try_clone(); in dup2()
161 let new_address_space = old_address_space.write().try_clone().unwrap_or_else(|e| { in copy_mm()
149 pub fn try_clone(&mut self) -> Result<Arc<AddressSpace>, SystemError> { in try_clone() method