HomeSort by relevance Sort by last modified time
    Searched refs:FILE_SIZE (Results 1 - 13 of 13) sorted by null

  /external/autotest/client/tests/aio_dio_bugs/src/
aio-dio-subblock-eof-read.c 25 #define FILE_SIZE 300
54 ret = ftruncate(fd, FILE_SIZE);
60 if (ret != FILE_SIZE)
90 if (ie.res != FILE_SIZE)
92 "expected %d\n", ret, FILE_SIZE);
  /external/ltp/testcases/kernel/syscalls/syncfs/
syncfs01.c 26 #define FILE_SIZE (FILE_SIZE_MB * TST_MB)
49 if (written >= FILE_SIZE)
52 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE);
  /cts/tests/tests/content/jni/
NativeCursorWindow.cpp 83 const int FILE_SIZE = 1024;
93 ftruncate(fd, FILE_SIZE);
95 char* data = (char*) mmap(NULL, FILE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
117 munmap(data, FILE_SIZE);
  /external/ltp/testcases/kernel/syscalls/fstat/
fstat02.c 37 #define FILE_SIZE 1024
74 if (stat_buf.st_size != FILE_SIZE) {
76 (long)stat_buf.st_size, FILE_SIZE);
135 while (write_len < FILE_SIZE) {
  /external/ltp/testcases/kernel/syscalls/stat/
stat01.c 37 #define FILE_SIZE 1024
74 if (stat_buf.st_size != FILE_SIZE) {
76 (long)stat_buf.st_size, FILE_SIZE);
136 while (write_len < FILE_SIZE) {
stat02.c 84 #define FILE_SIZE 1024
131 (stat_buf.st_size != FILE_SIZE) ||
197 while (write_len < FILE_SIZE) {
  /external/ltp/testcases/kernel/syscalls/ftruncate/
ftruncate01.c 83 #define FILE_SIZE 1024 /* test file size */
177 while (c_total < FILE_SIZE) {
ftruncate02.c 83 #define FILE_SIZE 1024 /* test file size */
261 while (write_len < FILE_SIZE) {
  /external/ltp/testcases/kernel/syscalls/truncate/
truncate01.c 85 #define FILE_SIZE 1024 /* test file size */
193 while (c_total < FILE_SIZE) {
truncate02.c 84 #define FILE_SIZE 1024 /* test file size */
260 while (write_len < FILE_SIZE) {
  /cts/tests/filesystem/src/android/filesystem/cts/
AlmostFullTest.java 109 final long FILE_SIZE = 400L * 1024L * 1024L;
112 if (freeDisk < FILE_SIZE) {
119 FileUtil.doSequentialUpdateTest(getContext(), DIR_SEQ_UPDATE, FILE_SIZE, BUFFER_SIZE,
  /external/ltp/testcases/kernel/syscalls/lstat/
lstat03.c 46 #define FILE_SIZE 1024
  /external/autotest/client/site_tests/hardware_TrimIntegrity/
hardware_TrimIntegrity.py 36 FILE_SIZE = 1024 * 1024 * 1024
99 def run_once(self, filename=None, file_size=FILE_SIZE,
105 @param file_size: size of data to test. default: 1GB
121 if file_size == 0:
123 file_size = utils.get_disk_size(self._filename)
124 if file_size == 0:
132 file_size -= file_size % (4 * chunk_size)
137 fio_file_size = file_size
    [all...]

Completed in 344 milliseconds