HomeSort by relevance Sort by last modified time
    Searched defs:read (Results 326 - 350 of 2562) sorted by null

<<11121314151617181920>>

  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
TeeInputStream.java 24 * InputStream proxy that transparently writes a copy of all bytes read
40 * The output stream that will receive a copy of all bytes read from the
53 * and copies all read bytes to the given {@link OutputStream}. The given
57 * @param branch output stream that will receive a copy of all bytes read
65 * and copies all read bytes to the given {@link OutputStream}. The given
70 * @param branch output stream that will receive a copy of all bytes read
103 * @throws IOException if the stream could not be read (or written)
105 public int read() throws IOException { method in class:TeeInputStream
106 int ch = super.read();
114 * Reads bytes from the proxied input stream and writes the read byte
123 public int read(byte[] bts, int st, int end) throws IOException { method in class:TeeInputStream
139 public int read(byte[] bts) throws IOException { method in class:TeeInputStream
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
CloseShieldInputStream.java 48 * @see java.io.InputStream#read()
50 public int read() throws IOException { method in class:CloseShieldInputStream
52 return is.read();
105 * @see java.io.FilterInputStream#read(byte[])
107 public int read(byte b[]) throws IOException { method in class:CloseShieldInputStream
109 return is.read(b);
113 * @see java.io.FilterInputStream#read(byte[], int, int)
115 public int read(byte b[], int off, int len) throws IOException { method in class:CloseShieldInputStream
117 return is.read(b, off, len);
  /packages/services/Telephony/src/org/apache/james/mime4j/
CloseShieldInputStream.java 48 * @see java.io.InputStream#read()
50 public int read() throws IOException { method in class:CloseShieldInputStream
52 return is.read();
105 * @see java.io.FilterInputStream#read(byte[])
107 public int read(byte b[]) throws IOException { method in class:CloseShieldInputStream
109 return is.read(b);
113 * @see java.io.FilterInputStream#read(byte[], int, int)
115 public int read(byte b[], int off, int len) throws IOException { method in class:CloseShieldInputStream
117 return is.read(b, off, len);
  /prebuilts/gdb/darwin-x86/lib/python2.7/
multifile.py 13 "read some lines from fp"
16 "read lines from fp until it returns an empty string" (A)
19 "read remaining lines from fp until it returns an empty string"
120 def read(self): # Note: no size argument -- read until EOF only! member in class:MultiFile
  /prebuilts/gdb/linux-x86/lib/python2.7/
multifile.py 13 "read some lines from fp"
16 "read lines from fp until it returns an empty string" (A)
19 "read remaining lines from fp until it returns an empty string"
120 def read(self): # Note: no size argument -- read until EOF only! member in class:MultiFile
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
multifile.py 13 "read some lines from fp"
16 "read lines from fp until it returns an empty string" (A)
19 "read remaining lines from fp until it returns an empty string"
120 def read(self): # Note: no size argument -- read until EOF only! member in class:MultiFile
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
multifile.py 13 "read some lines from fp"
16 "read lines from fp until it returns an empty string" (A)
19 "read remaining lines from fp until it returns an empty string"
120 def read(self): # Note: no size argument -- read until EOF only! member in class:MultiFile
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
PipedReaderTest.java 130 preader.read(c, 0, 11);
132 assertEquals("Read incorrect chars", "Hello World", new String(c));
147 preader.read(c, 0, 11);
149 assertEquals("Read incorrect chars", "Hello World", new String(c));
159 * java.io.PipedReader#read()
169 c[i] = (char) preader.read();
171 assertEquals("Read incorrect chars", "Hello World", new String(c));
175 * java.io.PipedReader#read(char[], int, int)
187 n = preader.read(c, x, 11 - x);
190 assertEquals("Read incorrect chars", "Hello World", new String(c))
    [all...]
InputStreamReaderTest.java 39 // A ByteArrayInputStream that only returns a single byte per read
67 public int read() { method in class:InputStreamReaderTest.LimitedByteArrayInputStream
76 public int read(byte[] buffer, int offset, int length) { method in class:InputStreamReaderTest.LimitedByteArrayInputStream
143 is.read();
170 int count = reader.read(new char[1]);
176 reader.read();
323 * java.io.InputStreamReader#read()
326 assertEquals('T', (char) reader.read());
327 assertEquals('h', (char) reader.read());
328 assertEquals('i', (char) reader.read());
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherInputStreamTest.java 76 public int read() throws IOException { method in class:CipherInputStreamTest.MeasuringInputStream
77 int c = super.read();
83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:CipherInputStreamTest.MeasuringInputStream
84 int numRead = super.read(buffer, byteOffset, byteCount);
101 assertTrue(cin.read() != -1);
111 discard -= in.read(null, 0, discard);
127 assertEquals(-1, in.read());
139 assertEquals(-1, in.read());
169 while ((count = in.read(buffer)) != -1) {
179 is.read(new byte[4])
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
FileInputStreamTest.java 68 assertEquals(count, is.read(buffer));
82 assertEquals(-1, fis.read());
122 fis2.read();
127 fis2.read(new byte[1], 0, 1);
138 assertFalse(fis1.read() == -1);
148 fis1.read();
153 fis1.read(new byte[1], 0, 1);
182 fis.read();
187 fis.read(new byte[1], 0, 1);
203 fis.read(new byte[0], 0, 0)
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
Fat.java 55 * @param fatNr the number of the {@code Fat} to read
56 * @return the {@code Fat} that was read
57 * @throws IOException on read error
61 public static Fat read(BootSector bs, int fatNr) method in class:Fat
72 result.read();
172 * Read the contents of this FAT from the given device at the given offset.
174 * @param offset the byte offset where to read the FAT from the device
175 * @throws IOException on read error
177 private void read() throws IOException { method in class:Fat
179 device.read(offset, ByteBuffer.wrap(data))
    [all...]
  /art/tools/dexfuzz/src/dexfuzz/rawdex/
ClassDataItem.java 39 public void read(DexRandomAccessFile file) throws IOException { method in class:ClassDataItem
48 (staticFields[i] = new EncodedField()).read(file);
52 (instanceFields[i] = new EncodedField()).read(file);
56 (directMethods[i] = new EncodedMethod()).read(file);
60 (virtualMethods[i] = new EncodedMethod()).read(file);
EncodedField.java 26 public void read(DexRandomAccessFile file) throws IOException { method in class:EncodedField
EncodedMethod.java 29 public void read(DexRandomAccessFile file) throws IOException { method in class:EncodedMethod
EncodedValue.java 35 public void read(DexRandomAccessFile file) throws IOException { method in class:EncodedValue
50 (encodedArray = new EncodedArray()).read(file);
51 size = 0; // So we don't read into value.
54 (encodedAnnotation = new EncodedAnnotation()).read(file);
55 size = 0; // So we don't read into value.
  /bootable/recovery/
bootloader.cpp 86 MtdReadContext* read = mtd_read_partition(part); local
87 if (read == nullptr) {
94 ssize_t r = mtd_read_data(read, data, size);
95 if (r != size) LOGE("failed to read \"%s\": %s\n", v->blk_device, strerror(errno));
96 mtd_read_close(read);
112 MtdReadContext* read = mtd_read_partition(part); local
113 if (read == nullptr) {
120 ssize_t r = mtd_read_data(read, data, size);
121 if (r != size) LOGE("failed to read \"%s\": %s\n", v->blk_device, strerror(errno));
122 mtd_read_close(read);
    [all...]
recovery-persist.cpp 164 ssize_t read; local
165 while ((read = getline(&line, &len, fp)) != -1) {
  /build/tools/zipalign/
ZipEntry.cpp 48 /* read the CDE */
49 result = mCDE.read(fp);
51 ALOGD("mCDE.read failed\n");
65 result = mLFH.read(fp);
67 ALOGD("mLFH.read failed\n");
77 * We *might* need to read the Data Descriptor at this point and
397 * Read a local file header.
402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) function in class:ZipEntry::LocalFileHeader
530 * Read the central dir entry that appears next in the file.
536 status_t ZipEntry::CentralDirEntry::read(FILE* fp function in class:ZipEntry::CentralDirEntry
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
TrivialRecorder.java 97 mAudioRecord.read(mAudioData, 0, mBufferSize);
  /cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
AccessPrivateDataTest.java 65 inputStream.read();
92 inputStream.read();
  /cts/suite/audio_quality/lib/src/
ClientSocket.cpp 75 // make non-blocking mode only during read. This allows supporting time-out for read
96 int read; local
112 LOGE("socket read timeout");
117 read = recv(mSocket, (void*)data, toRead, 0);
118 if (read > 0) {
119 toRead -= read;
120 data += read;
121 } else if (read == 0) {
122 // in blocking mode, zero read mean's peer closed
    [all...]
RWBuffer.h 87 template <typename T> T read() { function in class:RWBuffer
  /cts/suite/audio_quality/test/
TaskTest.cpp 116 android::String8 read; local
122 ASSERT_TRUE(task->findStringAttributePublic(AAA, read));
123 ASSERT_TRUE(read == aaaVal);
124 ASSERT_TRUE(task->findStringAttributePublic(BBB, read));
125 ASSERT_TRUE(read == bbbVal);
128 ASSERT_TRUE(!task->findStringAttributePublic(VERSION, read));
129 ASSERT_TRUE(!task->findStringAttributePublic(NAME, read));
  /cts/tests/tests/media/src/android/media/cts/
AudioRecord_BufferSizeTest.java 78 // it is preferred to use a short array to read AudioFormat.ENCODING_PCM_16BIT data
79 // but it's ok to read using using a byte array. 16 bit PCM data will be
82 assertTrue(mAudioRecord.read(buffer, 0, bufferSize) > 0);

Completed in 832 milliseconds

<<11121314151617181920>>