/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 | 45 String TEMPPATH; 71 TEMPPATH = System.getProperty("java.io.tmpdir"); 73 File file = new File(TEMPPATH + SEP + "log"); 84 reset(TEMPPATH + SEP + "log", ""); 111 assertFileContent(TEMPPATH + SEP + "log", "java0.test.0", 136 assertFileContent(TEMPPATH + SEP + "log", "/string", new LogRecord[] { 153 assertFileContent(TEMPPATH + SEP + "log", "string", h.getFormatter()); 154 assertFileContent(TEMPPATH + SEP + "log", "string.1", h.getFormatter()); 155 assertFileContent(TEMPPATH + SEP + "log", "string.2", h.getFormatter()); 156 assertFileContent(TEMPPATH + SEP + "log", "string.3", h.getFormatter()) [all...] |
/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 | 444 SmallString<64> TempPath; 446 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); 450 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); 451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); 469 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); 493 SmallString<64> TempPath; 495 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); 498 ASSERT_TRUE(sys::fs::exists(Twine(TempPath))); 505 ASSERT_NE(TempPath.str(), TempPath2.str()); 508 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);
|
/external/lzma/CPP/Windows/ |
FileDir.cpp | 535 FString tempPath;
536 if (!MyGetTempPath(tempPath))
538 if (!CreateTempFile(tempPath + namePrefix, true, _path, outFile))
566 FString tempPath;
567 if (!MyGetTempPath(tempPath))
569 if (!CreateTempFile(tempPath + prefix, true, _path, NULL))
|
/external/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath); 85 SmallString<128> TempPath;
|
/system/core/init/ |
property_service.cpp | 124 char tempPath[PATH_MAX]; 128 snprintf(tempPath, sizeof(tempPath), "%s/.temp.XXXXXX", PERSISTENT_PROPERTY_DIR); 129 fd = mkstemp(tempPath); 131 ERROR("Unable to write persistent property to temp file %s: %s\n", tempPath, strerror(errno)); 139 if (rename(tempPath, path)) { 140 unlink(tempPath); 141 ERROR("Unable to rename persistent property file %s to %s\n", tempPath, path);
|
/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);
|
ObjCMT.cpp | [all...] |
/external/libchrome/base/files/ |
scoped_temp_dir.h | 32 // Creates a unique directory in TempPath, and takes ownership of it.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
DeviceView.java | 176 final String tempPath = temp.getAbsolutePath(); 183 sync.pullFile(remoteFilePath, tempPath, monitor); 195 open(tempPath); 265 String tempPath = temp.getAbsolutePath(); 270 command[2] = tempPath; 275 IFileStore fileStore = EFS.getLocalFileSystem().getStore(new Path(tempPath)); 531 protected void open(String tempPath) { 532 if (DdmsPlugin.getDefault().launchTraceview(tempPath) == false) { 533 super.open(tempPath); [all...] |
/external/fio/ |
diskutil.c | 226 char slavesdir[PATH_MAX], temppath[PATH_MAX], slavepath[PATH_MAX]; local 241 sprintf(temppath, "%s%s%s", slavesdir, FIO_OS_PATH_SEPARATOR, dirent->d_name); 246 linklen = readlink(temppath, slavepath, PATH_MAX - 1); 254 sprintf(temppath, "%s/%s/dev", slavesdir, slavepath); 255 if (read_block_dev_entry(temppath, &majdev, &mindev)) { 268 sprintf(temppath, "%s%s%s", slavesdir, FIO_OS_PATH_SEPARATOR, slavepath); 269 __init_per_file_disk_util(td, majdev, mindev, temppath);
|
/external/clang/lib/Frontend/ |
CompilerInstance.cpp | 660 SmallString<128> TempPath; 661 TempPath = OutFile; 662 TempPath += "-%%%%%%%%"; 665 llvm::sys::fs::createUniqueFile(TempPath, fd, TempPath); 672 EC = llvm::sys::fs::createUniqueFile(TempPath, fd, TempPath); 678 OSFile = TempFile = TempPath.str(); [all...] |
ASTUnit.cpp | [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
GestureDescription.java | 238 Path tempPath = new Path(path); 239 tempPath.lineTo(-1, -1); 241 PathMeasure pathMeasure = new PathMeasure(tempPath, false);
|
/external/lzma/CPP/7zip/UI/Common/ |
Update.cpp | [all...] |
/external/lzma/CPP/7zip/UI/FileManager/ |
BrowseDialog.cpp | 745 UString tempPath = DirPrefix;
746 Reload(tempPath, name);
|
/external/clang/lib/Driver/ |
Driver.cpp | [all...] |