Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 90) sorted by relevance

1234

/packages/apps/Email/src/com/android/email/
DPeekableInputStream.java37 public int read() throws IOException { in read() method in PeekableInputStream
39 return mIn.read(); in read()
48 mPeekedByte = read(); in peek()
55 public int read(byte[] b, int offset, int length) throws IOException { in read() method in PeekableInputStream
57 return mIn.read(b, offset, length); in read()
61 int r = mIn.read(b, offset + 1, length - 1); in read()
71 public int read(byte[] b) throws IOException { in read() method in PeekableInputStream
72 return read(b, 0, b.length); in read()
DFixedLengthInputStream.java43 public int read() throws IOException { in read() method in FixedLengthInputStream
46 return mIn.read(); in read()
53 public int read(byte[] b, int offset, int length) throws IOException { in read() method in FixedLengthInputStream
55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); in read()
68 public int read(byte[] b) throws IOException { in read() method in FixedLengthInputStream
69 return read(b, 0, b.length); in read()
/packages/apps/Email/src/org/apache/james/mime4j/
DMimeBoundaryInputStream.java66 int b = read(); in MimeBoundaryInputStream()
109 while (read() != -1) { in consume()
116 public int read() throws IOException { in read() method in MimeBoundaryInputStream
128 int b1 = s.read(); in read()
129 int b2 = s.read(); in read()
150 int b = s.read(); in matchBoundary()
165 int prev = s.read(); in matchBoundary()
166 int curr = s.read(); in matchBoundary()
173 } while ((curr = s.read()) != -1); in matchBoundary()
DRootInputStream.java73 public int read() throws IOException { in read() method in RootInputStream
78 int b = is.read(); in read()
90 public int read(byte[] b, int off, int len) throws IOException { in read() method in RootInputStream
95 int n = is.read(b, off, len); in read()
108 public int read(byte[] b) throws IOException { in read() method in RootInputStream
109 return read(b, 0, b.length); in read()
DCloseShieldInputStream.java50 public int read() throws IOException { in read() method in CloseShieldInputStream
52 return is.read(); in read()
107 public int read(byte b[]) throws IOException { in read() method in CloseShieldInputStream
109 return is.read(b); in read()
115 public int read(byte b[], int off, int len) throws IOException { in read() method in CloseShieldInputStream
117 return is.read(b, off, len); in read()
DEOLConvertingInputStream.java83 public int read() throws IOException { in read() method in EOLConvertingInputStream
84 int b = in.read(); in read()
91 int c = in.read(); in read()
/packages/apps/Email/src/org/apache/commons/io/
DEndianUtils.java301 return (short)( ( ( read( input ) & 0xff ) << 0 ) + in readSwappedShort()
302 ( ( read( input ) & 0xff ) << 8 ) ); in readSwappedShort()
315 int value1 = read( input ); in readSwappedUnsignedShort()
316 int value2 = read( input ); in readSwappedUnsignedShort()
348 int value1 = read( input ); in readSwappedInteger()
349 int value2 = read( input ); in readSwappedInteger()
350 int value3 = read( input ); in readSwappedInteger()
351 int value4 = read( input ); in readSwappedInteger()
369 int value1 = read( input ); in readSwappedUnsignedInteger()
370 int value2 = read( input ); in readSwappedUnsignedInteger()
[all …]
DIOUtils.java1025 while (-1 != (n = input.read(buffer))) { in copyLarge()
1128 while (-1 != (n = input.read(buffer))) { in copyLarge()
1224 int ch = input1.read(); in contentEquals()
1226 int ch2 = input2.read(); in contentEquals()
1230 ch = input1.read(); in contentEquals()
1233 int ch2 = input2.read(); in contentEquals()
1261 int ch = input1.read(); in contentEquals()
1263 int ch2 = input2.read(); in contentEquals()
1267 ch = input1.read(); in contentEquals()
1270 int ch2 = input2.read(); in contentEquals()
/packages/apps/Email/src/org/apache/commons/io/input/
DAutoCloseInputStream.java74 public int read() throws IOException { in read() method in AutoCloseInputStream
75 int n = in.read(); in read()
91 public int read(byte[] b) throws IOException { in read() method in AutoCloseInputStream
92 int n = in.read(b); in read()
110 public int read(byte[] b, int off, int len) throws IOException { in read() method in AutoCloseInputStream
111 int n = in.read(b, off, len); in read()
DProxyInputStream.java52 public int read() throws IOException { in read() method in ProxyInputStream
53 return in.read(); in read()
62 public int read(byte[] bts) throws IOException { in read() method in ProxyInputStream
63 return in.read(bts); in read()
74 public int read(byte[] bts, int st, int end) throws IOException { in read() method in ProxyInputStream
75 return in.read(bts, st, end); in read()
DProxyReader.java52 public int read() throws IOException { in read() method in ProxyReader
53 return in.read(); in read()
62 public int read(char[] chr) throws IOException { in read() method in ProxyReader
63 return in.read(chr); in read()
74 public int read(char[] chr, int st, int end) throws IOException { in read() method in ProxyReader
75 return in.read(chr, st, end); in read()
DCountingInputStream.java56 public int read(byte[] b) throws IOException { in read() method in CountingInputStream
57 int found = super.read(b); in read()
73 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountingInputStream
74 int found = super.read(b, off, len); in read()
87 public int read() throws IOException { in read() method in CountingInputStream
88 int found = super.read(); in read()
DTeeInputStream.java105 public int read() throws IOException { in read() method in TeeInputStream
106 int ch = super.read(); in read()
123 public int read(byte[] bts, int st, int end) throws IOException { in read() method in TeeInputStream
124 int n = super.read(bts, st, end); in read()
139 public int read(byte[] bts) throws IOException { in read() method in TeeInputStream
140 int n = super.read(bts); in read()
DNullReader.java164 public int read() throws IOException { in read() method in NullReader
186 public int read(char[] chars) throws IOException { in read() method in NullReader
187 return read(chars, 0, chars.length); in read()
203 public int read(char[] chars, int offset, int length) throws IOException { in read() method in NullReader
DNullInputStream.java180 public int read() throws IOException { in read() method in NullInputStream
202 public int read(byte[] bytes) throws IOException { in read() method in NullInputStream
203 return read(bytes, 0, bytes.length); in read()
219 public int read(byte[] bytes, int offset, int length) throws IOException { in read() method in NullInputStream
DCharSequenceReader.java78 public int read() { in read() method in CharSequenceReader
95 public int read(char[] array, int offset, int length) { in read() method in CharSequenceReader
108 int c = read(); in read()
DSwappedDataInputStream.java71 return (byte)in.read(); in readByte()
141 int count = read( data, location, remaining ); in readFully()
210 return in.read(); in readUnsignedByte()
DDemuxInputStream.java68 public int read() in read() method in DemuxInputStream
74 return input.read(); in read()
/packages/apps/Email/src/org/apache/james/mime4j/util/
DPartialInputStream.java39 public int read() throws IOException { in read() method in PartialInputStream
41 return super.read(); in read()
46 public int read(byte b[]) throws IOException { in read() method in PartialInputStream
47 return read(b, 0, b.length); in read()
50 public int read(byte b[], int off, int len) throws IOException { in read() method in PartialInputStream
52 …return super.read(b, off, len); //To change body of overridden methods use File | Settings | Fi… in read()
DPositionInputStream.java44 public int read() throws IOException { in read() method in PositionInputStream
45 int b = inputStream.read(); in read()
75 public int read(byte b[]) throws IOException { in read() method in PositionInputStream
76 final int c = inputStream.read(b); in read()
81 public int read(byte b[], int off, int len) throws IOException { in read() method in PositionInputStream
82 final int c = inputStream.read(b, off, len); in read()
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapMemoryLiteral.java41 int read = in.read(mData, pos, mData.length - pos); in ImapMemoryLiteral() local
42 if (read < 0) { in ImapMemoryLiteral()
45 pos += read; in ImapMemoryLiteral()
/packages/apps/Email/src/com/android/email/mail/transport/
DLoggingInputStream.java59 public int read() throws IOException { in read() method in LoggingInputStream
60 int oneByte = super.read(); in read()
69 public int read(byte[] b, int offset, int length) throws IOException { in read() method in LoggingInputStream
70 int bytesRead = super.read(b, offset, length); in read()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DRecognizerLogger.java224 public int read(byte[] b, int offset, int length) throws IOException { in logInputStream() method in RecognizerLogger
225 int rtn = inputStream.read(b, offset, length); in logInputStream()
230 public int read(byte[] b) throws IOException { in logInputStream() method in RecognizerLogger
231 int rtn = inputStream.read(b); in logInputStream()
236 public int read() throws IOException { in logInputStream() method in RecognizerLogger
237 int rtn = inputStream.read(); in logInputStream()
/packages/apps/Email/src/com/android/exchange/adapter/
DParser.java443 private int read() throws IOException { in read() method in Parser
445 i = in.read(); in read()
454 nextId = read(); in nextId()
460 int i = read(); in readByte()
513 int i = read(); in readInlineString()
/packages/apps/Email/src/org/apache/james/mime4j/decoder/
DBase64InputStream.java58 public int read() throws IOException { in read() method in Base64InputStream
82 switch (i = s.read()) { in fillBuffer()

1234