/external/valgrind/none/tests/mips64/ |
round.c | 7 int fd_w = 0; local 16 printf("%s %d %f\n", flt_dir_op_names[op], fd_w, fs_f[i]); 21 printf("%s %d %lf\n", flt_dir_op_names[op], fd_w, fs_d[i]); 26 printf("%s %d %f\n", flt_dir_op_names[op], fd_w, fs_f[i]); 31 printf("%s %d %lf\n", flt_dir_op_names[op], fd_w, fs_d[i]); 36 printf("%s %d %f\n", flt_dir_op_names[op], fd_w, fs_f[i]); 41 printf("%s %d %lf\n", flt_dir_op_names[op], fd_w, fs_d[i]); 46 printf("%s %d %f\n", flt_dir_op_names[op], fd_w, fs_f[i]); 51 printf("%s %d %lf\n", flt_dir_op_names[op], fd_w, fs_d[i]); 106 int fd_w = 0 local [all...] |
/external/ltp/testcases/kernel/io/direct_io/ |
diotest2.c | 81 int runtest(int fd_r, int fd_w, int iter, off64_t offset, int action) 100 if (lseek(fd_w, offset + iter * bufsize, SEEK_SET) < 0) { 105 if (write(fd_w, buf1, bufsize) < bufsize) { 140 int i, action, fd_r, fd_w; local 182 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) 188 if (runtest(fd_r, fd_w, iter, offset, action) < 0) { 194 close(fd_w); 201 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) 207 if (runtest(fd_r, fd_w, iter, offset, action) < 0) { 213 close(fd_w); [all...] |
diotest3.c | 91 int runtest(int fd_r, int fd_w, int childnum, int action) 112 if (lseek(fd_w, seekoff, SEEK_SET) < 0) { 113 tst_resm(TFAIL | TERRNO, "lseek (fd_w, ..) failed"); 116 if (write(fd_w, buf1, bufsize) < bufsize) { 122 if (fsync(fd_w) < 0) { 150 int fd_w, fd_r; local 154 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) { 164 close(fd_w); 167 if (runtest(fd_r, fd_w, childnum, action) == -1) { 170 close(fd_w); [all...] |
diotest5.c | 85 int runtest(int fd_r, int fd_w, int iter, off64_t offset, int action) 122 if (lseek(fd_w, offset, SEEK_SET) < 0) { 127 if (writev(fd_w, iov1, nvector) < 0) { 170 int i, action, fd_r, fd_w; local 217 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) { 218 tst_brkm(TBROK, cleanup, "fd_w open failed for %s: %s", 225 if (runtest(fd_r, fd_w, iter, offset, action) < 0) { 234 close(fd_w); 239 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { 240 tst_brkm(TBROK, cleanup, "fd_w open failed for %s: %s" [all...] |
diotest6.c | 85 int runtest(int fd_r, int fd_w, int childnum, int action) 125 if (lseek(fd_w, seekoff, SEEK_SET) < 0) { 130 n = writev(fd_w, iov_w, nvector); 137 if (fsync(fd_w) < 0) { 176 int fd_w, fd_r; local 180 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) { 181 tst_resm(TFAIL, "fd_w open failed for %s: %s", 188 close(fd_w); 192 if (runtest(fd_r, fd_w, childnum, action) == -1) { 195 close(fd_w); [all...] |
/external/valgrind/none/tests/mips32/ |
round.c | 98 fd_w = 0; \ 102 : "=r" (fcsr), "=r"(fd_w) \ 107 fd_w = 0; \ 111 : "=r" (fcsr), "=r"(fd_w) \ 166 int fd_w = 0; local 176 printf("%s %d %f\n", flt_dir_op_names[op], fd_w, fs_f[i]); 181 printf("%s %d %lf\n", flt_dir_op_names[op], fd_w, fs_d[i]); 186 printf("%s %d %f\n", flt_dir_op_names[op], fd_w, fs_f[i]); 191 printf("%s %d %lf\n", flt_dir_op_names[op], fd_w, fs_d[i]); 196 printf("%s %d %f\n", flt_dir_op_names[op], fd_w, fs_f[i]) 226 int fd_w = 0; local [all...] |