Searched refs:FatDirectoryEntry (Results 1 – 6 of 6) sorted by relevance
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | AbstractDirectory.java | 43 private final List<FatDirectoryEntry> entries; 62 this.entries = new ArrayList<FatDirectoryEntry>(); in AbstractDirectory() 116 public void setEntries(List<FatDirectoryEntry> newEntries) { in setEntries() 131 final long newCount = newSize / FatDirectoryEntry.SIZE; in sizeChanged() 138 public final FatDirectoryEntry getEntry(int idx) { in getEntry() 215 getCapacity() * FatDirectoryEntry.SIZE); in flush() 218 final FatDirectoryEntry entry = entries.get(i); in flush() 228 final FatDirectoryEntry labelEntry = in flush() 229 FatDirectoryEntry.createVolumeLabel(volumeLabel); in flush() 235 FatDirectoryEntry.writeNullEntry(data); in flush() [all …]
|
D | FatLfnDirectoryEntry.java | 43 final FatDirectoryEntry realEntry; 57 this.realEntry = FatDirectoryEntry.create(directory); in FatLfnDirectoryEntry() 64 FatDirectoryEntry realEntry, String fileName) { in FatLfnDirectoryEntry() 76 final FatDirectoryEntry realEntry = dir.dir.getEntry(offset + len - 1); in extract() 87 FatDirectoryEntry entry = dir.dir.getEntry(i + offset); in extract() 206 FatDirectoryEntry[] compactForm() { in compactForm() 211 return new FatDirectoryEntry[]{this.realEntry}; in compactForm() 216 final FatDirectoryEntry[] entries = in compactForm() 217 new FatDirectoryEntry[totalEntrySize]; in compactForm() 303 private static FatDirectoryEntry createPart(String subName, in createPart() [all …]
|
D | FatDirectoryEntry.java | 31 final class FatDirectoryEntry extends AbstractFsObject { class 69 FatDirectoryEntry(byte[] data, boolean readOnly) { in FatDirectoryEntry() method in FatDirectoryEntry 75 private FatDirectoryEntry() { in FatDirectoryEntry() method in FatDirectoryEntry 94 public static FatDirectoryEntry read(ByteBuffer buff, boolean readOnly) { in read() 105 return new FatDirectoryEntry(data, readOnly); in read() 188 public static FatDirectoryEntry create(boolean directory) { in create() 189 final FatDirectoryEntry result = new FatDirectoryEntry(); in create() 205 public static FatDirectoryEntry createVolumeLabel(String volumeLabel) { in createVolumeLabel() 215 final FatDirectoryEntry result = new FatDirectoryEntry(data, false); in createVolumeLabel() 216 result.setFlags(FatDirectoryEntry.F_VOLUME_ID); in createVolumeLabel()
|
D | FatLfnDirectory.java | 59 private final Map<FatDirectoryEntry, FatFile> entryToFile; 60 private final Map<FatDirectoryEntry, FatLfnDirectory> entryToDirectory; 82 new LinkedHashMap<FatDirectoryEntry, FatFile>(); in FatLfnDirectory() 85 new LinkedHashMap<FatDirectoryEntry, FatLfnDirectory>(); in FatLfnDirectory() 93 FatFile getFile(FatDirectoryEntry entry) throws IOException { in getFile() 104 FatLfnDirectory getDirectory(FatDirectoryEntry entry) throws IOException { in getDirectory() 191 final FatDirectoryEntry real = dir.createSub(fat); in addDirectory() 282 ArrayList<FatDirectoryEntry> dest = in updateLFN() 283 new ArrayList<FatDirectoryEntry>(); in updateLFN() 286 FatDirectoryEntry[] encoded = currentEntry.compactForm(); in updateLFN() [all …]
|
D | FatFile.java | 36 private final FatDirectoryEntry entry; 39 private FatFile(FatDirectoryEntry myEntry, ClusterChain chain) { in FatFile() 46 static FatFile get(Fat fat, FatDirectoryEntry entry) in get()
|
D | ClusterChainDirectory.java | 50 super((int)(chain.getLengthOnDisk() / FatDirectoryEntry.SIZE), in ClusterChainDirectory() 127 final int size = entryCount * FatDirectoryEntry.SIZE; in changeSize()
|