/external/chromium_org/media/filters/ |
ffmpeg_demuxer_unittest.cc | 171 audio->Read(base::Bind(&EosOnReadDone, &got_eos_buffer)); 310 // We test that on a successful audio packet read. 314 // Attempt a read from the audio stream and run the message loop until done. 317 audio->Read(NewReadCB(FROM_HERE, 29, 0)); 320 audio->Read(NewReadCB(FROM_HERE, 27, 3000)); 325 // We test that on a successful video packet read. 329 // Attempt a read from the video stream and run the message loop until done. 332 video->Read(NewReadCB(FROM_HERE, 22084, 0)); 335 video->Read(NewReadCB(FROM_HERE, 1057, 33000)); 344 // Attempt a read from the video stream and run the message loop until done [all...] |
video_frame_stream_unittest.cc | 97 // Callback for VideoFrameStream::Read(). 102 // the fake demuxer aborts demuxer read. 129 video_frame_stream_->Read(base::Bind( 250 void Read() { 295 Read(); 301 Read(); 311 Read(); 313 Read(); 321 Read(); 332 Read(); [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7zStream.c | 13 RINOK(stream->Read(stream, buf, &processed)); 30 RINOK(stream->Read(stream, buf, &processed)); 55 RINOK(stream->Read(stream, buf, &processed)); 78 res = p->realStream->Read(p->realStream, p->buf, &size2); 97 res = p->realStream->Read(p->realStream, p->buf, size); 118 return p->realStream->Read(p->realStream, buf, size); 140 p->s.Read = LookToRead_Read; 157 p->s.Read = SecToLook_Read; 163 return p->realStream->Read(p->realStream, buf, size); 168 p->s.Read = SecToRead_Read [all...] |
/external/lzma/C/ |
7zStream.c | 13 RINOK(stream->Read(stream, buf, &processed));
30 RINOK(stream->Read(stream, buf, &processed));
55 RINOK(stream->Read(stream, buf, &processed));
78 res = p->realStream->Read(p->realStream, p->buf, &size2);
97 res = p->realStream->Read(p->realStream, p->buf, size);
118 return p->realStream->Read(p->realStream, buf, size);
140 p->s.Read = LookToRead_Read;
157 p->s.Read = SecToLook_Read;
163 return p->realStream->Read(p->realStream, buf, size);
168 p->s.Read = SecToRead_Read; [all...] |
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 75 public int read() throws IOException method in class:ManifestRewriter.SplitLineReader 84 // Read the first character. 85 int c1 = super.read(); 95 // Read the second character. 96 int c2 = super.read(); 109 // Read the third character. 110 int c3 = super.read(); 122 public int read(char[] cbuf, int off, int len) throws IOException method in class:ManifestRewriter.SplitLineReader 128 int c = read(); 147 int c = read(); [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonToken.java | 26 * and read using {@link JsonReader#beginObject}. 32 * and read using {@link JsonReader#endArray}. 38 * and read using {@link JsonReader#beginObject}. 44 * and read using {@link JsonReader#endObject}. 50 * their values. Written using {@link JsonWriter#name} and read using {@link
|
/external/chromium_org/content/common/ |
one_writer_seqlock.h | 25 // You must be very careful not to operate on potentially inconsistent read 26 // buffers. If the read must be retry'd, the data in the read buffer could 29 // to do during the read loop is to make a copy of the data, and operate on it 30 // only after the read was found to be consistent.
|
/external/valgrind/main/gdbserver_tests/ |
mcwatchpoints.stdoutB.exp | 5 Hardware read watchpoint 2: undefined[0] 6 Hardware access (read/write) watchpoint 3: undefined[4] 9 Hardware read watchpoint 2: undefined[0] 14 Hardware access (read/write) watchpoint 3: undefined[4] 19 Hardware access (read/write) watchpoint 3: undefined[4]
|
/frameworks/base/core/java/android/util/ |
JsonToken.java | 26 * and read using {@link JsonReader#beginObject}. 32 * and read using {@link JsonReader#endArray}. 38 * and read using {@link JsonReader#beginObject}. 44 * and read using {@link JsonReader#endObject}. 50 * their values. Written using {@link JsonWriter#name} and read using {@link
|
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLStreamedInput.java | 41 * Read an opaque value from the stream. 42 * @return the value read from the underlying stream. 43 * @throws IOException if the data could not be read from 49 public int read() throws IOException { method in class:SSLStreamedInput 50 int res = in.read();
|
/libcore/luni/src/main/java/java/io/ |
LineNumberReader.java | 23 * time {@code '\r'}, {@code '\n'} or {@code "\r\n"} is read. The class has an 75 * indicates how many characters can be read before the mark is invalidated. 82 * the number of characters that can be read from this stream 108 * @return the character read or -1 if the end of the source reader has been 115 public int read() throws IOException { method in class:LineNumberReader 117 int ch = super.read(); 119 ch = super.read(); 137 * Returns the number of characters actually read or -1 if no characters 138 * have been read and the end of this reader has been reached. 148 public int read(char[] buffer, int offset, int count) throws IOException method in class:LineNumberReader 150 int read = super.read(buffer, offset, count); local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldLineNumberInputStreamTest.java | 49 assertEquals("Test 1: Failed to read correct byte;", 50 '0', lnis.read()); 51 assertEquals("Test 2: Failed to read correct byte on dos text;", 52 '0', lnis2.read()); 53 assertEquals("Test 3: Failed to read correct byte on dos text;", 54 '\n', lnis2.read()); 55 assertEquals("Test 4: Failed to read correct byte on dos text;", 56 '1', lnis2.read()); 57 assertEquals("Test 5: Failed to read correct byte on dos text;", 58 '\n', lnis2.read()); [all...] |
OldDataInputStreamTest.java | 67 r = dis.read(rbytes); 68 assertEquals("Test 1: Incorrect number of bytes read;", 70 assertTrue("Test 2: Incorrect data written or read.", 73 r = dis.read(rbytes); 74 assertEquals("Test 3: Incorrect number of bytes read;", 5, r); 75 assertTrue("Test 4: Incorrect data written or read.", 82 dis.read(rbytes); 98 r = dis.read(rbytes, 1, testLength - 10); 99 assertEquals("Test 1: Incorrect number of bytes read;", 101 assertEquals("Test 2: Incorrect data read.", 0, rbytes[0]) [all...] |
/libcore/support/src/test/java/tests/support/ |
ThrowingReader.java | 26 * read. 38 @Override public int read() throws IOException { method in class:ThrowingReader 40 int result = super.read(); 45 @Override public int read(char[] buf, int offset, int count) method in class:ThrowingReader 53 int returned = super.read(buf, offset, count);
|
/external/chromium_org/tools/valgrind/drmemory/ |
suppressions_full.txt | 11 UNINITIALIZED READ 30 UNINITIALIZED READ 71 UNINITIALIZED READ 77 UNINITIALIZED READ 82 UNINITIALIZED READ 92 UNINITIALIZED READ 97 UNINITIALIZED READ 102 UNINITIALIZED READ 112 UNINITIALIZED READ 128 UNINITIALIZED READ [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StringReaderTest.java | 46 sr.read(buf, 0, 2); 64 sr.read(buf, 0, 2); 80 * @tests java.io.StringReader#read() 83 // Test for method int java.io.StringReader.read() 85 int r = sr.read(); 86 assertEquals("Failed to read char", 'T', r); 88 assertTrue("Wrong double byte char", sr.read() == '\u8765'); 92 * @tests java.io.StringReader#read(char[], int, int) 95 // Test for method int java.io.StringReader.read(char [], int, int) 98 int r = sr.read(buf, 0, testString.length()) [all...] |
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 * @tests java.io.PipedReader#read() 169 c[i] = (char) preader.read(); 171 assertEquals("Read incorrect chars", "Hello World", new String(c)); 175 * @tests 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...] |
/external/chromium_org/third_party/libpng/ |
pngrio.c | 26 /* Read the data from whatever input you are using. The default routine 30 * to read more then 64K on a 16 bit machine. 40 png_error(png_ptr, "Call to NULL read function"); 69 png_error(png_ptr, "Read Error"); 105 png_size_t read, remaining, err; local 110 read = MIN(NEAR_BUF_SIZE, remaining); 112 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 115 err = fread(buf, (png_size_t)1, read, io_ptr); 117 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 118 if (err != read) [all...] |
/external/libpng/ |
pngrio.c | 26 /* Read the data from whatever input you are using. The default routine 30 * to read more then 64K on a 16 bit machine. 40 png_error(png_ptr, "Call to NULL read function"); 84 png_error(png_ptr, "Read Error"); 120 png_size_t read, remaining, err; local 125 read = MIN(NEAR_BUF_SIZE, remaining); 127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 130 err = fread(buf, (png_size_t)1, read, io_ptr); 132 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 133 if (err != read) [all...] |
/external/openfst/src/include/fst/ |
expanded-fst.h | 45 // Read an ExpandedFst from an input stream; return NULL on error. 46 static ExpandedFst<A> *Read(istream &strm, const FstReadOptions &opts) { 52 if (!hdr.Read(strm, opts.source)) 57 LOG(ERROR) << "ExpandedFst::Read: Not an ExpandedFst: " << ropts.source; 64 LOG(ERROR) << "ExpandedFst::Read: Unknown FST type \"" << hdr.FstType() 74 // Read an ExpandedFst from a file; return NULL on error. 76 static ExpandedFst<A> *Read(const string &filename) { 80 LOG(ERROR) << "ExpandedFst::Read: Can't open file: " << filename; 83 return Read(strm, FstReadOptions(filename)); 85 return Read(cin, FstReadOptions("standard input")) [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngrio.c | 23 /* Read the data from whatever input you are using. The default routine 27 to read more then 64K on a 16 bit machine. */ 35 png_error(png_ptr, "Call to NULL read function"); 62 png_error(png_ptr, "Read Error"); 96 png_size_t read, remaining, err; local 101 read = MIN(NEAR_BUF_SIZE, remaining); 103 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 106 err = fread(buf, (png_size_t)1, read, io_ptr); 108 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 109 if(err != read) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 55 // read the data that was wrote previously 56 assertEquals(0, in.read()); 57 assertEquals(1, in.read()); 58 assertEquals(2, in.read()); 59 assertEquals(3, in.read()); 106 assertEquals(DATA, in.read()); 139 int count = is.read(observed); 141 assertEquals(-1, is.read()); 158 assertEquals(41, is.read()); 159 assertEquals(42, is.read()); 242 private static int read(ParcelFileDescriptor pfd) throws IOException { method in class:ParcelFileDescriptorTest [all...] |
/external/chromium_org/net/base/ |
upload_file_element_reader_unittest.cc | 60 reader_->Read( 68 reader_->Read( 80 reader_->Read( 85 // Try to read again. 87 reader_->Read( 97 reader_->Read( 109 // Read all. 112 reader_->Read( 125 // Read again. 128 reader_->Read( [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
BlenderInputStream.java | 64 /** The buffer we store the read data to. */
68 /** The current position of the read cursor. */
70 /** The input stream we read the data from. */
74 * Constructor. The input stream is stored and used to read data.
76 * the stream we read data from
121 * the stream to read the file data from
123 * an exception is thrown when data read from the stream is invalid or there are problems with i/o
127 int data = inputStream.read();
137 data = inputStream.read();
167 * the stream we read the header from 202 public int read() throws IOException { method in class:BlenderInputStream [all...] |
/external/chromium_org/ppapi/proxy/ |
ppapi_param_traits.h | 51 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 59 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 67 static bool Read(const Message* m, PickleIterator* iter, param_type* p); 76 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 85 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 94 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 102 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 110 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 119 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 127 static bool Read(const Message* m, PickleIterator* iter, param_type* r) [all...] |