/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | RandomAccessFileOutputStreamTest.java | 49 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 …]
|
D | RandomAccessFileInputStreamTest.java | 49 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 …]
|
D | RandomAccessFileInputStreamFactoryTest.java | 47 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/ |
D | TempFilesServer.java | 76 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/ |
D | IoTestCase.java | 116 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()
|
D | ResourcesTest.java | 140 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/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | JavaIOTempDirExistTest.java | 54 DefaultTempFile tempFile = (DefaultTempFile) manager.createTempFile("xx"); in testJavaIoTempDefault() local 55 File tempFileBackRef = new File(tempFile.getName()); in testJavaIoTempDefault() 62 tempFile.delete(); in testJavaIoTempDefault()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/ |
D | JarTypeSolver.java | 62 File tempFile = File.createTempFile("jar_file_from_input_stream", ".jar"); in dumpToTempFile() local 63 tempFile.deleteOnExit(); in dumpToTempFile() 68 OutputStream output = new FileOutputStream(tempFile); in dumpToTempFile() 80 return tempFile; in dumpToTempFile()
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/ |
D | FileByFileV1DeltaApplier.java | 58 File tempFile = File.createTempFile("gfbfv1", "old", tempDir); in applyDelta() local 60 applyDeltaInternal(oldBlob, tempFile, deltaIn, newBlobOut); in applyDelta() 62 tempFile.delete(); in applyDelta()
|
/external/annotation-tools/scene-lib/test/annotations/tests/classfile/ |
D | AnnotationsTest.java | 319 File tempFile = new File(basename+"_temp.class"); in testAgainstIndexFile() local 321 writeClass(className, tempFile.toString(), correctScene, true); in testAgainstIndexFile() 325 readClass(tempFile.toString(), generatedScene); in testAgainstIndexFile() 335 …is in %s .%n Also consider running javap -v on %s .%n", indexFileName, fname1, fname2, tempFile)); in testAgainstIndexFile() 338 tempFile.delete(); in testAgainstIndexFile()
|
/external/junit/src/main/java/org/junit/rules/ |
D | TemporaryFolder.java | 114 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/ |
D | FileDeferredOutputStream.java | 99 File tempFile = File.createTempFile("dexlibtmp", null, containingDirectory); in getFactory() 100 return new FileDeferredOutputStream(tempFile, bufferSize); in getFactory()
|
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/ |
D | FileByFileV1DeltaApplierTest.java | 117 File tempFile = File.createTempFile("foo", "bar"); in setUp() local 118 tempDir = tempFile.getParentFile(); in setUp() 119 tempFile.delete(); in setUp()
|
/external/conscrypt/openjdk/src/main/java/org/conscrypt/ |
D | Platform.java | 108 File tempFile = new File(directory, tempName); in createTempFile() local 109 if (!tempName.equals(tempFile.getName())) { in createTempFile() 111 throw new IOException("Unable to create temporary file: " + tempFile); in createTempFile() 114 if (tempFile.createNewFile()) { in createTempFile() 115 return tempFile.getCanonicalFile(); in createTempFile()
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 453 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/ |
D | WorkDir.cpp | 73 CTempFile tempFile; in CreateTempFile() local
|
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/ |
D | PropertyChangeSupportTest.java | 47 private File tempFile; field in PropertyChangeSupportTest 51 tempFile = File.createTempFile("beans", ".ser"); in setUp() 56 tempFile.delete(); in tearDown() 57 tempFile = null; in tearDown() 1452 oos = new ObjectOutputStream(new FileOutputStream(tempFile)); in writePropertyChangeListeners() 1480 ois = new ObjectInputStream(new FileInputStream(tempFile)); in readPropertyChangeListeners()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_mdls.c | 838 EAS_FILE_HANDLE tempFile; in Parse_ptbl() local 869 …if ((result = EAS_HWDupHandle(pDLSData->hwInstData, pDLSData->fileHandle, &tempFile)) != EAS_SUCCE… in Parse_ptbl() 877 … if ((result = EAS_HWGetDWord(pDLSData->hwInstData, tempFile, &temp, EAS_FALSE)) != EAS_SUCCESS) in Parse_ptbl() 882 EAS_HWCloseFile(pDLSData->hwInstData, tempFile); in Parse_ptbl() 892 EAS_HWCloseFile(pDLSData->hwInstData, tempFile); in Parse_ptbl()
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 48608 u8 tempFile; /* zFilename is a temporary or immutable file */ 48842 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); 48843 assert( p->tempFile==0 || pPager->changeCountDone ); 48879 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile ); 48949 assert( sqlite3PcacheRefCount(pPager->pPCache)>0 || pPager->tempFile ); 48999 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal 49854 if( pPager->tempFile==0 ){ 49925 if( pPager->tempFile==0 ) return 1; 50036 rc = zeroJournalHdr(pPager, hasMaster||pPager->tempFile); 50044 int bDelete = !pPager->tempFile; [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 48608 u8 tempFile; /* zFilename is a temporary or immutable file */ 48842 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); 48843 assert( p->tempFile==0 || pPager->changeCountDone ); 48879 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile ); 48949 assert( sqlite3PcacheRefCount(pPager->pPCache)>0 || pPager->tempFile ); 48999 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal 49854 if( pPager->tempFile==0 ){ 49925 if( pPager->tempFile==0 ) return 1; 50036 rc = zeroJournalHdr(pPager, hasMaster||pPager->tempFile); 50044 int bDelete = !pPager->tempFile; [all …]
|