Home
last modified time | relevance | path

Searched refs:tmpfname (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D13-1.c40 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 …]
D14-1.c38 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 …]
D11-5.c45 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()
D11-6.c47 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()
D6-6.c37 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()
D6-4.c38 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()
D1-2.c27 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()
D6-5.c38 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()
D24-1.c36 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()
D11-4.c54 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()
D11-3.c49 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()
D7-4.c42 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()
D7-3.c43 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()
D24-2.c35 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()
D32-1.c29 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()
D18-1.c69 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()
D21-1.c33 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()
D1-1.c33 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()
D10-1.c40 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()
D12-1.c39 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/
D2-2.c41 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/
D4-1.c33 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/
D3-1.c40 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/
D11-2.c41 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()
D7-1.c40 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()

12345