HomeSort by relevance Sort by last modified time
    Searched full:read (Results 551 - 575 of 23242) sorted by null

<<21222324252627282930>>

  /external/v8/test/mjsunit/regress/
regress-334.js 59 assertEquals(func1, object.foo, "read foo");
60 assertEquals(func1, object.bar, "read bar");
61 assertEquals(func1, object.baz, "read baz");
62 assertEquals(func2, object.bif, "read bif");
66 assertEquals(func1, object.bar, "read bar 2");
79 assertEquals(func2, object.bar, "read bar 3");
86 assertEquals(func1, object.bif, "read bif 2");
90 assertEquals(func1, object.bif, "read bif3");
  /external/valgrind/main/exp-sgcheck/tests/
globalerr.stderr.exp-glibc28-amd64 2 Invalid read of size 2
9 Invalid read of size 2
  /frameworks/base/media/java/android/media/
ResampleInputStream.java 51 // helper for bytewise read()
73 public int read() throws IOException { method in class:ResampleInputStream
74 int rtn = read(mOneByte, 0, 1);
79 public int read(byte[] b) throws IOException { method in class:ResampleInputStream
80 return read(b, 0, b.length);
84 public int read(byte[] b, int offset, int length) throws IOException { method in class:ResampleInputStream
97 // read until we have enough data for at least one output sample
105 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
  /libcore/luni/src/main/java/java/io/
BufferedReader.java 44 * The characters that can be read and refilled in bulk. We maintain three
52 * must be {@link #fillBuf() filled} before characters can be read.
76 * the same line ending. Both readLine and all read methods are supposed
137 * @return the number of chars read into the buffer, or -1 if the end of the
145 int result = in.read(buf, 0, buf.length);
172 int count = in.read(buf, pos, buf.length - pos);
191 * indicates how many characters can be read before the mark is invalidated.
196 * the number of characters that can be read before the mark is
244 * @return the character read or -1 if the end of the source reader has been
250 public int read() throws IOException method in class:BufferedReader
284 public int read(char[] buffer, int offset, int length) throws IOException { method in class:BufferedReader
485 long read = end - pos; local
    [all...]
ObjectInput.java 28 * Indicates the number of bytes of primitive data that can be read without
51 * @return the byte read or -1 if the end of this stream has been reached.
55 public int read() throws IOException; method in interface:ObjectInput
59 * while waiting for input. Returns the number of bytes read,
65 public int read(byte[] buffer) throws IOException; method in interface:ObjectInput
70 * waiting for input. Returns the number of bytes read or -1 if the end of this stream has been
76 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException; method in interface:ObjectInput
81 * @return the object read.
  /libcore/luni/src/main/java/java/util/zip/
CheckedInputStream.java 26 * same time as the data, on which the checksum is computed, is read from a
62 public int read() throws IOException { method in class:CheckedInputStream
63 int x = in.read();
73 * updated with the bytes read.
74 * Returns the number of bytes actually read or {@code -1} if arrived at the
81 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:CheckedInputStream
82 int bytesRead = in.read(buffer, byteOffset, byteCount);
90 * Returns the checksum calculated on the stream read so far.
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidDataInputStreamTest.java 39 Assert.assertEquals(str, read(a));
46 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
108 public static String read(InputStream a) throws IOException { method in class:OldAndroidDataInputStreamTest
112 r = a.read();
119 public static String read(InputStream a, int x) throws IOException { method in class:OldAndroidDataInputStreamTest
121 int len = a.read(b, 0, x);
133 r = a.read();
146 r = a.read();
OldAndroidLineNumberReaderTest.java 43 Assert.assertEquals(str, read(a));
53 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
80 public static String read(Reader a) throws IOException { method in class:OldAndroidLineNumberReaderTest
84 r = a.read();
91 public static String read(Reader a, int x) throws IOException { method in class:OldAndroidLineNumberReaderTest
93 int len = a.read(b, 0, x);
105 r = a.read();
118 r = a.read();
  /libcore/luni/src/test/java/libcore/java/nio/channels/
FileChannelTest.java 31 // You can't read into a read-only buffer...
34 fc.read(readOnly);
39 fc.read(new ByteBuffer[] { readOnly });
44 fc.read(new ByteBuffer[] { readOnly }, 0, 1);
49 fc.read(readOnly, 0L);
56 // But you can write from a read-only buffer...
73 assertEquals(8, fc.read(buffers));
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
CharSequenceReader.java 23 * {@link Reader} implementation that can read from String, StringBuffer,
73 * Read a single character.
78 public int read() { method in class:CharSequenceReader
87 * Read the sepcified number of characters into the array.
91 * @param length The maximum number of characters to read
92 * @return The number of characters read or -1 if there are
95 public int read(char[] array, int offset, int length) { method in class:CharSequenceReader
108 int c = read();
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
signalfd.h 36 * comes out of a read(2) and we really don't want to have
37 * a compat on read(2).
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
signalfd.h 36 * comes out of a read(2) and we really don't want to have
37 * a compat on read(2).
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
signalfd.h 36 * comes out of a read(2) and we really don't want to have
37 * a compat on read(2).
  /system/core/adb/
transport.h 20 /* convenience wrappers around read/write that will retry on
21 ** EINTR and/or short read/write. Returns 0 on success, -1
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/
BlockDevice.java 42 * Read a block of data from this device.
44 * @param devOffset the byte offset where to read the data from
45 * @param dest the destination buffer where to store the data read
46 * @throws IOException on read error
48 public abstract void read(long devOffset, ByteBuffer dest) method in interface:BlockDevice
56 * @throws ReadOnlyException if this {@code BlockDevice} is read-only
99 * Checks if this {@code BlockDevice} is read-only.
101 * @return if this {@code BlockDevice} is read-only
FsFile.java 54 * first byte read will be put into the buffer at it's
55 * {@link ByteBuffer#position() position}, and the number of bytes read
59 * @param dest the destination buffer where to put the bytes that were read
60 * @throws IOException on read error
62 public void read(long offset, ByteBuffer dest) throws IOException; method in interface:FsFile
66 * {@code ByteBuffer}. This method will read the buffer's
72 * @param src the source buffer to read the data from
73 * @throws ReadOnlyException if the file is read-only
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
PipedInputStreamTest.java 78 * @test java.io.PipedInputStream#read()
89 pis.read();
122 // for a read before returning
171 * @tests java.io.PipedInputStream#read()
186 assertEquals("read returned incorrect byte", pw.bytes[0], (byte) pis
187 .read());
191 * @tests java.io.PipedInputStream#read(byte[], int, int)
207 pis.read(buf, 0, 400);
209 assertEquals("read returned incorrect byte[]", pw.bytes[i], buf[i]);
214 * @tests java.io.PipedInputStream#read(byte[], int, int
    [all...]
  /external/chromium/net/socket/
transport_client_socket_unittest.cc 139 rv = sock_->Read(buf, buf_len, callback);
259 TEST_P(TransportClientSocketTest, Read) {
275 // All data has been read now. Read once more to force an ERR_IO_PENDING, and
278 rv = sock_->Read(buf, 4096, &callback);
298 rv = sock_->Read(buf, 1, &callback);
308 // All data has been read now. Read once more to force an ERR_IO_PENDING, and
311 rv = sock_->Read(buf, 1, &callback);
328 // Do a partial read and then exit. This test should not crash
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_gzip.py 53 d = f.read()
60 d = f.read()
72 f.read(1)
92 d = f.read()
109 ztxt = zgfile.read(8192)
151 # Try seek, read test
164 line2 = f.read(amount)
170 # Try seek(whence=1), read test
173 f.read(10)
175 y = f.read(10
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_gzip.py 53 d = f.read()
60 d = f.read()
72 f.read(1)
92 d = f.read()
109 ztxt = zgfile.read(8192)
151 # Try seek, read test
164 line2 = f.read(amount)
170 # Try seek(whence=1), read test
173 f.read(10)
175 y = f.read(10
    [all...]
  /device/asus/deb/self-extractors/
PART2 12 read typed
  /device/asus/flo/self-extractors/
PART2 12 read typed
  /device/asus/grouper/self-extractors/
PART2 12 read typed
  /device/asus/tilapia/self-extractors/
PART2 12 read typed
  /device/lge/hammerhead/self-extractors/
PART2 12 read typed

Completed in 828 milliseconds

<<21222324252627282930>>