HomeSort by relevance Sort by last modified time
    Searched defs:read (Results 376 - 400 of 1637) sorted by null

<<11121314151617181920>>

  /frameworks/compile/mclinker/lib/Support/
FileHandle.cpp 164 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) function in class:FileHandle
  /hardware/libhardware_legacy/audio/
AudioHardwareStub.cpp 174 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) function in class:android_audio_legacy::AudioStreamInStub
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/core/
Exynos_OMX_Component_Register.c 52 int read; local
  /libcore/crypto/src/main/java/org/conscrypt/
ClientHello.java 93 int size = in.read();
95 in.read(session_id, 0, size);
104 byte b0 = (byte) in.read();
105 byte b1 = (byte) in.read();
108 size = in.read();
110 in.read(compression_methods, 0, size);
149 byte b0 = (byte) in.read();
150 byte b1 = (byte) in.read();
151 byte b2 = (byte) in.read();
158 System.arraycopy(in.read(challenge_length), 0, random, 32 - challenge_length, challenge_length)
    [all...]
SSLSocketInputStream.java 39 // position of the next byte to read from the buffer
42 // position of the last byte to read + 1
97 * @return read value.
101 public int read() throws IOException { method in class:SSLSocketInputStream
117 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:SSLSocketInputStream
121 if ((read_b = read()) == -1) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/util/
ScannerParseLargeFileBenchmarkTest.java 58 public int read(char[] buf, int offset, int length) { method in class:ScannerParseLargeFileBenchmarkTest.MyReader
  /libcore/luni/src/main/java/java/io/
FileInputStream.java 50 * <p>Use {@link FileReader} to read characters, as opposed to bytes, from a
155 * Returns a read-only {@link FileChannel} that shares its position with
174 @Override public int read() throws IOException { method in class:FileInputStream
178 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:FileInputStream
179 return IoBridge.read(fd, buffer, byteOffset, byteCount);
PipedInputStream.java 39 * The circular buffer through which data is passed. Data is read from the
64 * The index in {@code buffer} where the next byte will be read.
81 * be read from it.
88 * stream can be read from the this input stream.
102 * {@code PipedOutputStream} before data may be read from it.
117 * with the given buffer size. Any data written to the output stream can be read from this
150 * pipe and notifies all threads waiting to read or write.
198 * Separate threads should be used to read from a {@code PipedInputStream}
202 * @return the byte read or -1 if the end of the source stream has been
210 public synchronized int read() throws IOException method in class:PipedInputStream
282 @Override public synchronized int read(byte[] bytes, int byteOffset, int byteCount) throws IOException { method in class:PipedInputStream
    [all...]
PushbackInputStream.java 24 * bytes that have been read, so that they can be read again. Parsers may find
27 * read from the underlying input stream.
48 * {@code PushbackInputStream}. All read operations on such a stream will
65 * {@code PushbackInputStream}. All read operations on such a stream will
126 * Blocks until one byte has been read, the end of the source stream is
129 * @return the byte read or -1 if the end of the source stream has been
136 public int read() throws IOException { method in class:PushbackInputStream
144 // Assume read() in the InputStream will return low-order byte or -1
146 return in.read();
166 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:PushbackInputStream
    [all...]
PushbackReader.java 24 * characters that have been read, so that they can be read again. Parsers may
27 * characters are read from the underlying reader.
31 * The {@code char} array containing the chars to read.
97 * the number of character that can be read from this reader
126 * Blocks until one character has been read, the end of the source reader is
129 * @return the character read or -1 if the end of the source reader has been
136 public int read() throws IOException { method in class:PushbackReader
144 * Assume read() in the InputStream will return 2 lowest-order bytes
147 return in.read();
172 public int read(char[] buffer, int offset, int count) throws IOException { method in class:PushbackReader
    [all...]
StringReader.java 51 * Closes this reader. Once it is closed, read operations on this reader
117 * @return the character read or -1 if the end of the source string has been
123 public int read() throws IOException { method in class:StringReader
136 * number of characters actually read or -1 if the end of the source string
145 public int read(char[] buffer, int offset, int count) throws IOException { method in class:StringReader
157 int read = end - pos; local
159 return read;
164 * Indicates whether this reader is ready to be read without blocking. This
170 * @see #read()
171 * @see #read(char[], int, int
    [all...]
  /libcore/luni/src/main/java/java/nio/
PipeImpl.java 78 public int read(ByteBuffer buffer) throws IOException { method in class:PipeImpl.PipeSourceChannel
79 return channel.read(buffer);
82 public long read(ByteBuffer[] buffers) throws IOException { method in class:PipeImpl.PipeSourceChannel
83 return channel.read(buffers);
86 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException { method in class:PipeImpl.PipeSourceChannel
87 return channel.read(buffers, offset, length);
  /libcore/luni/src/main/java/java/nio/channels/
FileChannel.java 34 * {@code RandomAccessFile} created in mode "r", are read-only. FileChannels
36 * from a {@code RandomAccessFile} created in mode "rw" are read/write.
51 * FileChannels have operations beyond the simple read, write, and close. They
60 * <li>read and write to the file at absolute byte offsets in a fashion that
92 * Read-only mapping mode.
97 * Read-write mapping mode.
146 * such as last access time), even if the channel is opened read-only.
237 * if the channel is not opened in read-mode but shared is true.
254 * Maps the file into memory. There can be three modes: read-only,
255 * read/write and private. After mapping, changes made to memory or the fil
346 public abstract int read(ByteBuffer buffer) throws IOException; method in class:FileChannel
383 public abstract int read(ByteBuffer buffer, long position) method in class:FileChannel
416 public final long read(ByteBuffer[] buffers) throws IOException { method in class:FileChannel
455 public abstract long read(ByteBuffer[] buffers, int start, int number) method in class:FileChannel
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
CipherInputStream.java 27 * This class wraps an {@code InputStream} and a cipher so that {@code read()}
28 * methods return data that are read from the underlying {@code InputStream} and
34 * CipherInputStream} tries to read the data an decrypt them before returning.
52 * {@code CipherInputStream}. All read operations on such a stream will
56 * the input stream to read data from.
72 * the input stream to read data from.
86 public int read() throws IOException { method in class:CipherInputStream
102 int byteCount = in.read(inputBuffer);
118 return read();
125 * if {@code buf} is {@code null}, the next {@code len} bytes are read an
136 public int read(byte[] buf, int off, int len) throws IOException { method in class:CipherInputStream
    [all...]
  /libcore/luni/src/main/java/libcore/net/
RawSocket.java 76 * length actually read. No indication of overflow is signaled.
80 public int read(byte[] packet, int offset, int byteCount, int destPort, method in class:RawSocket
125 * read/write operations will fail.
  /libcore/luni/src/test/java/libcore/java/io/
FilterInputStreamNullSourceTest.java 51 in.read();
107 in.read();
123 in.read();
OldAndroidByteArrayInputStreamTest.java 38 Assert.assertEquals(str, read(a));
39 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
44 public static String read(InputStream a) throws IOException { method in class:OldAndroidByteArrayInputStreamTest
48 r = a.read();
55 public static String read(InputStream a, int x) throws IOException { method in class:OldAndroidByteArrayInputStreamTest
57 int len = a.read(b, 0, x);
69 r = a.read();
82 r = a.read();
OldAndroidCharArrayReaderTest.java 37 Assert.assertEquals(str, read(a));
38 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
43 public static String read(Reader a) throws IOException { method in class:OldAndroidCharArrayReaderTest
47 r = a.read();
54 public static String read(Reader a, int x) throws IOException { method in class:OldAndroidCharArrayReaderTest
56 int len = a.read(b, 0, x);
68 r = a.read();
81 r = a.read();
OldAndroidPushbackReaderTest.java 37 Assert.assertEquals("PUSHAbCdEfGhIjKlMnOpQrStUvWxYz", read(a));
45 Assert.assertEquals("XAbCdEfGhI", read(b, 10));
58 public static String read(Reader a) throws IOException { method in class:OldAndroidPushbackReaderTest
62 r = a.read();
69 public static String read(Reader a, int x) throws IOException { method in class:OldAndroidPushbackReaderTest
71 int len = a.read(b, 0, x);
83 r = a.read();
OldAndroidStringReaderTest.java 35 Assert.assertEquals(str, read(a));
36 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
41 public static String read(Reader a) throws IOException { method in class:OldAndroidStringReaderTest
45 r = a.read();
52 public static String read(Reader a, int x) throws IOException { method in class:OldAndroidStringReaderTest
54 int len = a.read(b, 0, x);
66 r = a.read();
79 r = a.read();
OldLineNumberReaderTest.java 53 * java.io.LineNumberReader#read()
58 int c = lnr.read();
59 assertEquals("Test 1: Read returned incorrect character;",
61 lnr.read();
62 assertEquals("Test 2: Read failed to increase the line number;",
67 lnr.read();
75 * java.io.LineNumberReader#read(char[], int, int)
80 lnr.read(c, 0, 4);
81 assertTrue("Test 1: Read returned incorrect characters.", "0\n1\n"
83 assertEquals("Test 2: Read failed to inc lineNumber"
    [all...]
OldSequenceInputStreamTest.java 56 si.read();
57 assertEquals("Test 1: Incorrect char read;",
58 s1.charAt(1), (char) si.read());
63 assertEquals("Test 2: Incorrect char read;",
64 s1.charAt(2), (char) si.read());
71 si.read();
79 si.read();
80 si.read();
84 si.read();
93 assertEquals("Test 6: Incorrect char read;",
    [all...]
  /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));
SocketChannelTest.java 48 sc.read(readOnly);
53 sc.read(new ByteBuffer[] { readOnly });
58 sc.read(new ByteBuffer[] { readOnly }, 0, 1);
  /libcore/luni/src/test/java/libcore/java/util/jar/
OldJarInputStreamTest.java 72 jis.read(b, 0, 100);
78 jis.read(b, 0, 100);
86 jis.read(b, 0, 100); // But RI here, only!

Completed in 457 milliseconds

<<11121314151617181920>>