/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 13-1.c | 40 char tmpfname[PATH_MAX]; in main() local 51 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_13_1"); in main() 57 unlink(tmpfname); in main() 58 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 68 unlink(tmpfname); in main() 72 if (stat(tmpfname, &stat_buff) == -1) { in main() 74 unlink(tmpfname); in main() 86 unlink(tmpfname); in main() 90 if (stat(tmpfname, &stat_buff2) == -1) { in main() 92 unlink(tmpfname); in main() [all …]
|
D | 14-1.c | 38 char tmpfname[PATH_MAX]; in main() local 49 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_14_1"); in main() 50 unlink(tmpfname); in main() 51 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 61 unlink(tmpfname); in main() 69 unlink(tmpfname); in main() 75 if (stat(tmpfname, &stat_buff) == -1) { in main() 77 unlink(tmpfname); in main() 97 if (stat(tmpfname, &stat_buff) == -1) { in main() 99 unlink(tmpfname); in main() [all …]
|
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-6.c | 47 char tmpfname[PATH_MAX]; in main() local 62 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_11_6"); in main() 67 unlink(tmpfname); in main() 68 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, in main() 107 unlink(tmpfname); in main() 116 fd = open(tmpfname, O_RDWR, 0); in main() 117 unlink(tmpfname); in main()
|
D | 6-6.c | 37 char tmpfname[PATH_MAX]; in main() local 43 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_6_6"); 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_WRONLY, S_IRUSR | S_IWUSR); in main() 62 unlink(tmpfname); in main()
|
D | 6-4.c | 38 char tmpfname[PATH_MAX]; in main() local 43 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_6_4"); in main() 46 unlink(tmpfname); in main() 47 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 59 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main() 64 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 | 6-5.c | 38 char tmpfname[PATH_MAX]; in main() local 44 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_6_5"); in main() 45 unlink(tmpfname); in main() 46 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 58 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main() 63 unlink(tmpfname); in main()
|
D | 24-1.c | 36 char tmpfname[256]; in main() local 46 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_24_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 | 11-4.c | 54 char tmpfname[PATH_MAX]; in main() local 69 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_11_4"); in main() 88 unlink(tmpfname); in main() 89 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, in main() 129 unlink(tmpfname); in main() 138 fd = open(tmpfname, O_RDWR, 0); in main() 139 unlink(tmpfname); in main()
|
D | 11-3.c | 49 char tmpfname[256]; in main() local 73 snprintf(tmpfname, sizeof(tmpfname), "/pts_mmap_11_3_%d", getpid()); in main() 75 shm_unlink(tmpfname); in main() 76 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 81 shm_unlink(tmpfname); in main()
|
D | 7-4.c | 42 char tmpfname[256]; in main() local 52 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_7_4_%d", getpid()); in main() 53 shm_unlink(tmpfname); in main() 55 shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 60 shm_unlink(tmpfname); in main()
|
D | 7-3.c | 43 char tmpfname[256]; in main() local 51 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_7_3_%d", getpid()); in main() 52 shm_unlink(tmpfname); in main() 53 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 58 shm_unlink(tmpfname); in main()
|
D | 24-2.c | 35 char tmpfname[256]; in main() local 47 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_24_2_%d", getpid()); in main() 50 shm_unlink(tmpfname); in main() 51 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 56 shm_unlink(tmpfname); in main()
|
D | 32-1.c | 29 char tmpfname[PATH_MAX]; in main() local 34 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_32_1"); in main() 35 unlink(tmpfname); in main() 36 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 41 unlink(tmpfname); in main()
|
D | 18-1.c | 69 char tmpfname[256]; in main() local 100 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_18_1_%d", getpid()); in main() 103 shm_unlink(tmpfname); in main() 104 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 109 shm_unlink(tmpfname); in main()
|
D | 21-1.c | 33 char tmpfname[PATH_MAX]; in main() local 40 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_21_1"); in main() 41 unlink(tmpfname); in main() 42 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 47 unlink(tmpfname); in main()
|
D | 1-1.c | 33 char tmpfname[PATH_MAX]; in main() local 39 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_1_1"); in main() 40 unlink(tmpfname); in main() 41 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 47 unlink(tmpfname); in main()
|
D | 10-1.c | 40 char tmpfname[PATH_MAX]; in main() local 50 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_10_1"); in main() 51 unlink(tmpfname); in main() 52 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 57 unlink(tmpfname); in main()
|
D | 12-1.c | 39 char tmpfname[PATH_MAX]; in main() local 44 PTS_GET_TMP_FILENAME(tmpfname, "pts_mmap_12_1"); in main() 45 unlink(tmpfname); in main() 46 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 52 unlink(tmpfname); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/ |
D | 2-2.c | 41 char tmpfname[PATH_MAX]; in main() local 47 PTS_GET_TMP_FILENAME(tmpfname, "pts_aio_cancel_2_2"); 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fsync/ |
D | 4-1.c | 33 char tmpfname[PATH_MAX]; in main() local 38 PTS_GET_TMP_FILENAME(tmpfname, "pts_fsync_4_1"); in main() 39 unlink(tmpfname); in main() 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 47 unlink(tmpfname); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_error/ |
D | 3-1.c | 40 char tmpfname[PATH_MAX]; in main() local 50 PTS_GET_TMP_FILENAME(tmpfname, "pts_aio_error_3_1"); 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
D | 11-2.c | 41 char tmpfname[PATH_MAX]; in main() local 50 PTS_GET_TMP_FILENAME(tmpfname, "pts_aio_read_11_2"); 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 | 40 char tmpfname[PATH_MAX]; in main() local 51 PTS_GET_TMP_FILENAME(tmpfname, "pts_aio_read_7_1"); in main() 52 unlink(tmpfname); in main() 53 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 59 unlink(tmpfname); in main()
|