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

<<11121314151617181920>>

  /frameworks/av/cmds/stagefright/
SineSource.cpp 61 status_t SineSource::read( function in class:android::SineSource
  /frameworks/av/media/libstagefright/rtsp/
VideoSource.h 57 virtual status_t read( function in class:android::VideoSource
64 // printf("VideoSource::read\n");
78 // printf("VideoSource::read - returning buffer\n");
79 // LOG(INFO)("VideoSource::read - returning buffer");
  /frameworks/base/core/java/com/android/internal/util/
BitwiseInputStream.java 20 * An object that provides bitwise incremental read access to a byte array.
29 // The byte array being read from.
66 * Read some data and increment the current position.
71 * @param bits the amount of data to read (gte 0, lte 8)
72 * @return byte of read data (possibly partially filled, from lsb)
74 public int read(int bits) throws AccessException { method in class:BitwiseInputStream
78 throw new AccessException("illegal read " +
90 * Read data in bulk into a byte array and increment the current position.
92 * @param bits the amount of data to read
93 * @return newly allocated byte array of read dat
    [all...]
  /frameworks/base/libs/androidfw/
StreamingZipInflater.cpp 116 mInflateState.avail_in = 0; // set when a chunk is read in
131 * a. if there is no input data to decode, read some into the input buffer
136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater
154 // if we don't have any data to decode, read some in. If we're working
194 // not try to read any further, so just wind things up.
213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
240 read(NULL, absoluteInputPosition);
242 read(NULL, absoluteInputPosition - mOutCurPosition);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
ExifReader.java 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader
73 if (buf.length == parser.read(buf)) {
76 Log.w(TAG, "Failed to read the compressed thumbnail");
81 if (buf.length == parser.read(buf)) {
84 Log.w(TAG, "Failed to read the strip bytes");
  /frameworks/ex/framesequence/jni/
Stream.cpp 28 jmethodID read; member in struct:__anon28973
51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); local
53 mPeekSize = peek_remaining + read;
60 size_t Stream::read(void* buffer, size_t size) { function in class:Stream
129 gInputStreamClassInfo.read, mByteArray, 0, requested);
150 gInputStreamClassInfo.read = env->GetMethodID(inputStreamClazz, "read", "([BII)I");
152 if (!gInputStreamClassInfo.read || !gInputStreamClassInfo.reset) {
  /hardware/bsp/intel/peripheral/libmraa/api/mraa/
pwm.hpp 91 * Read the ouput duty-cycle percentage, as a float
99 read() function in class:mraa::Pwm
uart.hpp 100 * Read bytes from the device into char* buffer
104 * @return numbers of bytes read
107 read(char* data, int length) function in class:mraa::Uart
126 * Read bytes from the device into a String object
128 * @param length to read
158 * @return true if there is data available to read, false otherwise
225 * Set the timeout for read and write operations
228 * @param read read timeout
234 setTimeout(int read, int write, int interchar
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FileInputStreamTest.java 176 is.read();
190 fis1.read();
210 * java.io.FileInputStream#read()
214 int c = isr.read();
220 * java.io.FileInputStream#read(byte[])
226 is.read(buf1);
233 * java.io.FileInputStream#read(byte[], int, int)
239 is.read(buf1, 0, buf1.length);
248 in.read(null, 0, 0);
259 * java.io.FileInputStream#read(byte[], int, int
    [all...]
  /libcore/ojluni/src/main/java/java/io/
CharArrayReader.java 66 * read from this reader will be either <tt>length</tt> or
75 * @param offset Offset of the first char to read
76 * @param length Number of chars to read
100 public int read() throws IOException { method in class:CharArrayReader
114 * @param len Maximum number of characters to read
115 * @return The actual number of characters read, or -1 if
120 public int read(char b[], int off, int len) throws IOException { method in class:CharArrayReader
172 * Tells whether this stream is ready to be read. Character-array readers
173 * are always ready to be read.
196 * read while still preserving the mark. Becaus
    [all...]
InputStream.java 40 * @see java.io.InputStream#read()
65 public abstract int read() throws IOException; method in class:InputStream
69 * the buffer array <code>b</code>. The number of bytes actually read is
73 * <p> If the length of <code>b</code> is zero, then no bytes are read and
74 * <code>0</code> is returned; otherwise, there is an attempt to read at
77 * least one byte is read and stored into <code>b</code>.
79 * <p> The first byte read is stored into element <code>b[0]</code>, the
80 * next one into <code>b[1]</code>, and so on. The number of bytes read is,
82 * number of bytes actually read; these bytes will be stored in elements
87 * <p> The <code>read(b)</code> method for class <code>InputStream</code
100 public int read(byte b[]) throws IOException { method in class:InputStream
161 public int read(byte b[], int off, int len) throws IOException { method in class:InputStream
    [all...]
SequenceInputStream.java 56 * the enumeration will be read, in order,
57 * to provide the bytes to be read from this
80 * will be read in order, first <code>s1</code>
82 * bytes to be read from this <code>SequenceInputStream</code>.
84 * @param s1 the first input stream to read.
85 * @param s2 the second input stream to read.
119 * Returns an estimate of the number of bytes that can be read (or
123 * the same thread or another thread. A single read or skip of this
124 * many bytes will not block, but may read or skip fewer bytes.
129 * @return an estimate of the number of bytes that can be read (o
162 public int read() throws IOException { method in class:SequenceInputStream
197 public int read(byte b[], int off, int len) throws IOException { method in class:SequenceInputStream
    [all...]
StringReader.java 62 * @return The character read, or -1 if the end of the stream has been
67 public int read() throws IOException { method in class:StringReader
81 * @param len Maximum number of characters to read
83 * @return The number of characters read, or -1 if the end of the
88 public int read(char cbuf[], int off, int len) throws IOException { method in class:StringReader
117 * <p>If the entire string has been read or skipped, then this method has
136 * Tells whether this stream is ready to be read.
138 * @return True if the next read() is guaranteed not to block for input
161 * read while still preserving the mark. Because
171 throw new IllegalArgumentException("Read-ahead limit < 0")
    [all...]
  /libcore/ojluni/src/main/java/java/nio/channels/
DatagramChannel.java 48 * order to use the {@link #read(java.nio.ByteBuffer) read} and {@link
263 * on read or write operations that are already in progress at the moment
305 * on read or write operations that are already in progress at the moment
345 * ReadableByteChannel#read(java.nio.ByteBuffer) read} operation. If there
360 * already initiated a read operation upon this channel, however, then an
379 * while the read operation is in progress
383 * while the read operation is in progress, thereby
444 * while the read operation is in progres
479 public abstract int read(ByteBuffer dst) throws IOException; method in class:DatagramChannel
494 public abstract long read(ByteBuffer[] dsts, int offset, int length) method in class:DatagramChannel
510 public final long read(ByteBuffer[] dsts) throws IOException { method in class:DatagramChannel
    [all...]
  /libcore/ojluni/src/main/java/sun/security/ssl/
ByteBufferInputStream.java 53 public int read() throws IOException { method in class:ByteBufferInputStream
56 throw new IOException("read on a closed InputStream");
70 public int read(byte b[]) throws IOException { method in class:ByteBufferInputStream
73 throw new IOException("read on a closed InputStream");
76 return read(b, 0, b.length);
84 public int read(byte b[], int off, int len) throws IOException { method in class:ByteBufferInputStream
87 throw new IOException("read on a closed InputStream");
134 * Returns the number of bytes that can be read (or skipped over)
  /libcore/support/src/test/java/libcore/tlswire/handshake/
HelloExtension.java 71 public static HelloExtension read(DataInput in) throws IOException { method in class:HelloExtension
  /libcore/support/src/test/java/libcore/tlswire/util/
TlsProtocolVersion.java 57 public static TlsProtocolVersion read(DataInput in) throws IOException { method in class:TlsProtocolVersion
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifReader.java 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader
73 if (buf.length == parser.read(buf)) {
76 Log.w(TAG, "Failed to read the compressed thumbnail");
81 if (buf.length == parser.read(buf)) {
84 Log.w(TAG, "Failed to read the strip bytes");
  /packages/apps/Email/provider_src/com/android/email/mail/store/imap/
ImapMemoryLiteral.java 40 int read = in.read(mData, pos, mData.length - pos); local
41 if (read < 0) {
44 pos += read;
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifReader.java 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader
73 if (buf.length == parser.read(buf)) {
76 Log.w(TAG, "Failed to read the compressed thumbnail");
81 if (buf.length == parser.read(buf)) {
84 Log.w(TAG, "Failed to read the strip bytes");
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
ExifReader.java 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader
73 if (buf.length == parser.read(buf)) {
76 Log.w(TAG, "Failed to read the compressed thumbnail");
81 if (buf.length == parser.read(buf)) {
84 Log.w(TAG, "Failed to read the strip bytes");
  /packages/apps/Messaging/src/com/android/messaging/util/exif/
ExifReader.java 45 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader
74 if (buf.length == parser.read(buf)) {
77 Log.w(TAG, "Failed to read the compressed thumbnail");
82 if (buf.length == parser.read(buf)) {
85 Log.w(TAG, "Failed to read the strip bytes");
  /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();
ProxyInputStream.java 30 * methods being called, such as read(byte[]) to read(byte[], int, int).
48 * Invokes the delegate's <code>read()</code> method.
49 * @return the byte read or -1 if the end of stream
52 public int read() throws IOException { method in class:ProxyInputStream
53 return in.read();
57 * Invokes the delegate's <code>read(byte[])</code> method.
58 * @param bts the buffer to read the bytes into
59 * @return the number of bytes read or -1 if the end of stream
62 public int read(byte[] bts) throws IOException method in class:ProxyInputStream
74 public int read(byte[] bts, int st, int end) throws IOException { method in class:ProxyInputStream
    [all...]
ProxyReader.java 30 * methods being called, such as read(char[]) to read(char[], int, int).
48 * Invokes the delegate's <code>read()</code> method.
49 * @return the character read or -1 if the end of stream
52 public int read() throws IOException { method in class:ProxyReader
53 return in.read();
57 * Invokes the delegate's <code>read(char[])</code> method.
58 * @param chr the buffer to read the characters into
59 * @return the number of characters read or -1 if the end of stream
62 public int read(char[] chr) throws IOException method in class:ProxyReader
74 public int read(char[] chr, int st, int end) throws IOException { method in class:ProxyReader
    [all...]

Completed in 822 milliseconds

<<11121314151617181920>>