/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
package-info.java | 20 * Contains the classes implementing the FAT(12/16/32) file system. 22 package de.waldheinz.fs.fat;
|
ClusterChain.java | 19 package de.waldheinz.fs.fat; 28 * A chain of clusters as stored in a {@link Fat}. 33 protected final Fat fat; field in class:ClusterChain 43 * @param fat the {@code Fat} that holds the new chain 46 public ClusterChain(Fat fat, boolean readOnly) { 47 this(fat, 0, readOnly); 50 public ClusterChain(Fat fat, long startCluster, boolean readOnly) [all...] |
FatFileSystem.java | 20 package de.waldheinz.fs.fat; 29 * Implements the {@code FileSystem} interface for the FAT family of file 33 * For creating (aka "formatting") FAT file systems please refer to the 42 private final Fat fat; field in class:FatFileSystem 76 this.fat = Fat.read(bs, 0); 80 final Fat tmpFat = Fat.read(bs, i); 81 if (!fat.equals(tmpFat)) [all...] |
DirectoryFullException.java | 19 package de.waldheinz.fs.fat;
|
ClusterChainDirectory.java | 20 package de.waldheinz.fs.fat; 34 * According to the FAT specification, this is the maximum size a FAT 66 public static ClusterChainDirectory createRoot(Fat fat) throws IOException { 68 if (fat.getFatType() != FatType.FAT32) { 73 final Fat32BootSector bs = (Fat32BootSector) fat.getBootSector(); 74 final ClusterChain cc = new ClusterChain(fat, false);
|
FatLfnDirectory.java | 20 package de.waldheinz.fs.fat; 35 * The {@link FsDirectory} implementation for FAT file systems. This 36 * implementation aims to fully comply to the FAT specification, including 51 * directory. The FAT specification says that file names must be unique 56 private final Fat fat; field in class:FatLfnDirectory 65 FatLfnDirectory(AbstractDirectory dir, Fat fat, boolean readOnly) 70 if ((dir == null) || (fat == null)) throw new NullPointerException(); 72 this.fat = fat [all...] |
FatFile.java | 19 package de.waldheinz.fs.fat; 30 * FAT file system. 46 static FatFile get(Fat fat, FatDirectoryEntry entry) 53 fat, entry.getStartCluster(), entry.isReadonlyFlag());
|
SuperFloppyFormatter.java | 19 package de.waldheinz.fs.fat; 27 * Allows to create FAT file systems on {@link BlockDevice}s which follow the 30 * a single FAT file system. 236 final Fat fat = Fat.create(bs, 0); local 240 rootDirStore = ClusterChainDirectory.createRoot(fat); 241 fsi.setFreeClusterCount(fat.getFreeClusterCount()); 242 fsi.setLastAllocatedCluster(fat.getLastAllocatedCluster()); 249 new FatLfnDirectory(rootDirStore, fat, false) [all...] |
FatUtils.java | 20 package de.waldheinz.fs.fat; 34 * Gets the offset (in bytes) of the fat with the given index
|
DosUtils.java | 20 package de.waldheinz.fs.fat; 26 * and the format known from DOS filesystems (e.g. fat)
|
Dummy83BufferGenerator.java | 19 package de.waldheinz.fs.fat;
|
Fat16RootDirectory.java | 19 package de.waldheinz.fs.fat;
|
LittleEndian.java | 20 package de.waldheinz.fs.fat;
|
Sector.java | 19 package de.waldheinz.fs.fat;
|
/external/fsck_msdos/ |
fat.c | 36 __RCSID("$NetBSD: fat.c,v 1.12 2000/10/10 20:24:52 is Exp $"); 38 "$FreeBSD: src/sbin/fsck_msdosfs/fat.c,v 1.9 2008/01/31 13:22:13 yar Exp $"; 56 * The first 2 FAT entries contain pseudo-cluster numbers with the following 88 perror("No space for FAT"); 93 perror("Unable to read FAT"); 98 perror("Unable to read FAT"); 103 * If we don't understand the FAT, then the file system must be 138 checkclnum(struct bootblock *boot, int fat, cl_t cl, cl_t *next) 152 pwarn("Cluster %u in FAT %d continues with %s cluster number %u\n", 153 cl, fat, 209 struct fatEntry *fat; local [all...] |
Android.mk | 5 LOCAL_SRC_FILES := boot.c check.c dir.c fat.c main.c
|
check.c | 52 * If the FAT > this size then skip comparing, lest we risk 63 struct fatEntry *fat = NULL; local 108 printf("** Phase 1 - Read FAT (compare skipped)\n"); 112 printf("** Phase 1 - Read FAT\n"); 115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 133 mod |= comparefat(&boot, fat, currentFat, i); 136 printf("Fatal error during FAT comparison\n"); 144 mod |= checkfat(&boot, fat); 146 printf("Fatal error during FAT check\n"); 154 mod |= resetDosDirSection(&boot, fat); [all...] |
dir.c | 224 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) 246 cl = fat[boot->RootCl].next; 249 || fat[boot->RootCl].head != boot->RootCl) { 260 fat[boot->RootCl].next = CLUST_FREE; 266 fat[boot->RootCl].flags |= FAT_USED; 307 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, 348 startcl = fat[startcl].next; 355 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, 371 if (delete(f, boot, fat, 390 checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
FileSystemFactory.java | 21 import de.waldheinz.fs.fat.FatFileSystem;
|
/prebuilts/devtools/tools/lib/ |
fat32lib.jar | |
/system/core/toolbox/ |
newfs_msdos.c | 72 #define RESFTE 2 /* reserved FAT entries */ 80 #define mincls(fat) ((fat) == 12 ? MINCLS12 : \ 81 (fat) == 16 ? MINCLS16 : \ 84 #define maxcls(fat) ((fat) == 12 ? MAXCLS12 : \ 85 (fat) == 16 ? MAXCLS16 : \ 119 u_int8_t spf[2]; /* sectors per FAT */ 127 u_int8_t bspf[4]; /* big sectors per FAT */ 128 u_int8_t xflg[2]; /* FAT control flags * 271 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local [all...] |
/system/extras/fatblock/ |
fs.h | 21 #include "fat.h" 38 fat_entry_t *fat; member in struct:fs
|
fs.c | 22 #include "fat.h" 106 fs->fat[cluster] = htole32(entry); 138 /* Update FAT. */ 164 fat_entry_t *fat; local 220 fs->fat = malloc(fs->fat_size); 221 if (!fs->fat) { 222 WARN("initializing filesystem: couldn't allocate FAT extent: " 226 memset(fs->fat, 0, fs->fat_size);
|
Android.mk | 20 LOCAL_SRC_FILES := fat.c fatblock.c fs.c import.c read.c utils.c fdpool.c
|
/frameworks/base/tools/aapt/ |
SourcePos.cpp | 44 ErrorPos::ErrorPos(const String8& f, int l, const String8& e, bool fat) 48 fatal(fat)
|