/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerInputStream.java | 29 import java.io.IOException; 79 public DerInputStream(byte[] data) throws IOException { in DerInputStream() 94 public DerInputStream(byte[] data, int offset, int len) throws IOException { in DerInputStream() 114 boolean allowIndefiniteLength) throws IOException { in DerInputStream() 122 boolean allowIndefiniteLength) throws IOException { in init() 124 throw new IOException("Encoding bytes too short"); in init() 129 throw new IOException("Indefinite length BER encoding found"); in init() 158 throws IOException { in subStream() 191 public int getInteger() throws IOException { in getInteger() 193 throw new IOException("DER input, Integer tag error"); in getInteger() [all …]
|
D | DerValue.java | 216 public DerValue(String value) throws IOException { in DerValue() 233 public DerValue(byte stringTag, String value) throws IOException { in DerValue() 256 throws IOException { in DerValue() 277 throw new IOException in DerValue() 310 public DerValue(byte[] buf) throws IOException { in DerValue() 323 public DerValue(byte[] buf, int offset, int len) throws IOException { in DerValue() 336 public DerValue(InputStream in) throws IOException { in DerValue() 340 private DerInputStream init(byte stringTag, String value) throws IOException { in init() 378 throws IOException { in init() 395 throw new IOException in init() [all …]
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClient.java | 121 … public static FtpClient create(InetSocketAddress dest) throws FtpProtocolException, IOException { in create() 139 public static FtpClient create(String dest) throws FtpProtocolException, IOException { in create() 241 public abstract FtpClient connect(SocketAddress dest) throws FtpProtocolException, IOException; in connect() 254 …stract FtpClient connect(SocketAddress dest, int timeout) throws FtpProtocolException, IOException; in connect() 273 …ic abstract FtpClient login(String user, char[] password) throws FtpProtocolException, IOException; in login() 286 …lient login(String user, char[] password, String account) throws FtpProtocolException, IOException; in login() 298 public abstract void close() throws IOException; in close() 315 …bstract FtpClient changeDirectory(String remoteDirectory) throws FtpProtocolException, IOException; in changeDirectory() 324 public abstract FtpClient changeToParentDirectory() throws FtpProtocolException, IOException; in changeToParentDirectory() 333 public abstract String getWorkingDirectory() throws FtpProtocolException, IOException; in getWorkingDirectory() [all …]
|
/libcore/ojluni/src/test/java/io/Writer/ |
D | NullWriter.java | 26 import java.io.IOException; 51 public static void openAndCloseStream() throws IOException { in openAndCloseStream() 57 public static void closeStream() throws IOException { in closeStream() 67 public static void testAppendChar() throws IOException { in testAppendChar() 72 public static void testAppendCharSequence() throws IOException { in testAppendCharSequence() 78 public static void testAppendCharSequenceNull() throws IOException { in testAppendCharSequenceNull() 83 public static void testAppendCharSequenceII() throws IOException { in testAppendCharSequenceII() 89 public static void testAppendCharSequenceIINull() throws IOException { in testAppendCharSequenceIINull() 94 public static void testFlush() throws IOException { in testFlush() 99 public static void testWrite() throws IOException { in testWrite() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | RandomAccessFile.java | 48 public final java.io.FileDescriptor getFD() throws java.io.IOException { in getFD() 56 public int read() throws java.io.IOException { in read() 60 private int readBytes(byte[] b, int off, int len) throws java.io.IOException { in readBytes() 64 public int read(byte[] b, int off, int len) throws java.io.IOException { in read() 68 public int read(byte[] b) throws java.io.IOException { in read() 72 public final void readFully(byte[] b) throws java.io.IOException { in readFully() 76 public final void readFully(byte[] b, int off, int len) throws java.io.IOException { in readFully() 80 public int skipBytes(int n) throws java.io.IOException { in skipBytes() 84 public void write(int b) throws java.io.IOException { in write() 88 private void writeBytes(byte[] b, int off, int len) throws java.io.IOException { in writeBytes() [all …]
|
D | ObjectInputStream.java | 35 public ObjectInputStream(java.io.InputStream in) throws java.io.IOException { in ObjectInputStream() 39 protected ObjectInputStream() throws java.io.IOException, java.lang.SecurityException { in ObjectInputStream() 44 throws java.lang.ClassNotFoundException, java.io.IOException { in readObject() 49 throws java.lang.ClassNotFoundException, java.io.IOException { in readObjectOverride() 54 throws java.lang.ClassNotFoundException, java.io.IOException { in readUnshared() 58 public void defaultReadObject() throws java.lang.ClassNotFoundException, java.io.IOException { in defaultReadObject() 63 throws java.lang.ClassNotFoundException, java.io.IOException { in readFields() 73 throws java.lang.ClassNotFoundException, java.io.IOException { in resolveClass() 78 throws java.lang.ClassNotFoundException, java.io.IOException { in resolveProxyClass() 82 protected java.lang.Object resolveObject(java.lang.Object obj) throws java.io.IOException { in resolveObject() [all …]
|
D | ObjectOutputStream.java | 35 public ObjectOutputStream(java.io.OutputStream out) throws java.io.IOException { in ObjectOutputStream() 39 protected ObjectOutputStream() throws java.io.IOException, java.lang.SecurityException { in ObjectOutputStream() 43 public void useProtocolVersion(int version) throws java.io.IOException { in useProtocolVersion() 47 public final void writeObject(java.lang.Object obj) throws java.io.IOException { in writeObject() 51 protected void writeObjectOverride(java.lang.Object obj) throws java.io.IOException { in writeObjectOverride() 55 public void writeUnshared(java.lang.Object obj) throws java.io.IOException { in writeUnshared() 59 public void defaultWriteObject() throws java.io.IOException { in defaultWriteObject() 63 public java.io.ObjectOutputStream.PutField putFields() throws java.io.IOException { in putFields() 67 public void writeFields() throws java.io.IOException { in writeFields() 71 public void reset() throws java.io.IOException { in reset() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | DataInput.java | 200 void readFully(byte b[]) throws IOException; in readFully() 250 void readFully(byte b[], int off, int len) throws IOException; in readFully() 273 int skipBytes(int n) throws IOException; in skipBytes() 288 boolean readBoolean() throws IOException; in readBoolean() 304 byte readByte() throws IOException; in readByte() 324 int readUnsignedByte() throws IOException; in readUnsignedByte() 345 short readShort() throws IOException; in readShort() 368 int readUnsignedShort() throws IOException; in readUnsignedShort() 388 char readChar() throws IOException; in readChar() 407 int readInt() throws IOException; in readInt() [all …]
|
D | DataOutput.java | 60 void write(int b) throws IOException; in write() 75 void write(byte b[]) throws IOException; in write() 97 void write(byte b[], int off, int len) throws IOException; in write() 114 void writeBoolean(boolean v) throws IOException; in writeBoolean() 131 void writeByte(int v) throws IOException; in writeByte() 151 void writeShort(int v) throws IOException; in writeShort() 172 void writeChar(int v) throws IOException; in writeChar() 193 void writeInt(int v) throws IOException; in writeInt() 219 void writeLong(long v) throws IOException; in writeLong() 238 void writeFloat(float v) throws IOException; in writeFloat() [all …]
|
D | PipedReader.java | 83 public PipedReader(PipedWriter src) throws IOException { in PipedReader() 99 public PipedReader(PipedWriter src, int pipeSize) throws IOException { in PipedReader() 162 public void connect(PipedWriter src) throws IOException { in connect() 170 synchronized void receive(int c) throws IOException { in receive() 172 throw new IOException("Pipe not connected"); in receive() 174 throw new IOException("Pipe closed"); in receive() 176 throw new IOException("Read end dead"); in receive() 182 throw new IOException("Pipe broken"); in receive() 208 synchronized void receive(char c[], int off, int len) throws IOException { in receive() 237 public synchronized int read() throws IOException { in read() [all …]
|
D | Writer.java | 86 private void ensureOpen() throws IOException { in nullWriter() 88 throw new IOException("Stream closed"); in nullWriter() 93 public Writer append(char c) throws IOException { in nullWriter() 99 public Writer append(CharSequence csq) throws IOException { in nullWriter() 105 public Writer append(CharSequence csq, int start, int end) throws IOException { in nullWriter() 114 public void write(int c) throws IOException { in nullWriter() 119 public void write(char[] cbuf, int off, int len) throws IOException { in nullWriter() 125 public void write(String str) throws IOException { in nullWriter() 131 public void write(String str, int off, int len) throws IOException { in nullWriter() 137 public void flush() throws IOException { in nullWriter() [all …]
|
D | Reader.java | 84 private void ensureOpen() throws IOException { in nullReader() 86 throw new IOException("Stream closed"); in nullReader() 91 public int read() throws IOException { in nullReader() 97 public int read(char[] cbuf, int off, int len) throws IOException { in nullReader() 107 public int read(CharBuffer target) throws IOException { in nullReader() 117 public boolean ready() throws IOException { in nullReader() 123 public long skip(long n) throws IOException { in nullReader() 129 public long transferTo(Writer out) throws IOException { in nullReader() 186 public int read(java.nio.CharBuffer target) throws IOException { in read() 208 public int read() throws IOException { in read() [all …]
|
/libcore/ojluni/src/test/java/io/Reader/ |
D | NullReader.java | 26 import java.io.IOException; 53 public static void openAndCloseStream() throws IOException { in openAndCloseStream() 59 public static void closeStream() throws IOException { in closeStream() 69 public static void testRead() throws IOException { in testRead() 74 public static void testReadBII() throws IOException { in testReadBII() 80 public static void testReadBIILenZero() throws IOException { in testReadBIILenZero() 86 public static void testReadCharBuffer() throws IOException { in testReadCharBuffer() 93 public static void testReadCharBufferZeroRemaining() throws IOException { in testReadCharBufferZeroRemaining() 100 public static void testReady() throws IOException { in testReady() 105 public static void testSkip() throws IOException { in testSkip() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileDispatcherImpl.java | 31 import java.io.IOException; 46 int read(FileDescriptor fd, long address, int len) throws IOException { in read() 53 throws IOException in pread() 60 long readv(FileDescriptor fd, long address, int len) throws IOException { in readv() 66 int write(FileDescriptor fd, long address, int len) throws IOException { in write() 73 throws IOException in pwrite() 81 throws IOException in writev() 88 int force(FileDescriptor fd, boolean metaData) throws IOException { in force() 94 int truncate(FileDescriptor fd, long size) throws IOException { in truncate() 100 long size(FileDescriptor fd) throws IOException { in size() [all …]
|
/libcore/ojluni/src/test/java/util/zip/ |
D | CloseInflaterDeflaterTest.java | 55 public void write(byte[] b, int off, int len) throws IOException { 56 throw new IOException(); 59 public void write(byte[] b) throws IOException {} 61 public void write(int b) throws IOException {} 66 public int read(byte[] b, int off, int len) throws IOException { 67 throw new IOException(); 70 public int read(byte[] b) throws IOException { throw new IOException();} 72 public int read() throws IOException { throw new IOException();} 98 public Object[][] testZipAndJar() throws IOException{ in testZipAndJar() 121 public void testGZip(boolean useCloseMethod) throws IOException { in testGZip() [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | DerInputStream.java | 33 public DerInputStream(byte[] data) throws java.io.IOException { in DerInputStream() 37 public DerInputStream(byte[] data, int offset, int len) throws java.io.IOException { in DerInputStream() 42 throws java.io.IOException { in DerInputStream() 51 throws java.io.IOException { in init() 57 throws java.io.IOException { in subStream() 66 public int getInteger() throws java.io.IOException { in getInteger() 71 public java.math.BigInteger getBigInteger() throws java.io.IOException { in getBigInteger() 75 public java.math.BigInteger getPositiveBigInteger() throws java.io.IOException { in getPositiveBigInteger() 79 public int getEnumerated() throws java.io.IOException { in getEnumerated() 84 public byte[] getBitString() throws java.io.IOException { in getBitString() [all …]
|
D | DerOutputStream.java | 44 public void write(byte tag, byte[] buf) throws java.io.IOException { in write() 49 public void write(byte tag, sun.security.util.DerOutputStream out) throws java.io.IOException { in write() 54 throws java.io.IOException { in writeImplicit() 59 public void putDerValue(sun.security.util.DerValue val) throws java.io.IOException { in putDerValue() 64 public void putBoolean(boolean val) throws java.io.IOException { in putBoolean() 68 public void putEnumerated(int i) throws java.io.IOException { in putEnumerated() 73 public void putInteger(java.math.BigInteger i) throws java.io.IOException { in putInteger() 77 public void putInteger(java.lang.Integer i) throws java.io.IOException { in putInteger() 82 public void putInteger(int i) throws java.io.IOException { in putInteger() 86 private void putIntegerContents(int i) throws java.io.IOException { in putIntegerContents() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | AbstractPlainSocketImpl.java | 29 import java.io.IOException; 111 protected synchronized void create(boolean stream) throws IOException { in create() 119 } catch (IOException ioe) { in create() 148 throws UnknownHostException, IOException in connect() 162 } catch (IOException ioe) { in connect() 176 protected void connect(InetAddress address, int port) throws IOException { in connect() 183 } catch (IOException e) { in connect() 201 throws IOException { in connect() 218 } catch (IOException ioe) { in connect() 226 private void connectToAddress(InetAddress address, int port, int timeout) throws IOException { in connectToAddress() [all …]
|
/libcore/ojluni/src/test/java/io/InputStream/ |
D | TransferTo.java | 28 import java.io.IOException; 47 public void ifOutIsNullThenNpeIsThrown() throws IOException { in ifOutIsNullThenNpeIsThrown() 70 } catch (IOException ignored) { } in ifOutIsNullThenNpeIsThrown() 76 throws IOException { in ifExceptionInInputNeitherStreamIsClosed() 84 throws IOException { in ifExceptionInOutputNeitherStreamIsClosed() 92 throws IOException { in transferToThenCheckIfAnyClosed() 99 } catch (IOException ignored) { in transferToThenCheckIfAnyClosed() 113 throws IOException { in onReturnNeitherStreamIsClosed() 128 public void onReturnInputIsAtEnd() throws IOException { in onReturnInputIsAtEnd() 141 public void contents() throws IOException { in contents() [all …]
|
D | NullInputStream.java | 31 import java.io.IOException; 52 } catch (IOException e) { in setup() 61 } catch (IOException e) { in closeStream() 75 } catch (IOException ioe) { in testAvailable() 84 } catch (IOException ioe) { in testRead() 94 } catch (IOException ioe) { in testReadBII() 104 } catch (IOException ioe) { in testReadAllBytes() 114 } catch (IOException ioe) { in testReadNBytes() 126 } catch (IOException ioe) { in testReadNBytesWithLength() 134 } catch (IOException ioe) { in testReadNBytesWithLength() [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldDataInputOutputStreamTest.java | 24 import java.io.IOException; 37 public void test_read_writeBoolean() throws IOException { in test_read_writeBoolean() 43 } catch (IOException e) { in test_read_writeBoolean() 64 } catch (IOException e) { in test_read_writeBoolean() 69 public void test_read_writeByte() throws IOException { in test_read_writeByte() 75 } catch (IOException e) { in test_read_writeByte() 96 } catch (IOException e) { in test_read_writeByte() 101 public void test_read_writeChar() throws IOException { in test_read_writeChar() 107 } catch (IOException e) { in test_read_writeChar() 128 } catch (IOException e) { in test_read_writeChar() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | IOExceptionTest.java | 20 import java.io.IOException; 32 throw new IOException(); in test_Constructor() 35 } catch (IOException e) { in test_Constructor() 46 throw new IOException("Some error message"); in test_ConstructorLjava_lang_String() 49 } catch (IOException e) { in test_ConstructorLjava_lang_String() 62 IOException ioException = new IOException( in test_ConstructorLString_LThrowable() 67 throw new IOException( in test_ConstructorLString_LThrowable() 69 } catch (IOException e) { in test_ConstructorLString_LThrowable() 84 IOException ioException = new IOException(cause); in test_Constructor_LThrowable() 87 ioException = new IOException((Throwable) null); in test_Constructor_LThrowable() [all …]
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileChannel.java | 289 throws IOException in open() 336 throws IOException in open() 358 public abstract int read(ByteBuffer dst) throws IOException; in read() 370 throws IOException; in read() 380 public final long read(ByteBuffer[] dsts) throws IOException { in read() 395 public abstract int write(ByteBuffer src) throws IOException; in write() 410 throws IOException; in write() 423 public final long write(ByteBuffer[] srcs) throws IOException { in write() 443 public abstract long position() throws IOException; in position() 471 public abstract FileChannel position(long newPosition) throws IOException; in position() [all …]
|
D | DatagramChannel.java | 28 import java.io.IOException; 153 public static DatagramChannel open() throws IOException { in open() 186 public static DatagramChannel open(ProtocolFamily family) throws IOException { in open() 221 throws IOException; in bind() 232 throws IOException; in setOption() 312 throws IOException; in connect() 333 public abstract DatagramChannel disconnect() throws IOException; in disconnect() 348 public abstract SocketAddress getRemoteAddress() throws IOException; in getRemoteAddress() 412 public abstract SocketAddress receive(ByteBuffer dst) throws IOException; in receive() 488 throws IOException; in send() [all …]
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlSerializer.java | 3 import java.io.IOException; 95 throws IOException, IllegalArgumentException, IllegalStateException; in setOutput() 102 throws IOException, IllegalArgumentException, IllegalStateException; in setOutput() 110 throws IOException, IllegalArgumentException, IllegalStateException; in startDocument() 118 throws IOException, IllegalArgumentException, IllegalStateException; in endDocument() 140 throws IOException, IllegalArgumentException, IllegalStateException; in setPrefix() 210 throws IOException, IllegalArgumentException, IllegalStateException; in startTag() 220 throws IOException, IllegalArgumentException, IllegalStateException; in attribute() 231 throws IOException, IllegalArgumentException, IllegalStateException; in endTag() 291 throws IOException, IllegalArgumentException, IllegalStateException; in text() [all …]
|