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

<<21222324252627282930>>

  /external/chromium/webkit/glue/media/
buffered_data_source.h 39 virtual void Read(int64 position, size_t size,
58 // A factory method to create a BufferedResourceLoader based on the read
78 // |loader_|, reset Read() variables, and set |stopped_on_render_loop_|
85 // This task monitors the current active read request. If the current read
87 // creates a new one to accommodate the read request.
102 // The method that performs actual read. This method can only be executed on
106 // Calls |read_callback_| and reset all read parameters.
128 // Callback method for making a read request to BufferedResourceLoader.
130 // the error code or the number of bytes read
    [all...]
  /external/chromium_org/media/base/simd/
convert_rgb_to_yuv_ssse3.inc 47 ; When the width is odd, We read the rightmost ARGB pixel and convert its
53 ; Read one ARGB (or RGB) pixel.
56 ; Calculate y[0] from one RGB pixel read above.
61 ; Calculate u[0] from one RGB pixel read above. If this is an odd line, the
63 ; read this pixel and calculate their average.
69 ; Calculate v[0] from one RGB pixel. Same as u[0], we read the result of the
77 ; If the input width is not a multiple of four, read the rightmost two ARGB
84 ; Read two ARGB (or RGB) pixels.
87 ; Calculate r[0] and r[1] from two RGB pixels read above.
96 ; Calculate u[0] from two RGB pixels read above. (For details, read the abov
    [all...]
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java 73 assertEquals('A', in.read());
74 assertEquals('B', in.read());
75 assertEquals('C', in.read());
76 assertEquals(-1, in.read());
169 in.read();
187 assertEquals('A', in.read());
188 assertEquals('B', in.read());
189 assertEquals('C', in.read());
191 in.read(); // if Content-Length was accurate, this would return -1 immediately
198 assertEquals('D', in2.read());
    [all...]
  /libcore/luni/src/main/java/java/io/
CharArrayReader.java 50 * the reader is set to the length of the buffer and the object to to read
54 * the char array from which to read.
64 * read the buffer is set to {@code offset}.
67 * the char array from which to read.
69 * the index of the first character in {@code buf} to read.
71 * the number of characters that can be read from {@code buf}.
97 * longer read from it. Only the first invocation of this method has any
170 * @return the character read as an int or -1 if the end of the reader has
176 public int read() throws IOException {
189 * Returns the number of characters actually read or -1 if the end of reade
    [all...]
SequenceInputStream.java 42 * {@code s1} and {@code s2} as the sequence of streams to read from.
124 * an integer in the range from 0 to 255. It tries to read from the current
126 * the next one. Blocks until one byte has been read, the end of the last
129 * @return the byte read or -1 if either the end of the last stream in the
137 public int read() throws IOException { method in class:SequenceInputStream
139 int result = in.read();
151 * Blocks only until at least 1 byte has been read, the end of the stream
155 * To do this it will read only as many bytes as a call to read on the
157 * requested by {@code byteCount}, it will not retry to read more on its ow
173 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:SequenceInputStream
    [all...]
InputStream.java 26 * <p>Most clients will use input streams that read data from the file system
48 * #read() read()} and {@link #read(byte[],int,int) read(byte[],int,int)}. The
65 * Returns an estimated number of bytes that can be read or skipped without blocking for more
72 * blocking": a read may still block waiting for I/O to complete&nbsp;&mdash; the guarantee is
84 * read or skip will actually read or skip that many bytes: they may read or skip fewer
156 public abstract int read() throws IOException; method in class:InputStream
161 public int read(byte[] buffer) throws IOException { method in class:InputStream
176 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:InputStream
    [all...]
  /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...]
  /external/chromium/net/base/
file_stream.h 58 // Adjust the position from where data is read. Upon success, the stream
60 // error code is returned. It is not valid to call Seek while a Read call
64 // Returns the number of bytes available to read from the current stream
68 // Call this method to read data from the current stream position. Up to
74 // must be passed to this method. In asynchronous mode, if the read could
77 // the read has completed.
79 // In the case of an asychronous read, the memory pointed to by |buf| must
81 // destroy or close the file stream while there is an asynchronous read in
82 // progress. That will cancel the read and allow the buffer to be freed.
87 int Read(char* buf, int buf_len, CompletionCallback* callback)
    [all...]
  /external/chromium_org/net/base/
upload_data_stream.h 21 // A class to read all elements from an UploadData object.
57 // data stream to |buf| and returns the number of bytes read; otherwise,
58 // returns ERR_IO_PENDING and calls |callback| with the number of bytes read.
59 // Partial reads are allowed. Zero is returned on a call to Read when there
63 // If there's less data to read than we initially observed (i.e. the actual
65 // size() bytes can be read, which can happen for TYPE_FILE payloads.
66 int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback);
112 // This method is used to implement Read().
116 // Resumes pending read and calls callback with the result when necessary.
121 // Processes result of UploadElementReader::Read(). If |result| indicate
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkBuffer.h 18 The RBuffer is given the buffer to read from, with either a specified size
20 to attempt to read a value from an empty RBuffer (data == null).
42 /** Return the number of bytes that have been read from the beginning
50 /** Return true if the buffer has read to the end of the data pointer.
56 /** Read the specified number of bytes from the data pointer. If buffer is not
59 void read(void* buffer, size_t size) { function in class:SkRBuffer
68 void* readPtr() { void* ptr; read(&ptr, sizeof(ptr)); return ptr; }
69 SkScalar readScalar() { SkScalar x; read(&x, 4); return x; }
70 uint32_t readU32() { uint32_t x; read(&x, 4); return x; }
71 int32_t readS32() { int32_t x; read(&x, 4); return x;
    [all...]
  /external/skia/src/core/
SkBuffer.h 18 The RBuffer is given the buffer to read from, with either a specified size
20 to attempt to read a value from an empty RBuffer (data == null).
42 /** Return the number of bytes that have been read from the beginning
50 /** Return true if the buffer has read to the end of the data pointer.
56 /** Read the specified number of bytes from the data pointer. If buffer is not
59 void read(void* buffer, size_t size) { function in class:SkRBuffer
68 void* readPtr() { void* ptr; read(&ptr, sizeof(ptr)); return ptr; }
69 SkScalar readScalar() { SkScalar x; read(&x, 4); return x; }
70 uint32_t readU32() { uint32_t x; read(&x, 4); return x; }
71 int32_t readS32() { int32_t x; read(&x, 4); return x;
    [all...]
  /external/zlib/src/contrib/ada/
read.adb 9 -- $Id: read.adb,v 1.8 2004/05/31 10:53:40 vagul Exp $
11 -- Test/demo program for the generic read interface.
19 procedure Read is
64 procedure Read
68 -- ZLib.Read
71 procedure Read is new ZLib.Read
72 (Read,
78 -- Read --
81 procedure Read
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
GZIPInputStream.java 28 * The {@code GZIPInputStream} class is used to read data stored in the GZIP
72 * Construct a {@code GZIPInputStream} to read from GZIP data from the
76 * the {@code InputStream} to read data from.
85 * Construct a {@code GZIPInputStream} to read from GZIP data from the
89 * the {@code InputStream} to read data from.
91 * the internal read buffer size.
116 int result = in.read(buf, 0, max);
152 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:GZIPInputStream
163 bytesRead = super.read(buffer, byteOffset, byteCount);
165 eos = eof; // update eos after every read(), even when it throw
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipFileTest.java 117 * Read compressed data from two different entries at the same time,
144 * Read a piece of file #1.
146 totalLen1 = stream1.read(buf);
147 assertTrue("initial read failed on #1", totalLen1 >= 0);
150 * Read a piece of file #2.
152 totalLen2 = stream2.read(buf);
153 assertTrue("initial read failed on #2", totalLen2 >= 0);
156 * Read the rest of file #1, and close the stream.
160 while ((len = stream1.read(buf)) > 0) {
167 * Read the rest of file #2, and close the stream
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/ndefpush/
NdefPushProtocol.java 75 Log.w(TAG, "Unable to read version");
76 throw new FormatException("Unable to read version");
84 // Read numMessages
88 Log.w(TAG, "Unable to read numMessages");
96 // Read actions and messages
100 // Read action
104 Log.w(TAG, "Unable to read action for message " + i);
107 // Read message length
112 Log.w(TAG, "Unable to read length for message " + i);
116 // Read messag
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
RamDisk.java 50 * @param in the stream to read the disk image from
52 * @throws IOException on read or decompression error
60 int read = zis.read(buffer); local
63 while (read >= 0) {
64 total += read;
65 bos.write(buffer, 0, read);
66 read = zis.read(buffer);
70 "read only " + total + " bytes"); //NOI18
116 public void read(long devOffset, ByteBuffer dest) throws IOException { method in class:RamDisk
    [all...]
  /external/chromium_org/net/socket/
transport_client_socket_unittest.cc 146 rv = sock_->Read(buf, buf_len, callback->callback());
265 rv = sock_->Read(buf.get(), 4096, callback.callback());
272 TEST_P(TransportClientSocketTest, Read) {
288 // All data has been read now. Read once more to force an ERR_IO_PENDING, and
291 rv = sock_->Read(buf.get(), 4096, callback.callback());
311 rv = sock_->Read(buf.get(), 1, callback.callback());
321 // All data has been read now. Read once more to force an ERR_IO_PENDING, and
324 rv = sock_->Read(buf.get(), 1, callback.callback())
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
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...]
  /bootable/recovery/minadbd/
transport.h 20 /* convenience wrappers around read/write that will retry on
21 ** EINTR and/or short read/write. Returns 0 on success, -1
  /external/antlr/antlr-3.4/runtime/Python/tests/
t020fuzzy.py 16 stream = antlr3.StringStream(open(inputPath).read())
28 testOutput = open(outputPath).read()
  /external/chromium/chrome/common/
common_param_traits.h 22 static bool Read(const Message* m, void** iter, param_type* p);
30 static bool Read(const Message* m, void** iter, param_type* p);
libxml_utils.cc 84 // Empty tag. We succesfully read the content, but it's
88 if (!Read())
94 if (!Read())
97 // Read the content. We read up until we hit a closing tag at the
101 if (!Read())
107 if (!Read())
124 } while (Read());
  /external/chromium_org/android_webview/unittestjava/src/org/chromium/android_webview/unittest/
InputStreamUnittest.java 20 public int read() {
32 public int read() {
  /external/chromium_org/chrome/common/extensions/docs/server2/
caching_file_system.py 24 # Update the cached data in the object store. This is a path -> (read,
34 smart, using Stat() to decided whether to skip Read()ing from |file_system|,
45 # The read caches can both (a) start populated and (b) be shared with all
49 'read', start_empty=False, app_version=None)
51 'read-binary', start_empty=False, app_version=None)
82 def Read(self, paths, binary=False):
90 results = {} # maps path to read value
111 self._file_system.Read(uncached.keys(), binary=binary),
empty_dir_file_system.py 12 def Read(self, paths, binary=False):
16 raise FileNotFoundError('EmptyDirFileSystem cannot read %s' % path)

Completed in 1026 milliseconds

<<21222324252627282930>>