Home
last modified time | relevance | path

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

12345678910>>...25

/third_party/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 …]
DCodedInputStream.java42 import java.io.IOException;
207 public abstract int readTag() throws IOException; in readTag()
225 public abstract boolean skipField(final int tag) throws IOException; in skipField()
237 throws IOException; in skipField()
243 public abstract void skipMessage() throws IOException; in skipMessage()
249 public abstract void skipMessage(CodedOutputStream output) throws IOException; in skipMessage()
255 public abstract double readDouble() throws IOException; in readDouble()
258 public abstract float readFloat() throws IOException; in readFloat()
261 public abstract long readUInt64() throws IOException; in readUInt64()
264 public abstract long readInt64() throws IOException; in readInt64()
[all …]
DCodedOutputStreamWriter.java36 import java.io.IOException;
68 public void writeSFixed32(int fieldNumber, int value) throws IOException { in writeSFixed32()
73 public void writeInt64(int fieldNumber, long value) throws IOException { in writeInt64()
78 public void writeSFixed64(int fieldNumber, long value) throws IOException { in writeSFixed64()
83 public void writeFloat(int fieldNumber, float value) throws IOException { in writeFloat()
88 public void writeDouble(int fieldNumber, double value) throws IOException { in writeDouble()
93 public void writeEnum(int fieldNumber, int value) throws IOException { in writeEnum()
98 public void writeUInt64(int fieldNumber, long value) throws IOException { in writeUInt64()
103 public void writeInt32(int fieldNumber, int value) throws IOException { in writeInt32()
108 public void writeFixed64(int fieldNumber, long value) throws IOException { in writeFixed64()
[all …]
DBinaryReader.java42 import java.io.IOException;
117 public int getFieldNumber() throws IOException { in getFieldNumber()
134 public boolean skipField() throws IOException { in skipField()
161 public double readDouble() throws IOException { in readDouble()
167 public float readFloat() throws IOException { in readFloat()
173 public long readUInt64() throws IOException { in readUInt64()
179 public long readInt64() throws IOException { in readInt64()
185 public int readInt32() throws IOException { in readInt32()
191 public long readFixed64() throws IOException { in readFixed64()
197 public int readFixed32() throws IOException { in readFixed32()
[all …]
DCodedInputStreamReader.java42 import java.io.IOException;
76 public int getFieldNumber() throws IOException { in getFieldNumber()
95 public boolean skipField() throws IOException { in skipField()
102 private void requireWireType(int requiredWireType) throws IOException { in requireWireType()
109 public double readDouble() throws IOException { in readDouble()
115 public float readFloat() throws IOException { in readFloat()
121 public long readUInt64() throws IOException { in readUInt64()
127 public long readInt64() throws IOException { in readInt64()
133 public int readInt32() throws IOException { in readInt32()
139 public long readFixed64() throws IOException { in readFixed64()
[all …]
DMessageLite.java36 import java.io.IOException;
71 void writeTo(CodedOutputStream output) throws IOException; in writeTo()
108 void writeTo(OutputStream output) throws IOException; in writeTo()
117 void writeDelimitedTo(OutputStream output) throws IOException; in writeDelimitedTo()
178 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom()
186 throws IOException; in mergeFrom()
254 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom()
264 throws IOException; in mergeFrom()
292 boolean mergeDelimitedFrom(InputStream input) throws IOException; in mergeDelimitedFrom()
296 throws IOException; in mergeDelimitedFrom()
DAbstractMessageLite.java36 import java.io.IOException;
61 } catch (IOException e) { in toByteString()
74 } catch (IOException e) { in toByteArray()
80 public void writeTo(final OutputStream output) throws IOException { in writeTo()
88 public void writeDelimitedTo(final OutputStream output) throws IOException { in writeDelimitedTo()
172 public BuilderType mergeFrom(final CodedInputStream input) throws IOException { in mergeFrom()
180 throws IOException; in mergeFrom()
191 } catch (IOException e) { in mergeFrom()
207 } catch (IOException e) { in mergeFrom()
227 } catch (IOException e) { in mergeFrom()
[all …]
DSchemaUtil.java36 import java.io.IOException;
70 public static void writeDouble(int fieldNumber, double value, Writer writer) throws IOException { in writeDouble()
76 public static void writeFloat(int fieldNumber, float value, Writer writer) throws IOException { in writeFloat()
82 public static void writeInt64(int fieldNumber, long value, Writer writer) throws IOException { in writeInt64()
88 public static void writeUInt64(int fieldNumber, long value, Writer writer) throws IOException { in writeUInt64()
94 public static void writeSInt64(int fieldNumber, long value, Writer writer) throws IOException { in writeSInt64()
100 public static void writeFixed64(int fieldNumber, long value, Writer writer) throws IOException { in writeFixed64()
106 public static void writeSFixed64(int fieldNumber, long value, Writer writer) throws IOException { in writeSFixed64()
112 public static void writeInt32(int fieldNumber, int value, Writer writer) throws IOException { in writeInt32()
118 public static void writeUInt32(int fieldNumber, int value, Writer writer) throws IOException { in writeUInt32()
[all …]
DInvalidProtocolBufferException.java33 import java.io.IOException;
41 public class InvalidProtocolBufferException extends IOException {
49 public InvalidProtocolBufferException(IOException e) { in InvalidProtocolBufferException()
53 public InvalidProtocolBufferException(final String description, IOException e) { in InvalidProtocolBufferException()
79 public IOException unwrapIOException() { in unwrapIOException()
80 return getCause() instanceof IOException ? (IOException) getCause() : this; in unwrapIOException()
DByteOutput.java33 import java.io.IOException;
57 public abstract void write(byte value) throws IOException; in write()
72 public abstract void write(byte[] value, int offset, int length) throws IOException; in write()
87 public abstract void writeLazy(byte[] value, int offset, int length) throws IOException; in writeLazy()
101 public abstract void write(ByteBuffer value) throws IOException; in write()
115 public abstract void writeLazy(ByteBuffer value) throws IOException; in writeLazy()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/conversion/eot/
DGlyfEncoderTest.java22 import java.io.IOException;
36 public void test255UShort1() throws IOException { in test255UShort1()
44 public void test255UShort2() throws IOException { in test255UShort2()
52 public void test255UShort3() throws IOException { in test255UShort3()
60 public void test255UShort4() throws IOException { in test255UShort4()
68 public void test255Short1() throws IOException { in test255Short1()
76 public void test255Short2() throws IOException { in test255Short2()
84 public void test255Short3() throws IOException { in test255Short3()
92 public void test255Short4() throws IOException { in test255Short4()
100 public void test255Short5() throws IOException { in test255Short5()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DFontInputStream.java20 import java.io.IOException;
115 public int read() throws IOException { in read()
127 public int read(byte[] b, int off, int len) throws IOException { in read()
138 public int read(byte[] b) throws IOException { in read()
157 public int readChar() throws IOException { in readChar()
167 public int readUShort() throws IOException { in readUShort()
177 public int readShort() throws IOException { in readShort()
187 public int readUInt24() throws IOException { in readUInt24()
197 public long readULong() throws IOException { in readULong()
209 public int readULongAsInt() throws IOException { in readULongAsInt()
[all …]
DFontOutputStream.java19 import java.io.IOException;
110 public void write(int b) throws IOException { in write()
116 public void write(byte[] b) throws IOException { in write()
121 public void write(byte[] b, int off, int len) throws IOException { in write()
135 public void writeChar(byte c) throws IOException { in writeChar()
145 public void writeUShort(int us) throws IOException { in writeUShort()
156 public void writeShort(int s) throws IOException { in writeShort()
166 public void writeUInt24(int ui) throws IOException { in writeUInt24()
178 public void writeULong(long ul) throws IOException { in writeULong()
191 public void writeLong(long l) throws IOException { in writeLong()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DParseExceptionsTest.java42 import java.io.IOException;
61 DescriptorProto parse(InputStream in) throws IOException; in parse()
74 } catch (IOException e) { in setupDelimited()
86 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStream()
98 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStreamAndExtensionRegistry()
110 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStream()
122 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStreamAndExtensionRegistry()
135 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStream()
147 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStreamAndExtensionRegistry()
159 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStream()
[all …]
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/
DBrotliOutputStream.java9 import java.io.IOException;
30 throws IOException { in BrotliOutputStream()
35 throws IOException { in BrotliOutputStream()
39 public BrotliOutputStream(OutputStream destination) throws IOException { in BrotliOutputStream()
44 public void close() throws IOException { in close()
49 public void flush() throws IOException { in flush()
51 throw new IOException("write after close"); in flush()
57 public void write(int b) throws IOException { in write()
59 throw new IOException("write after close"); in write()
68 public void write(byte[] b) throws IOException { in write()
[all …]
DEncoder.java9 import java.io.IOException;
70 throws IOException { in Encoder()
82 private void fail(String message) throws IOException { in fail()
85 } catch (IOException ex) { in fail()
88 throw new IOException(message); in fail()
95 boolean pushOutput(boolean force) throws IOException { in pushOutput()
112 boolean encode(EncoderJNI.Operation op) throws IOException { in encode()
139 void flush() throws IOException { in flush()
143 void close() throws IOException { in close()
159 public static byte[] compress(byte[] data, Parameters params) throws IOException { in compress()
[all …]
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
DBrotliInputStream.java9 import java.io.IOException;
29 throws IOException { in BrotliInputStream()
33 public BrotliInputStream(InputStream source) throws IOException { in BrotliInputStream()
42 public void close() throws IOException { in close()
52 public int read() throws IOException { in read()
54 throw new IOException("read after close"); in read()
72 public int read(byte[] b) throws IOException { in read()
77 public int read(byte[] b, int off, int len) throws IOException { in read()
79 throw new IOException("read after close"); in read()
99 public long skip(long n) throws IOException { in skip()
[all …]
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/buildtools/
DGenerateTimeZonesMapDataTest.java25 import java.io.IOException;
41 private static SortedMap<Integer, String> parseTextFileHelper(String input) throws IOException { in parseTextFileHelper()
45 public void testParseTextFile() throws IOException { in testParseTextFile()
52 public void testParseTextFileIgnoresComments() throws IOException { in testParseTextFileIgnoresComments()
59 public void testParseTextFileIgnoresBlankLines() throws IOException { in testParseTextFileIgnoresBlankLines()
66 public void testParseTextFileIgnoresTrailingWhitespaces() throws IOException { in testParseTextFileIgnoresTrailingWhitespaces()
74 public void testParseTextFileThrowsExceptionWithMalformattedData() throws IOException { in testParseTextFileThrowsExceptionWithMalformattedData()
83 public void testParseTextFileThrowsExceptionWithMissingTimeZone() throws IOException { in testParseTextFileThrowsExceptionWithMissingTimeZone()
94 private static String convertDataHelper(String input) throws IOException { in convertDataHelper()
109 public void testConvertData() throws IOException { in testConvertData()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFontFactory.java25 import java.io.IOException;
127 public Font[] loadFonts(InputStream is) throws IOException { in loadFonts()
148 public Builder[] loadFontsForBuilding(InputStream is) throws IOException { in loadFontsForBuilding()
157 private Font loadSingleOTF(InputStream is) throws IOException { in loadSingleOTF()
161 private Font[] loadCollection(InputStream is) throws IOException { in loadCollection()
170 private Font.Builder loadSingleOTFForBuilding(InputStream is) throws IOException { in loadSingleOTFForBuilding()
176 throw new IOException("Unable to get requested message digest algorithm.", e); in loadSingleOTFForBuilding()
188 private Font.Builder[] loadCollectionForBuilding(InputStream is) throws IOException { in loadCollectionForBuilding()
195 static private boolean isCollection(PushbackInputStream pbis) throws IOException { in isCollection()
215 public Font[] loadFonts(byte[] b) throws IOException { in loadFonts()
[all …]
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DDecodeTest.java13 import java.io.IOException;
32 private byte[] decompress(byte[] data, boolean byByte) throws IOException { in decompress()
60 private void checkDecodeResource(String expected, String compressed) throws IOException { in checkDecodeResource()
70 public void testEmpty() throws IOException { in testEmpty()
77 public void testX() throws IOException { in testX()
84 public void testX10Y10() throws IOException { in testX10Y10()
91 public void testX64() throws IOException { in testX64()
98 public void testUkkonooa() throws IOException { in testUkkonooa()
109 public void testMonkey() throws IOException { in testMonkey()
145 public void testFox() throws IOException { in testFox()
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java23 import java.io.IOException;
45 throws ParserConfigurationException, SAXException, IOException { in parseXmlString()
105 throws ParserConfigurationException, SAXException, IOException { in testGetNationalPrefix()
113 throws ParserConfigurationException, SAXException, IOException { in testLoadTerritoryTagMetadata()
137 throws ParserConfigurationException, SAXException, IOException { in testLoadTerritoryTagMetadataSetsBooleanFieldsToFalseByDefault()
147 throws ParserConfigurationException, SAXException, IOException { in testLoadTerritoryTagMetadataSetsNationalPrefixForParsingByDefault()
158 throws ParserConfigurationException, SAXException, IOException { in testLoadTerritoryTagMetadataWithRequiredAttributesOnly()
167 throws ParserConfigurationException, SAXException, IOException { in testLoadInternationalFormat()
180 throws ParserConfigurationException, SAXException, IOException { in testLoadInternationalFormatWithBothNationalAndIntlFormatsDefined()
194 throws ParserConfigurationException, SAXException, IOException { in testLoadInternationalFormatExpectsOnlyOnePattern()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/
DByteArrayTableBuilder.java22 import java.io.IOException;
61 public int byteValue(int index) throws IOException { in byteValue()
64 throw new IOException("No font data for the table."); in byteValue()
77 public void setByteValue(int index, byte b) throws IOException { in setByteValue()
80 throw new IOException("No font data for the table."); in setByteValue()
92 public int byteCount() throws IOException { in byteCount()
95 throw new IOException("No font data for the table."); in byteCount()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/model/
DAltFormatsSchemaTest.java24 import java.io.IOException;
39 public void testSimple_export() throws IOException { in testSimple_export()
50 public void testSimple_import() throws IOException { in testSimple_import()
60 public void testEscapedText_export() throws IOException { in testEscapedText_export()
71 public void testEscapedText_import() throws IOException { in testEscapedText_import()
81 public void testRetainsExplicitOrdering() throws IOException { in testRetainsExplicitOrdering()
99 private static List<String> exportCsv(AltFormatSpec... altFormats) throws IOException { in exportCsv()
108 throws IOException { in importCsv()

12345678910>>...25