/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 13-1.c | 38 char tmpfname[256]; in main() local 54 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_13_1_%d", getpid()); in main() 55 unlink(tmpfname); in main() 56 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 66 unlink(tmpfname); in main() 70 if (stat(tmpfname, &stat_buff) == -1) { in main() 72 unlink(tmpfname); in main() 84 unlink(tmpfname); in main() 88 if (stat(tmpfname, &stat_buff2) == -1) { in main() 90 unlink(tmpfname); in main() [all …]
|
D | 14-1.c | 36 char tmpfname[256]; in main() local 47 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_14_1_%d", getpid()); in main() 48 unlink(tmpfname); in main() 49 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 59 unlink(tmpfname); in main() 67 unlink(tmpfname); in main() 73 if (stat(tmpfname, &stat_buff) == -1) { in main() 75 unlink(tmpfname); in main() 95 if (stat(tmpfname, &stat_buff) == -1) { in main() 97 unlink(tmpfname); in main() [all …]
|
D | 6-4.c | 36 char tmpfname[256]; in main() local 41 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_4_%d", getpid()); in main() 44 unlink(tmpfname); in main() 45 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 57 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main() 62 unlink(tmpfname); in main()
|
D | 6-6.c | 35 char tmpfname[256]; in main() local 41 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_6_%d", getpid()); in main() 42 unlink(tmpfname); in main() 43 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 55 fd = open(tmpfname, O_WRONLY, S_IRUSR | S_IWUSR); in main() 60 unlink(tmpfname); in main()
|
D | 6-5.c | 36 char tmpfname[256]; in main() local 42 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_5_%d", getpid()); in main() 43 unlink(tmpfname); in main() 44 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 56 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main() 61 unlink(tmpfname); in main()
|
D | 11-6.c | 45 char tmpfname[256]; in main() local 60 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_11_5_%d", getpid()); in main() 65 unlink(tmpfname); in main() 66 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, in main() 105 unlink(tmpfname); in main() 114 fd = open(tmpfname, O_RDWR, 0); in main() 115 unlink(tmpfname); in main()
|
D | 11-5.c | 45 char tmpfname[256]; in main() local 60 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_11_5_%d", getpid()); in main() 65 shm_unlink(tmpfname); in main() 66 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, in main() 105 unlink(tmpfname); in main() 114 fd = shm_open(tmpfname, O_RDWR, 0); in main() 115 shm_unlink(tmpfname); in main()
|
D | 11-4.c | 49 char tmpfname[256]; in main() local 76 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_11_5_%d", getpid()); in main() 81 unlink(tmpfname); in main() 82 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, in main() 122 unlink(tmpfname); in main() 131 fd = open(tmpfname, O_RDWR, 0); in main() 132 unlink(tmpfname); in main()
|
D | 32-1.c | 27 char tmpfname[256]; in main() local 32 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_31_1_%d", getpid()); in main() 33 unlink(tmpfname); in main() 34 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 39 unlink(tmpfname); in main()
|
D | 21-1.c | 31 char tmpfname[256]; in main() local 38 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_21_1_%d", getpid()); in main() 39 unlink(tmpfname); in main() 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 45 unlink(tmpfname); in main()
|
D | 1-1.c | 31 char tmpfname[256]; in main() local 37 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_1_1_%d", getpid()); in main() 38 unlink(tmpfname); in main() 39 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 45 unlink(tmpfname); in main()
|
D | 1-2.c | 27 char tmpfname[256]; in main() local 32 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_1_2_%d", getpid()); in main() 35 shm_unlink(tmpfname); in main() 36 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 41 shm_unlink(tmpfname); in main()
|
D | 24-1.c | 36 char tmpfname[256]; in main() local 46 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_25_1_%d", getpid()); in main() 49 shm_unlink(tmpfname); in main() 50 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 55 shm_unlink(tmpfname); in main()
|
D | 10-1.c | 38 char tmpfname[256]; in main() local 48 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_10_1_%d", getpid()); in main() 49 unlink(tmpfname); in main() 50 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 55 unlink(tmpfname); in main()
|
D | 6-3.c | 45 char tmpfname[256]; in main() local 54 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_2_%d", getpid()); in main() 55 unlink(tmpfname); in main() 56 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 61 unlink(tmpfname); in main()
|
D | 11-1.c | 38 char tmpfname[256]; in main() local 51 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_11_1_%d", getpid()); in main() 52 unlink(tmpfname); in main() 53 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 58 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/ |
D | 2-2.c | 40 char tmpfname[256]; in main() local 46 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_cancel_2_2_%d", in main() 48 unlink(tmpfname); in main() 49 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 55 unlink(tmpfname); in main()
|
D | 2-1.c | 43 char tmpfname[256]; in main() local 52 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_cancel_2_1_%d", in main() 54 unlink(tmpfname); in main() 55 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 61 unlink(tmpfname); in main()
|
D | 1-1.c | 38 char tmpfname[256]; in main() local 47 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_cancel_1_1_%d", in main() 49 unlink(tmpfname); in main() 50 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 56 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fsync/ |
D | 4-1.c | 31 char tmpfname[256]; in main() local 36 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_fsync_4_1_%d", getpid()); in main() 37 unlink(tmpfname); in main() 38 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 45 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
D | 11-2.c | 40 char tmpfname[256]; in main() local 49 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_read_11_2%d", in main() 51 unlink(tmpfname); in main() 52 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 58 unlink(tmpfname); in main()
|
D | 7-1.c | 38 char tmpfname[256]; in main() local 48 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_read_7_1_%d", in main() 50 unlink(tmpfname); in main() 51 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 57 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_error/ |
D | 3-1.c | 39 char tmpfname[256]; in main() local 49 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_error_3_1_%d", in main() 51 unlink(tmpfname); in main() 52 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 58 unlink(tmpfname); in main()
|
D | 1-1.c | 38 char tmpfname[256]; in main() local 47 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_error_1_1_%d", in main() 49 unlink(tmpfname); in main() 50 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 56 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/ |
D | 8-2.c | 39 char tmpfname[256]; in main() local 49 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_write_8_2_%d", in main() 51 unlink(tmpfname); in main() 52 fd = open(tmpfname, O_CREAT | O_RDONLY | O_EXCL, S_IRUSR | S_IWUSR); in main() 58 unlink(tmpfname); in main()
|