/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-dio-subblock-eof-read.c | 25 #define FILE_SIZE 300 macro 54 ret = ftruncate(fd, FILE_SIZE); in main() 60 if (ret != FILE_SIZE) in main() 90 if (ie.res != FILE_SIZE) in main() 92 "expected %d\n", ret, FILE_SIZE); in main()
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat02.c | 20 #define FILE_SIZE 1024 macro 52 if (stat_buf.st_size != FILE_SIZE) { in run() 54 (long)stat_buf.st_size, FILE_SIZE); in run() 77 if (tst_fill_file(TESTFILE, 'a', FILE_SIZE, 1)) in setup()
|
/external/ltp/testcases/kernel/syscalls/fdatasync/ |
D | fdatasync03.c | 25 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro 49 if (written >= FILE_SIZE) in verify_fdatasync() 52 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_fdatasync()
|
/external/ltp/testcases/kernel/syscalls/sync/ |
D | sync03.c | 25 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro 49 if (written >= FILE_SIZE) in verify_sync() 52 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_sync()
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
D | fsync04.c | 25 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro 49 if (written >= FILE_SIZE) in verify_fsync() 52 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_fsync()
|
/external/ltp/testcases/kernel/syscalls/syncfs/ |
D | syncfs01.c | 26 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro 50 if (written >= FILE_SIZE) in verify_syncfs() 53 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_syncfs()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 27 #define FILE_SIZE 1024 macro 34 char buf[FILE_SIZE]; in check_and_report() 86 if (tst_fill_file(TESTFILE, 'a', FILE_SIZE, 1)) in setup()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat01.c | 18 #define FILE_SIZE 1024 macro 62 if (stat_buf.st_size != FILE_SIZE) { in verify_stat() 64 (long)stat_buf.st_size, FILE_SIZE); in verify_stat()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate01.c | 85 #define FILE_SIZE 1024 /* test file size */ macro 193 while (c_total < FILE_SIZE) { in setup()
|
D | truncate02.c | 84 #define FILE_SIZE 1024 /* test file size */ macro 260 while (write_len < FILE_SIZE) { in setup()
|
/external/autotest/client/site_tests/hardware_TrimIntegrity/ |
D | hardware_TrimIntegrity.py | 36 FILE_SIZE = 1024 * 1024 * 1024 variable in hardware_TrimIntegrity 99 def run_once(self, filename=None, file_size=FILE_SIZE,
|
/external/mtools/ |
D | msdos.h | 65 #define FILE_SIZE(dir) (_DWORD((dir)->size)) macro
|
D | mdir.c | 383 size = FILE_SIZE(&entry->dir); in list_file()
|
D | file.c | 707 size = FILE_SIZE(&entry->dir); in OpenFileByDirentry()
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_os_test.py | 4810 FILE_SIZE = 50 variable in FakeScandirTest 4850 self.create_file(self.file_path, contents=b'b' * self.FILE_SIZE) 4988 self.assertEqual(self.FILE_SIZE, self.dir_entries[1].stat().st_size)
|