Home
last modified time | relevance | path

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

/external/nanohttpd/samples/src/main/java/fi/iki/elonen/
DTempFilesServer.java37 DefaultTempFile tempFile = new DefaultTempFile(tmpdir); in createTempFile() local
38 tempFiles.add(tempFile); in createTempFile()
39 System.out.println("Created tempFile: " + tempFile.getName()); in createTempFile()
40 return tempFile; in createTempFile()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
DAbstractTransformTask.java130 File tempFile = File.createTempFile(file.getName(), null, new File(file in processJarFile() local
136 FileOutputStream fout = new FileOutputStream(tempFile, false); in processJarFile()
192 File newFile = new File(tempFile.getAbsolutePath()); in processJarFile()
195 throw new IOException("can not rename " + tempFile + " to " + file); in processJarFile()
204 tempFile.delete(); in processJarFile()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/
DPrintingControllerTest.java91 final File tempFile = File.createTempFile(TEMP_FILE_NAME, TEMP_FILE_EXTENSION, cacheDir); in testNormalPrintingFlow() local
93 ParcelFileDescriptor.open(tempFile, (ParcelFileDescriptor.MODE_CREATE | in testNormalPrintingFlow()
127 assertTrue(tempFile.length() > 0); in testNormalPrintingFlow()
128 in = new FileInputStream(tempFile); in testNormalPrintingFlow()
138 TestFileUtil.deleteFile(tempFile.getAbsolutePath()); in testNormalPrintingFlow()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
DCPUProfileView.js855 function didCreateTempFile(tempFile) argument
857 this._writeToTempFile(tempFile, serializedData);
866 _writeToTempFile: function(tempFile, serializedData) argument
868 this._tempFile = tempFile;
869 if (!tempFile) {
882 tempFile.finishWriting();
885 tempFile.write(serializedData, didWriteToTempFile.bind(this));
DHeapSnapshotView.js1559 _didWriteToTempFile: function(tempFile) argument
1562 if (tempFile)
1563 tempFile.remove();
1566 this._tempFile = tempFile;
1567 if (!tempFile)
/external/chromium_org/third_party/sqlite/src/src/
Dpager.c620 u8 tempFile; /* zFilename is a temporary file */ member
820 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); in assert_pager_state()
821 assert( p->tempFile==0 || pPager->changeCountDone ); in assert_pager_state()
856 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile ); in assert_pager_state()
974 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal in print_pager_state()
1114 if( !pPager->tempFile ){ in jrnlBufferSize()
1788 pPager->changeCountDone = pPager->tempFile; in pager_unlock()
1940 if( !pPager->tempFile ){ in pager_end_transaction()
2519 assert( isOpen(pPager->fd) || pPager->tempFile ); in setSectorSize()
2521 if( !pPager->tempFile ){ in setSectorSize()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DTempFile.js252 _didCreateTempFile: function(tempFile) argument
254 this._tempFile = tempFile;
255 if (!tempFile) {
/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/lzma/CPP/Windows/
DFileDir.cpp841 CTempFile tempFile; in CreateTempDirectory() local
842 if (!tempFile.Create(prefix, dirName)) in CreateTempDirectory()
844 if (!tempFile.Remove()) in CreateTempDirectory()
880 CTempFileW tempFile; in CreateTempDirectory() local
881 if (!tempFile.Create(prefix, dirName)) in CreateTempDirectory()
883 if (!tempFile.Remove()) in CreateTempDirectory()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java484 DefaultTempFile tempFile = new DefaultTempFile(tmpdir); in createTempFile() local
485 tempFiles.add(tempFile); in createTempFile()
486 return tempFile; in createTempFile()
1234 TempFile tempFile = tempFileManager.createTempFile(); in saveTmpFile() local
1236 fileOutputStream = new FileOutputStream(tempFile.getName()); in saveTmpFile()
1240 path = tempFile.getName(); in saveTmpFile()
1252 TempFile tempFile = tempFileManager.createTempFile(); in getTmpBucket() local
1253 return new RandomAccessFile(tempFile.getName(), "rw"); in getTmpBucket()
/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/chromium_org/content/shell/tools/plugin/
DPluginObject.cpp912 FILE* tempFile = fopen(path, "w"); in testPostURLFile() local
913 if (!tempFile) in testPostURLFile()
917 contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile); in testPostURLFile()
918 fclose(tempFile); in testPostURLFile()
/external/sonivox/arm-wt-22k/lib_src/
Deas_mdls.c814 EAS_FILE_HANDLE tempFile; in Parse_ptbl() local
836 …if ((result = EAS_HWDupHandle(pDLSData->hwInstData, pDLSData->fileHandle, &tempFile)) != EAS_SUCCE… in Parse_ptbl()
844 … if ((result = EAS_HWGetDWord(pDLSData->hwInstData, tempFile, &temp, EAS_FALSE)) != EAS_SUCCESS) in Parse_ptbl()
849 EAS_HWCloseFile(pDLSData->hwInstData, tempFile); in Parse_ptbl()
859 EAS_HWCloseFile(pDLSData->hwInstData, tempFile); in Parse_ptbl()
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c37050 u8 tempFile; /* zFilename is a temporary file */
37250 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK );
37251 assert( p->tempFile==0 || pPager->changeCountDone );
37286 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile );
37404 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal
37544 if( !pPager->tempFile ){
38218 pPager->changeCountDone = pPager->tempFile;
38370 if( !pPager->tempFile ){
38949 assert( isOpen(pPager->fd) || pPager->tempFile );
38951 if( !pPager->tempFile ){
[all …]
/external/sqlite/dist/
Dsqlite3.c40895 u8 tempFile; /* zFilename is a temporary or immutable file */
41119 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK );
41120 assert( p->tempFile==0 || pPager->changeCountDone );
41155 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile );
41273 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal
41414 if( !pPager->tempFile ){
42088 pPager->changeCountDone = pPager->tempFile;
42238 int bDelete = (!pPager->tempFile && sqlite3JournalExists(pPager->jfd));
42861 assert( isOpen(pPager->fd) || pPager->tempFile );
42863 if( pPager->tempFile
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c40875 u8 tempFile; /* zFilename is a temporary or immutable file */
41099 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK );
41100 assert( p->tempFile==0 || pPager->changeCountDone );
41135 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile );
41253 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal
41394 if( !pPager->tempFile ){
42068 pPager->changeCountDone = pPager->tempFile;
42218 int bDelete = (!pPager->tempFile && sqlite3JournalExists(pPager->jfd));
42841 assert( isOpen(pPager->fd) || pPager->tempFile );
42843 if( pPager->tempFile
[all …]