Home
last modified time | relevance | path

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

12345

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D13-1.c38 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 …]
D14-1.c36 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 …]
D6-4.c36 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()
D6-6.c35 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()
D6-5.c36 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()
D11-6.c45 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()
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-4.c49 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()
D32-1.c27 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()
D21-1.c31 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()
D1-1.c31 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()
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()
D24-1.c36 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()
D10-1.c38 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()
D6-3.c45 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()
D11-1.c38 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/
D2-2.c40 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()
D2-1.c43 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()
D1-1.c38 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/
D4-1.c31 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/
D11-2.c40 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()
D7-1.c38 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/
D3-1.c39 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()
D1-1.c38 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/
D8-2.c39 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()

12345