Searched refs:read (Results 1 - 25 of 1456) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/sql/
H A DDataTruncation.java35 * <P>The SQLstate for a <code>DataTruncation</code> during read is <code>01004</code>.
44 * to 01004 when <code>read</code> is set to <code>true</code> and 22001
45 * when <code>read</code> is set to <code>false</code>,
56 * @param read true if a read was truncated
61 boolean read, int dataSize,
63 super("Data truncation", read == true?"01004":"22001");
66 this.read = read;
75 * to 01004 when <code>read</cod
60 DataTruncation(int index, boolean parameter, boolean read, int dataSize, int transferSize) argument
93 DataTruncation(int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause) argument
171 private boolean read; field in class:DataTruncation
[all...]
/openjdk7/jdk/src/share/classes/sun/audio/
H A DContinuousAudioDataStream.java57 public int read() { method in class:ContinuousAudioDataStream
59 int i = super.read();
63 i = super.read();
70 public int read(byte ab[], int i1, int j) { method in class:ContinuousAudioDataStream
75 int i2 = super.read(ab, i1 + k, j - k);
/openjdk7/jdk/src/share/classes/sun/net/
H A DTelnetInputStream.java32 * This class overrides read to do CRLF processing as specified in
90 public int read() throws IOException { method in class:TelnetInputStream
92 return super.read();
106 if ((c = super.read()) == '\r') { /* CR */
107 switch (c = super.read()) {
127 /** read into a byte array */
128 public int read(byte bytes[]) throws IOException { method in class:TelnetInputStream
129 return read(bytes, 0, bytes.length);
136 public int read(byte bytes[], int off, int length) throws IOException { method in class:TelnetInputStream
138 return super.read(byte
[all...]
/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
H A DMarkReset.java38 in.read();
40 int b1 = in.read();
42 int b2 = in.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/jdk/test/java/io/StringReader/
H A DSkip.java35 // Skip forward and read
38 if (in.read() != '4')
39 throw new RuntimeException("post skip read failure");
41 // Skip backward and read
44 if (in.read() != '3')
45 throw new RuntimeException("read failed after negative skip");
47 // Attempt to skip backward past the beginning and read
50 if (in.read() != '1')
51 throw new RuntimeException("read after skip past beginning failed");
56 if (in.read() !
[all...]
/openjdk7/langtools/test/com/sun/javadoc/testExternalOverridenMethod/pkg/
H A DXReader.java33 public int read() throws IOException { method in class:XReader
/openjdk7/jdk/src/share/classes/java/io/
H A DObjectInput.java42 * defines where the object is "read" from.
44 * @return the object read from the stream
56 * @return the byte read, or -1 if the end of the
60 public int read() throws IOException; method in interface:ObjectInput
65 * @param b the buffer into which the data is read
66 * @return the actual number of bytes read, -1 is
70 public int read(byte b[]) throws IOException; method in interface:ObjectInput
75 * @param b the buffer into which the data is read
77 * @param len the maximum number of bytes read
78 * @return the actual number of bytes read,
82 public int read(byte b[], int off, int len) throws IOException; method in interface:ObjectInput
[all...]
H A DFilterInputStream.java75 * simply performs <code>in.read()</code> and returns the result.
82 public int read() throws IOException { method in class:FilterInputStream
83 return in.read();
92 * <code>read(b, 0, b.length)</code> and returns
94 * <i>not</i> do <code>in.read(b)</code> instead;
99 * @param b the buffer into which the data is read.
100 * @return the total number of bytes read into the buffer, or
104 * @see java.io.FilterInputStream#read(byte[], int, int)
106 public int read(byte b[]) throws IOException { method in class:FilterInputStream
107 return read(
132 public int read(byte b[], int off, int len) throws IOException { method in class:FilterInputStream
[all...]
H A DFilterReader.java64 public int read() throws IOException { method in class:FilterReader
65 return in.read();
73 public int read(char cbuf[], int off, int len) throws IOException { method in class:FilterReader
74 return in.read(cbuf, off, len);
87 * Tells whether this stream is ready to be read.
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DReadZeroBytes.java26 * @summary Test BufferedInputStream read of zero byte array
33 * invokes the read method or not. Invoking read could block which is
41 in.read(new byte[0], 0, 0);
49 public int read() throws IOException { method in class:ThrowingInputStream
52 public int read(byte[] b, int off, int len) throws IOException { method in class:ThrowingInputStream
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 DMarkedFillAtEOF.java38 r.read();
41 while (r.read() != -1);
44 // now should only read 1 character
45 while (r.read() != -1) {
/openjdk7/jdk/test/java/io/Serializable/enum/badResolve/
H A DRead.java40 read("0.ser");
41 read("1.ser");
42 read("2.ser");
43 read("3.ser");
46 static void read(String filename) throws Exception { method in class:Read
51 throw new Error("read of " + obj + " should not have succeeded");
/openjdk7/jdk/test/java/io/PushbackReader/
H A DSkip.java44 check(pr.read(), 0);
47 check(pr.read(), 2);
52 check(pr.read(), 5);
53 check(pr.read(), 6);
58 check(pr.read(), 6);
59 check(pr.read(), 7);
62 check(pr.read(), 11);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DQPDecoderStream.java39 * any input stream and read bytes from this filter. The decoding
40 * is done as the bytes are read out.
70 public int read() throws IOException { method in class:QPDecoderStream
77 int c = in.read();
81 while ((c = in.read()) == ' ')
97 int a = in.read();
105 return read();
108 int b = in.read();
114 return read();
120 ba[1] = (byte)in.read();
153 public int read(byte[] buf, int off, int len) throws IOException { method in class:QPDecoderStream
[all...]
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/jdk/test/java/io/Serializable/readPastObject/
H A DReadPastObject.java27 * read past the end of the object in the underlying stream.
40 public int read() { method in class:LimitInputStream
43 int c = super.read();
49 public int read(byte[] b) { method in class:LimitInputStream
50 return read(b, 0, b.length);
53 public int read(byte[] b, int off, int len) { method in class:LimitInputStream
56 int n = super.read(b, off, len);
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DHttpCaptureInputStream.java31 * Every byte read is also passed to the HttpCapture class.
44 public int read() throws IOException { method in class:HttpCaptureInputStream
45 int i = super.read();
60 public int read(byte[] b) throws IOException { method in class:HttpCaptureInputStream
61 int ret = super.read(b);
69 public int read(byte[] b, int off, int len) throws IOException { method in class:HttpCaptureInputStream
70 int ret = super.read(b, off, len);
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DReaderCharacterIterator.java36 /** Buffer of read chars */
39 /** read end? */
114 private int read(int n) throws IOException method in class:ReaderCharacterIterator
123 int read = 0;
127 read = reader.read(c);
128 if (read < 0) // EOF
133 count += read;
134 buff.append(c, 0, read);
146 read(100
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DReadable.java32 * a <tt>Readable</tt> are made available to callers of the read
41 * Attempts to read characters into the specified character buffer.
46 * @param cb the buffer to read characters into
51 * @throws java.nio.ReadOnlyBufferException if cb is a read only buffer
53 public int read(java.nio.CharBuffer cb) throws IOException; method in interface:Readable
/openjdk7/hotspot/src/os_cpu/bsd_zero/vm/
H A Dprefetch_bsd_zero.inline.hpp31 inline void Prefetch::read(void* loc, intx interval) { function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/linux_zero/vm/
H A Dprefetch_linux_zero.inline.hpp31 inline void Prefetch::read(void* loc, intx interval) { function in class:Prefetch
/openjdk7/hotspot/src/os_cpu/windows_x86/vm/
H A Dprefetch_windows_x86.inline.hpp30 inline void Prefetch::read (void *loc, intx interval) {} function in class:Prefetch

Completed in 85 milliseconds

1234567891011>>