HomeSort by relevance Sort by last modified time
    Searched defs:tempFile (Results 1 - 25 of 28) sorted by null

1 2

  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/message/
TempFileTextBody.java 35 import org.apache.james.mime4j.util.TempFile;
41 * Text body backed by a {@link org.apache.james.mime4j.util.TempFile}.
50 private TempFile tempFile = null;
62 tempFile = tempPath.createTempFile("attachment", ".txt");
64 OutputStream out = tempFile.getOutputStream();
104 return new InputStreamReader(tempFile.getInputStream());
107 return new InputStreamReader(tempFile.getInputStream(), javaCharset);
115 IOUtils.copy(tempFile.getInputStream(), out);
MemoryBinaryBody.java 38 * Binary body backed by a {@link org.apache.james.mime4j.util.TempFile}.
47 private byte[] tempFile = null;
62 tempFile = out.toByteArray();
83 return new ByteArrayInputStream(tempFile);
MemoryTextBody.java 42 * Text body backed by a {@link org.apache.james.mime4j.util.TempFile}.
51 private byte[] tempFile = null;
67 tempFile = out.toByteArray();
105 return new InputStreamReader(tempFile.getInputStream());
108 return new InputStreamReader(new ByteArrayInputStream(tempFile), javaCharset);
116 IOUtils.copy(new ByteArrayInputStream(tempFile), out);
TempFileBinaryBody.java 31 import org.apache.james.mime4j.util.TempFile;
37 * Binary body backed by a {@link org.apache.james.mime4j.util.TempFile}.
46 private TempFile tempFile = null;
57 tempFile = tempPath.createTempFile("attachment", ".bin");
59 OutputStream out = tempFile.getOutputStream();
82 return tempFile.getInputStream();
  /cts/tools/vm-tests/src/util/build/
JarBuildStep.java 40 File tempFile = new File(inputFile.folder, destFileName);
42 if (!inputFile.fileName.equals(tempFile)) {
43 copyFile(inputFile.fileName, tempFile);
45 tempFile = null;
66 if (tempFile != null) {
67 tempFile.delete();
  /cts/tools/vm-tests-tf/src/util/build/
JarBuildStep.java 40 File tempFile = new File(inputFile.folder, destFileName);
42 if (!inputFile.fileName.equals(tempFile)) {
43 copyFile(inputFile.fileName, tempFile);
45 tempFile = null;
66 if (tempFile != null) {
67 tempFile.delete();
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/
MethodProfilingHandler.java 105 File tempFile = saveTempFile(data, DdmConstants.DOT_TRACE);
106 open(tempFile.getAbsolutePath());
  /external/webkit/Source/WebCore/platform/qt/
FileSystemQt.cpp 120 QTemporaryFile* tempFile = new QTemporaryFile(QDir::tempPath() + QLatin1Char('/') + QString(prefix));
121 tempFile->setAutoRemove(false);
122 QFile* temp = tempFile;
  /dalvik/tools/dexdeps/src/com/android/dexdeps/
Main.java 153 File tempFile = File.createTempFile("dexdeps", ".dex");
154 //System.out.println("+++ using temp " + tempFile);
155 RandomAccessFile raf = new RandomAccessFile(tempFile, "rw");
156 tempFile.delete();
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
FileLockTest.java 58 File tempFile = File.createTempFile("testing", "tmp");
59 tempFile.deleteOnExit();
60 RandomAccessFile randomAccessFile = new RandomAccessFile(tempFile, "rw");
  /external/svox/pico/src/com/svox/pico/
CheckVoiceData.java 114 File tempFile = new File(PICO_LINGWARE_PATH + filename);
116 if ((!tempFile.exists()) && (!tempFileSys.exists())) {
  /external/webkit/Source/WebCore/platform/brew/
FileSystemBrew.cpp 213 IFile* tempFile = IFILEMGR_OpenFile(fileMgr.get(), filename.utf8().data(), _OFM_CREATE);
214 if (tempFile) {
215 handle = tempFile;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadCache.java 347 File tempFile = null;
350 tempFile = File.createTempFile("cache", ".tmp", mRoot);
351 // download from url to tempFile
353 boolean downloaded = DownloadUtils.requestDownload(jc, url, tempFile);
355 if (downloaded) return tempFile;
361 if (tempFile != null) tempFile.delete();
  /external/webkit/Source/WebCore/platform/win/
FileSystemWin.cpp 209 char tempFile[] = "XXXXXXXX.tmp"; // Use 8.3 style name (more characters aren't helpful due to 8.3 short file names)
211 if (!CryptGenRandom(hCryptProv, randomPartLength, reinterpret_cast<BYTE*>(tempFile)))
218 tempFile[i] = validChars[tempFile[i] % (sizeof(validChars) - 1)];
220 ASSERT(strlen(tempFile) == sizeof(tempFile) - 1);
222 if (!PathCombineA(proposedPath, tempPath, tempFile))
  /external/webkit/Source/WebCore/platform/wince/
FileSystemWinCE.cpp 206 wchar_t tempFile[] = L"XXXXXXXX.tmp"; // Use 8.3 style name (more characters aren't helpful due to 8.3 short file names)
208 if (!CryptGenRandom(hCryptProv, randomPartLength * 2, reinterpret_cast<BYTE*>(tempFile)))
215 tempFile[i] = validChars[tempFile[i] % (sizeof(validChars) - 1)];
217 ASSERT(wcslen(tempFile) * 2 == sizeof(tempFile) - 2);
219 proposedPath = pathByAppendingComponent(String(tempPath), String(tempFile));
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
VideoEditorHelper.java 316 File tempFile = new File(fileName);
317 assertEquals("Exported FileName", tempFile.exists(), true);
364 File tempFile = new File(fileName);
365 assertEquals("Exported FileName", tempFile.exists(), true);
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTest.java 163 File tempFile = File.createTempFile("domts", ".xml");
169 Object uri = method.invoke(tempFile, (Class<?>) null);
176 URL url = tempFile.toURL();
  /libcore/luni/src/test/java/libcore/java/io/
OldFileTest.java 35 private File tempFile;
222 tempFile = new File(tempDirectory, "tempfile");
225 tempStream = new FileOutputStream(tempFile.getPath(), false);
234 if (tempFile.exists() && !tempFile.delete())
  /external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
PropertyChangeSupportTest.java 47 private File tempFile;
51 tempFile = File.createTempFile("beans", ".ser");
56 tempFile.delete();
57 tempFile = null;
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.java 63 ParcelFileDescriptor tempFile = makeParcelFileDescriptor(getContext());
65 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile);
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentFragment.java 319 final File tempFile = new File(externalCacheDir, "tempfile.jpg");
329 FileOutputStream fo = new FileOutputStream(tempFile, false);
355 shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(tempFile));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ScannerTest.java 277 File tempFile = File.createTempFile("harmony", "test");
278 tempFile.deleteOnExit();
279 FileOutputStream os = new FileOutputStream(tempFile);
283 FileInputStream is = new FileInputStream(tempFile);
    [all...]
  /external/sonivox/arm-wt-22k/lib_src/
eas_mdls.c 814 EAS_FILE_HANDLE tempFile;
836 if ((result = EAS_HWDupHandle(pDLSData->hwInstData, pDLSData->fileHandle, &tempFile)) != EAS_SUCCESS)
844 if ((result = EAS_HWGetDWord(pDLSData->hwInstData, tempFile, &temp, EAS_FALSE)) != EAS_SUCCESS)
849 EAS_HWCloseFile(pDLSData->hwInstData, tempFile);
859 EAS_HWCloseFile(pDLSData->hwInstData, tempFile);
    [all...]
  /external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
PluginObject.cpp 778 FILE* tempFile = fopen(path, "w");
779 if (!tempFile)
782 if (!fwrite(contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile))
785 fclose(tempFile);
    [all...]
  /frameworks/base/services/java/com/android/server/pm/
Settings.java     [all...]

Completed in 1508 milliseconds

1 2