Searched defs:read (Results 251 - 275 of 473) sorted by relevance

<<111213141516171819

/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4918902.java49 private static void testPropertyDescriptor(Class type, Class read, Class write) { argument
51 if (!read.equals(pd.getReadMethod().getDeclaringClass())) {
52 throw new Error("unexpected read method: " + pd.getReadMethod());
59 private static void testIndexedPropertyDescriptor(Class type, Class read, Class write) { argument
61 if (!read.equals(ipd.getIndexedReadMethod().getDeclaringClass())) {
62 throw new Error("unexpected read method: " + ipd.getIndexedReadMethod());
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTestSerialization.java57 check(array, read(file));
115 private static byte[] read(String file) throws Exception { method in class:TestSerialization
120 for (int i = stream.read(); i != -1; i = stream.read())
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTestSerialization.java57 check(array, read(file));
115 private static byte[] read(String file) throws Exception { method in class:TestSerialization
120 for (int i = stream.read(); i != -1; i = stream.read())
/openjdk7/jdk/test/java/net/Authenticator/
H A DB4678055.java99 static void read (InputStream is) throws IOException { method in class:B4678055
102 while ((c=is.read()) != -1) {
118 read (is);
H A DBasicTest4.java65 int c = in.read();
91 while (is.read(buf) > 0) ;
184 static void read (InputStream is) throws IOException { method in class:BasicTest4
187 while ((c=is.read()) != -1) {
206 read (is);
215 read (is);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/
H A DClientTimeout.java131 if ((length = transIns.read(bytes, 0, i++)) == -1) {
197 // read application data from server
205 while (transIns.read(bytes, 0, 17) != -1) {
240 public int read() throws IOException { method in class:ClientTimeout.MyInputStream
241 return read(new byte[1], 0, 1);
244 public int read(byte[] data, int offset, int len) throws IOException { method in class:ClientTimeout.MyInputStream
250 return ins.read(data, offset, len);
/openjdk7/jdk/test/sun/text/resources/
H A DLocaleDataTest.java362 public int read() throws IOException { method in class:EscapeReader
373 int result = super.read();
378 result = super.read();
382 result = super.read();
397 public int read(char[] cbuf, int start, int len) throws IOException { method in class:EscapeReader
402 c = read();
/openjdk7/langtools/test/com/sun/javadoc/testSourceTab/
H A DTestSourceTab.java95 write(t, read(f).replace("\\t", "\t"));
100 String read(File f) throws IOException { method in class:TestSourceTab
/openjdk7/langtools/test/tools/javac/6400872/
H A DT6400872.java120 j.write(read(f));
126 static byte[] read(File f) throws IOException { method in class:T6400872
131 int n = in.read(buf, offset, buf.length - offset);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DEngineInputRecord.java56 * Flag to tell whether the last read/parsed data resides
123 * read still needs to parse/handle the v2 clientHello.
363 * Delineate or read a complete packet from src.
365 * If internal data (hs, alert, ccs), the data is read and
371 ByteBuffer read(ByteBuffer srcBB) throws IOException { method in class:EngineInputRecord
375 * ever attempting to read.
387 read(new ByteBufferInputStream(srcBB), (OutputStream) null);
420 System.out.println("[Raw read (bb)]: length = " + len);
H A DHandshakeInStream.java48 * AppInStream.r, which is where data from the socket is initially read
72 * Return the number of bytes available for read().
84 public int read() throws IOException { method in class:HandshakeInStream
85 int n = r.read();
95 public int read(byte b [], int off, int len) throws IOException { method in class:HandshakeInStream
96 // we read from a ByteArrayInputStream, it always returns the
97 // data in a single read if enough is available
98 int n = r.read(b, off, len);
117 * read, data that has already been consumed is lost even if marked).
171 return read();
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DNormalizerDataReader.java328 protected void read(byte[] normBytes, byte[] fcdBytes, byte[] auxBytes, method in class:NormalizerDataReader
H A DUCharacterPropertyReader.java93 protected void read(UCharacterProperty ucharppty) throws IOException method in class:UCharacterPropertyReader
95 // read the indexes
119 // read the trie index block
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DStreamBuffer.java36 * OutputStream and read from with an InputStream. It is similar to
47 * StreamBufferInputStream.read().
89 public int read() throws IOException { method in class:StreamBuffer.StreamBufferInputStream
96 public int read(byte[] b, int off, int len) throws IOException { method in class:StreamBuffer.StreamBufferInputStream
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/
H A DMultiSocketFactory.java189 public int read() throws IOException { method in class:MultiSocketFactory.XorInputStream
190 int b = in.read();
197 public int read(byte b[], int off, int len) throws IOException { method in class:MultiSocketFactory.XorInputStream
202 int c = read();
212 c = read();
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/
H A DMultiSocketFactory.java189 public int read() throws IOException { method in class:MultiSocketFactory.XorInputStream
190 int b = in.read();
197 public int read(byte b[], int off, int len) throws IOException { method in class:MultiSocketFactory.XorInputStream
202 int c = read();
212 c = read();
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMeteredStream.java38 /* if expected != -1, after we've read >= expected, we're "closed" and return -1
39 * from subsequest read() 's
76 * If read beyond the markLimit, invalidate the mark
90 // read overrun.
116 public synchronized int read() throws java.io.IOException { method in class:MeteredStream
120 int c = in.read();
129 public synchronized int read(byte b[], int off, int len) method in class:MeteredStream
134 int n = in.read(b, off, len);
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/
H A DMultiplexInputStream.java51 /** current position to read from in input buffer */
71 /** level at which more data is requested when read past */
98 public synchronized int read() throws IOException method in class:MultiplexInputStream
100 int n = read(temp, 0, 1);
108 * at least one byte, and it returns the number of bytes actually read,
110 * @param b array to read bytes into
111 * @param off offset of beginning of bytes to read into
112 * @param len number of bytes to read
114 public synchronized int read(byte b[], int off, int len) throws IOException method in class:MultiplexInputStream
180 * @param in input stream with those bytes ready to be read
[all...]
/openjdk7/jdk/src/share/sample/nio/chatserver/
H A DClient.java151 * Enqueue a read
152 * @param completionHandler callback on completed read
154 public void read(CompletionHandler<Integer, ? super ByteBuffer> completionHandler) { method in class:Client
159 channel.read(input, input, completionHandler);
/openjdk7/jdk/src/share/sample/nio/server/
H A DChannelIO.java62 * that we've read everything, then we pass that data back to the
126 * Resize (if necessary) the inbound data buffer, and then read more
127 * data into the read buffer.
129 int read() throws IOException { method in class:ChannelIO
134 return sc.read(requestBB);
138 * All data has been read, pass back the request in one buffer.
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxUserDefinedFileAttributeView.java150 public int read(String name, ByteBuffer dst) throws IOException { method in class:LinuxUserDefinedFileAttributeView
/openjdk7/langtools/test/tools/javac/Paths/6638501/
H A DJarFromManifestFailure.java137 j.write(read(f));
143 static byte[] read(File f) throws IOException { method in class:JarFromManifestFailure
148 int n = in.read(buf, offset, buf.length - offset);
/openjdk7/langtools/test/tools/javac/api/
H A DT6877206.java125 byte[] uriData = read(urlconn.getInputStream());
126 byte[] foData = read(fo.openInputStream());
214 byte[] read(InputStream in) throws IOException { method in class:T6877206
219 while ((n = in.read(data, offset, data.length - offset)) != -1) {
/openjdk7/langtools/test/tools/javac/diags/
H A DMessageInfo.java358 String[] lines = read(file).split("[\r\n]");
375 String read(File f) throws IOException { method in class:MessageInfo
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/
H A DASCIIReader.java118 * @return The character read, as an integer in the range 0 to 127
124 public int read() throws IOException { method in class:ASCIIReader
125 int b0 = fInputStream.read();
132 } // read():int
141 * @param length Maximum number of characters to read
143 * @return The number of characters read, or -1 if the end of the
148 public int read(char ch[], int offset, int length) throws IOException { method in class:ASCIIReader
152 int count = fInputStream.read(fBuffer, 0, length);
163 } // read(char[],int,int)
180 * Tell whether this stream is ready to be read
[all...]

Completed in 92 milliseconds

<<111213141516171819