/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();
|
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
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();
|
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);
|
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);
|
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);
|
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
JavaLangClassLoaderTest.java | 141 File tempFile = Support_Resources.createTempFile(".jar"); 142 tempFile.delete(); 143 tempFile.deleteOnExit(); 171 Support_Resources.copyLocalFileto(tempFile, is); 172 DexFile dexfile = DexFile.loadDex(tempFile.getAbsolutePath(),
|
/external/webkit/WebCore/platform/win/ |
FileSystemWin.cpp | 205 char tempFile[] = "XXXXXXXX.tmp"; // Use 8.3 style name (more characters aren't helpful due to 8.3 short file names) 207 if (!CryptGenRandom(hCryptProv, randomPartLength, reinterpret_cast<BYTE*>(tempFile))) 214 tempFile[i] = validChars[tempFile[i] % (sizeof(validChars) - 1)]; 216 ASSERT(strlen(tempFile) == sizeof(tempFile) - 1); 218 if (!PathCombineA(proposedPath, tempPath, tempFile))
|
/external/webkit/WebCore/platform/wince/ |
FileSystemWince.cpp | 187 wchar_t tempFile[] = L"XXXXXXXX.tmp"; // Use 8.3 style name (more characters aren't helpful due to 8.3 short file names) 189 if (!CryptGenRandom(hCryptProv, randomPartLength * 2, reinterpret_cast<BYTE*>(tempFile))) 196 tempFile[i] = validChars[tempFile[i] % (sizeof(validChars) - 1)]; 198 ASSERT(wcslen(tempFile) * 2 == sizeof(tempFile) - 2); 200 proposedPath = pathByAppendingComponent(String(tempPath), String(tempFile));
|
/external/webkit/WebCore/platform/qt/ |
FileSystemQt.cpp | 120 QTemporaryFile* tempFile = new QTemporaryFile(QLatin1String(prefix)); 121 tempFile->setAutoRemove(false); 122 QFile* temp = tempFile;
|
/external/webkit/WebKitTools/Scripts/ |
bisect-builds | 45 use File::Temp qw(tempfile); 133 my $tempFile = createTempFile($testURL); 142 mountAndRunNightly($nightlies[$startIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile); 155 mountAndRunNightly($nightlies[$endIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile); 178 mountAndRunNightly($nightlies[$index]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile); 200 unlink $tempFile if $tempFile; 210 my ($fh, $tempFile) = tempfile( 219 return $tempFile; [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Main.java | 130 File tempFile = File.createTempFile("dexdeps", ".dex"); 131 //System.out.println("+++ using temp " + tempFile); 132 RandomAccessFile raf = new RandomAccessFile(tempFile, "rw"); 133 tempFile.delete();
|
/external/webkit/JavaScriptCore/pcre/ |
dftables | 49 use File::Temp qw(tempfile); 245 my ($fh, $tempFile) = tempfile( 266 open(CPP, "$preprocessor \"$tempFile\" |") or die "$!"; 272 unlink $tempFile;
|
/external/svox/pico/src/com/svox/pico/ |
CheckVoiceData.java | 114 File tempFile = new File(PICO_LINGWARE_PATH + filename); 116 if ((!tempFile.exists()) && (!tempFileSys.exists())) {
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
DiskCache.java | 286 File tempFile = null; 290 tempFile = File.createTempFile("DiskCache", null, new File(tempFilePath)); 292 Log.e(TAG, "Unable to create or tempFile " + tempFilePath); 296 final FileOutputStream fileOutput = new FileOutputStream(tempFile); 325 tempFile.renameTo(new File(indexFilePath)); 329 tempFile.delete();
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/ |
MethodProfilingHandler.java | 99 File tempFile = saveTempFile(data); 100 openInTraceview(tempFile.getAbsolutePath());
|
/dalvik/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();
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
FileLockTest.java | 62 File tempFile = File.createTempFile("testing", "tmp"); 63 tempFile.deleteOnExit(); 64 RandomAccessFile randomAccessFile = new RandomAccessFile(tempFile, "rw");
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 253 File tempFile = File.createTempFile("MemoryFileTest",".tmp", getContext().getFilesDir()); 257 out = new FileOutputStream(tempFile); 265 tempFile.delete(); [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 58 ParcelFileDescriptor tempFile = makeParcelFileDescriptor(getContext()); 60 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile);
|
/frameworks/base/packages/TtsService/src/android/tts/ |
TtsService.java | 620 File tempFile = new File(mCurrentSpeechItem.mFilename); 622 if (tempFile.exists()) { 625 if (tempFile.delete()) { [all...] |
/external/webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/ |
PluginObject.cpp | 655 FILE* tempFile = fopen(path, "w"); 656 if (!tempFile) 659 fwrite(contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile); 660 fclose(tempFile); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
DeviceView.java | 181 File tempFile = saveTempFile(data); 182 open(tempFile.getAbsolutePath());
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
FileTest.java | 51 private File tempFile; 446 File f1 = new File(dir, "tempfile.tst"); 455 File f1 = new File(dir, "tempfile.tst"); 456 File f2 = new File(dir, "tempfile.tst"); 470 "tempfile.tst", f1.getName()); 520 // Test to see if correct suffix was used to create the tempfile. 540 // Tests for creating a tempfile with a filename shorter than 3 594 // Test to make sure that the tempfile was saved in the correct 621 // Test for creating a tempfile in a directory that does not exist. 648 // Tests for creating a tempfile with a filename shorter than [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/sqlite/dist/ |
sqlite3.c | [all...] |