Home
last modified time | relevance | path

Searched refs:IOException (Results 1 – 25 of 5631) sorted by relevance

12345678910>>...226

/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java18 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 …]
DBufferedSink.java18 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 …]
DRealBufferedSource.java19 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 …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBufferedSource.java19 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 …]
DBufferedSink.java19 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 …]
DRealBufferedSource.java20 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 …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DReader.java33 import java.io.IOException;
57 int getFieldNumber() throws IOException; in getFieldNumber()
73 boolean skipField() throws IOException; in skipField()
79 double readDouble() throws IOException; in readDouble()
85 float readFloat() throws IOException; in readFloat()
91 long readUInt64() throws IOException; in readUInt64()
97 long readInt64() throws IOException; in readInt64()
103 int readInt32() throws IOException; in readInt32()
109 long readFixed64() throws IOException; in readFixed64()
115 int readFixed32() throws IOException; in readFixed32()
[all …]
DWriter.java33 import java.io.IOException;
54 void writeSFixed32(int fieldNumber, int value) throws IOException; in writeSFixed32()
57 void writeInt64(int fieldNumber, long value) throws IOException; in writeInt64()
60 void writeSFixed64(int fieldNumber, long value) throws IOException; in writeSFixed64()
63 void writeFloat(int fieldNumber, float value) throws IOException; in writeFloat()
66 void writeDouble(int fieldNumber, double value) throws IOException; in writeDouble()
69 void writeEnum(int fieldNumber, int value) throws IOException; in writeEnum()
72 void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64()
75 void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32()
78 void writeFixed64(int fieldNumber, long value) throws IOException; in writeFixed64()
[all …]
DCodedOutputStream.java40 import java.io.IOException;
230 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag()
234 public abstract void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32()
238 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; in writeUInt32()
241 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { in writeSInt32()
247 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; in writeFixed32()
250 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { in writeSFixed32()
255 public final void writeInt64(final int fieldNumber, final long value) throws IOException { in writeInt64()
261 public abstract void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64()
264 public final void writeSInt64(final int fieldNumber, final long value) throws IOException { in writeSInt64()
[all …]
/external/okio/okio/src/jvmMain/kotlin/okio/
DBufferedSource.kt18 import java.io.IOException
34 @Throws(IOException::class)
37 @Throws(IOException::class)
40 @Throws(IOException::class)
43 @Throws(IOException::class)
46 @Throws(IOException::class)
49 @Throws(IOException::class)
52 @Throws(IOException::class)
55 @Throws(IOException::class)
58 @Throws(IOException::class)
[all …]
DBufferedSink.kt18 import java.io.IOException
34 @Throws(IOException::class)
37 @Throws(IOException::class)
40 @Throws(IOException::class)
43 @Throws(IOException::class)
46 @Throws(IOException::class)
49 @Throws(IOException::class)
52 @Throws(IOException::class)
55 @Throws(IOException::class)
58 @Throws(IOException::class)
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/
DHTMLElementTest.java17 import java.io.IOException;
36 public void setup() throws IOException { in setup()
50 public void head_should_create_head_tag() throws IOException { in head_should_create_head_tag()
57 throws IOException { in meta_should_create_meta_tag_with_attributes()
63 public void body_should_create_body_tag() throws IOException { in body_should_create_body_tag()
70 throws IOException { in link_should_create_link_tag_with_attributes()
77 public void title_should_create_title_tag() throws IOException { in title_should_create_title_tag()
83 public void h1_should_create_h1_tag() throws IOException { in h1_should_create_h1_tag()
89 public void p_should_create_p_tag() throws IOException { in p_should_create_p_tag()
95 public void span_should_create_span_tag() throws IOException { in span_should_create_span_tag()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonParser.java624 public abstract void close() throws IOException; in close()
687 public int releaseBuffered(OutputStream out) throws IOException { in releaseBuffered()
706 public int releaseBuffered(Writer w) throws IOException { return -1; } in releaseBuffered()
844 public abstract JsonToken nextToken() throws IOException; in nextToken()
863 public abstract JsonToken nextValue() throws IOException; in nextValue()
879 public boolean nextFieldName(SerializableString str) throws IOException { in nextFieldName()
890 public String nextFieldName() throws IOException { in nextFieldName()
905 public String nextTextValue() throws IOException { in nextTextValue()
920 public int nextIntValue(int defaultValue) throws IOException { in nextIntValue()
935 public long nextLongValue(long defaultValue) throws IOException { in nextLongValue()
[all …]
DJsonGenerator.java778 public abstract void writeStartArray() throws IOException; in writeStartArray()
798 public void writeStartArray(int size) throws IOException { in writeStartArray()
805 public void writeStartArray(Object forValue) throws IOException { in writeStartArray()
813 public void writeStartArray(Object forValue, int size) throws IOException { in writeStartArray()
826 public abstract void writeEndArray() throws IOException; in writeEndArray()
837 public abstract void writeStartObject() throws IOException; in writeStartObject()
852 public void writeStartObject(Object forValue) throws IOException in writeStartObject()
874 public void writeStartObject(Object forValue, int size) throws IOException in writeStartObject()
890 public abstract void writeEndObject() throws IOException; in writeEndObject()
901 public abstract void writeFieldName(String name) throws IOException; in writeFieldName()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DXMLElementTest.java17 import java.io.IOException;
34 public void setup() throws IOException { in setup()
40 public void init_should_write_doctype_when_given() throws IOException { in init_should_write_doctype_when_given()
49 public void init_should_write_standalone_when_given() throws IOException { in init_should_write_standalone_when_given()
58 throws IOException { in close_should_emit_empty_element_when_no_children_exist()
63 public void close_should_be_allowed_multiple_times() throws IOException { in close_should_be_allowed_multiple_times()
69 @Test(expected = IOException.class)
70 public void attr_should_throw_exception_when_closed() throws IOException { in attr_should_throw_exception_when_closed()
75 @Test(expected = IOException.class)
77 throws IOException { in element_should_throw_exception_when_closed()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogicTestingJss060Test.java11 import java.io.IOException;
25 private void classifyRoles(String projectName, String className) throws IOException { in classifyRoles()
37 private void classifyReferences(String projectName, String className) throws IOException { in classifyReferences()
52 void classifyRoleToFileToCoreSourceFileInfoExtractor() throws IOException { in classifyRoleToFileToCoreSourceFileInfoExtractor()
58 void classifyRolesCoreCoreResolution() throws IOException { in classifyRolesCoreCoreResolution()
64 void classifyRolesCoreDeclarationsCommon() throws IOException { in classifyRolesCoreDeclarationsCommon()
69 void classifyRolesCoreJavaparserNavigator() throws IOException { in classifyRolesCoreJavaparserNavigator()
74 void classifyRolesCoreJavaparsermodel() throws IOException { in classifyRolesCoreJavaparsermodel()
84 void classifyRolesCoreJavaparsermodelContexts() throws IOException { in classifyRolesCoreJavaparsermodelContexts()
107 void classifyRolesCoreJavaparsermodelJavaParserAnonymousClassDeclaration() throws IOException { in classifyRolesCoreJavaparsermodelJavaParserAnonymousClassDeclaration()
[all …]
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationsWriter.java19 import java.io.IOException;
87 public void close() throws IOException { in close()
97 public void numParameters(int num) throws IOException { in numParameters()
107 public void numAnnotations(int num) throws IOException { in numAnnotations()
121 throws IOException in annotation()
136 throws IOException in annotation()
151 public void memberValuePair(String memberName) throws IOException { in memberValuePair()
165 public void memberValuePair(int memberNameIndex) throws IOException { in memberValuePair()
175 public void constValueIndex(boolean value) throws IOException { in constValueIndex()
185 public void constValueIndex(byte value) throws IOException { in constValueIndex()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonGeneratorDelegate.java6 import java.io.IOException;
194 public void writeStartArray() throws IOException { delegate.writeStartArray(); } in writeStartArray()
198 public void writeStartArray(int size) throws IOException { delegate.writeStartArray(size); } in writeStartArray()
201 …public void writeStartArray(Object forValue) throws IOException { delegate.writeStartArray(forValu… in writeStartArray()
204 …public void writeStartArray(Object forValue, int size) throws IOException { delegate.writeStartArr… in writeStartArray()
207 public void writeEndArray() throws IOException { delegate.writeEndArray(); } in writeEndArray()
210 public void writeStartObject() throws IOException { delegate.writeStartObject(); } in writeStartObject()
213 …public void writeStartObject(Object forValue) throws IOException { delegate.writeStartObject(forVa… in writeStartObject()
216 public void writeStartObject(Object forValue, int size) throws IOException { in writeStartObject()
221 public void writeEndObject() throws IOException { delegate.writeEndObject(); } in writeEndObject()
[all …]
DJsonParserDelegate.java3 import java.io.IOException;
104 @Override public void close() throws IOException { delegate.close(); } in close()
125 … @Override public String getCurrentName() throws IOException { return delegate.getCurrentName(); } in getCurrentName()
132 @Override public boolean isNaN() throws IOException { return delegate.isNaN(); } in isNaN()
150 @Override public String getText() throws IOException { return delegate.getText(); } in getText()
152 …@Override public char[] getTextCharacters() throws IOException { return delegate.getTextCharacters… in getTextCharacters()
153 @Override public int getTextLength() throws IOException { return delegate.getTextLength(); } in getTextLength()
154 @Override public int getTextOffset() throws IOException { return delegate.getTextOffset(); } in getTextOffset()
155 …@Override public int getText(Writer writer) throws IOException, UnsupportedOperationException { re… in getText()
164 …public BigInteger getBigIntegerValue() throws IOException { return delegate.getBigIntegerValue(); } in getBigIntegerValue()
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/
DHTMLElement.java14 import java.io.IOException;
41 throws IOException { in HTMLElement()
47 throws IOException { in HTMLElement()
52 public HTMLElement element(final String name) throws IOException { in element()
56 private void classattr(final String classattr) throws IOException { in classattr()
67 public HTMLElement head() throws IOException { in head()
78 public HTMLElement body() throws IOException { in body()
94 final String contentattr) throws IOException { in meta()
115 final String typeattr) throws IOException { in link()
130 public HTMLElement title() throws IOException { in title()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DUnicodeEscapeProcessingProviderTest.java24 import java.io.IOException;
34 void testUnicodeEscape() throws IOException { in testUnicodeEscape()
39 void testEscapedUnicodeEscape() throws IOException { in testEscapedUnicodeEscape()
44 void testUnicodeEscapeWithMultipleUs() throws IOException { in testUnicodeEscapeWithMultipleUs()
49 void testInputEndingInBackslash() throws IOException { in testInputEndingInBackslash()
54 void testInputEndingInBackslashU() throws IOException { in testInputEndingInBackslashU()
59 void testInputEndingInBackslashUs() throws IOException { in testInputEndingInBackslashUs()
64 void testInputEndingInBackslashU1() throws IOException { in testInputEndingInBackslashU1()
69 void testInputEndingInBackslashU2() throws IOException { in testInputEndingInBackslashU2()
74 void testInputEndingInBackslashU3() throws IOException { in testInputEndingInBackslashU3()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothConnection.java27 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/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DRegularFileTest.java30 import java.io.IOException;
198 private void fillContent(String fill) throws IOException { in fillContent()
234 public void testEmpty_write_singleByte_atStart() throws IOException { in testEmpty_write_singleByte_atStart()
239 public void testEmpty_write_byteArray_atStart() throws IOException { in testEmpty_write_byteArray_atStart()
245 public void testEmpty_write_partialByteArray_atStart() throws IOException { in testEmpty_write_partialByteArray_atStart()
251 public void testEmpty_write_singleBuffer_atStart() throws IOException { in testEmpty_write_singleBuffer_atStart()
256 public void testEmpty_write_multipleBuffers_atStart() throws IOException { in testEmpty_write_multipleBuffers_atStart()
261 public void testEmpty_write_singleByte_atNonZeroPosition() throws IOException { in testEmpty_write_singleByte_atNonZeroPosition()
266 public void testEmpty_write_byteArray_atNonZeroPosition() throws IOException { in testEmpty_write_byteArray_atNonZeroPosition()
272 public void testEmpty_write_partialByteArray_atNonZeroPosition() throws IOException { in testEmpty_write_partialByteArray_atNonZeroPosition()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
DExecutionDataReaderWriterTest.java23 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/
DRealWebSocketTest.java22 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 …]

12345678910>>...226