Searched refs:fat (Results 1 - 20 of 20) sorted by relevance

/external/fsck_msdos/
H A Dfat.c36 __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 $";
138 checkclnum(struct bootblock *boot, int fat, cl_t cl, cl_t *next) argument
153 cl, fat,
209 struct fatEntry *fat; local
219 fat = calloc(boot->NumClusters, sizeof(struct fatEntry));
220 if (fat == NULL) {
289 fat[cl].next = p[0] + (p[1] << 8)
291 fat[cl].next &= boot->ClustMask;
292 ret |= checkclnum(boot, no, cl, &fat[c
420 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
434 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc) argument
450 checkfat(struct bootblock *boot, struct fatEntry *fat) argument
553 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) argument
661 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
[all...]
H A Dcheck.c63 struct fatEntry *fat = NULL; local
115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat);
133 mod |= comparefat(&boot, fat, currentFat, i);
144 mod |= checkfat(&boot, fat);
154 mod |= resetDosDirSection(&boot, fat);
162 mod |= handleDirTree(dosfs, &boot, fat);
169 mod |= checklost(dosfs, &boot, fat);
176 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT);
202 mod |= writefat(dosfs, &boot, fat, 1);
218 free(fat);
[all...]
H A Ddir.c224 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) argument
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, argument
348 startcl = fat[startcl].next;
355 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, argument
371 if (delete(f, boot, fat,
390 checksize(struct bootblock *boot, struct fatEntry *fat, u_cha argument
443 check_dot_dot(int f, struct bootblock *boot, struct fatEntry *fat,struct dosDirEntry *dir) argument
525 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, struct dosDirEntry *dir) argument
978 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
1019 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
[all...]
H A DAndroid.mk5 LOCAL_SRC_FILES := boot.c check.c dir.c fat.c main.c
/external/syslinux/libfat/
H A Dfatchain.c78 fatsect = fs->fat + (fatoffset >> LIBFAT_SECTOR_SHIFT);
86 fatsect = fs->fat + (fatoffset >> LIBFAT_SECTOR_SHIFT);
104 fatsect = fs->fat + (fatoffset >> LIBFAT_SECTOR_SHIFT);
117 fatsect = fs->fat + (fatoffset >> LIBFAT_SECTOR_SHIFT);
H A Dlibfatint.h23 #include "fat.h"
47 libfat_sector_t fat; /* Start of FAT */ member in struct:libfat_filesystem
H A Dopen.c64 fs->fat = read16(&bs->bsResSectors);
69 fs->rootdir = fs->fat + fatsize * read8(&bs->bsFATs);
/external/syslinux/core/fs/fat/
H A Dfat.c29 return get_cache(fs->fs_dev, FAT_SB(fs)->fat + sector);
48 * we got the end of the one fat sector,
50 * so store the low part, then read the next fat
725 struct fat_bpb fat; local
736 disk->rdwr_sectors(disk, &fat, 0, 1, 0);
739 if (!fat.bxResSectors || !fat.bxFATs)
746 sectors_per_fat = fat.bxFATsecs ? : fat.fat32.bxFATsecs_32;
747 total_sectors = fat
795 struct fat_bpb fat; local
[all...]
H A Dfat_fs.h32 * The fat file system structures
84 * The fat file system info in memory
87 sector_t fat; /* The FAT region */ member in struct:fat_sb_info
142 static inline int root_dir_size(struct fs_info *fs, struct fat_bpb *fat) argument
144 return (fat->bxRootDirEnts + SECTOR_SIZE(fs)/32 - 1)
/external/google-breakpad/src/common/mac/
H A Dmacho_walker.cc152 // If we don't have a fat header, check if the cpu type matches the single
170 // Read the fat header and find an appropriate architecture
172 struct fat_header fat; local
173 if (!ReadBytes(&fat, sizeof(fat), offset))
177 swap_fat_header(&fat, NXHostByteOrder());
179 offset += sizeof(fat);
183 for (uint32_t i = 0; i < fat.nfat_arch; ++i) {
H A Dmacho_reader_unittest.cc199 : fat(kBigEndian),
205 // here, start, and Mark are file offsets in 'fat'.
206 fat.start() = 0;
208 // Append a 'fat_arch' entry to 'fat', with the given field values.
211 fat
218 // Append |n| dummy 'fat_arch' entries to 'fat'. The cpu type and
225 ASSERT_TRUE(fat.GetContents(&contents));
234 test_assembler::Section fat;
247 fat
256 fat
232 test_assembler::Section fat; member in struct:FatReaderFixture
[all...]
H A Dmacho_reader.h40 #include <mach-o/fat.h>
69 // A parser for fat binary files, used to store universal binaries.
70 // When applied to a (non-fat) Mach-O file, this behaves as if the
71 // file were a fat file containing a single object file.
75 // A class for reporting errors found while parsing fat binary files. The
84 // The data does not begin with a fat binary or Mach-O magic number.
88 // The Mach-O fat binary file ends abruptly, without enough space
102 // Create a fat binary file reader that uses |reporter| to report problems.
105 // Read the |size| bytes at |buffer| as a fat binary file. On success,
109 // If the data is a plain Mach-O file, rather than a fat binar
[all...]
/external/compiler-rt/make/
H A DAppleBI.mk74 # Rule to make fat dylib
95 # Rule to make fat archive
127 # Rule to make fat dylib
/external/google-breakpad/src/client/mac/handler/
H A Dbreakpad_nlist_64.cc74 #include <mach-o/fat.h>
200 /* Deal with fat file if necessary */
205 /* Read in the fat header */
217 /* Read in the fat archs */
/external/valgrind/coregrind/
H A Dlauncher-darwin.c49 #include <mach-o/fat.h>
172 // If it's fat, look for a good arch.
178 // If only one fat arch, use it.
183 // Scan fat headers for default arch.
188 // Scan fat headers for any supported arch.
302 This is the preferred arch from fat files and the fallback. */
H A Dfixup_macho_loadcmds.c117 #include <mach-o/fat.h>
168 fat headers, kitchen sink, whatnot: the entire file. The
188 is in general a so-called fat header. The Mach-O object we're
192 /* But we can say that either it's a fat object, in which case it
193 begins with a fat header, or it's unadorned Mach-O, in which
230 /* Map a given fat or thin object aboard, find the thin part if
231 necessary, do some checks, and write details of both the fat and
275 // these if it turns out to be fat.
279 // Check for fat header.
320 fail("No acceptable architecture found in fat fil
[all...]
/external/valgrind/coregrind/m_ume/
H A Dmacho.c53 #include <mach-o/fat.h>
704 Load a fat Mach-O executable.
730 // Read fat header
731 // All fat contents are BIG-ENDIAN
733 print("bad executable (bad fat header)\n");
738 print("bad executable (bad fat header)\n");
748 print("bad executable (corrupt fat archs)\n");
755 VG_(printf)("bad executable (corrupt fat arch) %x %llu\n",
768 print("bad executable (corrupt fat arch 2)\n");
781 The file may be fat o
[all...]
/external/valgrind/coregrind/m_debuginfo/
H A Dreadmacho.c62 #include <mach-o/fat.h>
88 /* A DiSlice is used to handle the thin/fat distinction for MachO images.
89 (1) the entire mapped-in ("primary") image, fat headers, kitchen sink,
103 is in general a so-called fat header. The Mach-O object we're
107 /* But we can say that either it's a fat object, in which case it
108 begins with a fat header, or it's unadorned Mach-O, in which
144 part and (implicitly, via the contained DiImage*) the fat part.
168 // the bounds if it turns out to be fat. This stores |mimg| as
174 // Check for fat header.
231 "No acceptable architecture found in fat fil
[all...]
/external/selinux/libsepol/tests/policies/test-cond/
H A Drefpolicy-base.conf1713 genfscon fat / system_u:object_r:dosfs_t:s0
/external/python/cpython3/
H A Dconfigure1474 Build fat binary against Mac OS X SDK

Completed in 1586 milliseconds