/external/okhttp/okio/okio/src/main/java/okio/ |
D | BufferedSource.java | 18 import java.io.IOException; 35 boolean exhausted() throws IOException; in exhausted() 42 void require(long byteCount) throws IOException; in require() 49 boolean request(long byteCount) throws IOException; in request() 52 byte readByte() throws IOException; in readByte() 55 short readShort() throws IOException; in readShort() 58 short readShortLe() throws IOException; in readShortLe() 61 int readInt() throws IOException; in readInt() 64 int readIntLe() throws IOException; in readIntLe() 67 long readLong() throws IOException; in readLong() [all …]
|
D | BufferedSink.java | 18 import java.io.IOException; 30 BufferedSink write(ByteString byteString) throws IOException; in write() 36 BufferedSink write(byte[] source) throws IOException; in write() 42 BufferedSink write(byte[] source, int offset, int byteCount) throws IOException; in write() 48 long writeAll(Source source) throws IOException; in writeAll() 51 BufferedSink write(Source source, long byteCount) throws IOException; in write() 54 BufferedSink writeUtf8(String string) throws IOException; in writeUtf8() 60 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; in writeUtf8() 63 BufferedSink writeUtf8CodePoint(int codePoint) throws IOException; in writeUtf8CodePoint() 66 BufferedSink writeString(String string, Charset charset) throws IOException; in writeString() [all …]
|
D | RealBufferedSource.java | 19 import java.io.IOException; 44 @Override public long read(Buffer sink, long byteCount) throws IOException { in read() 58 @Override public boolean exhausted() throws IOException { in exhausted() 63 @Override public void require(long byteCount) throws IOException { in require() 67 @Override public boolean request(long byteCount) throws IOException { in request() 76 @Override public byte readByte() throws IOException { in readByte() 81 @Override public ByteString readByteString() throws IOException { in readByteString() 86 @Override public ByteString readByteString(long byteCount) throws IOException { in readByteString() 91 @Override public byte[] readByteArray() throws IOException { in readByteArray() 96 @Override public byte[] readByteArray(long byteCount) throws IOException { in readByteArray() [all …]
|
D | RealBufferedSink.java | 19 import java.io.IOException; 43 throws IOException { in write() 49 @Override public BufferedSink write(ByteString byteString) throws IOException { in write() 55 @Override public BufferedSink writeUtf8(String string) throws IOException { in writeUtf8() 62 throws IOException { in writeUtf8() 68 @Override public BufferedSink writeUtf8CodePoint(int codePoint) throws IOException { in writeUtf8CodePoint() 74 @Override public BufferedSink writeString(String string, Charset charset) throws IOException { in writeString() 81 Charset charset) throws IOException { in writeString() 87 @Override public BufferedSink write(byte[] source) throws IOException { in write() 93 @Override public BufferedSink write(byte[] source, int offset, int byteCount) throws IOException { in write() [all …]
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | BufferedSource.java | 19 import java.io.IOException; 37 boolean exhausted() throws IOException; in exhausted() 44 void require(long byteCount) throws IOException; in require() 51 boolean request(long byteCount) throws IOException; in request() 54 byte readByte() throws IOException; in readByte() 57 short readShort() throws IOException; in readShort() 60 short readShortLe() throws IOException; in readShortLe() 63 int readInt() throws IOException; in readInt() 66 int readIntLe() throws IOException; in readIntLe() 69 long readLong() throws IOException; in readLong() [all …]
|
D | BufferedSink.java | 19 import java.io.IOException; 32 BufferedSink write(ByteString byteString) throws IOException; in write() 38 BufferedSink write(byte[] source) throws IOException; in write() 44 BufferedSink write(byte[] source, int offset, int byteCount) throws IOException; in write() 50 long writeAll(Source source) throws IOException; in writeAll() 53 BufferedSink write(Source source, long byteCount) throws IOException; in write() 56 BufferedSink writeUtf8(String string) throws IOException; in writeUtf8() 62 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; in writeUtf8() 65 BufferedSink writeUtf8CodePoint(int codePoint) throws IOException; in writeUtf8CodePoint() 68 BufferedSink writeString(String string, Charset charset) throws IOException; in writeString() [all …]
|
D | RealBufferedSource.java | 20 import java.io.IOException; 45 @Override public long read(Buffer sink, long byteCount) throws IOException { in read() 59 @Override public boolean exhausted() throws IOException { in exhausted() 64 @Override public void require(long byteCount) throws IOException { in require() 68 @Override public boolean request(long byteCount) throws IOException { in request() 77 @Override public byte readByte() throws IOException { in readByte() 82 @Override public ByteString readByteString() throws IOException { in readByteString() 87 @Override public ByteString readByteString(long byteCount) throws IOException { in readByteString() 92 @Override public byte[] readByteArray() throws IOException { in readByteArray() 97 @Override public byte[] readByteArray(long byteCount) throws IOException { in readByteArray() [all …]
|
D | RealBufferedSink.java | 20 import java.io.IOException; 44 throws IOException { in write() 50 @Override public BufferedSink write(ByteString byteString) throws IOException { in write() 56 @Override public BufferedSink writeUtf8(String string) throws IOException { in writeUtf8() 63 throws IOException { in writeUtf8() 69 @Override public BufferedSink writeUtf8CodePoint(int codePoint) throws IOException { in writeUtf8CodePoint() 75 @Override public BufferedSink writeString(String string, Charset charset) throws IOException { in writeString() 82 Charset charset) throws IOException { in writeString() 88 @Override public BufferedSink write(byte[] source) throws IOException { in write() 94 @Override public BufferedSink write(byte[] source, int offset, int byteCount) throws IOException { in write() [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedOutputStream.java | 37 import java.io.IOException; 191 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag() 195 public abstract void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32() 199 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; in writeUInt32() 202 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { in writeSInt32() 208 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; in writeFixed32() 211 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { in writeSFixed32() 216 public final void writeInt64(final int fieldNumber, final long value) throws IOException { in writeInt64() 222 public abstract void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64() 225 public final void writeSInt64(final int fieldNumber, final long value) throws IOException { in writeSInt64() [all …]
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/ |
D | HTMLElementTest.java | 16 import java.io.IOException; 32 public void setUp() throws IOException { in setUp() 42 public void testMeta() throws IOException { in testMeta() 51 public void testLink() throws IOException { in testLink() 60 public void testTitle() throws IOException { in testTitle() 67 public void testH1() throws IOException { in testH1() 74 public void testP() throws IOException { in testP() 81 public void testSpan1() throws IOException { in testSpan1() 88 public void testSpan2() throws IOException { in testSpan2() 95 public void testSpan3() throws IOException { in testSpan3() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothConnection.java | 27 import java.io.IOException; 47 BluetoothConnection(BluetoothSocket mSocket) throws IOException { in BluetoothConnection() 52 throws IOException { in BluetoothConnection() 112 public void write(byte[] out) throws IOException { in write() 116 throw new IOException("write: Bluetooth not ready."); in write() 125 public void write(String out) throws IOException { in write() 134 public void write(int out) throws IOException { in write() 138 throw new IOException("write: Bluetooth not ready."); in write() 147 public Boolean readReady() throws IOException { in readReady() 151 throw new IOException("Bluetooth not ready."); in readReady() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/ |
D | ExecutionDataReaderWriterTest.java | 23 import java.io.IOException; 49 public void setup() throws IOException { in setup() 57 public void testEmpty() throws IOException { in testEmpty() 73 public void testFlush() throws IOException { in testFlush() 77 public void write(int b) throws IOException { in testFlush() 81 public void flush() throws IOException { in testFlush() 90 public void testCustomBlocks() throws IOException { in testCustomBlocks() 97 protected boolean readBlock(byte blocktype) throws IOException { in testCustomBlocks() 123 public void testMultipleHeaders() throws IOException { in testMultipleHeaders() 130 @Test(expected = IOException.class) [all …]
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | RealWebSocketTest.java | 22 import java.io.IOException; 70 @Override protected void close() throws IOException { in setUp() 77 throw new IOException("Oops!"); in setUp() 83 @Override protected void close() throws IOException { in setUp() 97 @Test public void nullMessageThrows() throws IOException { in nullMessageThrows() 106 @Test public void textMessage() throws IOException { in textMessage() 112 @Test public void binaryMessage() throws IOException { in binaryMessage() 118 @Test public void missingContentTypeThrows() throws IOException { in missingContentTypeThrows() 128 @Test public void unknownContentTypeThrows() throws IOException { in unknownContentTypeThrows() 139 @Test public void streamingMessage() throws IOException { in streamingMessage() [all …]
|
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/ |
D | CodedOutputStreamMicro.java | 34 import java.io.IOException; 121 throws IOException { in writeDouble() 128 throws IOException { in writeFloat() 135 throws IOException { in writeUInt64() 142 throws IOException { in writeInt64() 149 throws IOException { in writeInt32() 156 throws IOException { in writeFixed64() 163 throws IOException { in writeFixed32() 170 throws IOException { in writeBool() 177 throws IOException { in writeString() [all …]
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/ |
D | XMLElementTest.java | 16 import java.io.IOException; 32 public void setUp() throws IOException { in setUp() 39 public void testEmptyNode() throws IOException { in testEmptyNode() 46 @Test(expected = IOException.class) 47 public void testAddAttributeToClosedNode() throws IOException { in testAddAttributeToClosedNode() 52 @Test(expected = IOException.class) 53 public void testAddChildToClosedNode() throws IOException { in testAddChildToClosedNode() 58 @Test(expected = IOException.class) 59 public void testAddTextToClosedNode() throws IOException { in testAddTextToClosedNode() 65 public void testNestedElement() throws IOException { in testNestedElement() [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/ |
D | HTMLElement.java | 14 import java.io.IOException; 39 public HTMLElement element(final String name) throws IOException { in element() 45 private void classattr(final String classattr) throws IOException { in classattr() 61 throws IOException { in meta() 82 final String typeattr) throws IOException { in link() 97 public HTMLElement title() throws IOException { in title() 108 public HTMLElement h1() throws IOException { in h1() 119 public HTMLElement p() throws IOException { in p() 130 public HTMLElement span() throws IOException { in span() 143 public HTMLElement span(final String classattr) throws IOException { in span() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/ |
D | FramedLZ4CompressorInputStreamTest.java | 29 import java.io.IOException; 41 public void testMatches() throws IOException { in testMatches() 54 public void readBlaLz4() throws IOException { in readBlaLz4() 87 public void readBlaLz4WithDecompressConcatenated() throws IOException { in readBlaLz4WithDecompressConcatenated() 173 public void readBlaDumpLz4() throws IOException { in readBlaDumpLz4() 182 @Test(expected = IOException.class) 183 public void rejectsNonLZ4Stream() throws IOException { in rejectsNonLZ4Stream() 190 public void rejectsFileWithoutFrameDescriptor() throws IOException { in rejectsFileWithoutFrameDescriptor() 198 } catch (IOException ex) { in rejectsFileWithoutFrameDescriptor() 204 public void rejectsFileWithoutBlockSizeByte() throws IOException { in rejectsFileWithoutBlockSizeByte() [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | ByteStreams.java | 33 import java.io.IOException; 64 throws IOException { in copy() 90 WritableByteChannel to) throws IOException { in copy() 113 public static byte[] toByteArray(InputStream in) throws IOException { in toByteArray() 126 InputStream in, int expectedSize) throws IOException { in toByteArray() 215 } catch (IOException e) { in readFully() 223 } catch (IOException e) { in readFully() 231 } catch (IOException e) { in skipBytes() 239 } catch (IOException e) { in readBoolean() 249 } catch (IOException impossible) { in readByte() [all …]
|
D | GwtWorkarounds.java | 23 import java.io.IOException; 44 int read() throws IOException; in read() 45 void close() throws IOException; in close() 56 public int read() throws IOException { in asCharInput() 61 public void close() throws IOException { in asCharInput() 95 int read() throws IOException; 96 void close() throws IOException; 107 public int read() throws IOException { 112 public int read(byte[] b, int off, int len) throws IOException { 134 public void close() throws IOException { [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/ |
D | ArArchiveOutputStream.java | 22 import java.io.IOException; 66 private long writeArchiveHeader() throws IOException { in writeArchiveHeader() 73 public void closeArchiveEntry() throws IOException { in closeArchiveEntry() 75 throw new IOException("Stream has already been finished"); in closeArchiveEntry() 78 throw new IOException("No current entry to close"); in closeArchiveEntry() 87 public void putArchiveEntry( final ArchiveEntry pEntry ) throws IOException { in putArchiveEntry() 89 throw new IOException("Stream has already been finished"); in putArchiveEntry() 97 …throw new IOException("length does not match entry (" + prevEntry.getLength() + " != " + entryOffs… in putArchiveEntry() 113 …ivate long fill( final long pOffset, final long pNewOffset, final char pFill ) throws IOException { in fill() 125 private long write( final String data ) throws IOException { in write() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CloserTest.java | 32 import java.io.IOException; 65 public void testNoExceptionsThrown() throws IOException { in testNoExceptionsThrown() 85 public void testExceptionThrown_fromTryBlock() throws IOException { in testExceptionThrown_fromTryBlock() 91 IOException exception = new IOException(); in testExceptionThrown_fromTryBlock() 111 public void testExceptionThrown_whenCreatingCloseables() throws IOException { in testExceptionThrown_whenCreatingCloseables() 128 assertTrue(expected instanceof IOException); in testExceptionThrown_whenCreatingCloseables() 138 public void testExceptionThrown_whileClosingLastCloseable() throws IOException { in testExceptionThrown_whileClosingLastCloseable() 141 IOException exception = new IOException(); in testExceptionThrown_whileClosingLastCloseable() 159 public void testExceptionThrown_whileClosingFirstCloseable() throws IOException { in testExceptionThrown_whileClosingFirstCloseable() 162 IOException exception = new IOException(); in testExceptionThrown_whileClosingFirstCloseable() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | InputOutputExceptionTest.java | 18 import java.io.IOException; 32 assertTrue(e.getCause() instanceof IOException); in testIOExceptionOnLoad() 42 assertTrue(e.getCause() instanceof IOException); in testIOExceptionOnDump() 49 public int read() throws IOException { in read() 50 throw new IOException("Broken 1"); in read() 54 public int read(byte[] bytes, int i, int i1) throws IOException { in read() 55 throw new IOException("Broken 2"); in read() 59 public void close() throws IOException { in close() 60 throw new IOException("Broken 3"); in close() 66 public void close() throws IOException { in close() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | ByteUtilsTest.java | 27 import java.io.IOException; 73 public void fromLittleEndianFromStream() throws IOException { in fromLittleEndianFromStream() 79 public void fromLittleEndianFromStreamUnsignedInt32() throws IOException { in fromLittleEndianFromStreamUnsignedInt32() 85 public void fromLittleEndianFromStreamThrowsForLengthTooBig() throws IOException { in fromLittleEndianFromStreamThrowsForLengthTooBig() 89 @Test(expected = IOException.class) 90 public void fromLittleEndianFromStreamThrowsForPrematureEnd() throws IOException { in fromLittleEndianFromStreamThrowsForPrematureEnd() 96 public void fromLittleEndianFromSupplier() throws IOException { in fromLittleEndianFromSupplier() 102 public void fromLittleEndianFromSupplierUnsignedInt32() throws IOException { in fromLittleEndianFromSupplierUnsignedInt32() 109 public void fromLittleEndianFromSupplierThrowsForLengthTooBig() throws IOException { in fromLittleEndianFromSupplierThrowsForLengthTooBig() 113 @Test(expected = IOException.class) [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
D | OpenedSocket.java | 22 import java.io.IOException; 38 public static OpenedSocket fromSocket(SocketChannel socket) throws IOException { in fromSocket() 46 public static OpenedSocket fromSocket(Socket socket) throws IOException { in fromSocket() 89 public Serializable read() throws IOException { in read() 101 @Override public void close() throws IOException { in close() 115 public void write(Serializable serializable) throws IOException { in write() 119 @Override public void flush() throws IOException { in flush() 123 @Override public void close() throws IOException { in close() 133 private static OutputStream getOutputStream(final Socket socket) throws IOException { in getOutputStream() 137 @Override public void close() throws IOException { in getOutputStream() [all …]
|
/external/apache-http/src/org/apache/http/conn/ |
D | EofSensorInputStream.java | 34 import java.io.IOException; 130 protected boolean isReadAllowed() throws IOException { in isReadAllowed() 132 throw new IOException("Attempted read on closed stream."); in isReadAllowed() 140 public int read() throws IOException { in read() 147 } catch (IOException ex) { in read() 159 public int read(byte[] b, int off, int len) throws IOException { in read() 166 } catch (IOException ex) { in read() 178 public int read(byte[] b) throws IOException { in read() 185 } catch (IOException ex) { in read() 196 public int available() throws IOException { in available() [all …]
|