Home
last modified time | relevance | path

Searched refs:size (Results 1 – 2 of 2) sorted by relevance

/rt/
A Dtst-aio64.c64 test_file (const void *buf, size_t size, int fd, const char *msg) in test_file() argument
67 char tmp[size]; in test_file()
76 if (st.st_size != (off_t) size) in test_file()
79 msg, (unsigned long int) st.st_size, (unsigned long int) size); in test_file()
83 if (pread (fd, tmp, size, 0) != (ssize_t) size) in test_file()
89 if (memcmp (buf, tmp, size) != 0) in test_file()
A Dtst-aio.c63 test_file (const void *buf, size_t size, int fd, const char *msg) in test_file() argument
66 char tmp[size]; in test_file()
75 if (st.st_size != (off_t) size) in test_file()
78 msg, (unsigned long int) st.st_size, (unsigned long int) size); in test_file()
82 if (pread (fd, tmp, size, 0) != (ssize_t) size) in test_file()
88 if (memcmp (buf, tmp, size) != 0) in test_file()

Completed in 5 milliseconds