/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
SimpleTempStorage.java | 44 private TempPath rootPath = null; 54 private TempPath createTempPath(TempPath parent, String prefix) 78 private TempFile createTempFile(TempPath parent, String prefix, 117 public TempPath getRootTempPath() { 121 private class SimpleTempPath implements TempPath { 133 * @see org.apache.james.mime4j.util.TempPath#createTempFile() 140 * @see org.apache.james.mime4j.util.TempPath#createTempFile(java.lang.String, java.lang.String) 149 * @see org.apache.james.mime4j.util.TempPath#createTempFile(java.lang.String, java.lang.String, boolean) 159 * @see org.apache.james.mime4j.util.TempPath#getAbsolutePath( [all...] |
TempPath.java | 26 * @version $Id: TempPath.java,v 1.2 2004/10/02 12:41:11 ntherning Exp $ 28 public interface TempPath { 29 TempPath createTempPath() throws IOException; 30 TempPath createTempPath(String prefix) throws IOException;
|
TempStorage.java | 60 public abstract TempPath getRootTempPath();
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
FileHandlerTest.java | 58 String tempPath; 67 tempPath = System.getProperty(TMP_DIR_KEY); 69 File file = new File(tempPath + SEP + "log"); 100 reset(tempPath + SEP + "log", ""); 126 if (tempPath != null) { 127 System.setProperty(TMP_DIR_KEY, tempPath); 130 assertFalse(new File(tempPath, "log_NoTmpDir.log").exists()); 145 if (tempPath != null) { 146 System.setProperty(TMP_DIR_KEY, tempPath); 155 FileOutputStream output = new FileOutputStream(tempPath + SEP + "log [all...] |
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldFileHandlerTest.java | 46 String TEMPPATH; 72 TEMPPATH = System.getProperty("java.io.tmpdir"); 74 File file = new File(TEMPPATH + SEP + "log"); 85 reset(TEMPPATH + SEP + "log", ""); 112 assertFileContent(TEMPPATH + SEP + "log", "java0.test.0", 137 assertFileContent(TEMPPATH + SEP + "log", "/string", new LogRecord[] { 154 assertFileContent(TEMPPATH + SEP + "log", "string", h.getFormatter()); 155 assertFileContent(TEMPPATH + SEP + "log", "string.1", h.getFormatter()); 156 assertFileContent(TEMPPATH + SEP + "log", "string.2", h.getFormatter()); 157 assertFileContent(TEMPPATH + SEP + "log", "string.3", h.getFormatter()) [all...] |
/external/swiftshader/third_party/LLVM/unittests/Support/ |
Path.cpp | 171 SmallString<64> TempPath; 173 fs::unique_file("%%-%%-%%-%%.temp", FileDescriptor, TempPath)); 177 ASSERT_NO_ERROR(sys::fs::exists(Twine(TempPath), TempFileExists)); 184 ASSERT_NE(TempPath.str(), TempPath2.str()); 188 fs::copy_file(Twine(TempPath), Twine(TempPath2)), errc::file_exists); 192 ASSERT_NO_ERROR(fs::copy_file(Twine(TempPath), Twine(TempPath2), 203 ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2))); 205 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal)); 210 ASSERT_NO_ERROR(fs::remove(Twine(TempPath), TempFileExists)); 218 ASSERT_NO_ERROR(fs::exists(Twine(TempPath), TempFileExists)) [all...] |
/build/soong/shared/ |
paths.go | 24 func TempDirForOutDir(outDir string) (tempPath string) {
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
TempFileBinaryBody.java | 32 import org.apache.james.mime4j.util.TempPath; 56 TempPath tempPath = TempStorage.getInstance().getRootTempPath(); 57 tempFile = tempPath.createTempFile("attachment", ".bin");
|
TempFileTextBody.java | 36 import org.apache.james.mime4j.util.TempPath; 61 TempPath tempPath = TempStorage.getInstance().getRootTempPath(); 62 tempFile = tempPath.createTempFile("attachment", ".txt");
|
MemoryBinaryBody.java | 33 import org.apache.james.mime4j.util.TempPath; 57 TempPath tempPath = TempStorage.getInstance().getRootTempPath();
|
MemoryTextBody.java | 37 import org.apache.james.mime4j.util.TempPath; 62 TempPath tempPath = TempStorage.getInstance().getRootTempPath();
|
/external/llvm/unittests/Support/ |
Path.cpp | 445 SmallString<64> TempPath; 447 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); 451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); 452 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); 470 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); 494 SmallString<64> TempPath; 496 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); 499 ASSERT_TRUE(sys::fs::exists(Twine(TempPath))); 506 ASSERT_NE(TempPath.str(), TempPath2.str()); 509 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)) [all...] |
/external/llvm/lib/Support/ |
FileOutputBuffer.cpp | 32 : Region(std::move(R)), FinalPath(Path), TempPath(TmpPath) {} 35 sys::fs::remove(Twine(TempPath)); 110 std::error_code EC = sys::fs::rename(Twine(TempPath), Twine(FinalPath)); 111 sys::DontRemoveFileOnSignal(TempPath);
|
/build/soong/cmd/sbox/ |
sbox.go | 154 tempPath := filepath.Join(tempDir, filePath) 155 fileInfo, err := os.Stat(tempPath) 157 outputErrors = append(outputErrors, fmt.Errorf("failed to create expected output file: %s\n", tempPath)) 172 tempPath := filepath.Join(tempDir, filePath) 177 err := os.Rename(tempPath, destPath)
|
/external/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath, bool IsRegular); 85 SmallString<128> TempPath;
|
/external/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 144 SmallString<64> tempPath; 148 tempPath)) 149 return report("Could not create file: " + tempPath.str(), Diag); 156 const FileEntry *newE = FileMgr->getFile(tempPath);
|
/external/libchrome/base/files/ |
scoped_temp_dir.h | 32 // Creates a unique directory in TempPath, and takes ownership of it.
|