/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 13-1.c | 39 char tmpfname[256]; in main() local 55 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_13_1_%d", getpid()); in main() 56 unlink(tmpfname); in main() 57 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 67 unlink(tmpfname); in main() 71 if (stat(tmpfname, &stat_buff) == -1) { in main() 73 unlink(tmpfname); in main() 85 unlink(tmpfname); in main() 89 if (stat(tmpfname, &stat_buff2) == -1) { in main() 91 unlink(tmpfname); in main() [all …]
|
D | 14-1.c | 37 char tmpfname[256]; in main() local 48 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_14_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() 60 unlink(tmpfname); in main() 68 unlink(tmpfname); in main() 74 if (stat(tmpfname, &stat_buff) == -1) { in main() 76 unlink(tmpfname); in main() 96 if (stat(tmpfname, &stat_buff) == -1) { in main() 98 unlink(tmpfname); in main() [all …]
|
D | 6-4.c | 37 char tmpfname[256]; in main() local 42 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_4_%d", getpid()); 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 | 6-6.c | 36 char tmpfname[256]; in main() local 42 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_6_%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_WRONLY, S_IRUSR | S_IWUSR); in main() 61 unlink(tmpfname); in main()
|
D | 6-5.c | 37 char tmpfname[256]; in main() local 43 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_5_%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 | 11-6.c | 46 char tmpfname[256]; in main() local 61 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_11_5_%d", getpid()); in main() 66 unlink(tmpfname); in main() 67 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, in main() 106 unlink(tmpfname); in main() 115 fd = open(tmpfname, O_RDWR, 0); in main() 116 unlink(tmpfname); in main()
|
D | 11-5.c | 46 char tmpfname[256]; in main() local 61 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_11_5_%d", getpid()); in main() 66 shm_unlink(tmpfname); in main() 67 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, in main() 106 unlink(tmpfname); in main() 115 fd = shm_open(tmpfname, O_RDWR, 0); in main() 116 shm_unlink(tmpfname); in main()
|
D | 11-4.c | 47 char tmpfname[256]; in main() local 62 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_11_5_%d", getpid()); in main() 67 unlink(tmpfname); in main() 68 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, in main() 108 unlink(tmpfname); in main() 117 fd = open(tmpfname, O_RDWR, 0); in main() 118 unlink(tmpfname); in main()
|
D | 32-1.c | 28 char tmpfname[256]; in main() local 33 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_31_1_%d", getpid()); in main() 34 unlink(tmpfname); in main() 35 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 40 unlink(tmpfname); in main()
|
D | 21-1.c | 32 char tmpfname[256]; in main() local 39 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_21_1_%d", getpid()); in main() 40 unlink(tmpfname); in main() 41 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 46 unlink(tmpfname); in main()
|
D | 1-2.c | 28 char tmpfname[256]; in main() local 33 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_1_2_%d", getpid()); in main() 36 shm_unlink(tmpfname); in main() 37 fd = shm_open(tmpfname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main() 42 shm_unlink(tmpfname); in main()
|
D | 1-1.c | 32 char tmpfname[256]; in main() local 38 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_1_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() 46 unlink(tmpfname); in main()
|
D | 24-1.c | 37 char tmpfname[256]; in main() local 47 snprintf(tmpfname, sizeof(tmpfname), "pts_mmap_25_1_%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 | 31-1.c | 41 char tmpfname[256]; in main() local 56 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_31_1_%d", getpid()); in main() 57 unlink(tmpfname); in main() 58 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 63 unlink(tmpfname); in main()
|
D | 10-1.c | 39 char tmpfname[256]; in main() local 49 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_10_1_%d", getpid()); in main() 50 unlink(tmpfname); in main() 51 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 56 unlink(tmpfname); in main()
|
D | 6-3.c | 46 char tmpfname[256]; in main() local 55 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_6_2_%d", getpid()); in main() 56 unlink(tmpfname); in main() 57 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 62 unlink(tmpfname); in main()
|
D | 11-1.c | 39 char tmpfname[256]; in main() local 52 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_11_1_%d", getpid()); in main() 53 unlink(tmpfname); in main() 54 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 59 unlink(tmpfname); in main()
|
D | 12-1.c | 38 char tmpfname[256]; in main() local 43 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_mmap_12_1_%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() 51 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/ |
D | 2-2.c | 41 char tmpfname[256]; in main() local 47 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_cancel_2_2_%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()
|
D | 2-1.c | 44 char tmpfname[256]; in main() local 53 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_cancel_2_1_%d", in main() 55 unlink(tmpfname); in main() 56 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 62 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fsync/ |
D | 4-1.c | 32 char tmpfname[256]; in main() local 37 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_fsync_4_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() 46 unlink(tmpfname); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_error/ |
D | 3-1.c | 40 char tmpfname[256]; in main() local 50 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_error_3_1_%d", 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()
|
D | 1-1.c | 39 char tmpfname[256]; in main() local 48 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_error_1_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_read/ |
D | 11-2.c | 41 char tmpfname[256]; in main() local 50 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_read_11_2%d", 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()
|
D | 7-1.c | 39 char tmpfname[256]; in main() local 49 snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_aio_read_7_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()
|