Home
last modified time | relevance | path

Searched refs:FILE_SIZE (Results 1 – 15 of 15) sorted by relevance

/external/autotest/client/tests/aio_dio_bugs/src/
Daio-dio-subblock-eof-read.c25 #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/
Dfstat02.c20 #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/
Dfdatasync03.c25 #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/
Dsync03.c25 #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/
Dfsync04.c25 #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/
Dsyncfs01.c26 #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/
Dftruncate01.c27 #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/
Dstat01.c18 #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/
Dtruncate01.c85 #define FILE_SIZE 1024 /* test file size */ macro
193 while (c_total < FILE_SIZE) { in setup()
Dtruncate02.c84 #define FILE_SIZE 1024 /* test file size */ macro
260 while (write_len < FILE_SIZE) { in setup()
/external/autotest/client/site_tests/hardware_TrimIntegrity/
Dhardware_TrimIntegrity.py36 FILE_SIZE = 1024 * 1024 * 1024 variable in hardware_TrimIntegrity
99 def run_once(self, filename=None, file_size=FILE_SIZE,
/external/mtools/
Dmsdos.h65 #define FILE_SIZE(dir) (_DWORD((dir)->size)) macro
Dmdir.c383 size = FILE_SIZE(&entry->dir); in list_file()
Dfile.c707 size = FILE_SIZE(&entry->dir); in OpenFileByDirentry()
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py4810 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)