/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileOutputStreamTest.java | 24 import java.io.FileOutputStream; 33 private FileOutputStream fos; 70 fos = new FileOutputStream(f); in test_ConstructorLjava_io_File() 79 fos = new FileOutputStream(fileName); in test_ConstructorLjava_io_FileDescriptor() 83 fos = new FileOutputStream(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor() 94 fos = new FileOutputStream(fileName); in test_ConstructorLjava_lang_String() 97 fos = new FileOutputStream("/dev/null"); in test_ConstructorLjava_lang_String() 107 fos = new FileOutputStream(f.getPath(), false); in test_ConstructorLjava_lang_StringZ() 110 fos = new FileOutputStream(f.getPath(), true); in test_ConstructorLjava_lang_StringZ() 125 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 | OpenRandomFileTest.java | 20 import java.io.FileOutputStream; 40 FileOutputStream fos = new FileOutputStream(file); in testOpenNonEmptyFile()
|
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 …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | DeflaterOutputStreamTest.java | 23 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 …]
|
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; 50 FileOutputStream outFile = new FileOutputStream( in test_ConstructorLjava_io_OutputStream() 70 FileOutputStream outFile = new FileOutputStream( in test_ConstructorLjava_io_OutputStreamI() 92 FileOutputStream outFile = new FileOutputStream( in test_finish() 120 FileOutputStream outFile = new FileOutputStream( in test_close() 145 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 | 58 class FileOutputStream extends OutputStream class 107 public FileOutputStream(String name) throws FileNotFoundException { in FileOutputStream() method in FileOutputStream 137 public FileOutputStream(String name, boolean append) in FileOutputStream() method in FileOutputStream 168 public FileOutputStream(File file) throws FileNotFoundException { in FileOutputStream() method in FileOutputStream 201 public FileOutputStream(File file, boolean append) in FileOutputStream() method in FileOutputStream 248 public FileOutputStream(FileDescriptor fdObj) { in FileOutputStream() method in FileOutputStream 258 public FileOutputStream(FileDescriptor fdObj, boolean isFdOwner) { in FileOutputStream() method in FileOutputStream
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileOutputStreamTest.java | 23 import java.io.FileOutputStream; 30 FileOutputStream fos1 = new FileOutputStream(tmp); in testFileDescriptorOwnership() 31 FileOutputStream fos2 = new FileOutputStream(fos1.getFD()); in testFileDescriptorOwnership() 66 … FileOutputStream fos = new FileOutputStream(File.createTempFile("FileOutputStreamTest", "tmp")); in testClose()
|
D | FileInputStreamTest.java | 23 import java.io.FileOutputStream; 49 FileOutputStream fos = new FileOutputStream(mOutFd); in run() 100 FileOutputStream fos = new FileOutputStream(tmp); in makeFile() 229 FileOutputStream fos = new FileOutputStream(largeFile); in testSkipOnLargeFiles()
|
/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 | 22 import java.io.FileOutputStream; 60 fc = new FileOutputStream(tmp).getChannel(); in testReadOnlyByteArrays() 70 FileChannel fc = new FileOutputStream(tmp).getChannel(); in test_readv() 90 FileChannel fc = new FileOutputStream(tmp).getChannel(); in test_writev() 103 FileOutputStream fos = new FileOutputStream(tmp, true); in test_append() 223 FileOutputStream fos = new FileOutputStream(tmp); in test_close_fromFileDescriptor() 228 FileOutputStream fosFromFd = new FileOutputStream(fd); in test_close_fromFileDescriptor() 246 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/ojluni/src/main/java/java/lang/ |
D | ProcessImpl.java | 30 import java.io.FileOutputStream; 89 FileOutputStream f1 = null; in start() 90 FileOutputStream f2 = null; in start() 112 f1 = new FileOutputStream(redirects[1].file(), in start() 122 f2 = new FileOutputStream(redirects[2].file(), in start()
|
/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/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 | 22 import java.io.FileOutputStream; 61 FileOutputStream stream = new FileOutputStream(result); in makeTempFile() 72 FileOutputStream out = new FileOutputStream(jar)) { in testAppUseOfPathClassLoader()
|
/libcore/tzdata/update/src/main/libcore/tzdata/update/ |
D | ConfigBundle.java | 20 import java.io.FileOutputStream; 88 try (FileOutputStream fos = new FileOutputStream(entryFile)) { in extractZipSafely()
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarOutputStreamTest.java | 21 import java.io.FileOutputStream; 34 OutputStream os = new FileOutputStream(outputJar); in test_putNextEntryLjava_util_zip_ZipEntry()
|
/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()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipFileTest.java | 22 import java.io.FileOutputStream; 149 FileOutputStream fos = new FileOutputStream(tempFile); in setUp()
|