/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDropTargetContextPeer.java | 196 * read 199 public int read() throws IOException { method in class:WDropTargetContextPeerIStream 207 * read into buffer 210 public int read(byte[] b, int off, int len) throws IOException { method in class:WDropTargetContextPeerIStream
|
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsChannelFactory.java | 65 boolean read; field in class:WindowsChannelFactory.Flags 89 case READ : flags.read = true; break; 145 if (!flags.read && !flags.write) { 149 flags.read = true; 154 if (flags.read && flags.append) 160 return FileChannelImpl.open(fdObj, pathForWindows, flags.read, flags.write, flags.append, null); 186 if (!flags.read && !flags.write) { 187 flags.read = true; 205 return WindowsAsynchronousFileChannelImpl.open(fdObj, flags.read, flags.write, pool); 230 if (flags.read) [all...] |
/openjdk7/jdk/src/windows/classes/sun/tools/attach/ |
H A D | WindowsVirtualMachine.java | 105 // read completion status 134 public synchronized int read() throws IOException { method in class:WindowsVirtualMachine.PipedInputStream 136 int n = this.read(b, 0, 1); 144 public synchronized int read(byte[] bs, int off, int len) throws IOException { method in class:WindowsVirtualMachine.PipedInputStream
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | IOUtil.c | 156 DWORD read = 0; local 168 result = ReadFile(h, /* File handle to read */ 170 128, /* number of bytes to read */ 171 &read, /* number of bytes read */ 182 if (read > 0) { 183 totalRead += read;
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | ConstantPoolInfo.java | 225 this.read(new DataInputStream(infile)); 227 failure("cant read file"); 240 public void read(DataInputStream in) throws IOException { method in class:ConstantPoolInfo 249 } // end read()
|
/openjdk7/jdk/test/java/io/Serializable/subclass/ |
H A D | AbstractObjectInputStream.java | 61 * java.io.Externalizable interface can be read from streams. 63 * The method <STRONG>readObjectOverride</STRONG> is used to read an object 66 * treated as objects during serialization. When read with readObject() 69 * Primitive data types can be read from the stream using the appropriate 75 * objects to be read from the stream as necessary. Graphs of objects 94 * read. It automatically traverses references between objects, 117 * Serialization does not read or assign values to the fields of any 132 * objects state. When implemented by a class they can write and read 182 * Objects referenced by this object are read transitively so 225 * the state of the last object to be read b 300 abstract public int read() throws IOException; method in class:AbstractObjectInputStream 301 abstract public int read(byte[] data, int offset, int length) method in class:AbstractObjectInputStream [all...] |
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | B4933582.java | 103 static void read (InputStream is) throws IOException { method in class:B4933582 106 while ((c=is.read()) != -1) { 118 read (is); 199 System.out.println ("read port from file " + port);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/ |
H A D | ClassFile.java | 44 public static ClassFile read(File file) method in class:ClassFile 46 return read(file, new Attribute.Factory()); 49 public static ClassFile read(File file, Attribute.Factory attributeFactory) method in class:ClassFile 63 public static ClassFile read(InputStream in) method in class:ClassFile 68 public static ClassFile read(InputStream in, Attribute.Factory attributeFactory) method in class:ClassFile
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/ |
H A D | Compress.java | 103 // buffer of unpacked 6-bit codes from last 32-word read 106 // position of next code to read in buffer (5 == end of buffer) 109 public int read() throws IOException { method in class:Compress.CompressInputStream 129 public int read(byte b[], int off, int len) throws IOException { method in class:Compress.CompressInputStream 134 int c = read(); 144 c = read(); 160 int b1 = in.read(); 161 int b2 = in.read(); 162 int b3 = in.read(); 163 int b4 = in.read(); [all...] |
/openjdk7/jdk/test/sun/net/www/http/ChunkedOutputStream/ |
H A D | Test.java | 53 reqbody = read(exchange.getRequestBody()); 77 reqbody = read(exchange.getRequestBody()); 110 reqbody = read(exchange.getRequestBody()); 121 reqbody = read(exchange.getRequestBody()); 140 String s = read (is, str1.length()); 144 byte c = (byte)is.read(); 164 s = read (is, str1.length()); 168 byte c = (byte)is.read(); 191 byte c = (byte)is.read(); 219 static String read (InputStrea method in class:Test 234 static String read(InputStream is) { method in class:Test [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/http/ |
H A D | B6299712.java | 176 public int read() method in class:EmptyInputStream
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JarIndex.java | 92 read(is); 305 public void read(InputStream is) throws IOException { method in class:JarIndex 314 /* read until we see a .jar line */
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | AsynchronousFileChannelImpl.java | 217 public final Future<Integer> read(ByteBuffer dst, long position) { method in class:AsynchronousFileChannelImpl 222 public final <A> void read(ByteBuffer dst, method in class:AsynchronousFileChannelImpl
|
H A D | IOUtil.java | 185 static int read(FileDescriptor fd, ByteBuffer dst, long position, method in class:IOUtil 223 n = nd.read(fd, ((DirectBuffer)bb).address() + pos, rem); 230 static long read(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) method in class:IOUtil 233 return read(fd, bufs, 0, bufs.length, nd); 236 static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, method in class:IOUtil 280 // Notify the buffers how many bytes were read 329 * The read end of the pipe is returned in the high 32 bits,
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | StreamDecoder.java | 111 public int read() throws IOException { method in class:StreamDecoder 126 int n = read(cb, 0, 2); 143 public int read(char cbuf[], int offset, int length) throws IOException { method in class:StreamDecoder 169 // Treat single-character array reads just like read() 273 int n = ch.read(bb); 283 int n = in.read(bb.array(), bb.arrayOffset() + pos, rem); 305 // the invoker attempt to read at least two characters. Saving the
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/ |
H A D | LiveRef.java | 283 public static LiveRef read(ObjectInput in, boolean useNewFormat) method in class:LiveRef 289 // Now read in the endpoint, id, and result flag 290 // (need to choose whether or not to read old JDK1.1 endpoint format) 292 ep = TCPEndpoint.read(in); 296 id = ObjID.read(in);
|
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ |
H A D | XmlConfigUtils.java | 81 // will read and write XML data. 87 * object will read and write XML data. 213 * @throws IOException if it fails to read the configuration. 214 * @return A {@code ScanManagerConfig} bean read from the 222 throw new IOException("Can't read file: "+file); 224 return read(f); 227 new IOException("Failed to read SessionConfigBean from " + 235 * @param f the file to read from. 236 * @return A {@code ScanManagerConfig} bean read from the 238 * @throws javax.xml.bind.JAXBException if it fails to read th 240 public static ScanManagerConfig read(File f) method in class:XmlConfigUtils [all...] |
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | ChannelIOSecure.java | 93 * via a read() returning -1 or an IOException, we call 274 // See if we need to switch from write to read mode. 299 if (sc.read(inNetBB) == -1) { 360 * Just transitioned from read to write. 429 * Each call to this method will perform at most one underlying read(). 431 int read() throws IOException { method in class:ChannelIOSecure 440 if (sc.read(inNetBB) == -1) { 453 * doing a simple read/write, and won't have enough state 470 break; // break, next read will support larger buffer. 479 throw new IOException("sslEngine error during data read [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | SourceChannelImpl.java | 39 // Used to make native read and write calls 49 // ID of native thread doing read, for signalling 158 public int read(ByteBuffer dst) throws IOException { method in class:SourceChannelImpl 168 n = IOUtil.read(fd, dst, -1, nd); 179 public long read(ByteBuffer[] dsts, int offset, int length) method in class:SourceChannelImpl 184 return read(Util.subsequence(dsts, offset, length)); 187 public long read(ByteBuffer[] dsts) throws IOException { method in class:SourceChannelImpl 199 n = IOUtil.read(fd, dsts, nd);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixChannelFactory.java | 57 boolean read; field in class:UnixChannelFactory.Flags 73 case READ : flags.read = true; break; 122 if (!flags.read && !flags.write) { 126 flags.read = true; 131 if (flags.read && flags.append) 138 flags.read, flags.write, flags.append, null); 164 if (!flags.read && !flags.write) { 165 flags.read = true; 174 return SimpleAsynchronousFileChannelImpl.open(fdObj, flags.read, flags.write, pool); 190 if (flags.read [all...] |
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/ |
H A D | BsdVirtualMachine.java | 177 // Create an input stream to read reply 212 // Return the input stream so that the command output can be read 226 public synchronized int read() throws IOException { method in class:BsdVirtualMachine.SocketInputStream 228 int n = this.read(b, 0, 1); 236 public synchronized int read(byte[] bs, int off, int len) throws IOException { method in class:BsdVirtualMachine.SocketInputStream 243 return BsdVirtualMachine.read(s, bs, off, len); 291 static native int read(int fd, byte buf[], int off, int bufLen) throws IOException; method in class:BsdVirtualMachine
|
H A D | LinuxVirtualMachine.java | 193 // Create an input stream to read reply 228 // Return the input stream so that the command output can be read 242 public synchronized int read() throws IOException { method in class:LinuxVirtualMachine.SocketInputStream 244 int n = this.read(b, 0, 1); 252 public synchronized int read(byte[] bs, int off, int len) throws IOException { method in class:LinuxVirtualMachine.SocketInputStream 259 return LinuxVirtualMachine.read(s, bs, off, len); 331 static native int read(int fd, byte buf[], int off, int bufLen) throws IOException; method in class:LinuxVirtualMachine
|
H A D | SolarisVirtualMachine.java | 158 // Return the input stream so that the command output can be read 170 public synchronized int read() throws IOException { method in class:SolarisVirtualMachine.SocketInputStream 172 int n = this.read(b, 0, 1); 180 public synchronized int read(byte[] bs, int off, int len) throws IOException { method in class:SolarisVirtualMachine.SocketInputStream 187 return SolarisVirtualMachine.read(s, bs, off, len); 234 static native int read(int fd, byte buf[], int off, int buflen) throws IOException; method in class:SolarisVirtualMachine
|
/openjdk7/langtools/test/tools/javac/api/6411310/ |
H A D | Test.java | 200 byte[] read(InputStream in) throws IOException { method in class:Test 205 while ((n = in.read(data, offset, data.length - offset)) != -1) {
|
/openjdk7/langtools/test/tools/javac/tree/ |
H A D | AbstractTreeScannerTest.java | 85 System.err.println(fileCount + " files read"); 103 out.println("-v Verbose: report on files as they are being read"); 129 treeCount += test(read(file)); 155 * @param file the file to be read 160 JCCompilationUnit read(File file) throws IOException, ParseException { method in class:AbstractTreeScannerTest 282 * to cache the results of file.getCharContent, avoiding the need to read
|