Searched refs:seek (Results 1 – 8 of 8) sorted by relevance
7 file.seek(std::io::SeekFrom::Start(file_size_bytes - 1))?; in main()15 file.seek(SeekFrom::Start(0))?; in main()
123 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in write_group_file()166 .seek(std::io::SeekFrom::Start(0)) in write_gshadow_file()211 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()240 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()258 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()289 .seek(std::io::SeekFrom::Start(0)) in update_gshadow_file()358 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()406 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()428 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()481 .seek(std::io::SeekFrom::Start(0)) in update_gshadow_file()[all …]
438 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_fat_entry()529 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_fat_entry_raw()984 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in get_free_cluster()1029 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in get_free_cluster()1058 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in get_free_cluster()1104 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()1114 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()1136 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()1162 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()1191 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()[all …]
264 cursor.seek(SeekFrom::SeekCurrent(420))?; in new()
1143 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in flush()1356 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in flush()2406 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_raw_dir_entry()2418 cursor.seek(SeekFrom::SeekCurrent(10))?; in get_raw_dir_entry()2422 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_raw_dir_entry()
97 cursor.seek(SeekFrom::SeekCurrent(446))?; in from_disk()
132 pub fn seek(&mut self, origin: SeekFrom) -> Result<usize, SystemError> { in seek() method
604 pub fn lseek(fd: i32, offset: i64, seek: u32) -> Result<usize, SystemError> { in lseek()605 let seek = match seek { in lseek() localVariable621 return file.lseek(seek); in lseek()