/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | SocketDispatcher.java | 32 * for read and write operations. 42 int read(FileDescriptor fd, long address, int len) throws IOException { method in class:SocketDispatcher
|
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsUserDefinedFileAttributeView.java | 112 // buffer to read stream header and stream name. 140 // read stream header 151 // read stream name 181 // failed to read or seek 239 public int read(String name, ByteBuffer dst) throws IOException { method in class:WindowsUserDefinedFileAttributeView 256 // read to EOF (nothing we can do if I/O error occurs) 262 int n = fc.read(dst);
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | DatagramDispatcher.c | 52 DWORD read = 0; local 61 /* read into the buffers */ 65 &read, /* receives number of bytes read */ 84 return convertReturnVal(env, (jint)read, JNI_TRUE); 93 DWORD read = 0; local 105 /* read into the buffers */ 109 &read, /* receives number of bytes read */ 131 return convertLongReturnVal(env, (jlong)read, JNI_TRU [all...] |
/openjdk7/jdk/test/java/awt/FontClass/CreateFont/ |
H A D | BigFont.java | 50 public int read() { method in class:BigFont.SizedInputStream 120 while (fontStream.read() != -1) {
|
/openjdk7/jdk/test/java/io/StreamTokenizer/ |
H A D | ReadAhead.java | 26 @summary Ensure that StreamTokenizer does not read any further ahead 41 /* An InputStream subclass that cannot read past a given limit */ 45 private int limit; /* Do not allow input[limit] to be read */ 53 public int read() throws IOException { method in class:ReadAhead.LimitedInputStream 55 throw new IOException("Attempted to read too far in stream"); 62 /* A Reader subclass that cannot read past a given limit */ 66 private int limit; /* Do not allow input[limit] to be read */ 74 public int read() throws IOException { method in class:ReadAhead.LimitedReader 76 throw new IOException("Attempted to read too far in stream"); 80 public int read(cha method in class:ReadAhead.LimitedReader [all...] |
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | AuthNPETest.java | 65 while (is.read(buf) > 0) ; 121 static void read (InputStream is) throws IOException { method in class:AuthNPETest 124 while ((c=is.read()) != -1) { 143 read (is);
|
H A D | B4722333.java | 97 static void read (InputStream is) throws IOException { method in class:B4722333 100 while ((c=is.read()) != -1) { 113 read (is);
|
H A D | B4759514.java | 78 static void read (InputStream is) throws IOException { method in class:B4759514 80 while ((c=is.read()) != -1) { 90 read (is);
|
H A D | BasicTest.java | 70 is.read (buf); 141 static void read (InputStream is) throws IOException { method in class:BasicTest 144 while ((c=is.read()) != -1) { 163 read (is); 168 read (is);
|
H A D | BasicTest3.java | 65 while (is.read(buf) > 0) ; 120 static void read (InputStream is) throws IOException { method in class:BasicTest3 123 while ((c=is.read()) != -1) { 142 read (is);
|
/openjdk7/jdk/test/java/rmi/MarshalledObject/compare/ |
H A D | Compare.java | 47 private static MarshalledObject read; field in class:Compare 65 if (made.hashCode() != read.hashCode()) { 68 "read.hashCode(){" + read.hashCode() + "}" 77 if (!made.equals(read) || !read.equals(made)) { 79 "made.equals(read) = " + made.equals(read) 80 + ", read.equals(made) = " + read [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | AppInputStream.java | 46 // One element array used to implement the single byte read() method 55 * Return the minimum number of bytes that can be read without blocking. 68 public synchronized int read() throws IOException { method in class:AppInputStream 69 int n = read(oneByte, 0, 1); 82 public synchronized int read(byte b[], int off, int len) method in class:AppInputStream 109 howmany = r.read(b, off, howmany); 123 * the read() code to keep things simpler. Note that SKIP_ARRAY 131 int r = read(SKIP_ARRAY, 0, len);
|
H A D | ByteBufferInputStream.java | 53 public int read() throws IOException { method in class:ByteBufferInputStream 56 throw new IOException("read on a closed InputStream"); 70 public int read(byte b[]) throws IOException { method in class:ByteBufferInputStream 73 throw new IOException("read on a closed InputStream"); 76 return read(b, 0, b.length); 84 public int read(byte b[], int off, int len) throws IOException { method in class:ByteBufferInputStream 87 throw new IOException("read on a closed InputStream"); 134 * Returns the number of bytes that can be read (or skipped over)
|
/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 52 // Since this class only overrides the single character read method, 53 // and not the multi-character read method, any use of the latter 93 // The index of the next character to be "read" from the buffer. 101 * Note: this method has been inlined by hand in the `read' method 109 numChars = in.read(buffer); 124 public int read(char[] buffer, int off, int len) { method in class:ScannerInputReader 129 public int read() throws IOException { method in class:ScannerInputReader 141 numChars = in.read(buffer); 205 // To read the following line, switch \ and /...
|
/openjdk7/jdk/test/java/util/zip/GZIP/ |
H A D | ReadUByte.java | 27 * exception when read() on the InputStream with which the GZIPInputStream was 35 /** Guaranteed to return a value that is out-of-spec for read(). */ 41 public int read() { method in class:ReadUByte.BrokenInputStream 52 if (msg.indexOf("ReadUByte$BrokenInputStream.read() returned value out of range") < 0) {
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/DLSSoundbankReader/ |
H A D | TestGetSoundbankInputStream2.java | 28 very bad InputStream which can only read 1 byte at time */ 53 public int read() throws IOException { method in class:TestGetSoundbankInputStream2.BadInputStream 54 return is.read(); 57 public int read(byte[] b, int off, int len) throws IOException { method in class:TestGetSoundbankInputStream2.BadInputStream 59 return is.read(b, off, len); 62 public int read(byte[] b) throws IOException { method in class:TestGetSoundbankInputStream2.BadInputStream 63 return read(b, 0, b.length);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SF2SoundbankReader/ |
H A D | TestGetSoundbankInputStream2.java | 28 very bad InputStream which can only read 1 byte at time */ 53 public int read() throws IOException { method in class:TestGetSoundbankInputStream2.BadInputStream 54 return is.read(); 57 public int read(byte[] b, int off, int len) throws IOException { method in class:TestGetSoundbankInputStream2.BadInputStream 59 return is.read(b, off, len); 62 public int read(byte[] b) throws IOException { method in class:TestGetSoundbankInputStream2.BadInputStream 63 return read(b, 0, b.length);
|
/openjdk7/jdk/test/sun/net/www/ |
H A D | AuthHeaderTest.java | 74 static void read (InputStream is) throws IOException { method in class:AuthHeaderTest 77 while ((c=is.read()) != -1) { 89 read (is);
|
/openjdk7/jdk/test/sun/net/www/protocol/jar/ |
H A D | B4957695.java | 47 while ((r = is.read()) != -1) { 61 // read HTTP request from client 69 fin.read(b, 0, length-10); 87 static void read (InputStream is) throws IOException { method in class:B4957695 89 while ((c=is.read()) != -1) { 92 System.out.println ("read " + len + " bytes"); 107 read (is);
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | LeftOverInputStream.java | 34 * on the underlying stream which can be read (without blocking) 37 * The class can also report if all bytes "expected" to be read 38 * were read, by the time close() was called. In that case, 41 * isEOF() returns true, when all expected bytes have been read 83 public synchronized int read () throws IOException { method in class:LeftOverInputStream 95 public synchronized int read (byte[]b, int off, int len) throws IOException { method in class:LeftOverInputStream 103 * read and discard up to l bytes or "eof" occurs, 105 * is at eof (ie. all bytes were read) or false if not 106 * (still bytes to be read)
|
/openjdk7/jdk/src/share/classes/sun/net/idn/ |
H A D | StringPrepDataReader.java | 74 public void read(byte[] idnaBytes, method in class:StringPrepDataReader 79 dataInputStream.read(idnaBytes);
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | NativeDispatcher.java | 32 * for read and write operations. 38 abstract int read(FileDescriptor fd, long address, int len) method in class:NativeDispatcher
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | HttpInputStream.java | 38 /** bytes remaining to be read from proper content of message */ 41 /** bytes remaining to be read at time of last mark */ 105 * Returns the number of bytes that can be read with blocking. 123 public int read() throws IOException method in class:HttpInputStream 126 int data = in.read(); 141 "read past content length"); 147 public int read(byte b[], int off, int len) throws IOException method in class:HttpInputStream 151 "read past content length"); 157 int bytesRead = in.read(b, off, len); 162 "read " [all...] |
H A D | HttpSendInputStream.java | 32 * notified of attempts to read from it. This allows the HttpSendSocket 55 * a read is attempted, the owner will be notified and a new underlying 66 public int read() throws IOException method in class:HttpSendInputStream 70 return in.read(); 75 * @param b the buffer into which the data is to be read 77 * @param len the maximum number of bytes to read 79 public int read(byte b[], int off, int len) throws IOException method in class:HttpSendInputStream 85 return in.read(b, off, len); 102 * Return the number of bytes that can be read without blocking. 121 * @param readlimit how many bytes can be read befor [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | DatagramDispatcher.java | 33 * for read and write operations. 42 int read(FileDescriptor fd, long address, int len) throws IOException { method in class:DatagramDispatcher
|