Home
last modified time | relevance | path

Searched refs:fat (Results 1 – 25 of 25) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DClusterChain.java19 package de.waldheinz.fs.fat;
33 protected final Fat fat; field in ClusterChain
46 public ClusterChain(Fat fat, boolean readOnly) { in ClusterChain() argument
47 this(fat, 0, readOnly); in ClusterChain()
50 public ClusterChain(Fat fat, long startCluster, boolean readOnly) { in ClusterChain() argument
53 this.fat = fat; in ClusterChain()
56 this.fat.testCluster(startCluster); in ClusterChain()
58 if (this.fat.isFreeCluster(startCluster)) in ClusterChain()
63 this.device = fat.getDevice(); in ClusterChain()
64 this.dataOffset = FatUtils.getFilesOffset(fat.getBootSector()); in ClusterChain()
[all …]
DFatFileSystem.java20 package de.waldheinz.fs.fat;
42 private final Fat fat; field in FatFileSystem
76 this.fat = Fat.read(bs, 0); in FatFileSystem()
81 if (!fat.equals(tmpFat)) { in FatFileSystem()
89 ClusterChain rootDirFile = new ClusterChain(fat, in FatFileSystem()
94 if (fsiSector.getFreeClusterCount() != fat.getFreeClusterCount()) { in FatFileSystem()
96 fat.getFreeClusterCount() + " - fsinfo: " + in FatFileSystem()
105 this.rootDir = new FatLfnDirectory(rootDirStore, fat, isReadOnly()); in FatFileSystem()
200 fat.writeCopy(FatUtils.getFatOffset(bs, i)); in flush()
206 fsiSector.setFreeClusterCount(fat.getFreeClusterCount()); in flush()
[all …]
DFatLfnDirectory.java20 package de.waldheinz.fs.fat;
56 private final Fat fat; field in FatLfnDirectory
65 FatLfnDirectory(AbstractDirectory dir, Fat fat, boolean readOnly) in FatLfnDirectory() argument
70 if ((dir == null) || (fat == null)) throw new NullPointerException(); in FatLfnDirectory()
72 this.fat = fat; in FatLfnDirectory()
97 file = FatFile.get(fat, entry); in getFile()
108 final ClusterChainDirectory storage = read(entry, fat); in getDirectory()
109 result = new FatLfnDirectory(storage, fat, isReadOnly()); in getDirectory()
191 final FatDirectoryEntry real = dir.createSub(fat); in addDirectory()
200 new ClusterChain(fat, real.getStartCluster(), false); in addDirectory()
[all …]
DSuperFloppyFormatter.java19 package de.waldheinz.fs.fat;
236 final Fat fat = Fat.create(bs, 0); in format() local
240 rootDirStore = ClusterChainDirectory.createRoot(fat); in format()
241 fsi.setFreeClusterCount(fat.getFreeClusterCount()); in format()
242 fsi.setLastAllocatedCluster(fat.getLastAllocatedCluster()); in format()
249 new FatLfnDirectory(rootDirStore, fat, false); in format()
254 fat.writeCopy(FatUtils.getFatOffset(bs, i)); in format()
DClusterChainDirectory.java20 package de.waldheinz.fs.fat;
66 public static ClusterChainDirectory createRoot(Fat fat) throws IOException { in createRoot() argument
68 if (fat.getFatType() != FatType.FAT32) { in createRoot()
73 final Fat32BootSector bs = (Fat32BootSector) fat.getBootSector(); in createRoot()
74 final ClusterChain cc = new ClusterChain(fat, false); in createRoot()
DFatFile.java19 package de.waldheinz.fs.fat;
46 static FatFile get(Fat fat, FatDirectoryEntry entry) in get() argument
53 fat, entry.getStartCluster(), entry.isReadonlyFlag()); in get()
DAbstractDirectory.java20 package de.waldheinz.fs.fat;
309 public FatDirectoryEntry createSub(Fat fat) throws IOException { in createSub() argument
310 final ClusterChain chain = new ClusterChain(fat, false); in createSub()
Dpackage-info.java22 package de.waldheinz.fs.fat;
DDirectoryFullException.java19 package de.waldheinz.fs.fat;
DFatUtils.java20 package de.waldheinz.fs.fat;
DLittleEndian.java20 package de.waldheinz.fs.fat;
DDosUtils.java20 package de.waldheinz.fs.fat;
DFat16RootDirectory.java19 package de.waldheinz.fs.fat;
DSector.java19 package de.waldheinz.fs.fat;
DFsInfoSector.java19 package de.waldheinz.fs.fat;
DFat32BootSector.java19 package de.waldheinz.fs.fat;
DFat16BootSector.java19 package de.waldheinz.fs.fat;
DFatType.java20 package de.waldheinz.fs.fat;
DDummy83BufferGenerator.java19 package de.waldheinz.fs.fat;
DShortName.java19 package de.waldheinz.fs.fat;
DBootSector.java20 package de.waldheinz.fs.fat;
DFatDirectoryEntry.java20 package de.waldheinz.fs.fat;
DFatLfnDirectoryEntry.java20 package de.waldheinz.fs.fat;
DFat.java20 package de.waldheinz.fs.fat;
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFileSystemFactory.java21 import de.waldheinz.fs.fat.FatFileSystem;