Home
last modified time | relevance | path

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

123456789

/packages/apps/UnifiedEmail/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.java1028 while (-1 != (n = input.read(buffer))) { in copyLarge()
1131 while (-1 != (n = input.read(buffer))) { in copyLarge()
1227 int ch = input1.read(); in contentEquals()
1229 int ch2 = input2.read(); in contentEquals()
1233 ch = input1.read(); in contentEquals()
1236 int ch2 = input2.read(); in contentEquals()
1264 int ch = input1.read(); in contentEquals()
1266 int ch2 = input2.read(); in contentEquals()
1270 ch = input1.read(); in contentEquals()
1273 int ch2 = input2.read(); in contentEquals()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DCachedInputStream.java94 public int read() throws IOException { in read() method in CachedInputStream
96 int r = read(tmp, 0, 1); in read()
133 public int read(byte[] buffer, int offset, int count) throws IOException { in read() method in CachedInputStream
138 int reads = in.read(buffer, offset, count); in read()
158 int reads = in.read(buf, indexInBuf, toRead); in read()
167 reads = in.read(buffer, offset, count); in read()
183 private int copyMarkedBuffer(byte[] buffer, int offset, int read) { in copyMarkedBuffer() argument
185 while (read > 0 && mPos < mCount) { in copyMarkedBuffer()
194 int toRead = read > leftInBuffer ? leftInBuffer : read; in copyMarkedBuffer()
197 read -= toRead; in copyMarkedBuffer()
[all …]
/packages/apps/UnifiedEmail/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()
/packages/apps/Email/provider_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/UnifiedEmail/src/com/android/mail/providers/
DConversation.java85 public boolean read; field in Conversation
186 dest.writeInt(read ? 1 : 0); in writeToParcel()
212 read = (in.readInt() != 0); in Conversation()
288 read = cursor.getInt(UIProvider.CONVERSATION_READ_COLUMN) != 0; in Conversation()
327 read = other.read; in Conversation()
350 int sendingState, int priority, boolean read, in Conversation() argument
366 this.read = read; in Conversation()
448 public Builder setRead(boolean read) { in setRead() argument
449 mRead = read; in setRead()
617 read = (Integer) val != 0; in applyCachedValues()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationViewState.java72 return (mvs != null && !mvs.read); in isUnread()
75 public void setReadState(Message m, boolean read) { in setReadState() argument
80 mvs.read = read; in setReadState()
136 if (mvs != null && !mvs.read) { in getUnreadMessageUris()
196 public boolean read; field in ConversationViewState.MessageViewState
213 dest.writeInt(read ? 1 : 0); in writeToParcel()
219 read = (source.readInt() != 0); in MessageViewState()
/packages/apps/Mms/src/com/android/mms/exif/
DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream
45 int r = in.read(b); in read()
51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream
52 int r = in.read(b, off, len); in read()
58 public int read() throws IOException { in read() method in CountedDataInputStream
59 int r = in.read(); in read()
83 int r = read(b, off, len); in readOrThrow()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream
45 int r = in.read(b); in read()
51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream
52 int r = in.read(b, off, len); in read()
58 public int read() throws IOException { in read() method in CountedDataInputStream
59 int r = in.read(); in read()
83 int r = read(b, off, len); in readOrThrow()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream
45 int r = in.read(b); in read()
51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream
52 int r = in.read(b, off, len); in read()
58 public int read() throws IOException { in read() method in CountedDataInputStream
59 int r = in.read(); in read()
83 int r = read(b, off, len); in readOrThrow()
/packages/apps/Camera2/src/com/android/camera/exif/
DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream
45 int r = in.read(b); in read()
51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream
52 int r = in.read(b, off, len); in read()
58 public int read() throws IOException { in read() method in CountedDataInputStream
59 int r = in.read(); in read()
83 int r = read(b, off, len); in readOrThrow()
/packages/experimental/SELinux/CTS/src/
DSELinux_CTS.py21 c = file_obj.read(1)
23 c = file_obj.read(1)
32 c = file_obj.read(1)
41 c = file_obj.read(1)
205 c = file_obj.read(1)
213 c = file_obj.read(1)
234 file_obj.read(1) #move to next char
282 inherit_keyword = file_obj.read(8)
479 file_obj.read(1)
/packages/apps/Camera2/src/com/android/camera/util/
DXmpUtil.java340 if (is.read() != 0xff || is.read() != M_SOI) { in parse()
345 while ((c = is.read()) != -1) { in parse()
350 while ((c = is.read()) == 0xff) { in parse()
364 is.read(section.data, 0, section.data.length); in parse()
369 int lh = is.read(); in parse()
370 int ll = is.read(); in parse()
380 is.read(section.data, 0, length - 2); in parse()
/packages/apps/UnifiedEmail/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()
/packages/apps/UnifiedEmail/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/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewModel.java156 header.unread = !conv.read; in forConversation()
195 List<Folder> rawFolders, boolean starred, boolean read, int priority, in getHashCode() argument
200 return Objects.hashCode(convInfo, dateText, rawFolders, starred, read, priority, in getHashCode()
217 conversation.read, conversation.priority, conversation.sendingState); in validate()
227 conversation.read, conversation.priority, conversation.sendingState); in isDataValid()
261 if (conversation.read) { in getContentDescription()
292 conversation.read ? R.string.read_string : R.string.unread_string); in getContentDescription()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DParser.java387 read(); in resetInput()
456 int id = read(); in getNext()
467 id = read(); in getNext()
523 private int read() throws IOException { in read() method in Parser
525 i = in.read(); in read()
534 int i = read(); in readByte()
572 final int i = read(); in readInlineString()

123456789