Home
last modified time | relevance | path

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

123456789

/external/fsck_msdos/
Dfat.c188 fat_clear_cl_head(struct fat_descriptor *fat, cl_t cl) in fat_clear_cl_head() argument
190 bitmap_clear(&fat->headbitmap, cl); in fat_clear_cl_head()
194 fat_is_cl_head(struct fat_descriptor *fat, cl_t cl) in fat_is_cl_head() argument
196 return (bitmap_get(&fat->headbitmap, cl)); in fat_is_cl_head()
200 fat_is_cl_head_in_range(struct fat_descriptor *fat, cl_t cl) in fat_is_cl_head_in_range() argument
202 return (!(bitmap_none_in_range(&fat->headbitmap, cl))); in fat_is_cl_head_in_range()
206 fat_get_head_count(struct fat_descriptor *fat) in fat_get_head_count() argument
208 return (bitmap_count(&fat->headbitmap)); in fat_get_head_count()
217 fat_get_fat12_ptr(struct fat_descriptor *fat, cl_t cl) in fat_get_fat12_ptr() argument
219 return (fat->fatbuf + ((cl + (cl >> 1)))); in fat_get_fat12_ptr()
[all …]
Ddir.c222 resetDosDirSection(struct fat_descriptor *fat) in resetDosDirSection() argument
229 boot = fat_get_boot(fat); in resetDosDirSection()
254 if (!fat_is_cl_head(fat, boot->bpbRootClust)) { in resetDosDirSection()
298 delete(struct fat_descriptor *fat, cl_t startcl, in delete() argument
306 boot = fat_get_boot(fat); in delete()
307 fd = fat_get_fd(fat); in delete()
312 while (fat_is_valid_cl(fat, startcl)) { in delete()
343 startcl = fat_get_cl_next(fat, startcl); in delete()
350 removede(struct fat_descriptor *fat, u_char *start, in removede() argument
368 if (delete(fat, in removede()
[all …]
Dcheck.c53 struct fat_descriptor *fat = NULL; in checkfilesys() local
98 mod |= readfat(dosfs, &boot, &fat); in checkfilesys()
107 mod |= resetDosDirSection(fat); in checkfilesys()
113 mod |= handleDirTree(fat); in checkfilesys()
120 mod |= checklost(fat); in checkfilesys()
127 mod |= writefat(fat); in checkfilesys()
170 mod |= cleardirty(fat); in checkfilesys()
186 free(fat); in checkfilesys()
/external/newfs_msdos/
Dmkfs_msdos.c90 #define mincls(fat) ((fat) == 12 ? MINCLS12 : \ argument
91 (fat) == 16 ? MINCLS16 : \
94 #define maxcls(fat) ((fat) == 12 ? MAXCLS12 : \ argument
95 (fat) == 16 ? MAXCLS16 : \
259 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; in mkfs_msdos() local
363 if (!(fat = o.fat_type)) { in mkfs_msdos()
365 fat = 12; in mkfs_msdos()
367 fat = 32; in mkfs_msdos()
369 if ((fat == 32 && o.directory_entries) || (fat != 32 && (o.info_sector || o.backup_sector))) { in mkfs_msdos()
371 fat == 32 ? 'e' : o.info_sector ? 'i' : 'k', in mkfs_msdos()
[all …]
/external/llvm/test/tools/dsymutil/
Ddump-symtab.test1 RUN: llvm-dsymutil -s %p/Inputs/fat-test.dylib | FileCheck -check-prefix=ALL -check-prefix=I386 %s
2 RUN: llvm-dsymutil -arch i386 -s %p/Inputs/fat-test.dylib | FileCheck -check-prefix=I386 -check-pre…
6 ALL-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (x86_64)
11 ALL-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
12 ALL-NEXT: [ 2] 00000016 66 (N_OSO ) 03 0001 0000000055b1d0b9 '/Inputs/fat-test.o'
19 I386-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (i386)
24 I386-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
25 I386-NEXT: [ 2] 00000016 66 (N_OSO ) 03 0001 0000000055b1d0b9 '/Inputs/fat-test.o'
34 ALL-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (x86_64h)
39 ALL-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
[all …]
Dfat-binary-output.test1 RUN: llvm-dsymutil -f -verbose -no-output %p/Inputs/fat-test.dylib -oso-prepend-path %p | FileCheck…
11 generate the fat output binary.
14 CHECK: - filename: {{'?}}[[INPUTS_PATH:.*]]fat-test.o
18 CHECK: - filename: {{'?}}[[INPUTS_PATH]]fat-test.o
22 CHECK: - filename: {{'?}}[[INPUTS_PATH]]fat-test.o
27 CHECK-SAME [[TMP_PATH:.*?]]fat-test.dylib.tmp{{......}}.dwarf [[TMP_PATH]]fat-test.dylib.tmp{{....…
29 CHECK-SAME: -output [[INPUTS_PATH]]fat-test.dylib.dwarf
Darch-option.test4 RUN: llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib | FileCheck %s…
5 RUN: llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch all | Fi…
6 RUN: llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch='*' | Fi…
7 RUN: llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm64 | …
8 RUN: llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm | Fi…
9 RUN: llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch armv7 | …
10 RUN: llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm64 -a…
11 RUN: not llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm4…
12 RUN: not llvm-dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch i386…
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/
Ddump-symtab.test1 RUN: dsymutil -s %p/Inputs/fat-test.dylib | FileCheck -check-prefix=ALL -check-prefix=I386 %s
2 RUN: dsymutil -arch i386 -s %p/Inputs/fat-test.dylib | FileCheck -check-prefix=I386 -check-prefix=O…
6 ALL-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (x86_64)
11 ALL-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
12 ALL-NEXT: [ 2] 00000016 66 (N_OSO ) 03 0001 0000000055b1d0b9 '/Inputs/fat-test.o'
19 I386-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (i386)
24 I386-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
25 I386-NEXT: [ 2] 00000016 66 (N_OSO ) 03 0001 0000000055b1d0b9 '/Inputs/fat-test.o'
34 ALL-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (x86_64h)
39 ALL-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
[all …]
Dfat-binary-output.test1 RUN: dsymutil -f -verbose -no-output %p/Inputs/fat-test.dylib -oso-prepend-path %p | FileCheck %s
11 generate the fat output binary.
14 CHECK: - filename: {{'?}}[[INPUTS_PATH:.*]]fat-test.o
18 CHECK: - filename: {{'?}}[[INPUTS_PATH]]fat-test.o
22 CHECK: - filename: {{'?}}[[INPUTS_PATH]]fat-test.o
27 CHECK-SAME [[TMP_PATH:.*?]]fat-test.dylib.tmp{{......}}.dwarf [[TMP_PATH]]fat-test.dylib.tmp{{....…
29 CHECK-SAME: -output [[INPUTS_PATH]]fat-test.dylib.dwarf
Darch-option.test4 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib | FileCheck %s -che…
5 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch all | FileChe…
6 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch='*' | FileChe…
7 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm64 | FileC…
8 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm | FileChe…
9 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch armv7 | FileC…
10 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm64 -arch a…
11 RUN: not dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm42 2>&…
12 RUN: not dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch i386 2>&1…
/external/u-boot/tools/patman/test/
D0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_mem_siz.patch34 fs/fat/fat.c | 1 +
39 diff --git a/fs/fat/fat.c b/fs/fat/fat.c
41 --- a/fs/fat/fat.c
42 +++ b/fs/fat/fat.c
46 * fat.c
/external/u-boot/lib/efi_selftest/
Defi_selftest_unicode_collation.c192 char fat[16]; in test_str_to_fat() local
195 boottime->set_mem(fat, sizeof(fat), 0); in test_str_to_fat()
197 L"U -Boo.t", 6, fat); in test_str_to_fat()
198 if (ret || efi_st_strcmp_16_8(L"U-BOOT", fat)) { in test_str_to_fat()
199 efi_st_error("str_to_fat returned %u, \"%s\"\n", ret, fat); in test_str_to_fat()
203 boottime->set_mem(fat, 16, 0); in test_str_to_fat()
205 L"U\\Boot", 6, fat); in test_str_to_fat()
206 if (!ret || efi_st_strcmp_16_8(L"U_BOOT", fat)) { in test_str_to_fat()
207 efi_st_error("str_to_fat returned %u, \"%s\"\n", ret, fat); in test_str_to_fat()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-symbolizer/
Dfat.test1 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=x86_64 | FileCheck --check-prefix=…
2 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=x86_64h | FileCheck --check-prefix…
3 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=armv7 | FileCheck --check-prefix=A…
4 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=armv7em | FileCheck --check-prefix…
5 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=armv7m | FileCheck --check-prefix=…
/external/llvm/test/tools/llvm-symbolizer/
Dfat.test1 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=x86_64 | FileCheck --check-prefix=…
2 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=x86_64h | FileCheck --check-prefix…
3 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=armv7 | FileCheck --check-prefix=A…
4 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=thumbv7em | FileCheck --check-pref…
5 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=thumbv7m | FileCheck --check-prefi…
/external/llvm/test/DebugInfo/
Ddwarfdump-macho-universal.test2 RUN: llvm-dwarfdump %S/Inputs/fat-test.o -debug-dump=info | FileCheck %s
4 CHECK: fat-test.o (x86_64): file format Mach-O 64-bit x86-64
9 CHECK: fat-test.o (i386): file format Mach-O 32-bit i386
14 CHECK: fat-test.o (x86_64h): file format Mach-O 64-bit x86-64
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/
Ddwarfdump-macho-universal.test2 RUN: llvm-dwarfdump -v %S/Inputs/fat-test.o --debug-info | FileCheck %s
4 CHECK: fat-test.o(x86_64): file format Mach-O 64-bit x86-64
9 CHECK: fat-test.o(i386): file format Mach-O 32-bit i386
14 CHECK: fat-test.o(x86_64h): file format Mach-O 64-bit x86-64
/external/u-boot/lib/efi_loader/
Defi_unicode_collation.c253 efi_uintn_t fat_size, char *fat, u16 *string) in efi_fat_to_str() argument
258 EFI_ENTRY("%p, %zu, %s, %p", this, fat_size, fat, string); in efi_fat_to_str()
260 c = (unsigned char)fat[i]; in efi_fat_to_str()
287 char *fat) in efi_str_to_fat() argument
293 EFI_ENTRY("%p, %ls, %zu, %p", this, string, fat_size, fat); in efi_str_to_fat()
324 fat[i] = c; in efi_str_to_fat()
/external/google-breakpad/src/common/mac/
Dmacho_walker.cc172 struct fat_header fat; in FindHeader() local
173 if (!ReadBytes(&fat, sizeof(fat), offset)) in FindHeader()
177 swap_fat_header(&fat, NXHostByteOrder()); in FindHeader()
179 offset += sizeof(fat); in FindHeader()
183 for (uint32_t i = 0; i < fat.nfat_arch; ++i) { in FindHeader()
Dmacho_reader_unittest.cc197 : fat(kBigEndian), in FatReaderFixture()
204 fat.start() = 0; in FatReaderFixture()
209 fat in AppendFatArch()
223 ASSERT_TRUE(fat.GetContents(&contents)); in ReadFat()
232 test_assembler::Section fat; member
245 fat in TEST_F()
254 fat in TEST_F()
261 fat in TEST_F()
265 fat // and a tenth, missing a byte at the end in TEST_F()
277 fat in TEST_F()
[all …]
/external/clang/test/Rewriter/
Drewrite-modern-ivars-1.mm8 char *fat; field
42 char *fat; field
59 char *fat; field
78 char *fat; field
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/ARM/
Dmacho-arch-armv7m-flag.test1 @ RUN: llvm-objdump -macho -d -arch armv7m %p/Inputs/fat-armv7m.o | FileCheck %s
2 @ CHECK: fat-armv7m.o:
/external/u-boot/test/fs/
Dfat-noncontig-test.sh56 img=${odir}/fat-noncontig.img
64 for prereq in fallocate mkfs.fat dd crc32; do
84 mkfs.fat ${img}
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/ARM/
Dfat-arch-not-found.test7 - filename: libfat-test.a(fat-test.o)
12 # CHECK: libfat-test.a(fat-test.o): No object file for requested architecture
/external/llvm/test/tools/dsymutil/ARM/
Dfat-arch-not-found.test7 - filename: libfat-test.a(fat-test.o)
12 # CHECK: libfat-test.a(fat-test.o): No object file for requested architecture
/external/u-boot/fs/
DMakefile9 obj-$(CONFIG_SPL_FS_FAT) += fat/
19 obj-$(CONFIG_FS_FAT) += fat/

123456789