/external/ltp/testcases/kernel/syscalls/sync/ |
D | sync02.c | 80 #define TEMP_FILE "temp_file" macro 117 TEMP_FILE, errno); in main() 127 TEMP_FILE); in main() 135 TEMP_FILE, errno); in main() 170 if ((fildes = open(TEMP_FILE, O_RDWR | O_CREAT, FILE_MODE)) == -1) { in setup() 173 TEMP_FILE, FILE_MODE, errno, strerror(errno)); in setup() 181 TEMP_FILE); in setup() 199 TEMP_FILE, errno, strerror(errno)); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/utime/ |
D | utime03.c | 94 #define TEMP_FILE "tmp_file" macro 161 TEST(utime(TEMP_FILE, NULL)); in main() 165 "utime(%s) failed", TEMP_FILE); in main() 185 SAFE_STAT(cleanup, TEMP_FILE, &stat_buf); in main() 196 "not set", TEMP_FILE); in main() 201 TEMP_FILE); in main() 252 fildes = SAFE_CREAT(cleanup, TEMP_FILE, FILE_MODE); in setup() 261 SAFE_CHMOD(cleanup, TEMP_FILE, FILE_MODE); in setup() 274 SAFE_CHOWN(cleanup, TEMP_FILE, user_uid, group_gid); in setup()
|
D | utime04.c | 85 #define TEMP_FILE "tmp_file" macro 117 TEST(utime(TEMP_FILE, ×)); in main() 120 tst_resm(TFAIL|TTERRNO, "utime(%s) failed", TEMP_FILE); in main() 126 SAFE_STAT(cleanup, TEMP_FILE, &stat_buf); in main() 135 TEMP_FILE); in main() 139 TEMP_FILE); in main() 168 fildes = SAFE_CREAT(cleanup, TEMP_FILE, FILE_MODE); in setup()
|
D | utime05.c | 88 #define TEMP_FILE "tmp_file" macro 123 TEST(utime(TEMP_FILE, ×)); in main() 126 tst_resm(TFAIL|TTERRNO, "utime(%s) failed", TEMP_FILE); in main() 132 SAFE_STAT(cleanup, TEMP_FILE, &stat_buf); in main() 141 TEMP_FILE); in main() 145 TEMP_FILE); in main() 178 fildes = SAFE_CREAT(cleanup, TEMP_FILE, FILE_MODE); in setup()
|
D | utime01.c | 86 #define TEMP_FILE "tmp_file" macro 130 TEST(utime(TEMP_FILE, NULL)); in main() 133 tst_resm(TFAIL|TTERRNO, "utime(%s) failed", TEMP_FILE); in main() 152 SAFE_STAT(cleanup, TEMP_FILE, &stat_buf); in main() 163 TEMP_FILE); in main() 167 TEMP_FILE); in main() 196 fildes = SAFE_CREAT(cleanup, TEMP_FILE, FILE_MODE); in setup()
|
D | utime02.c | 89 #define TEMP_FILE "tmp_file" macro 136 TEST(utime(TEMP_FILE, NULL)); in main() 139 tst_resm(TFAIL|TTERRNO, "utime(%s) failed", TEMP_FILE); in main() 158 SAFE_STAT(cleanup, TEMP_FILE, &stat_buf); in main() 169 TEMP_FILE); in main() 173 TEMP_FILE); in main() 211 fildes = SAFE_CREAT(cleanup, TEMP_FILE, FILE_MODE); in setup()
|
D | utime06.c | 55 #define TEMP_FILE "tmp_file" macro 73 {TEMP_FILE, EACCES, NULL, setup_nobody, cleanup_nobody}, 75 {TEMP_FILE, EPERM, ×, setup_nobody, cleanup_nobody}, 115 SAFE_TOUCH(cleanup, TEMP_FILE, 0644, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek01.c | 88 #define TEMP_FILE "tmp_file" macro 121 TEMP_FILE, TEST_ERRNO, strerror(TEST_ERRNO)); in main() 166 "successful", TEMP_FILE); in main() 197 if ((fildes = open(TEMP_FILE, O_RDWR | O_CREAT, FILE_MODE)) == -1) { in setup() 200 TEMP_FILE, errno, strerror(errno)); in setup()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/ |
D | Pack200TestCase.java | 59 jarUnarchiveAll(false, Pack200Strategy.TEMP_FILE); in testJarUnarchiveAllTempFile() 64 jarUnarchiveAll(true, Pack200Strategy.TEMP_FILE); in testJarUnarchiveAllFileTempFile() 103 jarArchiveCreation(Pack200Strategy.TEMP_FILE); in testJarArchiveCreationTempFile() 209 singleByteReadConsistentlyReturnsMinusOneAtEof(Pack200Strategy.TEMP_FILE); in singleByteReadFromTempFileConsistentlyReturnsMinusOneAtEof() 229 multiByteReadConsistentlyReturnsMinusOneAtEof(Pack200Strategy.TEMP_FILE); in multiByteReadFromTempFileConsistentlyReturnsMinusOneAtEof()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/pack200/ |
D | Pack200Strategy.java | 38 TEMP_FILE() { in TEMP_FILE() enumConstant
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 57 #define TEMP_FILE "temp_file" macro 200 snprintf(file, PATH_MAX, "%s%s", path_name, TEMP_FILE); in test_rwflag()
|