/bionic/libc/arch-arm/syscalls/ |
read.S | 6 ENTRY(read) function 15 END(read)
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
ShortArrayCodeInput.java | 26 /** source array to read from */ 46 public int read() throws EOFException { method in class:ShortArrayCodeInput 58 int short0 = read(); 59 int short1 = read(); 66 long short0 = read(); 67 long short1 = read(); 68 long short2 = read(); 69 long short3 = read();
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
ShortArrayCodeInput.java | 26 /** source array to read from */ 46 public int read() throws EOFException { method in class:ShortArrayCodeInput 58 int short0 = read(); 59 int short1 = read(); 66 long short0 = read(); 67 long short1 = read(); 68 long short2 = read(); 69 long short3 = read();
|
/cts/tests/src/android/renderscript/cts/ |
group2.rs | 14 rsDebug("Failed to read in on iteration: ", x); 15 rsDebug("Read: ", in); 19 rsDebug("Failed to read -5 on iteration: ", x); 20 rsDebug("Read: ", v); 25 // Write out aFailed if either of our kernel instances read old data.
|
/external/oprofile/libpp/ |
image_errors.h | 6 * @remark Read the file COPYING 20 /// possible reasons why we can't read a binary image 29 /// output why the image passed can't be read to stderr, we warranty only one 35 /// output why the image passed can't be read to stderr 39 /// output why any bad images can't be read to stderr
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldReaderTest.java | 37 assertEquals("Wrong return value!", 4, simple.read(buf)); 39 assertEquals("Wrong stuff read!", "Bla ", String.valueOf(buf)); 40 simple.read(buf); 42 assertEquals("Wrong stuff read!", "bla,", String.valueOf(buf)); 45 simple.read(buf); 55 assertEquals("Wrong return value!", 4, simple.read(buf)); 56 assertEquals("Wrong stuff read!", "Bla ", new String(buf)); 57 simple.read(buf); 58 assertEquals("Wrong stuff read!", "bla,", new String(buf)); 61 simple.read(buf) 116 @Override public int read(char[] buf, int offset, int count) { method in class:OldReaderTest.MockReader [all...] |
OldInputStreamTest.java | 42 public int read() throws IOException { method in class:OldInputStreamTest.MockInputStream 93 // Test 1: This read operation should complete without an error. 94 assertEquals("Test 1: Incorrect count of bytes read.", 95 is.read(b), 10); 100 assertTrue("Test 1: Wrong bytes read.", equal); 102 // Test 2: Test that the correct number of bytes read is returned 105 bytesRead = is.read(b); 106 assertEquals("Test 2: Incorrect count of bytes read.", 112 assertTrue("Test 2: Wrong bytes read.", equal); 115 // the next call of read(byte[]) should return -1 [all...] |
OldPushbackReaderTest.java | 41 pbr.read(buf, 0, 5); 108 * java.io.PushbackReader#read() 114 assertEquals("Wrong value read!", 66, tobj.read()); 117 tobj.read(); 125 * java.io.PushbackReader#read(char[], int, int) 132 tobj.read(buf, 6, 5); 133 assertEquals("Wrong value read!", "BEGIN", new String(buf, 6, 5)); 134 assertEquals("Too much read!", "012345BEGIN123456789", new String(buf)); 137 tobj.read(buf, 6, 5) [all...] |
/ndk/tests/device/clone/jni/ |
clone.c | 25 if (read(fd, &ch, 1) < 1) { 26 printf("Can't read file"); 36 if (read(fd, &ch, 1) < 1) { 37 printf("Can't read file because it's closed by child.\n"); 40 printf("We shouldn't be able to read from file which is closed by child.\n");
|
/external/chromium_org/media/filters/ |
fake_demuxer_stream.h | 31 virtual void Read(const ReadCB& read_cb) OVERRIDE; 39 // Upon the next read, holds the read callback until SatisfyRead() or Reset() 43 // Upon the next config change read, holds the read callback until 45 // no read will be held. 48 // Satisfies the pending read with the next scheduled status and buffer. 51 // Satisfies the pending read (if any) with kAborted and NULL. This call 79 // Zero-based number indicating which read operation should be held. -1 means 80 // no read shall be held [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/io/ |
BufferedReaderTest.java | 94 br.read(); 95 fail("Read on closed stream"); 113 br.read(buf, 0, 500); 121 br.read(buf, 0, 1000); 136 in.read(new char[14], 0, 14); 138 assertTrue("Wrong chars", in.read() == (char) 6 139 && in.read() == (char) 7); 146 assertTrue("Wrong chars 2", in.read() == (char) 6 147 && in.read() == (char) 7); 152 int result = br.read(carray) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common_interceptors_ioctl.inc | 17 // FIXME: support read+write arguments. Those are currently marked as WRITE. 20 READ, 46 _(FIOASYNC, READ, sizeof(int)); 49 _(FIONBIO, READ, sizeof(int)); 51 _(FIOSETOWN, READ, sizeof(int)); 52 _(SIOCADDMULTI, READ, struct_ifreq_sz); 54 _(SIOCDELMULTI, READ, struct_ifreq_sz); 64 _(SIOCSIFADDR, READ, struct_ifreq_sz); 65 _(SIOCSIFBRDADDR, READ, struct_ifreq_sz); 66 _(SIOCSIFDSTADDR, READ, struct_ifreq_sz) [all...] |
/external/chromium_org/v8/test/webkit/ |
dfg-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null [all...] |
dfg-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null [all...] |
dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null [all...] |
dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 64 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 67 // if anything can read, read method will not block 69 int count = source.read(ByteBuffer.allocate(10)); 74 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 79 source.read(nullBuf); 87 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 93 long count = source.read(readBuf); 95 // readBuf is full, read 0 byte expected 96 count = source.read(readBuf) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
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...] |
/external/oprofile/libutil/ |
op_deviceio.h | 6 * @remark Read the file COPYING 33 * op_read_device - read from a special char device 38 * Read size bytes from a device into buffer buf. 40 * then a read is requested in one go of size bytes. 43 * calls if the number of bytes read is not what is requested 46 * The number of bytes read is returned, or a negative number 49 * arrange for re-starting the read if necessary.
|
/packages/apps/Email/src/com/android/email/ |
FixedLengthInputStream.java | 23 * A filtering InputStream that stops allowing reads after the given length has been read. This 24 * is used to allow a client to read directly from an underlying protocol stream without reading 25 * past where the protocol handler intended the client to read. 43 public int read() throws IOException { method in class:FixedLengthInputStream 46 return mIn.read(); 53 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 68 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream 69 return read(b, 0, b.length);
|
PeekableInputStream.java | 25 * and a subsequent read will still return the peeked byte. 37 public int read() throws IOException { method in class:PeekableInputStream 39 return mIn.read(); 48 mPeekedByte = read(); 55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1); 71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream 72 return read(b, 0, b.length);
|
/libcore/luni/src/main/java/java/nio/channels/ |
ReadableByteChannel.java | 23 * A {@code ReadableByteChannel} is a type of {@link Channel} that can read 26 * Read operations are synchronous on a {@code ReadableByteChannel}, that is, 27 * if a read is already in progress on the channel then subsequent reads will 28 * block until the first read completes. It is undefined whether non-read 36 * The maximum number of bytes that will be read is the 38 * buffer when the method is invoked. The bytes will be read into the buffer 42 * The call may block if other threads are also attempting to read from the 46 * the bytes that were read. The buffer's 51 * @return the number of bytes actually read 65 public int read(ByteBuffer buffer) throws IOException; method in interface:ReadableByteChannel [all...] |
/external/chromium_org/remoting/host/setup/ |
native_messaging_writer_unittest.cc | 56 // Read from the pipe and verify the content. 58 int read = base::ReadPlatformFileAtCurrentPos( local 60 EXPECT_EQ(4, read); 62 read = base::ReadPlatformFileAtCurrentPos(read_handle_, 64 EXPECT_EQ(static_cast<int>(length), read); local 67 scoped_ptr<base::Value> written_message(base::JSONReader::Read(content)); 71 // and verify the read end immediately hits EOF. 74 read = base::ReadPlatformFileAtCurrentPos(read_handle_, &unused, 1); 75 EXPECT_LE(read, 0); 86 // Read two messages 88 int read; local [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_test.cc | 61 virtual Status Read(size_t n, Slice* result, char* scratch) { 62 ASSERT_TRUE(!returned_partial_) << "must not Read() after eof/error"; 67 return Status::Corruption("read error"); 122 ASSERT_TRUE(!reading_) << "Write() after starting to read"; 130 std::string Read() { 239 ASSERT_EQ("EOF", Read()); 247 ASSERT_EQ("foo", Read()); 248 ASSERT_EQ("bar", Read()); 249 ASSERT_EQ("", Read()); 250 ASSERT_EQ("xxxx", Read()); [all...] |
/external/chromium_org/chrome/common/ |
partial_circular_buffer.cc | 64 uint32 PartialCircularBuffer::Read(void* buffer, uint32 buffer_size) { 70 uint32 read = 0; local 72 // Read from beginning part. 80 read += to_read; 83 // We've read all the beginning part, set the position to the middle part. 88 if (read >= buffer_size) { 89 DCHECK_EQ(read, buffer_size); 90 return read; 92 if (read >= to_eow) { 93 DCHECK_EQ(read, to_eow) [all...] |