Lines Matching defs:self

74     pub fn set_size(&mut self, size: u32) {  in set_size()
85 pub fn read(&self, fs: &Arc<FATFileSystem>, buf: &mut [u8], offset: u64) -> Result<usize, i32> { in read()
158 &mut self, in write()
229 fn ensure_len(&mut self, fs: &Arc<FATFileSystem>, offset: u64, len: u64) -> Result<(), i32> { in ensure_len()
310 &self, in zero_range()
334 pub fn truncate(&mut self, fs: &Arc<FATFileSystem>, new_size: u64) -> Result<(), i32> { in truncate()
372 pub fn to_iter(&self, fs: Arc<FATFileSystem>) -> FATDirIter { in to_iter()
388 pub fn size(&self, fs: &Arc<FATFileSystem>) -> u64 { in size()
400 &self, in find_free_entries()
493 &self, in find_entry()
525 pub fn open_file(&self, name: &str, fs: Arc<FATFileSystem>) -> Result<FATFile, i32> { in open_file()
531 pub fn open_dir(&self, name: &str, fs: Arc<FATFileSystem>) -> Result<FATDir, i32> { in open_dir()
540 pub fn create_file(&self, name: &str, fs: &Arc<FATFileSystem>) -> Result<FATFile, i32> { in create_file()
579 pub fn create_dir(&self, name: &str, fs: &Arc<FATFileSystem>) -> Result<FATDir, i32> { in create_dir()
661 &self, in check_existence()
705 &self, in create_dir_entries()
755 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty()
776 &self, in remove()
805 &self, in remove_dir_entries()
827 pub fn get_dir_entry(&self, fs: Arc<FATFileSystem>, name: &str) -> Result<FATDirEntry, i32> { in get_dir_entry()
839 &self, in rename()
899 pub fn contains(&self, attr: u8) -> bool { in contains()
995 fn insert_name(&mut self, name_part: &[u16]) -> Result<(), i32> { in insert_name()
1007 pub fn copy_name_to_slice(&self, dst: &mut [u16]) -> Result<(), i32> { in copy_name_to_slice()
1066 pub fn flush(&self, fs: Arc<FATFileSystem>, disk_bytes_offset: u64) -> Result<(), i32> { in flush()
1185 pub fn to_dir_entry(&self, loc: (Cluster, u64)) -> FATDirEntry { in to_dir_entry()
1225 &self, in to_dir_entry_with_long_name()
1276 pub fn flush(&self, fs: &Arc<FATFileSystem>, disk_bytes_offset: u64) -> Result<(), i32> { in flush()
1314 pub fn set_first_cluster(&mut self, cluster: Cluster) { in set_first_cluster()
1736 pub fn eq_name(&self, name: &str) -> bool { in eq_name()
1924 pub fn add_name(&mut self, name: &[u8; 11]) { in add_name()
2003 pub fn next_iteration(&mut self) { in next_iteration()
2017 fn build_prefixed_name(&self, num: u32, with_checksum: bool) -> [u8; 11] { in build_prefixed_name()
2099 fn process(&mut self, longname_dentry: LongDirEntry) -> Result<(), i32> { in process()
2154 fn validate_checksum(&self, short_dentry: &ShortDirEntry) -> bool { in validate_checksum()