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

1234567891011>>

/openjdk10/jdk/src/java.sql/share/classes/java/sql/
H A DDataTruncation.java35 * <P>The SQLstate for a <code>DataTruncation</code> during read is <code>01004</code>.
46 * to 01004 when <code>read</code> is set to <code>true</code> and 22001
47 * when <code>read</code> is set to <code>false</code>,
57 * @param read true if a read was truncated
62 boolean read, int dataSize,
64 super("Data truncation", read == true?"01004":"22001");
67 this.read = read;
76 * to 01004 when <code>read</cod
61 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...]
/openjdk10/jdk/src/java.base/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...]
/openjdk10/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();
/openjdk10/jdk/src/java.desktop/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);
/openjdk10/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...]
/openjdk10/langtools/test/jdk/javadoc/doclet/testExternalOverridenMethod/pkg/
H A DXReader.java33 public int read() throws IOException { method in class:XReader
/openjdk10/jdk/src/java.base/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...]
/openjdk10/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) {
/openjdk10/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
/openjdk10/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");
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DQPDecoderStream.java34 * any input stream and read bytes from this filter. The decoding
35 * is done as the bytes are read out.
66 public int read() throws IOException { method in class:QPDecoderStream
73 int c = in.read();
77 while ((c = in.read()) == ' ') {
92 int a = in.read();
100 return read();
103 int b = in.read();
107 return read();
113 ba[1] = (byte)in.read();
147 public int read(byte[] buf, int off, int len) throws IOException { method in class:QPDecoderStream
[all...]
/openjdk10/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);
/openjdk10/jaxws/src/java.xml.ws/share/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.
71 public int read() throws IOException { method in class:QPDecoderStream
78 int c = in.read();
82 while ((c = in.read()) == ' ')
98 int a = in.read();
106 return read();
109 int b = in.read();
115 return read();
121 ba[1] = (byte)in.read();
155 public int read(byte[] buf, int off, int len) throws IOException { method in class:QPDecoderStream
[all...]
H A DQDecoderStream.java67 public int read() throws IOException { method in class:QDecoderStream
68 int c = in.read();
74 ba[0] = (byte)in.read();
75 ba[1] = (byte)in.read();
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/util/xml/impl/
H A DReaderUTF8.java63 * @param len Maximum number of characters to read.
67 public int read(char[] cbuf, int off, int len) throws IOException { method in class:ReaderUTF8
71 if ((val = is.read()) < 0) {
77 cbuf[off++] = (char) (((val & 0x1f) << 6) | (is.read() & 0x3f));
82 | ((is.read() & 0x3f) << 6) | (is.read() & 0x3f));
100 * @return The character read, as an integer in the range 0 to 65535
105 public int read() throws IOException { method in class:ReaderUTF8
107 if ((val = is.read()) < 0) {
113 val = ((val & 0x1f) << 6) | (is.read()
[all...]
H A DReaderUTF16.java68 * @param len Maximum number of characters to read.
71 public int read(char[] cbuf, int off, int len) throws IOException { method in class:ReaderUTF16
76 if ((val = is.read()) < 0) {
79 cbuf[off++] = (char) ((val << 8) | (is.read() & 0xff));
84 if ((val = is.read()) < 0) {
87 cbuf[off++] = (char) ((is.read() << 8) | (val & 0xff));
97 * @return The character read, as an integer in the range 0 to 65535
101 public int read() throws IOException { method in class:ReaderUTF16
103 if ((val = is.read()) < 0) {
107 val = (char) ((val << 8) | (is.read()
[all...]
/openjdk10/jdk/src/java.base/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);
/openjdk10/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);
/openjdk10/hotspot/src/os_cpu/linux_s390/vm/
H A Dprefetch_linux_s390.inline.hpp31 inline void Prefetch::read(void* loc, intx interval) { function in class:Prefetch
/openjdk10/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
/openjdk10/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
/openjdk10/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

Completed in 149 milliseconds

1234567891011>>