/packages/apps/Email/emailcommon/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);
|
/bionic/libc/arch-sh/syscalls/ |
read.S | 5 .type read, @function 6 .globl read 9 read: label
|
/bionic/libc/arch-x86/syscalls/ |
read.S | 5 .type read, @function 6 .globl read 9 read: label
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManager_AssetInputStreamTest.java | 48 mAssetInputStream.read(); 91 assertEquals(bytes[i], mAssetInputStream.read()); 96 assertEquals(bytes[i + readlimit], mAssetInputStream.read()); 104 method = "read", 109 notes = "Test read method.", 110 method = "read", 116 method = "read", 145 assertEquals(bytes[i], mAssetInputStream.read()); 147 assertEquals(end, mAssetInputStream.read()); 149 // test read(byte[] [all...] |
/external/webkit/Source/WebKit/qt/declarative/ |
qdeclarativewebview_p.h | 94 Q_PROPERTY(QString title READ title NOTIFY titleChanged) 95 Q_PROPERTY(QPixmap icon READ icon NOTIFY iconChanged) 96 Q_PROPERTY(QString statusText READ statusText NOTIFY statusTextChanged) 98 Q_PROPERTY(QString html READ html WRITE setHtml NOTIFY htmlChanged) 100 Q_PROPERTY(int pressGrabTime READ pressGrabTime WRITE setPressGrabTime NOTIFY pressGrabTimeChanged) 102 Q_PROPERTY(int preferredWidth READ preferredWidth WRITE setPreferredWidth NOTIFY preferredWidthChanged) 103 Q_PROPERTY(int preferredHeight READ preferredHeight WRITE setPreferredHeight NOTIFY preferredHeightChanged) 104 Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged) 105 Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged) 106 Q_PROPERTY(Status status READ status NOTIFY statusChanged [all...] |
/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/apache-harmony/nio/src/test/java/common/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...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/io/ |
MacInputStream.java | 22 public int read() method in class:MacInputStream 25 int b = in.read(); 34 public int read( method in class:MacInputStream 40 int n = in.read(b, off, len);
|
/external/valgrind/main/drd/tests/ |
annotate_ignore_rw.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no
|
annotate_ignore_write.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no
|
hg03_inherit.vgtest | 2 vgopts: --show-confl-seg=no --read-var-info=yes --num-callers=2
|
hg04_race.vgtest | 2 vgopts: --read-var-info=yes --num-callers=2
|
hg05_race2.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes --num-callers=2
|
omp_matinv.vgtest | 3 vgopts: --check-stack-var=yes --read-var-info=yes
|
omp_prime_racy.vgtest | 3 vgopts: --check-stack-var=yes --read-var-info=yes
|
omp_printf.vgtest | 3 vgopts: --check-stack-var=yes --read-var-info=yes
|
pth_cleanup_handler.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes
|
pth_create_glibc_2_0.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes
|
pth_mutex_reinit.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes
|
pth_once.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes
|
pth_spinlock.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes
|
pth_uninitialized_cond.vgtest | 2 vgopts: --read-var-info=yes --check-stack-var=yes
|