Home
last modified time | relevance | path

Searched full:ioexception (Results 1 – 25 of 15389) sorted by relevance

12345678910>>...616

/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/src/org/jacoco/report/internal/html/
DHTMLElement.java15 import java.io.IOException;
38 * @throws IOException
42 throws IOException { in HTMLElement()
48 throws IOException { in HTMLElement()
53 public HTMLElement element(final String name) throws IOException { in element()
57 private void classattr(final String classattr) throws IOException { in classattr()
65 * @throws IOException
68 public HTMLElement head() throws IOException { in head()
76 * @throws IOException
79 public HTMLElement body() throws IOException { in body()
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFakeFileBackend.java28 import java.io.IOException;
41 private final @Nullable Map<OperationType, IOException> failureMap =
72 public void setFailure(OperationType type, IOException ex) { in setFailure()
120 private void throwIf(OperationType type) throws IOException { in throwIf()
121 IOException ioException; in throwIf() local
123 ioException = failureMap.get(type); in throwIf()
125 if (ioException != null) { in throwIf()
126 throw ioException; in throwIf()
130 private void suspendIf(OperationType type) throws IOException { in suspendIf()
140 throw new IOException( in suspendIf()
[all …]
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DWriter.java33 import java.io.IOException;
55 void writeSFixed32(int fieldNumber, int value) throws IOException; in writeSFixed32()
58 void writeInt64(int fieldNumber, long value) throws IOException; in writeInt64()
61 void writeSFixed64(int fieldNumber, long value) throws IOException; in writeSFixed64()
64 void writeFloat(int fieldNumber, float value) throws IOException; in writeFloat()
67 void writeDouble(int fieldNumber, double value) throws IOException; in writeDouble()
70 void writeEnum(int fieldNumber, int value) throws IOException; in writeEnum()
73 void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64()
76 void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32()
79 void writeFixed64(int fieldNumber, long value) throws IOException; in writeFixed64()
[all …]
DReader.java33 import java.io.IOException;
58 int getFieldNumber() throws IOException; in getFieldNumber()
74 boolean skipField() throws IOException; in skipField()
80 double readDouble() throws IOException; in readDouble()
86 float readFloat() throws IOException; in readFloat()
92 long readUInt64() throws IOException; in readUInt64()
98 long readInt64() throws IOException; in readInt64()
104 int readInt32() throws IOException; in readInt32()
110 long readFixed64() throws IOException; in readFixed64()
116 int readFixed32() throws IOException; in readFixed32()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DWriter.java33 import java.io.IOException;
55 void writeSFixed32(int fieldNumber, int value) throws IOException; in writeSFixed32()
58 void writeInt64(int fieldNumber, long value) throws IOException; in writeInt64()
61 void writeSFixed64(int fieldNumber, long value) throws IOException; in writeSFixed64()
64 void writeFloat(int fieldNumber, float value) throws IOException; in writeFloat()
67 void writeDouble(int fieldNumber, double value) throws IOException; in writeDouble()
70 void writeEnum(int fieldNumber, int value) throws IOException; in writeEnum()
73 void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64()
76 void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32()
79 void writeFixed64(int fieldNumber, long value) throws IOException; in writeFixed64()
[all …]
DReader.java33 import java.io.IOException;
58 int getFieldNumber() throws IOException; in getFieldNumber()
74 boolean skipField() throws IOException; in skipField()
80 double readDouble() throws IOException; in readDouble()
86 float readFloat() throws IOException; in readFloat()
92 long readUInt64() throws IOException; in readUInt64()
98 long readInt64() throws IOException; in readInt64()
104 int readInt32() throws IOException; in readInt32()
110 long readFixed64() throws IOException; in readFixed64()
116 int readFixed32() throws IOException; in readFixed32()
[all …]
/external/gson/gson/src/test/java/com/google/gson/stream/
DJsonReaderTest.java34 import java.io.IOException;
44 public void testReadArray() throws IOException { in testReadArray()
54 public void testReadEmptyArray() throws IOException { in testReadEmptyArray()
63 public void testReadObject() throws IOException { in testReadObject()
76 public void testReadEmptyObject() throws IOException { in testReadEmptyObject()
85 public void testHasNextEndOfDocument() throws IOException { in testHasNextEndOfDocument()
93 public void testSkipArray() throws IOException { in testSkipArray()
128 public void testSkipObject() throws IOException { in testSkipObject()
159 public void testSkipObjectName() throws IOException { in testSkipObjectName()
169 public void testSkipObjectNameSingleQuoted() throws IOException { in testSkipObjectNameSingleQuoted()
[all …]
/external/ksp/test-utils/testData/api/
DthrowList.kt21 // java.io.IOException,java.util.NoSuchElementException
22 // java.io.IOException,java.lang.IndexOutOfBoundsException
23 // java.io.IOException,java.util.NoSuchElementException
25 // java.io.IOException
26 // java.io.IOException,java.lang.IndexOutOfBoundsException
30 // java.io.IOException
32 // java.io.IOException
34 // java.io.IOException,java.lang.IndexOutOfBoundsException
35 // java.io.IOException
39 import java.io.IOException;
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DProxyWriter.java20 import java.io.IOException;
56 * @throws IOException if the post-processing fails
59 protected void afterWrite(final int n) throws IOException { in afterWrite()
67 * @throws IOException if an I/O error occurs.
71 public Writer append(final char c) throws IOException { in append()
76 } catch (final IOException e) { in append()
86 * @throws IOException if an I/O error occurs.
90 public Writer append(final CharSequence csq) throws IOException { in append()
96 } catch (final IOException e) { in append()
108 * @throws IOException if an I/O error occurs.
[all …]
DProxyCollectionWriter.java20 import java.io.IOException;
65 * @throws IOException if the post-processing fails
68 protected void afterWrite(final int n) throws IOException { in afterWrite()
77 * @throws IOException if an I/O error occurs.
82 public Writer append(final char c) throws IOException { in append()
87 } catch (final IOException e) { in append()
98 * @throws IOException if an I/O error occurs.
102 public Writer append(final CharSequence csq) throws IOException { in append()
108 } catch (final IOException e) { in append()
121 * @throws IOException if an I/O error occurs.
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DXMLElementTest.java18 import java.io.IOException;
35 public void setup() throws IOException { in setup()
41 public void init_should_write_doctype_when_given() throws IOException { in init_should_write_doctype_when_given()
50 public void init_should_write_standalone_when_given() throws IOException { in init_should_write_standalone_when_given()
59 throws IOException { in close_should_emit_empty_element_when_no_children_exist()
64 public void close_should_be_allowed_multiple_times() throws IOException { in close_should_be_allowed_multiple_times()
70 @Test(expected = IOException.class)
71 public void attr_should_throw_exception_when_closed() throws IOException { in attr_should_throw_exception_when_closed()
76 @Test(expected = IOException.class)
78 throws IOException { in element_should_throw_exception_when_closed()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java30 import java.io.IOException;
56 public void testNoExceptionsThrown() throws IOException { in testNoExceptionsThrown()
76 public void testExceptionThrown_fromTryBlock() throws IOException { in testExceptionThrown_fromTryBlock()
82 IOException exception = new IOException(); in testExceptionThrown_fromTryBlock()
102 public void testExceptionThrown_whenCreatingCloseables() throws IOException { in testExceptionThrown_whenCreatingCloseables()
119 assertThat(expected).isInstanceOf(IOException.class); in testExceptionThrown_whenCreatingCloseables()
129 public void testExceptionThrown_whileClosingLastCloseable() throws IOException { in testExceptionThrown_whileClosingLastCloseable()
132 IOException exception = new IOException(); in testExceptionThrown_whileClosingLastCloseable()
150 public void testExceptionThrown_whileClosingFirstCloseable() throws IOException { in testExceptionThrown_whileClosingFirstCloseable()
153 IOException exception = new IOException(); in testExceptionThrown_whileClosingFirstCloseable()
[all …]
/external/guava/android/guava-tests/test/com/google/common/io/
DCloserTest.java30 import java.io.IOException;
56 public void testNoExceptionsThrown() throws IOException { in testNoExceptionsThrown()
76 public void testExceptionThrown_fromTryBlock() throws IOException { in testExceptionThrown_fromTryBlock()
82 IOException exception = new IOException(); in testExceptionThrown_fromTryBlock()
102 public void testExceptionThrown_whenCreatingCloseables() throws IOException { in testExceptionThrown_whenCreatingCloseables()
119 assertThat(expected).isInstanceOf(IOException.class); in testExceptionThrown_whenCreatingCloseables()
129 public void testExceptionThrown_whileClosingLastCloseable() throws IOException { in testExceptionThrown_whileClosingLastCloseable()
132 IOException exception = new IOException(); in testExceptionThrown_whileClosingLastCloseable()
150 public void testExceptionThrown_whileClosingFirstCloseable() throws IOException { in testExceptionThrown_whileClosingFirstCloseable()
153 IOException exception = new IOException(); in testExceptionThrown_whileClosingFirstCloseable()
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DObservableInputStream.java21 import java.io.IOException;
54 * @throws IOException if an I/O error occurs.
57 public void closed() throws IOException { in closed()
68 * @throws IOException if an I/O error occurs.
71 … public void data(final byte[] buffer, final int offset, final int length) throws IOException { in data()
81 * @throws IOException if an I/O error occurs.
84 public void data(final int value) throws IOException { in data()
92 * @throws IOException if an I/O error occurs.
94 public void error(final IOException exception) throws IOException { in error()
102 * @throws IOException if an I/O error occurs.
[all …]
DProxyReader.java22 import java.io.IOException;
65 * @throws IOException if the post-processing fails
68 protected void afterRead(final int n) throws IOException { in afterRead()
88 * @throws IOException if the pre-processing fails
91 protected void beforeRead(final int n) throws IOException { in beforeRead()
97 * @throws IOException if an I/O error occurs.
100 public void close() throws IOException { in close()
103 } catch (final IOException e) { in close()
113 * @param e The IOException thrown
114 * @throws IOException if an I/O error occurs.
[all …]
DSwappedDataInputStream.java23 import java.io.IOException;
50 * @throws IOException if an I/O error occurs.
54 public boolean readBoolean() throws IOException, EOFException { in readBoolean()
62 * @throws IOException if an I/O error occurs.
66 public byte readByte() throws IOException, EOFException { in readByte()
74 * @throws IOException if an I/O error occurs.
78 public char readChar() throws IOException, EOFException { in readChar()
86 * @throws IOException if an I/O error occurs.
90 public double readDouble() throws IOException, EOFException { in readDouble()
98 * @throws IOException if an I/O error occurs.
[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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHttp2.java19 import java.io.IOException;
102 @Override public void readConnectionPreface() throws IOException { in readConnectionPreface()
107 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); in readConnectionPreface()
111 @Override public boolean nextFrame(Handler handler) throws IOException { in nextFrame()
114 } catch (IOException e) { in nextFrame()
132 throw ioException("FRAME_SIZE_ERROR: %s", length); in nextFrame()
184 throws IOException { in readHeaders()
185 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"); in readHeaders()
204 throws IOException { in readHeaderBlock()
217 throws IOException { in readData()
[all …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
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/okhttp/okio/okio/src/main/java/okio/
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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DExceptionDeserializationTest.java3 import java.io.IOException;
56 public void testIOException() throws IOException in testIOException()
58 IOException ioe = new IOException("TEST"); in testIOException()
60 IOException result = MAPPER.readValue(json, IOException.class); in testIOException()
64 public void testWithCreator() throws IOException in testWithCreator()
76 public void testWithNullMessage() throws IOException in testWithNullMessage()
80 String json = mapper.writeValueAsString(new IOException((String) null)); in testWithNullMessage()
81 IOException result = mapper.readValue(json, IOException.class); in testWithNullMessage()
86 public void testNoArgsException() throws IOException in testNoArgsException()
93 public void testJDK7SuppressionProperty() throws IOException in testJDK7SuppressionProperty()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
DExecutionDataReaderWriterTest.java24 import java.io.IOException;
50 public void setup() throws IOException { in setup()
58 public void testEmpty() throws IOException { in testEmpty()
74 public void testFlush() throws IOException { in testFlush()
78 public void write(int b) throws IOException { in testFlush()
82 public void flush() throws IOException { in testFlush()
91 public void testCustomBlocks() throws IOException { in testCustomBlocks()
98 protected boolean readBlock(byte blocktype) throws IOException { in testCustomBlocks()
124 public void testMultipleHeaders() throws IOException { in testMultipleHeaders()
131 @Test(expected = IOException.class)
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/
DHTMLElementTest.java18 import java.io.IOException;
37 public void setup() throws IOException { in setup()
51 public void head_should_create_head_tag() throws IOException { in head_should_create_head_tag()
58 throws IOException { in meta_should_create_meta_tag_with_attributes()
64 public void body_should_create_body_tag() throws IOException { in body_should_create_body_tag()
71 throws IOException { in link_should_create_link_tag_with_attributes()
78 public void title_should_create_title_tag() throws IOException { in title_should_create_title_tag()
84 public void h1_should_create_h1_tag() throws IOException { in h1_should_create_h1_tag()
90 public void p_should_create_p_tag() throws IOException { in p_should_create_p_tag()
96 public void span_should_create_span_tag() throws IOException { in span_should_create_span_tag()
[all …]

12345678910>>...616