HomeSort by relevance Sort by last modified time
    Searched full:temppath (Results 1 - 25 of 25) sorted by null

  /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 325 SmallString<64> TempPath;
327 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
331 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1));
332 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2));
350 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2)));
374 SmallString<64> TempPath;
376 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
379 ASSERT_TRUE(sys::fs::exists(Twine(TempPath)));
386 ASSERT_NE(TempPath.str(), TempPath2.str());
389 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A))
    [all...]
  /external/llvm/include/llvm/Support/
FileOutputBuffer.h 81 StringRef Path, StringRef TempPath);
85 SmallString<128> TempPath;
  /system/core/init/
property_service.cpp 154 char tempPath[PATH_MAX];
158 snprintf(tempPath, sizeof(tempPath), "%s/.temp.XXXXXX", PERSISTENT_PROPERTY_DIR);
159 fd = mkstemp(tempPath);
161 ERROR("Unable to write persistent property to temp file %s: %s\n", tempPath, strerror(errno));
169 if (rename(tempPath, path)) {
170 unlink(tempPath);
171 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/llvm/lib/Support/
FileOutputBuffer.cpp 31 : Region(std::move(R)), FinalPath(Path), TempPath(TmpPath) {}
34 sys::fs::remove(Twine(TempPath));
110 return sys::fs::rename(Twine(TempPath), Twine(FinalPath));
  /external/lzma/CPP/Windows/
FileDir.cpp 773 CSysString tempPath;
774 if (!MyGetTempPath(tempPath))
776 if (Create(tempPath, prefix, resultPath) != 0)
781 if (!MyGetWindowsDirectory(tempPath))
783 return (Create(tempPath, prefix, resultPath) != 0);
811 UString tempPath;
812 if (!MyGetTempPath(tempPath))
814 if (Create(tempPath, prefix, resultPath) != 0)
816 if (!MyGetWindowsDirectory(tempPath))
818 return (Create(tempPath, prefix, resultPath) != 0);
    [all...]
  /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);
  /libcore/luni/src/main/java/java/util/logging/
FileHandler.java 270 String tempPath = System.getProperty("java.io.tmpdir");
271 tempPath = tempPath == null ? homePath : tempPath;
272 boolean tempPathHasSepEnd = tempPath.endsWith(File.separator);
294 sb.append(value, cur, next - cur - 1).append(tempPath);
  /external/clang/lib/Frontend/
CompilerInstance.cpp 641 SmallString<128> TempPath;
642 TempPath = OutFile;
643 TempPath += "-%%%%%%%%";
646 llvm::sys::fs::createUniqueFile(TempPath, fd, TempPath);
653 EC = llvm::sys::fs::createUniqueFile(TempPath, fd, TempPath);
659 OSFile = TempFile = TempPath.str();
    [all...]
ASTUnit.cpp     [all...]
  /external/lzma/CPP/7zip/UI/Common/
Update.cpp 842 const UString &tempPath = ap.GetTempPath();
851 if (!NDirectory::MyMoveFile(tempPath, arcPath))
855 errorInfo.FileName = tempPath;
  /external/clang/lib/Driver/
Driver.cpp     [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar 

Completed in 2734 milliseconds