/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_error/ |
3-1.c | 43 int fd; local 53 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 54 if (fd == -1) { 63 aiocb.aio_fildes = fd; 76 close(fd);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/ |
14-1.c | 29 int fd; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 68 aiocb_fsync.aio_fildes = fd; 80 close(fd);
|
2-1.c | 30 int fd, ret; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 59 aiocb_fsync.aio_fildes = fd; 76 close(fd); 84 close(fd); 88 close(fd);
|
3-1.c | 30 int fd, ret; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 59 aiocb_fsync.aio_fildes = fd; 75 close(fd); 83 close(fd); 87 close(fd);
|
4-1.c | 30 int fd; local 41 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 42 if (fd == -1) { 50 aiocb_write.aio_fildes = fd; 60 aiocb_fsync.aio_fildes = fd; 84 close(fd);
|
8-1.c | 29 int fd; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 68 aiocb_fsync.aio_fildes = fd; 86 close(fd); 90 close(fd);
|
8-2.c | 29 int fd; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 68 aiocb_fsync.aio_fildes = fd; 86 close(fd); 90 close(fd);
|
8-3.c | 29 int fd; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 68 aiocb_fsync.aio_fildes = fd; 86 close(fd); 90 close(fd);
|
8-4.c | 29 int fd; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 68 aiocb_fsync.aio_fildes = fd; 86 close(fd); 90 close(fd);
|
9-1.c | 29 int fd; local 40 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 41 if (fd == -1) { 49 aiocb_write.aio_fildes = fd; 68 aiocb_fsync.aio_fildes = fd; 85 close(fd); 89 close(fd);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
11-1.c | 44 int fd; local 53 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 54 if (fd == -1) { 61 if (write(fd, buf, BUF_SIZE) != BUF_SIZE) { 67 aiocb.aio_fildes = fd; 83 close(fd); 88 close(fd); 96 close(fd); 101 close(fd);
|
11-2.c | 44 int fd; local 53 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 54 if (fd == -1) { 62 aiocb.aio_fildes = fd; 77 close(fd);
|
3-1.c | 41 int fd; local 51 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 52 if (fd == -1) { 59 if (write(fd, buf, BUF_SIZE) != BUF_SIZE) { 65 aiocb.aio_fildes = fd; 91 close(fd);
|
3-2.c | 41 int fd; local 51 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 52 if (fd == -1) { 59 if (write(fd, buf, BUF_SIZE / 2) != BUF_SIZE / 2) { 67 aiocb.aio_fildes = fd; 93 close(fd);
|
7-1.c | 42 int fd; local 52 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 53 if (fd == -1) { 62 aiocb.aio_fildes = fd; 76 close(fd);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/ |
1-1.c | 44 int fd, retval; local 52 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 54 if (fd == -1) { 63 aiocb.aio_fildes = fd; 68 close(fd); 81 close(fd); 86 close(fd); 92 close(fd);
|
2-1.c | 42 int fd, retval; local 50 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 52 if (fd == -1) { 61 aiocb.aio_fildes = fd; 66 close(fd); 82 close(fd); 91 close(fd); 98 close(fd); 104 close(fd);
|
3-1.c | 47 int fd, retval; local 55 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 57 if (fd == -1) { 66 aiocb.aio_fildes = fd; 71 close(fd); 85 close(fd); 92 aiocb.aio_fildes = fd; 97 close(fd); 111 close(fd); 118 close(fd); [all...] |
3-2.c | 45 int fd, retval; local 53 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 55 if (fd == -1) { 64 aiocb.aio_fildes = fd; 69 close(fd); 89 close(fd); 98 close(fd); 107 close(fd);
|
4-1.c | 45 int fd, retval; local 53 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 55 if (fd == -1) { 64 aiocb.aio_fildes = fd; 69 close(fd); 84 aiocb2.aio_fildes = fd; 91 close(fd); 99 close(fd); 106 close(fd); 111 close(fd); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/ |
5-1.c | 43 int fd; local 54 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 55 if (fd == -1) { 63 aiocb.aio_fildes = fd; 82 close(fd); 88 close(fd); 92 close(fd);
|
8-2.c | 43 int fd; local 53 fd = open(tmpfname, O_CREAT | O_RDONLY | O_EXCL, S_IRUSR | S_IWUSR); 54 if (fd == -1) { 63 aiocb.aio_fildes = fd; 87 close(fd);
|
9-1.c | 46 int fd; local 55 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 56 if (fd == -1) { 64 aiocb.aio_fildes = fd; 80 close(fd); 85 close(fd); 93 close(fd); 98 close(fd);
|
9-2.c | 46 int fd; local 55 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); 56 if (fd == -1) { 64 aiocb.aio_fildes = fd; 80 close(fd); 85 close(fd); 93 close(fd); 98 close(fd);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
11-1.c | 28 static int child(int fd) 37 if (fcntl(fd, F_GETLK, &fl) == -1) { 48 if (fcntl(fd, F_SETLK, &fl) == -1) { 66 int fd, child_stat, result = PTS_UNRESOLVED; local 75 fd = mkstemp(path_template); 76 if (fd == -1) { 82 if (fcntl(fd, F_SETLK, &fl) == -1) { 95 exit(child(fd)); 108 close(fd);
|