Home
last modified time | relevance | path

Searched refs:TEMP_FILE (Results 1 – 11 of 11) sorted by relevance

/external/ltp/testcases/kernel/syscalls/sync/
Dsync02.c80 #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/
Dutime03.c94 #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()
Dutime04.c85 #define TEMP_FILE "tmp_file" macro
117 TEST(utime(TEMP_FILE, &times)); 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()
Dutime05.c88 #define TEMP_FILE "tmp_file" macro
123 TEST(utime(TEMP_FILE, &times)); 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()
Dutime01.c86 #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()
Dutime02.c89 #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()
Dutime06.c55 #define TEMP_FILE "tmp_file" macro
73 {TEMP_FILE, EACCES, NULL, setup_nobody, cleanup_nobody},
75 {TEMP_FILE, EPERM, &times, setup_nobody, cleanup_nobody},
115 SAFE_TOUCH(cleanup, TEMP_FILE, 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek01.c88 #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/
DPack200TestCase.java59 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/
DPack200Strategy.java38 TEMP_FILE() { in TEMP_FILE() enumConstant
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03.c57 #define TEMP_FILE "temp_file" macro
200 snprintf(file, PATH_MAX, "%s%s", path_name, TEMP_FILE); in test_rwflag()