Searched defs:read (Results 51 - 75 of 473) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/
H A DReader.java55 * number has already been read.
57 abstract public Snapshot read() throws IOException; method in class:Reader
63 * @param callStack If true, read the call stack of allocaation sites
92 return r.read();
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DInputStreamAdapter.java42 public int read() throws IOException { method in class:InputStreamAdapter
43 return stream.read();
46 public int read(byte b[], int off, int len) throws IOException { method in class:InputStreamAdapter
47 return stream.read(b, off, len);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DQDecoderStream.java66 public int read() throws IOException { method in class:QDecoderStream
67 int c = in.read();
73 ba[0] = (byte)in.read();
74 ba[1] = (byte)in.read();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DData.java45 * Return part's partial data. The data is read only.
51 byte[] read(); method in interface:Data
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/
H A DSDDocumentSource.java64 * if something goes wrong trying to read the document.
66 public abstract XMLStreamReader read(XMLInputFactory xif) throws IOException, XMLStreamException; method in class:SDDocumentSource
80 * if something goes wrong trying to read the document.
82 public abstract XMLStreamReader read() throws IOException, XMLStreamException; method in class:SDDocumentSource
96 public XMLStreamReader read(XMLInputFactory xif) throws IOException, XMLStreamException {
102 public XMLStreamReader read() throws IOException, XMLStreamException {
119 public XMLStreamReader read(XMLInputFactory xif) throws XMLStreamException {
123 public XMLStreamReader read() throws XMLStreamException {
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DDatagramDispatcher.java33 * for read and write operations.
42 int read(FileDescriptor fd, long address, int len) throws IOException { method in class:DatagramDispatcher
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DCountUpdate.java53 int n = in.read(b);
55 //System.out.print("read "+n+" bytes: [");
73 public int read() { method in class:BufferBreaker
85 public int read(byte b[]) throws IOException { method in class:BufferBreaker
86 return read(b, 0, b.length);
89 public int read(byte b[], int off, int len) throws IOException { method in class:BufferBreaker
H A DFill.java26 @summary Ensure that BufferedInputStream's read method will fill the target
39 * A simple InputStream that is always ready but may read fewer than the
51 public int read() throws IOException { method in class:Fill.Source
55 public int read(byte[] buf, int off, int len) throws IOException { method in class:Fill.Source
80 int n1 = r.read(buf);
81 int n2 = r.read(buf);
85 throw new Exception("First read returned " + n1);
87 throw new Exception("Second read returned " + n2);
H A DSkipTest.java55 int nextint = in.read();
59 nextint = in.read();
71 public int read() { method in class:DataSupplier
87 public int read(byte b[]) throws IOException { method in class:DataSupplier
88 return read(b, 0, b.length);
91 public int read(byte b[], int off, int len) throws IOException { method in class:DataSupplier
/openjdk7/jdk/test/java/io/BufferedReader/
H A DFill.java26 @summary Ensure that BufferedReader's read method will fill the target array
39 * A simple Reader that is always ready but may read fewer than the
51 public int read(char[] cbuf, int off, int len) throws IOException { method in class:Fill.Source
76 int n1 = r.read(cbuf);
77 int n2 = r.read(cbuf);
81 throw new Exception("First read returned " + n1);
83 throw new Exception("Second read returned " + n2);
H A DReadLine.java37 // be read after reading a new line.
70 // Need to ensure behavior of read() after a readLine() read of a CR/LF
78 if (reader.read() != 'M')
82 // Need to ensure that a read(char[], int, int) following a readLine()
83 // read of a CR/LF terminated line behaves correctly.
91 reader.read(buf, 0, 9);
128 public int read() throws IOException { method in class:ReadLine.BoundedReader
134 public int read(char[] buf, int offset, int length) method in class:ReadLine.BoundedReader
139 buf[i] = (char)read();
[all...]
H A DReady.java28 * value so that a read operation after a ready() does not block unnecessarily.
56 System.out.println("read>>" + str);
75 public int read() throws IOException { method in class:Ready.BoundedReader
81 public int read(char[] buf, int offset, int length) method in class:Ready.BoundedReader
89 buf[i] = (char)read();
/openjdk7/jdk/test/java/io/DataInputStream/
H A DSkipBytes.java74 public int read() { method in class:MyInputStream
/openjdk7/jdk/test/java/io/InputStream/
H A DReadParams.java28 * XXXXInputStream.read(b, off, len).
57 in.read(b , off[i] , len[i]);
61 " for read(b, " + off[i] + " " + len[i] +
69 System.err.println("Error: OutOfMemoryError in read(b, " +
77 " for read(b, " + off[i] + " " + len[i] +
96 in.read(b, 0, 32);
215 public int read() { method in class:MyInputStream
/openjdk7/jdk/test/java/io/InputStreamReader/
H A DOne.java49 read();
55 abstract void read() throws IOException; method in class:One.Test
64 public void read() throws IOException {
67 if ((c = isr.read()) == -1)
74 public void read() throws IOException {
77 if (isr.read(cb) == -1)
84 public void read() throws IOException {
88 if ((n = isr.read(cb)) == -1)
/openjdk7/jdk/test/java/io/LineNumberInputStream/
H A DAvailable.java43 in.read();
44 in.read();
46 in.read();
47 in.read();
48 in.read();
61 public int read() { method in class:MyInStream
/openjdk7/jdk/test/java/io/Serializable/enum/unshared/
H A DTest.java26 * @summary Verify that unshared write and read operations work properly with
37 abstract void read(ObjectInputStream in) throws Exception; method in class:WriteReadTest
44 read(new ObjectInputStream(
57 void read(ObjectInputStream in) throws Exception {
66 "read of " + obj + " should not have succeeded");
77 void read(ObjectInputStream in) throws Exception {
86 "read of " + obj + " should not have succeeded");
97 void read(ObjectInputStream in) throws Exception {
115 void read(ObjectInputStream in) throws Exception {
/openjdk7/jdk/test/java/io/charStreams/
H A DABCInputStream.java58 public int read() { method in class:ABCInputStream
67 public int read(byte buf[], int off, int len) { method in class:ABCInputStream
70 int c = read();
H A DSmallReads.java39 public int read(byte[] b, int off, int len) throws IOException { method in class:SmallReads.OneByteInputStream
40 return in.read(b, off, 1);
/openjdk7/jdk/test/java/net/Authenticator/
H A DB4921848.java65 static void read (InputStream is) throws IOException { method in class:B4921848
68 while ((c=is.read()) != -1) {
81 read (is);
H A DB4962064.java68 static void read (InputStream is) throws IOException { method in class:B4962064
71 while ((c=is.read()) != -1) {
84 read (is);
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DCloseTimeoutChannel.java61 int n=read(socket, in);
77 private static int read(Socket s, InputStream in) throws IOException { method in class:CloseTimeoutChannel
80 return in.read();
111 int n=in.read();
117 n=in.read();
120 n=in.read();
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngrio.c57 * to read more then 64K on a 16 bit machine.
68 png_error(png_ptr, "Call to NULL read function");
125 png_size_t read, remaining, err; local
131 read = MIN(NEAR_BUF_SIZE, remaining);
132 err = fread(buf, 1, read, io_ptr);
133 png_memcpy(data, buf, read); /* copy far buffer to near buffer */
135 if (err != read)
141 data += read;
142 remaining -= read;
148 png_error(png_ptr, "read Erro
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/util/
H A DKrbDataInputStream.java39 * This class implements a buffered input stream. It provides methods to read a chunck
61 * @param num the number of bytes to be read.
65 public int read(int num) throws IOException{ method in class:KrbDataInputStream
67 read(bytes, 0, num);
80 // always read in big-endian mode
81 int result = (read() & 0xff) << 8;
82 return result | (read() & 0xff);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/
H A DSoftTestUtils.java87 public void read(double seconds) throws IOException method in class:SoftTestUtils
95 bufflen -= stream.read(tmpbuffer,0,1024);
97 bufflen -= stream.read(tmpbuffer,0, bufflen);

Completed in 85 milliseconds

1234567891011>>