Home
last modified time | relevance | path

Searched refs:FileOutputStream (Results 1 – 25 of 155) sorted by relevance

1234567

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DFileOutputStreamTest.java24 import java.io.FileOutputStream;
33 FileOutputStream fos;
50 fos = new FileOutputStream(f); in test_ConstructorLjava_io_File()
59 fos = new FileOutputStream(fileName); in test_ConstructorLjava_io_FileDescriptor()
63 fos = new FileOutputStream(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor()
74 fos = new FileOutputStream(fileName); in test_ConstructorLjava_lang_String()
77 new FileOutputStream("nul"); in test_ConstructorLjava_lang_String()
86 fos = new FileOutputStream(f.getPath(), false); in test_ConstructorLjava_lang_StringZ()
89 fos = new FileOutputStream(f.getPath(), true); in test_ConstructorLjava_lang_StringZ()
104 fos = new FileOutputStream(""); in test_ConstructorLjava_lang_String_I()
[all …]
DFileTest.java23 import java.io.FileOutputStream;
315 FileOutputStream fos = new FileOutputStream(f); in test_canRead()
330 FileOutputStream fos = new FileOutputStream(f); in test_canWrite()
632 FileOutputStream fos = new FileOutputStream(f); in test_delete()
698 new FileOutputStream(f1).close(); // create the file in test_equalsLjava_lang_Object()
726 FileOutputStream fos = new FileOutputStream(f); in test_exists()
805 FileOutputStream fos = new FileOutputStream(f); in test_getCanonicalFile()
877 FileOutputStream fos = new FileOutputStream(f1); in test_getCanonicalPath()
899 FileOutputStream fos2 = new FileOutputStream(f2); in test_getCanonicalPath()
1142 FileOutputStream fos = new FileOutputStream(f); in test_isFile()
[all …]
DFileWriterTest.java24 import java.io.FileOutputStream;
41 FileOutputStream fos;
49 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_io_File()
105 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_io_FileDescriptor()
122 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_lang_String()
140 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_lang_StringZ()
153 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_lang_StringZ()
DSyncFailedExceptionTest.java22 import java.io.FileOutputStream;
35 FileOutputStream fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_lang_String()
DFileDescriptorTest.java24 import java.io.FileOutputStream;
35 FileOutputStream fos;
58 fos = new FileOutputStream(f.getPath()); in test_sync()
85 os = new BufferedOutputStream(fos = new FileOutputStream(f.getPath()), in test_valid()
DOpenRandomFileTest.java20 import java.io.FileOutputStream;
40 FileOutputStream fos = new FileOutputStream(file); in testOpenNonEmptyFile()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DDeflaterOutputStreamTest.java23 import java.io.FileOutputStream;
89 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater()
115 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStream()
138 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI()
187 FileOutputStream fos = new FileOutputStream(f1); in test_close()
205 FileOutputStream fos2 = new FileOutputStream(f1); in test_close()
241 FileOutputStream fos1 = new FileOutputStream(f1); in test_finish()
257 FileOutputStream fos2 = new FileOutputStream(f1); in test_finish()
268 FileOutputStream fos3 = new FileOutputStream(f1); in test_finish()
289 FileOutputStream fos = new FileOutputStream(f1); in test_writeI()
[all …]
DCheckedOutputStreamTest.java20 import java.io.FileOutputStream;
35 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Checksum()
56 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); in test_getChecksum()
88 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); in test_writeI()
112 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); in test_write$BII()
DGZIPOutputStreamTest.java20 import java.io.FileOutputStream;
50 FileOutputStream outFile = new FileOutputStream("GZIPOutCon.txt"); in test_ConstructorLjava_io_OutputStream()
69 FileOutputStream outFile = new FileOutputStream("GZIPOutCon.txt"); in test_ConstructorLjava_io_OutputStreamI()
90 FileOutputStream outFile = new FileOutputStream("GZIPOutFinish.txt"); in test_finish()
117 FileOutputStream outFile = new FileOutputStream("GZIPOutClose2.txt"); in test_close()
141 FileOutputStream outFile = new FileOutputStream("GZIPOutWrite.txt"); in test_write$BII()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc173 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() function in google::protobuf::io::FileOutputStream
178 FileOutputStream::~FileOutputStream() { in ~FileOutputStream()
182 bool FileOutputStream::Close() { in Close()
187 bool FileOutputStream::Flush() { in Flush()
191 bool FileOutputStream::Next(void** data, int* size) { in Next()
195 void FileOutputStream::BackUp(int count) { in BackUp()
199 int64 FileOutputStream::ByteCount() const { in ByteCount()
203 FileOutputStream::CopyingFileOutputStream::CopyingFileOutputStream( in CopyingFileOutputStream()
211 FileOutputStream::CopyingFileOutputStream::~CopyingFileOutputStream() { in ~CopyingFileOutputStream()
219 bool FileOutputStream::CopyingFileOutputStream::Close() { in Close()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc174 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() function in google::protobuf::io::FileOutputStream
179 FileOutputStream::~FileOutputStream() { in ~FileOutputStream()
183 bool FileOutputStream::Close() { in Close()
188 bool FileOutputStream::Flush() { in Flush()
192 bool FileOutputStream::Next(void** data, int* size) { in Next()
196 void FileOutputStream::BackUp(int count) { in BackUp()
200 int64 FileOutputStream::ByteCount() const { in ByteCount()
204 FileOutputStream::CopyingFileOutputStream::CopyingFileOutputStream( in CopyingFileOutputStream()
212 FileOutputStream::CopyingFileOutputStream::~CopyingFileOutputStream() { in ~CopyingFileOutputStream()
220 bool FileOutputStream::CopyingFileOutputStream::Close() { in Close()
[all …]
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DZipExecTest.java21 import java.io.FileOutputStream;
48 ZipOutputStream zout = new ZipOutputStream(new FileOutputStream(outputZip)); in test_1562()
90 ZipOutputStream zoutFoo = new ZipOutputStream(new FileOutputStream(fooZip)); in test_zip_class_path()
97 ZipOutputStream zoutBar = new ZipOutputStream(new FileOutputStream(barZip)); in test_zip_class_path()
112 zoutFoo = new ZipOutputStream(new FileOutputStream(fooZip)); in test_zip_class_path()
126 zoutFoo = new ZipOutputStream(new FileOutputStream(fooZip)); in test_zip_class_path()
154 JarOutputStream joutFoo = new JarOutputStream(new FileOutputStream(fooJar), man); in test_zip_jar_mix()
159 ZipOutputStream zoutBar = new ZipOutputStream(new FileOutputStream(barZip)); in test_zip_jar_mix()
188 ZipOutputStream zoutFoo = new ZipOutputStream(new FileOutputStream(fooZip)); in test_zip_jar_mix_1()
195 JarOutputStream joutBar = new JarOutputStream(new FileOutputStream(barJar)); in test_zip_jar_mix_1()
[all …]
DJarExecTest.java21 import java.io.FileOutputStream;
51 JarOutputStream jout = new JarOutputStream(new FileOutputStream(outputJar), in test_1562()
92 JarOutputStream joutFoo = new JarOutputStream(new FileOutputStream(fooJar), man); in test_jar_class_path()
97 JarOutputStream joutBar = new JarOutputStream(new FileOutputStream(barJar)); in test_jar_class_path()
112 joutFoo = new JarOutputStream(new FileOutputStream(fooJar), man); in test_jar_class_path()
124 joutFoo = new JarOutputStream(new FileOutputStream(fooJar), man); in test_jar_class_path()
153 JarOutputStream joutFoo = new JarOutputStream(new FileOutputStream(fooJar)); in test_main_class_in_another_jar()
158 JarOutputStream joutBar = new JarOutputStream(new FileOutputStream(barJar), man); in test_main_class_in_another_jar()
178 JarOutputStream joutFoo = new JarOutputStream(new FileOutputStream(fooJar)); in test_classpath()
197 JarOutputStream joutBoo = new JarOutputStream(new FileOutputStream(booJar)); in test_classpath()
[all …]
DJarOutputStreamTest.java20 import java.io.FileOutputStream;
67 jout = new JarOutputStream(new FileOutputStream(outputJar), in test_putNextEntryLjava_util_zip_ZipEntry()
108 FileOutputStream fos = new FileOutputStream(fooJar); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
135 FileOutputStream fos = new FileOutputStream(fooJar); in test_JarOutputStreamLjava_io_OutputStream()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatPackageWriterImpl.java29 import java.io.FileOutputStream;
98 FileOutputStream muxedFileOutputStream = new FileOutputStream(muxedFile); in write()
109 FileOutputStream muxedFileOutputStream = new FileOutputStream(muxedFile); in write()
116 FileOutputStream allQualis = new FileOutputStream(allQualities); in write()
148FileOutputStream fos = new FileOutputStream(new File(bitRateOutputDir, Long.toString(startTime))); in write()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_GetLocal.java23 import java.io.FileOutputStream;
45 FileOutputStream out = new FileOutputStream(temp); in getLocalFile()
65 FileOutputStream out = new FileOutputStream(temp); in getExternalLocalFile()
DSupport_ProcessReadWriteTest.java22 import java.io.FileOutputStream;
30 FileOutputStream output = new FileOutputStream(FileDescriptor.out); in main()
DSupport_AvailTest.java22 import java.io.FileOutputStream;
105 FileOutputStream myout = new FileOutputStream(FileDescriptor.out); in main()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DContextTest.java15 import java.io.FileOutputStream;
108 FileOutputStream fos = null; in shouldWriteToCacheDir()
110 fos = new FileOutputStream(cacheTest); in shouldWriteToCacheDir()
126 FileOutputStream fos = null; in shouldWriteToExternalCacheDir()
128 fos = new FileOutputStream(cacheTest); in shouldWriteToExternalCacheDir()
192 FileOutputStream fileOutputStream = null; in openFileOutput_shouldReturnAFileOutputStream()
214 FileOutputStream fos = null; in openFileOutput_shouldNotAcceptPathsWithSeparatorCharacters()
/external/android-mock/src/com/google/android/testing/mocking/
DFileUtils.java20 import java.io.FileOutputStream;
75 FileOutputStream outputStream = new FileOutputStream(targetFile); in saveClassToFolder()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/
DFolderConverter.java38 import java.io.FileOutputStream;
69 FileOutputStream out = new FileOutputStream(jarFile); in main()
/external/jdiff/src/jdiff/
DHTMLFiles.java29 FileOutputStream fos = new FileOutputStream(tln); in emitTopLevelFile()
82 FileOutputStream fos = new FileOutputStream(tlf); in emitTopLeftFile()
128 FileOutputStream fos = new FileOutputStream(helpFileName); in emitHelp()
274 FileOutputStream fos = new FileOutputStream(stylesheetFileName); in emitStylesheet()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/support/
DTestUtils.java25 import java.io.FileOutputStream;
102 FileOutputStream out = new FileOutputStream(f); in createJavaPropertiesFile()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
Ddump.java34 import java.io.FileOutputStream;
90 FileOutputStream fileOutputStream = null; in dump()
92 fileOutputStream = new FileOutputStream(outputDexFileName); in dump()
/external/doclava/src/com/google/doclava/
DJarUtils.java20 import java.io.FileOutputStream;
68 FileOutputStream out = new FileOutputStream(dest); in copyResourcesToDirectory()

1234567