/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileOutputStreamTest.java | 24 import java.io.FileOutputStream; 37 private FileOutputStream fos; 74 fos = new FileOutputStream(f); in test_ConstructorLjava_io_File() 83 fos = new FileOutputStream(fileName); in test_ConstructorLjava_io_FileDescriptor() 87 fos = new FileOutputStream(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor() 98 fos = new FileOutputStream(fileName); in test_ConstructorLjava_lang_String() 102 fos = new FileOutputStream("/dev/null"); in test_ConstructorLjava_lang_String() 112 fos = new FileOutputStream(f.getPath(), false); in test_ConstructorLjava_lang_StringZ() 115 fos = new FileOutputStream(f.getPath(), true); in test_ConstructorLjava_lang_StringZ() 130 fos = new FileOutputStream(""); in test_ConstructorLjava_lang_String_I() [all …]
|
D | FileDescriptorTest.java | 23 import java.io.FileOutputStream; 34 FileOutputStream fos = null; in test_sync() 39 fos = new FileOutputStream(f.getAbsolutePath()); in test_sync() 76 FileOutputStream fos = null; in test_valid() 78 fos = new FileOutputStream(f.getAbsolutePath()); in test_valid()
|
D | SyncFailedExceptionTest.java | 22 import java.io.FileOutputStream; 35 FileOutputStream fos = new FileOutputStream(f.getAbsolutePath()); in test_ConstructorLjava_lang_String()
|
D | FileWriterTest.java | 24 import java.io.FileOutputStream; 35 private FileOutputStream fos; 42 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_io_File() 98 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_io_FileDescriptor() 115 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_lang_String() 133 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_lang_StringZ() 146 fos = new FileOutputStream(f.getPath()); in test_ConstructorLjava_lang_StringZ()
|
D | FileTest.java | 22 import java.io.FileOutputStream; 305 FileOutputStream fos = new FileOutputStream(f); in test_canRead() 320 FileOutputStream fos = new FileOutputStream(f); in test_canWrite() 622 FileOutputStream fos = new FileOutputStream(f); in test_delete() 691 FileOutputStream fos = new FileOutputStream(f); in test_exists() 770 FileOutputStream fos = new FileOutputStream(f); in test_getCanonicalFile() 842 FileOutputStream fos = new FileOutputStream(f1); in test_getCanonicalPath() 864 FileOutputStream fos2 = new FileOutputStream(f2); in test_getCanonicalPath() 1106 FileOutputStream fos = new FileOutputStream(f); in test_isFile() 1137 FileOutputStream fos = new FileOutputStream(f); in test_lastModified() [all …]
|
D | OpenRandomFileTest.java | 20 import java.io.FileOutputStream; 40 FileOutputStream fos = new FileOutputStream(file); in testOpenNonEmptyFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | DeflaterOutputStreamTest.java | 23 import java.io.FileOutputStream; 94 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater() 121 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStream() 144 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI() 201 FileOutputStream fos = new FileOutputStream(f1); in test_close() 218 FileOutputStream fos2 = new FileOutputStream(f1); in test_close() 254 FileOutputStream fos1 = new FileOutputStream(f1); in test_finish() 270 FileOutputStream fos2 = new FileOutputStream(f1); in test_finish() 281 FileOutputStream fos3 = new FileOutputStream(f1); in test_finish() 307 FileOutputStream fos = new FileOutputStream(f1); in test_writeI() [all …]
|
D | CheckedOutputStreamTest.java | 20 import java.io.FileOutputStream; 35 FileOutputStream outFile = new FileOutputStream( in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Checksum() 57 FileOutputStream outFile = new FileOutputStream( in test_getChecksum() 90 FileOutputStream outFile = new FileOutputStream( in test_writeI() 115 FileOutputStream outFile = new FileOutputStream( in test_write$BII()
|
D | GZIPOutputStreamTest.java | 20 import java.io.FileOutputStream; 56 FileOutputStream outFile = new FileOutputStream( in test_ConstructorLjava_io_OutputStream() 76 FileOutputStream outFile = new FileOutputStream( in test_ConstructorLjava_io_OutputStreamI() 98 FileOutputStream outFile = new FileOutputStream( in test_finish() 126 FileOutputStream outFile = new FileOutputStream( in test_close() 151 FileOutputStream outFile = new FileOutputStream( in test_write$BII()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileWriter.java | 63 super(new FileOutputStream(fileName)); in FileWriter() 78 super(new FileOutputStream(fileName, append)); in FileWriter() 90 super(new FileOutputStream(file)); in FileWriter() 107 super(new FileOutputStream(file, append)); in FileWriter() 116 super(new FileOutputStream(fd)); in FileWriter()
|
D | FileOutputStream.java | 65 class FileOutputStream extends OutputStream class 124 public FileOutputStream(String name) throws FileNotFoundException { in FileOutputStream() method in FileOutputStream 154 public FileOutputStream(String name, boolean append) in FileOutputStream() method in FileOutputStream 185 public FileOutputStream(File file) throws FileNotFoundException { in FileOutputStream() method in FileOutputStream 218 public FileOutputStream(File file, boolean append) in FileOutputStream() method in FileOutputStream 276 public FileOutputStream(FileDescriptor fdObj) { in FileOutputStream() method in FileOutputStream 289 public FileOutputStream(FileDescriptor fdObj, boolean isFdOwner) { in FileOutputStream() method in FileOutputStream
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileOutputStreamTest.java | 20 import java.io.FileOutputStream; 33 FileOutputStream fos1 = new FileOutputStream(tmp); in testFileDescriptorOwnership() 34 FileOutputStream fos2 = new FileOutputStream(fos1.getFD()); in testFileDescriptorOwnership() 69 … FileOutputStream fos = new FileOutputStream(File.createTempFile("FileOutputStreamTest", "tmp")); in testClose()
|
D | FileInputStreamTest.java | 23 import java.io.FileOutputStream; 60 FileOutputStream fos = new FileOutputStream(mOutFd); in run() 111 FileOutputStream fos = new FileOutputStream(tmp); in makeFile() 281 try (FileOutputStream fos = new FileOutputStream(file)) { in allocateEmptyFile() 290 try (FileOutputStream fos = new FileOutputStream(file)) { in allocateEmptyFile()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileOutputStream.java | 32 public class FileOutputStream extends java.io.OutputStream { class 34 public FileOutputStream(java.lang.String name) throws java.io.FileNotFoundException { in FileOutputStream() method in FileOutputStream 38 public FileOutputStream(java.lang.String name, boolean append) in FileOutputStream() method in FileOutputStream 43 public FileOutputStream(java.io.File file) throws java.io.FileNotFoundException { in FileOutputStream() method in FileOutputStream 47 public FileOutputStream(java.io.File file, boolean append) in FileOutputStream() method in FileOutputStream 52 public FileOutputStream(java.io.FileDescriptor fdObj) { in FileOutputStream() method in FileOutputStream 56 public FileOutputStream(java.io.FileDescriptor fdObj, boolean isFdOwner) { in FileOutputStream() method in FileOutputStream
|
/libcore/support/src/test/java/tests/util/ |
D | FieldTestFileGenerator.java | 20 import java.io.FileOutputStream; 42 FileOutputStream fos = null; in main() 57 fos = new FileOutputStream("testFields.ser"); in main() 72 fos = new FileOutputStream("testFieldsDeprecated.ser"); in main() 87 fos = new FileOutputStream("testFieldsDefaulted.ser"); in main()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarOutputStreamTest.java | 20 import java.io.FileOutputStream; 43 FileOutputStream fos = new FileOutputStream(fooJar); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest() 70 FileOutputStream fos = new FileOutputStream(fooJar); in test_JarOutputStreamLjava_io_OutputStream()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileChannelTest.java | 27 import java.io.FileOutputStream; 80 fc = new FileOutputStream(tmp).getChannel(); in testReadOnlyByteArrays() 90 FileChannel fc = new FileOutputStream(tmp).getChannel(); in test_readv() 110 FileChannel fc = new FileOutputStream(tmp).getChannel(); in test_writev() 123 FileOutputStream fos = new FileOutputStream(tmp, true); in test_append() 243 FileOutputStream fos = new FileOutputStream(tmp); in test_close_fromFileDescriptor() 248 FileOutputStream fosFromFd = new FileOutputStream(fd); in test_close_fromFileDescriptor() 274 try (FileOutputStream fos = new FileOutputStream(tmpFile)) { in test_closeGuardSupport_open_with_append() 283 FileOutputStream fos = new FileOutputStream(tmp, true); in createFileContainingBytes()
|
D | FileIOInterruptTest.java | 23 import java.io.FileOutputStream; 143 FileOutputStream fos = new FileOutputStream(fifoFile); in testStreamWrite_exceptionWhenAlreadyClosed() 162 FileOutputStream fos = new FileOutputStream(fifoFile); in testStreamWrite_exceptionOnCloseWhenBlocked() 326 FileChannel fileOutputChannel = new FileOutputStream(fifoFile).getChannel(); in testChannelWrite_exceptionWhenAlreadyClosed() 357 FileOutputStream fos = new FileOutputStream(fifoFile); in testChannelWrite_exceptionWhenAlreadyInterrupted() 394 FileChannel fileOutputChannel = new FileOutputStream(fifoFile).getChannel(); in testChannelWrite_exceptionOnCloseWhenBlocked() 436 FileChannel fileChannel = new FileOutputStream(fifoFile).getChannel(); in testChannelWrite_exceptionOnInterrupt() 491 private final FileOutputStream outputStream; 496 StreamWriter(FileOutputStream outputStream) { in StreamWriter() 639 private FileOutputStream fos; [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetLocal.java | 23 import java.io.FileOutputStream; 45 FileOutputStream out = new FileOutputStream(temp); in getLocalFile() 65 FileOutputStream out = new FileOutputStream(temp); in getExternalLocalFile()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessImpl.java | 30 import java.io.FileOutputStream; 92 FileOutputStream f1 = null; in start() 93 FileOutputStream f2 = null; in start() 117 f1 = new FileOutputStream(redirects[1].file(), in start() 129 f2 = new FileOutputStream(redirects[2].file(), in start()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 23 import java.io.FileOutputStream; 129 FileOutputStream out = new FileOutputStream(dest); in copyLocalFileto() 183 FileOutputStream out = new FileOutputStream(f); in resourceToTempFile() 198 FileOutputStream out = new FileOutputStream(dest); in copyLocalFileTo()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 23 import java.io.FileOutputStream; 62 FileOutputStream stream = new FileOutputStream(result); in makeTempFile() 73 FileOutputStream out = new FileOutputStream(jar)) { in extractResourceJar()
|
D | ClassLoaderTestSupport.java | 22 import java.io.FileOutputStream; 85 try (FileOutputStream out = new FileOutputStream(destination)) { in copyResource()
|
D | BlockGuardTest.java | 26 import java.io.FileOutputStream; 113 try (FileOutputStream fos = new FileOutputStream(tmpFile)) { in testFileInputStream() 149 FileOutputStream fos = new FileOutputStream(f); in testFileOutputStream() 196 try (FileOutputStream fos = new FileOutputStream(f)) { in testUnbufferedIO()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileLockTest.java | 20 import java.io.FileOutputStream; 175 FileOutputStream fout = new FileOutputStream(file); in test_release() 187 fout = new FileOutputStream(file); in test_release()
|