/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 37 while ((b = in.read()) != -1) { 57 while ((count = in.read(buffer)) != -1) { 70 while ((count = in.read(buffer, 0, 5)) != -1) { 91 in.read(buffer, 0, 10); 96 in.read(null, 0, 5); 101 in.read(buffer, -1, 5); 107 in.read(buffer, 0, 5);
|
GZIPOutputStreamTest.java | 54 assertEquals(1, in.read()); 55 assertEquals(2, in.read()); 56 assertEquals(3, in.read()); 63 in.read();
|
/libcore/support/src/test/java/tests/support/ |
Support_StringReader.java | 48 * longer read from it. Only the first invocation of this method has any 112 * @return the character read or -1 if end of reader. 118 public int read() throws IOException { method in class:Support_StringReader 133 * <code>buf</code>. Returns the number of characters actually read or -1 137 * character array to store the read characters 139 * offset in buf to store the read characters 141 * maximum number of characters to read 142 * @return the number of characters read or -1 if end of reader. 148 public int read(char buf[], int offset, int count) throws IOException { method in class:Support_StringReader 160 int read = end - pos local [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
LoggingInputStream.java | 54 * Collect chars as read, and log them when EOL reached. 57 public int read() throws IOException { method in class:LoggingInputStream 58 int oneByte = super.read(); 64 * Collect chars as read, and log them when EOL reached. 67 public int read(byte[] b, int offset, int length) throws IOException { method in class:LoggingInputStream 68 int bytesRead = super.read(b, offset, length);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
Base64InputStream.java | 24 * Without the included changes, the final bytes of the input stream will be read here and thrown
28 * the remainder of the stream untouched (to be read by the Parser that created the
69 public int read() throws IOException {
method in class:Base64InputStream 93 switch (i = s.read()) {
|
ItemOperationsParser.java | 52 // Read the attachment 100 * Read the attachment data in chunks and write the data back out to our attachment file 103 * @param length the number of expected bytes we're going to read 116 final int read = inputStream.read(bytes, 0, CHUNK_SIZE); local 117 if (read < 0) { 122 // Keep track of how much we've read for progress callback 123 totalRead += read; 125 outputStream.write(bytes, 0, read); 130 // Callback only if we've read at least 1% more and have read more than CHUNK_SIZ [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpeg_reader.cpp | 117 int32_t JpegReader::read(int8_t* bytes, int32_t offset, int32_t count) { function in class:JpegReader 134 // read partial scanline and return 144 // read full scanline 154 // Scanline buffer exhausted, read next scanline 156 // Always read full scanline, no IO suspension 168 // Read all of the scanlines
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/packages/apps/Mms/src/com/android/mms/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
NullInputStream.java | 38 * reads a byte and leaves the array unchanged in the read
119 * Return the number of bytes that can be read.
121 * @return The number of bytes that can be read.
171 * Read a byte.
178 * @throws IOException if trying to read past the end of file.
180 public int read() throws IOException {
method in class:NullInputStream 182 throw new IOException("Read after end of file");
192 * Read some bytes into the specified array.
194 * @param bytes The byte array to read into
195 * @return The number of bytes read or <code>-1</code> 202 public int read(byte[] bytes) throws IOException { method in class:NullInputStream 219 public int read(byte[] bytes, int offset, int length) throws IOException { method in class:NullInputStream [all...] |
NullReader.java | 38 * reads a character and leaves the array unchanged in the read
155 * Read a character.
162 * @throws IOException if trying to read past the end of file.
164 public int read() throws IOException {
method in class:NullReader 166 throw new IOException("Read after end of file");
176 * Read some characters into the specified array.
178 * @param chars The character array to read into
179 * @return The number of characters read or <code>-1</code>
184 * @throws IOException if trying to read past the end of file.
186 public int read(char[] chars) throws IOException { method in class:NullReader 203 public int read(char[] chars, int offset, int length) throws IOException { method in class:NullReader [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
EOLConvertingInputStream.java | 60 * @param in the <code>InputStream</code> to read from.
71 * @param _in the <code>InputStream</code> to read from.
93 int b = in.read();
111 * @see java.io.InputStream#read()
113 public int read() throws IOException {
method in class:EOLConvertingInputStream
|
MimeBoundaryInputStream.java | 28 * After the stream ends (i.e. read() returns -1) {@link #hasMoreParts()}
64 * before any bytes have been read.
66 int b = read();
109 while (read() != -1) {
114 * @see java.io.InputStream#read()
116 public int read() throws IOException {
method in class:MimeBoundaryInputStream 128 int b1 = s.read();
129 int b2 = s.read();
150 int b = s.read();
165 int prev = s.read();
[all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
Base64InputStream.java | 58 public int read() throws IOException {
method in class:Base64InputStream 82 switch (i = s.read()) {
|
QuotedPrintableInputStream.java | 58 public int read() throws IOException {
method in class:QuotedPrintableInputStream 87 int i = stream.read();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
PositionInputStream.java | 44 public int read() throws IOException {
method in class:PositionInputStream 45 int b = inputStream.read();
75 public int read(byte b[]) throws IOException {
method in class:PositionInputStream 76 final int c = inputStream.read(b);
81 public int read(byte b[], int off, int len) throws IOException {
method in class:PositionInputStream 82 final int c = inputStream.read(b, off, len);
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
android_pmem.h | 46 ssize_t (*read) (struct file *, char __user *, size_t, long long *); member in struct:pmem_file_operations
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
android_pmem.h | 46 ssize_t (*read) (struct file *, char __user *, size_t, long long *); member in struct:pmem_file_operations
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
android_pmem.h | 46 ssize_t (*read) (struct file *, char __user *, size_t, long long *); member in struct:pmem_file_operations
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
android_pmem.h | 46 ssize_t (*read) (struct file *, char __user *, size_t, long long *); member in struct:pmem_file_operations
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
android_pmem.h | 46 ssize_t (*read) (struct file *, char __user *, size_t, long long *); member in struct:pmem_file_operations
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
android_pmem.h | 46 ssize_t (*read) (struct file *, char __user *, size_t, long long *); member in struct:pmem_file_operations
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
android_pmem.h | 46 ssize_t (*read) (struct file *, char __user *, size_t, long long *); member in struct:pmem_file_operations
|