Home
last modified time | relevance | path

Searched refs:tempFile (Results 1 – 25 of 48) sorted by relevance

12

/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DRandomAccessFileOutputStreamTest.java49 private File tempFile = null; field in RandomAccessFileOutputStreamTest
57 tempFile = File.createTempFile("ra-fost", "tmp"); in setup()
58 tempFile.deleteOnExit(); in setup()
69 tempFile.delete(); in tearDown()
77 stream = new RandomAccessFileOutputStream(tempFile, 11L); in testCreateAndSize()
78 Assert.assertEquals(11, tempFile.length()); in testCreateAndSize()
84 new RandomAccessFileOutputStream(tempFile, 11L) { in testCreateAndFailToSize()
99 stream = new RandomAccessFileOutputStream(tempFile, 1L); in testWrite()
105 in = new FileInputStream(tempFile); in testWrite()
118 stream = new RandomAccessFileOutputStream(tempFile, 1L); in testWriteArray()
[all …]
DRandomAccessFileInputStreamTest.java49 private File tempFile = null; field in RandomAccessFileInputStreamTest
57 tempFile = File.createTempFile("ra-fist", "tmp"); in setup()
58 tempFile.deleteOnExit(); in setup()
60 FileOutputStream out = new FileOutputStream(tempFile); in setup()
66 tempFile.delete(); in setup()
72 stream = new RandomAccessFileInputStream(tempFile); in setup()
83 tempFile.delete(); in tearDown()
143 stream = new RandomAccessFileInputStream(tempFile, 1, testData.length - 2); in testMarkAndReset_WithOffsetFile()
221 new RandomAccessFileInputStream(tempFile, 0, testData.length) { in testMark_IOExceptionInRaf()
258 stream = new RandomAccessFileInputStream(tempFile, 5, 2); in testConstructorWithSpecificLength()
[all …]
DRandomAccessFileInputStreamFactoryTest.java47 private File tempFile = null; field in RandomAccessFileInputStreamFactoryTest
55 tempFile = File.createTempFile("ra-fist", "tmp"); in setup()
56 FileOutputStream out = new FileOutputStream(tempFile); in setup()
60 tempFile.deleteOnExit(); in setup()
61 factory = new RandomAccessFileInputStreamFactory(tempFile, 0, testData.length); in setup()
67 tempFile.delete(); in tearDown()
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/
DTempFilesServer.java76 DefaultTempFile tempFile = new DefaultTempFile(this.tmpdir); in createTempFile() local
77 this.tempFiles.add(tempFile); in createTempFile()
78 System.out.println("Created tempFile: " + tempFile.getName()); in createTempFile()
79 return tempFile; in createTempFile()
/external/guava/guava-tests/test/com/google/common/io/
DIoTestCase.java116 File tempFile = File.createTempFile("IoTestCase", ""); in createTempDir() local
117 if (!tempFile.delete() || !tempFile.mkdir()) { in createTempDir()
120 filesToDelete.add(tempFile); in createTempDir()
121 return tempFile; in createTempDir()
DResourcesTest.java140 File tempFile = createTempFile(); in testGetResource_contextClassLoader() local
141 PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); in testGetResource_contextClassLoader()
149 Resources.getResource(tempFile.getName()); in testGetResource_contextClassLoader()
155 URL baseUrl = tempFile.getParentFile().toURI().toURL(); in testGetResource_contextClassLoader()
161 URL url = Resources.getResource(tempFile.getName()); in testGetResource_contextClassLoader()
/external/skia/tools/
DThermalManager.cpp76 FILE* tempFile = fopen(path, "r"); in OpenFileAndReadInt32() local
77 SkASSERT(tempFile); in OpenFileAndReadInt32()
79 int ret = fscanf(tempFile, "%d", &value); in OpenFileAndReadInt32()
85 fclose(tempFile); in OpenFileAndReadInt32()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DJavaIOTempDirExistTest.java54 DefaultTempFile tempFile = (DefaultTempFile) manager.createTempFile("xx"); in testJavaIoTempDefault() local
55 File tempFileBackRef = new File(tempFile.getName()); in testJavaIoTempDefault()
62 tempFile.delete(); in testJavaIoTempDefault()
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DFileByFileV1DeltaApplier.java58 File tempFile = File.createTempFile("gfbfv1", "old", tempDir); in applyDelta() local
60 applyDeltaInternal(oldBlob, tempFile, deltaIn, newBlobOut); in applyDelta()
62 tempFile.delete(); in applyDelta()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DNativeLibraryLoader.java381 File tempFile = new File(directory, tempName); in createTempFile() local
382 if (!tempName.equals(tempFile.getName())) { in createTempFile()
384 throw new IOException("Unable to create temporary file: " + tempFile); in createTempFile()
387 if (tempFile.createNewFile()) { in createTempFile()
388 return tempFile.getCanonicalFile(); in createTempFile()
/external/junit/src/main/java/org/junit/rules/
DTemporaryFolder.java114 File tempFile = new File(folderName); in validateFolderName() local
115 if (tempFile.getParent() != null) { in validateFolderName()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DFileDeferredOutputStream.java99 File tempFile = File.createTempFile("dexlibtmp", null, containingDirectory); in getFactory()
100 return new FileDeferredOutputStream(tempFile, bufferSize); in getFactory()
/external/svox/pico/src/com/svox/pico/
DCheckVoiceData.java114 File tempFile = new File(PICO_LINGWARE_PATH + filename); in fileExists() local
116 if ((!tempFile.exists()) && (!tempFileSys.exists())) { in fileExists()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DFileByFileV1DeltaApplierTest.java117 File tempFile = File.createTempFile("foo", "bar"); in setUp() local
118 tempDir = tempFile.getParentFile(); in setUp()
119 tempFile.delete(); in setUp()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java453 DefaultTempFile tempFile = new DefaultTempFile(this.tmpdir); in createTempFile() local
454 this.tempFiles.add(tempFile); in createTempFile()
455 return tempFile; in createTempFile()
979 TempFile tempFile = this.tempFileManager.createTempFile(null); in getTmpBucket() local
980 return new RandomAccessFile(tempFile.getName(), "rw"); in getTmpBucket()
1097 TempFile tempFile = this.tempFileManager.createTempFile(filename_hint); in saveTmpFile() local
1099 fileOutputStream = new FileOutputStream(tempFile.getName()); in saveTmpFile()
1103 path = tempFile.getName(); in saveTmpFile()
/external/lzma/CPP/7zip/UI/Common/
DWorkDir.cpp70 CTempFile tempFile; in CreateTempFile() local
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeSupportTest.java47 private File tempFile; field in PropertyChangeSupportTest
51 tempFile = File.createTempFile("beans", ".ser"); in setUp()
56 tempFile.delete(); in tearDown()
57 tempFile = null; in tearDown()
1467 oos = new ObjectOutputStream(new FileOutputStream(tempFile)); in writePropertyChangeListeners()
1495 ois = new ObjectInputStream(new FileInputStream(tempFile)); in readPropertyChangeListeners()
/external/sonivox/arm-wt-22k/lib_src/
Deas_mdls.c833 EAS_FILE_HANDLE tempFile; in Parse_ptbl() local
855 …if ((result = EAS_HWDupHandle(pDLSData->hwInstData, pDLSData->fileHandle, &tempFile)) != EAS_SUCCE… in Parse_ptbl()
863 … if ((result = EAS_HWGetDWord(pDLSData->hwInstData, tempFile, &temp, EAS_FALSE)) != EAS_SUCCESS) in Parse_ptbl()
868 EAS_HWCloseFile(pDLSData->hwInstData, tempFile); in Parse_ptbl()
878 EAS_HWCloseFile(pDLSData->hwInstData, tempFile); in Parse_ptbl()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.jarprocessor_1.0.200.v20100503a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.metadata.generator_1.0.200.v20100503a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-commons-net.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/guice/extensions/struts2/lib/
Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/sqlite/dist/orig/
Dsqlite3.c47504 u8 tempFile; /* zFilename is a temporary or immutable file */
47738 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK );
47739 assert( p->tempFile==0 || pPager->changeCountDone );
47775 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile );
47843 assert( sqlite3PcacheRefCount(pPager->pPCache)>0 || pPager->tempFile );
47893 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal
48063 if( !pPager->tempFile ){
48734 if( pPager->tempFile==0 ){
48805 if( pPager->tempFile==0 ) return 1;
48914 rc = zeroJournalHdr(pPager, hasMaster||pPager->tempFile);
[all …]

12