/external/quake/tools/ |
dumpms2.py | 27 a.read(f, 1) 32 a.read(f, 1) 41 # Seek ahead and read the vertex order information 44 vertexOrder.read(f, numOrder) 46 # Read commands
|
/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
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
Sha1Helper.cpp | 55 if (file.open(filename, OpenMode::Read) < 0) { 66 ssize_t nread = file.read(buf, sizeof(buf)); 87 if (file.open(filename, OpenMode::Read) < 0) { 88 ALOGE("Unable to read binary sha1 file %s\n", filename); 92 file.read((char *)result, result_size);
|
/frameworks/native/libs/gui/ |
LayerState.cpp | 45 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t 52 err = transparentRegion.read(buf); 58 input.read(this, size); 67 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState 69 return state.read(input);
|
Sensor.cpp | 157 size_t read(void const* buffer, size_t offset, String8* value, int32_t len) { function in namespace:android 163 size_t read(void const* buffer, size_t offset, float* value) { function in namespace:android 169 size_t read(void const* buffer, size_t offset, int32_t* value) { function in namespace:android 179 offset += read(buffer, offset, &len); 180 offset += read(buffer, offset, &mName, len); 181 offset += read(buffer, offset, &len); 182 offset += read(buffer, offset, &mVendor, len); 183 offset += read(buffer, offset, &mVersion); 184 offset += read(buffer, offset, &mHandle); 185 offset += read(buffer, offset, &mType) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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/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...] |
OldRandomAccessFileTest.java | 249 * java.io.RandomAccessFile#read() 267 assertEquals(String.format("Test 2: Incorrect value written or read at index %d; ", i), 268 testBuf[i], raf.read()); 271 assertTrue("Test 3: End of file indicator (-1) expected.", raf.read() == -1); 281 raf.read(); 289 * java.io.RandomAccessFile#read(byte[]) 299 int bytesRead = raf.read(rbuf); 300 assertEquals("Test 1: Incorrect number of bytes read. ", 302 assertEquals("Test 2: Incorrect bytes read. ", testString, 305 bytesRead = raf.read(rbuf) [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/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...] |
StringBufferInputStreamTest.java | 45 * @tests java.io.StringBufferInputStream#read() 48 // Test for method int java.io.StringBufferInputStream.read() 51 sbis.read(buf, 0, 5); 56 * @tests java.io.StringBufferInputStream#read(byte[], int, int) 59 // Test for method int java.io.StringBufferInputStream.read(byte [], 61 assertEquals("Read returned incorrect char", 'H', sbis.read()); 72 assertEquals("Failed to reset", 'H', sbis.read()); 82 assertEquals("Skip positioned at incorrect char", 'W', sbis.read());
|
/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(std::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...] |
/libcore/luni/src/main/java/java/io/ |
FilterInputStream.java | 22 * the input data while it is being read. Transformations can be anything from a 69 * indicates how many bytes can be read before the mark is invalidated. 76 * the number of bytes that can be read from this stream before 107 * @return the byte read or -1 if the end of the filtered stream has been 113 public int read() throws IOException { method in class:FilterInputStream 114 return in.read(); 120 * of bytes actually read or -1 if no bytes have been read and the end of 125 * the byte array in which to store the bytes read. 128 * read from this stream 137 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:FilterInputStream [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 — the guarantee is 84 * read or skip will actually read or skip that many bytes: they may read or skip fewer 157 public abstract int read() throws IOException; method in class:InputStream 162 public int read(byte[] buffer) throws IOException { method in class:InputStream 186 public int read(byte[] buffer, int offset, int length) throws IOException { method in class:InputStream [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...] |
/packages/apps/Email/src/org/apache/commons/io/input/ |
CountingInputStream.java | 27 * read as expected.
49 * number read.
51 * @param b the buffer into which the data is read, not null
52 * @return the total number of bytes read into the buffer, -1 if end of stream
54 * @see java.io.InputStream#read(byte[])
56 public int read(byte[] b) throws IOException {
method in class:CountingInputStream 57 int found = super.read(b);
64 * keeping count of the number read.
66 * @param b the buffer into which the data is read, not null
68 * @param len the maximum number of bytes to read
73 public int read(byte[] b, int off, int len) throws IOException { method in class:CountingInputStream 87 public int read() throws IOException { method in class:CountingInputStream [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldFileChannelTest.java | 73 // to read content from FileChannel 154 fis.read(readBuffer); 163 fis.read(readBuffer); 263 readOnlyFileChannel.read(readBuffer, -1); 270 writeOnlyFileChannel.read(readBuffer, -1); 277 readWriteFileChannel.read(readBuffer, -1); 286 readOnlyFileChannel.read(readBuffer, -1); 294 writeOnlyFileChannel.read(readBuffer, -1); 302 readWriteFileChannel.read(readBuffer, -1); 312 readOnlyFileChannel.read(null, 0, 1) [all...] |
/external/chromium/webkit/glue/media/ |
buffered_data_source_unittest.cc | 75 MOCK_METHOD4(Read, void(int64 position, int read_size, uint8* buffer, 162 ON_CALL(*loader_, Read(_, _, _ , _)) 243 // Expect the read is delegated to the resource loader. 244 EXPECT_CALL(*loader_, Read(position, size, NotNull(), NotNull())) 249 // The read has succeeded, so read callback will be called. 252 data_source_->Read( 265 // Expect a call to read, but the call never returns. 266 EXPECT_CALL(*loader_, Read(position, size, NotNull(), NotNull())); 267 data_source_->Read( [all...] |
/external/bluetooth/hcidump/src/ |
hcidump.8 | 25 Data is read from 31 option is not set, data is read from the first available Bluetooth device. 46 Parse output is not printed to screen, instead data read from device is saved in file 51 .BI -r " <file>" "\fR,\fP \-\^\-read-dump=" "<file>" 52 Data is not read from a Bluetooth device, but from file 60 Parse output is not printed to screen, instead data read from device is sent to host 64 Data is not read from a Bluetooth device, but from host 68 Data is read from a Bluetooth device, but then send to 70 for processing. No data is read if no host is connected.
|
/external/freetype/src/base/ |
ftstream.c | 13 /* this file you indicate that you have read the license and */ 43 stream->read = 0; 63 if ( stream->read ) 65 if ( stream->read( stream, pos, 0, 0 ) ) 137 if ( stream->read ) 138 read_bytes = stream->read( stream, pos, buffer, count ); 153 " invalid read; expected %lu bytes, got %lu\n", 174 if ( stream->read ) 175 read_bytes = stream->read( stream, stream->pos, buffer, count ); 218 if ( stream && stream->read ) [all...] |