Searched defs:read (Results 1 - 25 of 473) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/com/sun/javadoc/testExternalOverridenMethod/pkg/
H A DXReader.java33 public int read() throws IOException { method in class:XReader
/openjdk7/jdk/src/share/classes/java/lang/
H A DReadable.java32 * a <tt>Readable</tt> are made available to callers of the read
41 * Attempts to read characters into the specified character buffer.
46 * @param cb the buffer to read characters into
51 * @throws java.nio.ReadOnlyBufferException if cb is a read only buffer
53 public int read(java.nio.CharBuffer cb) throws IOException; method in interface:Readable
/openjdk7/hotspot/src/os_cpu/bsd_x86/vm/
H A Dprefetch_bsd_x86.inline.hpp31 inline void Prefetch::read (void *loc, intx interval) { function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/bsd_zero/vm/
H A Dprefetch_bsd_zero.inline.hpp31 inline void Prefetch::read(void* loc, intx interval) { function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/
H A Dprefetch_linux_sparc.inline.hpp32 inline void Prefetch::read(void *loc, intx interval) { function in class:Prefetch
42 inline void Prefetch::read (void *loc, intx interval) {} function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/linux_x86/vm/
H A Dprefetch_linux_x86.inline.hpp31 inline void Prefetch::read (void *loc, intx interval) { function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/linux_zero/vm/
H A Dprefetch_linux_zero.inline.hpp31 inline void Prefetch::read(void* loc, intx interval) { function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/solaris_x86/vm/
H A Dprefetch_solaris_x86.inline.hpp35 inline void Prefetch::read (void *loc, intx interval) { function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/windows_x86/vm/
H A Dprefetch_windows_x86.inline.hpp30 inline void Prefetch::read (void *loc, intx interval) {} function in class:Prefetch
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DReadableByteChannel.java33 * A channel that can read bytes.
35 * <p> Only one read operation upon a readable channel may be in progress at
36 * any given time. If one thread initiates a read operation upon a channel
37 * then any other thread that attempts to initiate another read operation will
39 * I/O operations may proceed concurrently with a read operation depends upon
53 * <p> An attempt is made to read up to <i>r</i> bytes from the channel,
57 * <p> Suppose that a byte sequence of length <i>n</i> is read, where
66 * <p> A read operation might not fill the buffer, and in fact it might not
67 * read any bytes at all. Whether or not it does so depends upon the
69 * for example, cannot read an
106 public int read(ByteBuffer dst) throws IOException; method in interface:ReadableByteChannel
[all...]
H A DAsynchronousByteChannel.java32 * An asynchronous channel that can read and write bytes.
34 * <p> Some channels may not allow more than one read or write to be outstanding
35 * at any given time. If a thread invokes a read method before a previous read
39 * I/O operations may proceed concurrently with a read operation depends upon
43 * multiple concurrent threads. When a read or write operation is initiated then
59 * <p> This method initiates an asynchronous read operation to read a
61 * handler} parameter is a completion handler that is invoked when the read
63 * handler is the number of bytes read o
106 <A> void read(ByteBuffer dst, method in interface:AsynchronousByteChannel
134 Future<Integer> read(ByteBuffer dst); method in interface:AsynchronousByteChannel
[all...]
H A DScatteringByteChannel.java33 * A channel that can read bytes into a sequence of buffers.
35 * <p> A <i>scattering</i> read operation reads, in a single invocation, a
57 * <p> An invocation of this method attempts to read up to <i>r</i> bytes
68 * <p> Suppose that a byte sequence of length <i>n</i> is read, where
80 * already initiated a read operation upon this channel, however, then an
97 * @return The number of bytes read, possibly zero,
112 * while the read operation is in progress
116 * while the read operation is in progress, thereby
123 public long read(ByteBuffer[] dsts, int offset, int length) method in interface:ScatteringByteChannel
129 * <p> An invocation of this method of the form <tt>c.read(dst
160 public long read(ByteBuffer[] dsts) throws IOException; method in interface:ScatteringByteChannel
[all...]
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/
H A Dprefetch_solaris_sparc.inline.hpp37 inline void Prefetch::read(void *loc, intx interval) { function in class:Prefetch
60 inline void Prefetch::read (void *loc, intx interval) {} function in class:Prefetch
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest11.java38 read (t.getRequestBody());
46 void read (InputStream is ) throws IOException { method in class:Test11.Handler
48 while (is.read (b) != -1) {}
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6431193.java41 public static void read (InputStream i) throws IOException { method in class:B6431193
42 while (i.read() != -1);
53 read(is);
54 // .. read the request body
77 read (is);
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DReadZeroBytes.java26 * @summary Test BufferedInputStream read of zero byte array
33 * invokes the read method or not. Invoking read could block which is
41 in.read(new byte[0], 0, 0);
49 public int read() throws IOException { method in class:ThrowingInputStream
52 public int read(byte[] b, int off, int len) throws IOException { method in class:ThrowingInputStream
H A DCloseStream.java40 in.read();
44 in.read(); // IOException should be thrown here
45 throw new RuntimeException("No exception during read on closed stream");
64 public int read() throws IOException { method in class:MyInputStream
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DFinalizeInflater.java41 read(zf.getInputStream(ze));
45 // read again
46 read(zf.getInputStream(ze));
50 private static void read(InputStream is) method in class:FinalizeInflater
56 while(is.read(buffer)>0){}
/openjdk7/jdk/src/share/classes/sun/audio/
H A DContinuousAudioDataStream.java57 public int read() { method in class:ContinuousAudioDataStream
59 int i = super.read();
63 i = super.read();
70 public int read(byte ab[], int i1, int j) { method in class:ContinuousAudioDataStream
75 int i2 = super.read(ab, i1 + k, j - k);
/openjdk7/jdk/src/share/classes/com/sun/pept/transport/
H A DConnection.java81 public int read(ByteBuffer byteBuffer); method in interface:Connection
/openjdk7/jdk/test/java/io/InputStream/
H A DSkip.java78 /* check for skip equal to the read chunk size in InputStream.java */
81 /* check for skip greater than the read chunk size in InputStream.java */
114 public int read() { method in class:MyInputStream
/openjdk7/jdk/test/java/io/LineNumberInputStream/
H A DSkip.java90 public int read() { method in class:MyInputStream
/openjdk7/jdk/test/java/io/Serializable/enum/badResolve/
H A DRead.java40 read("0.ser");
41 read("1.ser");
42 read("2.ser");
43 read("3.ser");
46 static void read(String filename) throws Exception { method in class:Read
51 throw new Error("read of " + obj + " should not have succeeded");
/openjdk7/jdk/test/java/io/Serializable/readPastObject/
H A DReadPastObject.java27 * read past the end of the object in the underlying stream.
40 public int read() { method in class:LimitInputStream
43 int c = super.read();
49 public int read(byte[] b) { method in class:LimitInputStream
50 return read(b, 0, b.length);
53 public int read(byte[] b, int off, int len) { method in class:LimitInputStream
56 int n = super.read(b, off, len);
/openjdk7/jdk/test/java/io/charStreams/
H A DABCReader.java39 public int read() { method in class:ABCReader
53 public int read(char cbuf[], int off, int len) { method in class:ABCReader
55 int c = read();

Completed in 60 milliseconds

1234567891011>>