/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | AsynchronousSocketChannel.java | 55 * They support concurrent reading and writing, though at most one read operation 57 * If a thread initiates a read operation before a previous read operation has 96 * <p> The {@link #read(ByteBuffer,long,TimeUnit,Object,CompletionHandler) read} 99 * a read or write operation. If the timeout elapses before an operation completes 103 * cannot guarantee that bytes have not been read from the channel then it puts 105 * attempt to initiate a {@code read} operation causes an unspecified runtime 218 * The effect on an outstanding read operation is system dependent and 220 * socket receive buffer that has not been read, o 388 public abstract <A> void read(ByteBuffer dst, method in class:AsynchronousSocketChannel 403 public final <A> void read(ByteBuffer dst, method in class:AsynchronousSocketChannel 417 public abstract Future<Integer> read(ByteBuffer dst); method in class:AsynchronousSocketChannel 494 public abstract <A> void read(ByteBuffer[] dsts, method in class:AsynchronousSocketChannel [all...] |
H A D | Channels.java | 110 * <p> The <tt>read</tt> methods of the resulting stream will throw an 119 * The channel from which bytes will be read 193 * The channel from which bytes will be read 208 public synchronized int read() throws IOException { 211 int n = this.read(b1); 218 public synchronized int read(byte[] bs, int off, int len) 239 return ch.read(bb).get(); 342 * The stream from which bytes are to be read 371 public int read(ByteBuffer dst) throws IOException { method in class:Channels.ReadableByteChannelImpl 385 bytesRead = in.read(bu [all...] |
H A D | DatagramChannel.java | 48 * order to use the {@link #read(java.nio.ByteBuffer) read} and {@link 263 * on read or write operations that are already in progress at the moment 305 * on read or write operations that are already in progress at the moment 345 * ReadableByteChannel#read(java.nio.ByteBuffer) read} operation. If there 360 * already initiated a read operation upon this channel, however, then an 379 * while the read operation is in progress 383 * while the read operation is in progress, thereby 444 * while the read operatio 479 public abstract int read(ByteBuffer dst) throws IOException; method in class:DatagramChannel 494 public abstract long read(ByteBuffer[] dsts, int offset, int length) method in class:DatagramChannel 510 public final long read(ByteBuffer[] dsts) throws IOException { method in class:DatagramChannel [all...] |
H A D | FileChannel.java | 46 * of bytes that can be read and written and whose current {@link #size 54 * <p> In addition to the familiar read, write, and close operations of byte 59 * <li><p> Bytes may be {@link #read(ByteBuffer, long) read} or 66 * than invoking the usual <tt>read</tt> or <tt>write</tt> methods. 275 * read access if the file is opened for reading. The {@link 323 * read access if the file is opened for reading. The {@link 342 * <p> Bytes are read starting at this channel's current file position, and 344 * read. Otherwise this method behaves exactly as specified in the {@link 347 public abstract int read(ByteBuffe method in class:FileChannel 358 public abstract long read(ByteBuffer[] dsts, int offset, int length) method in class:FileChannel 369 public final long read(ByteBuffer[] dsts) throws IOException { method in class:FileChannel 732 public abstract int read(ByteBuffer dst, long position) throws IOException; method in class:FileChannel [all...] |
H A D | SocketChannel.java | 59 * thread is blocked in a read operation on the socket's channel, then the read 107 * mutually synchronized against each other, and an attempt to initiate a read 333 * <p> This method may be invoked at any time. If a read or write 401 * <p> This method may be invoked at any time. If a read or write 458 public abstract int read(ByteBuffer dst) throws IOException; method in class:SocketChannel 464 public abstract long read(ByteBuffer[] dsts, int offset, int length) method in class:SocketChannel 471 public final long read(ByteBuffer[] dsts) throws IOException { method in class:SocketChannel 472 return read(dsts, 0, dsts.length);
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | GZIPInputStream.java | 96 * no bytes are read and <code>0</code> is returned. 97 * @param buf the buffer into which the data is read 99 * @param len the maximum number of bytes read 100 * @return the actual number of bytes read, or -1 if the end of the 111 public int read(byte[] buf, int off, int len) throws IOException { method in class:GZIPInputStream 116 int n = super.read(buf, off, len); 121 return this.read(buf, off, len); 262 int b = in.read(); 267 // Report on this.in, not argument in; see read{Header, Trailer}. 269 + ".read() returne [all...] |
H A D | ZipInputStream.java | 139 while (read(tmpbuf, 0, tmpbuf.length) != -1) ; 148 * of bytes that could be read without blocking. 167 * bytes are read and <code>0</code> is returned. 168 * @param b the buffer into which the data is read 170 * @param len the maximum number of bytes read 171 * @return the actual number of bytes read, or -1 if the end of the 180 public int read(byte[] b, int off, int len) throws IOException { method in class:ZipInputStream 193 len = super.read(b, off, len); 211 len = in.read(b, off, len); 248 len = read(tmpbu [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | compressedStream.hpp | 67 inline u_char read() { return _buffer[_position++]; } function in class:CompressedReadStream 75 jboolean read_bool() { return (jboolean) read(); } 76 jbyte read_byte() { return (jbyte ) read(); } 79 jint read_int() { jint b0 = read();
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AlawCodec.java | 184 * @param stream stream from which data to be processed should be read 186 * @return stream from which processed data may be read 343 * Note that this won't actually read anything; must read in 346 public int read() throws IOException { method in class:AlawCodec.AlawCodecStream 349 return (int)read(b, 0, b.length); 353 public int read(byte[] b) throws IOException { method in class:AlawCodec.AlawCodecStream 355 return read(b, 0, b.length); 358 public int read(byte[] b, int off, int len) throws IOException { method in class:AlawCodec.AlawCodecStream 360 // don't read fractiona [all...] |
H A D | AudioFloatInputStream.java | 77 public int read(float[] b, int off, int len) throws IOException { method in class:AudioFloatInputStream.BytaArrayAudioFloatInputStream 174 public int read(float[] b, int off, int len) throws IOException { method in class:AudioFloatInputStream.DirectAudioFloatInputStream 178 int ret = stream.read(buffer, 0, b_len); 256 public abstract int read(float[] b, int off, int len) throws IOException; method in class:AudioFloatInputStream 258 public final int read(float[] b) throws IOException { method in class:AudioFloatInputStream 259 return read(b, 0, b.length); 262 public final float read() throws IOException { method in class:AudioFloatInputStream 264 int ret = read(b, 0, 1);
|
H A D | RIFFReader.java | 61 b = read(); 120 public int read() throws IOException { method in class:RIFFReader 123 int b = stream.read(); 131 public int read(byte[] b, int offset, int len) throws IOException { method in class:RIFFReader 135 int rlen = stream.read(b, offset, (int)avail); 141 int ret = stream.read(b, offset, len); 158 int s = read(b, off, len); 226 int ch = read(); 234 int ch1 = read(); 235 int ch2 = read(); [all...] |
H A D | SoftJitterCorrector.java | 59 // Current read buffer 186 int s = stream.read(buff, n, buff.length 236 public int read() throws IOException { method in class:SoftJitterCorrector.JitterStream 238 if (read(b) == -1) 248 public int read(byte[] b, int off, int len) { method in class:SoftJitterCorrector.JitterStream
|
H A D | StandardMidiFileReader.java | 96 // read header length 191 // for each track, go to the beginning and read the track events 244 DataInputStream stream; // the stream to read from 257 private void read(byte[] data) throws IOException { method in class:SMFParser 299 // now read track in a byte array 337 // first read the delay (a variable-length int) and update our tick value 378 read(sysexData); 391 read(metaData);
|
H A D | SunFileWriter.java | 91 * Protected helper method to read 64 bits and changing the order of 136 * Protected helper method to read 16 bits value. Swap high with low byte. 187 public int read() throws IOException { method in class:SunFileWriter.NoCloseInputStream 188 return in.read(); 192 public int read(byte b[]) throws IOException { method in class:SunFileWriter.NoCloseInputStream 193 return in.read(b); 197 public int read(byte b[], int off, int len) throws IOException { method in class:SunFileWriter.NoCloseInputStream 198 return in.read(b, off, len);
|
H A D | UlawCodec.java | 171 * @param stream stream from which data to be processed should be read 173 * @return stream from which processed data may be read 327 * Note that this won't actually read anything; must read in 330 public int read() throws IOException { method in class:UlawCodec.UlawCodecStream 332 if (read(b, 0, b.length) == 1) { 338 public int read(byte[] b) throws IOException { method in class:UlawCodec.UlawCodecStream 339 return read(b, 0, b.length); 342 public int read(byte[] b, int off, int len) throws IOException { method in class:UlawCodec.UlawCodecStream 343 // don't read fractiona [all...] |
H A D | WaveExtensibleFileReader.java | 92 public static GUID read(RIFFReader riff) throws IOException { method in class:WaveExtensibleFileReader.GUID 239 subFormat = GUID.read(chunk);
|
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | os_windows.inline.hpp | 97 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { function in class:os 98 return ::read(fd, buf, nBytes); 102 return ::read(fd, buf, nBytes);
|
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/ |
H A D | LogCleanupReader.java | 151 bufferCount = reader.read(buffer, 0, buffer.length); 156 public int read() throws java.io.IOException { method in class:LogCleanupReader 157 read(one, 0, 1); 161 public int read(char[] buffer) throws java.io.IOException { method in class:LogCleanupReader 162 return read(buffer, 0, buffer.length); 165 public int read(char[] b, int off, int len) throws java.io.IOException { method in class:LogCleanupReader 185 while (n-- > 0) read();
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/ |
H A D | WBMPImageReader.java | 59 /** Indicates whether the header is read. */ 184 public BufferedImage read(int imageIndex, ImageReadParam param) method in class:WBMPImageReader 197 //read header 238 // If noTransform is necessary, read the data. 239 iis.read(((DataBufferByte)tile.getDataBuffer()).getData(), 275 iis.read(buf, 0, len); 305 BufferedImage bi = read(imageIndex, param);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | XmlReader.java | 75 // to use a pushback stream since (a) autodetection can read 210 len = pb.read(buf); 310 // Buffer up a bunch of input, and set up to read it in 312 // bytes since we know that "<?xm" was read to determine 315 len = pb.read(buffer, 0, buffer.length); 324 if ((c = r.read()) != 'l') { 335 // We put an arbitrary size limit on how far we read; lots 347 if ((c = r.read()) == -1) 439 * Reads the number of characters read into the buffer, or -1 on EOF. 441 public int read(cha method in class:XmlReader 455 public int read() throws IOException { method in class:XmlReader 566 public int read(char buf [], int offset, int len) throws IOException { method in class:XmlReader.Utf8Reader 728 public int read(char buf [], int offset, int len) throws IOException { method in class:XmlReader.AsciiReader 761 public int read(char buf [], int offset, int len) throws IOException { method in class:XmlReader.Iso8859_1Reader [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/ |
H A D | UUDecoderStream.java | 39 * any input stream and read bytes from this filter. The decoding 40 * is done as the bytes are read out. 81 public int read() throws IOException { method in class:UUDecoderStream 91 public int read(byte[] buf, int off, int len) throws IOException { method in class:UUDecoderStream 94 if ((c = read()) == -1) { 149 // read till we get the prefix: "begin MODE FILENAME" 249 while ((c = decoder.read()) != -1)
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | DataHead.java | 33 * lazily using a pull parser, so the part may not have all the data. {@link #read} 35 * parsing of an attachment part may be triggered by calling {@link #read} methods 90 while((len=in.read(buf)) != -1) { 117 public InputStream read() { method in class:DataHead 119 throw new IllegalStateException("readOnce() is called before, read() cannot be called later."); 130 throw new IllegalStateException("Already read. Probably readOnce() is called before."); 192 buf = current.data.read(); 196 public int read(byte b[], int off, int sz) throws IOException { method in class:DataHead.ReadMultiStream 205 public int read() throws IOException { method in class:DataHead.ReadMultiStream 235 this.buf = current.data.read(); [all...] |
H A D | MIMEPart.java | 35 * lazily using a pull parser, so the part may not have all the data. {@link #read} 37 * parsing of an attachment part may be triggered by calling {@link #read} methods 71 public InputStream read() { method in class:MIMEPart 72 return dataHead.read(); 78 * calling this, one shouldn't call {@link #read()} or {@link #readOnce()}
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | Attribute.java | 129 * @param cr the class that contains the attribute to be read. 140 * {@link ClassReader#b cr.b}, or -1 if the attribute to be read is 145 * attribute to be read is not a code attribute. 149 protected Attribute read( method in class:Attribute
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | ReadAllStream.java | 64 * @param in from which to be read 78 public int read() throws IOException { method in class:ReadAllStream 79 int ch = memStream.read(); 81 ch = fileStream.read(); 87 public int read(byte b[], int off, int sz) throws IOException { method in class:ReadAllStream 88 int len = memStream.read(b, off, sz); 90 len = fileStream.read(b, off, sz); 114 while((len=in.read(buf)) != -1) { 123 public int read() throws IOException { method in class:ReadAllStream.FileStream 124 return (fin != null) ? fin.read() 128 public int read(byte b[], int off, int sz) throws IOException { method in class:ReadAllStream.FileStream 189 public int read() throws IOException { method in class:ReadAllStream.MemoryStream 197 public int read(byte b[], int off, int sz) throws IOException { method in class:ReadAllStream.MemoryStream [all...] |