Searched refs:unread (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/test/java/io/PushbackReader/
H A DSkip.java45 // Check skip without unread chars present
48 pr.unread(2);
49 pr.unread(1);
50 // Check skip over and beyond unread chars
54 pr.unread(6);
55 pr.unread(5);
56 // Check skip within unread chars
60 // Check skip after unread chars have been used
/openjdk7/jdk/test/java/io/PushbackInputStream/
H A DAvailable.java61 in.unread(20);
64 in.unread(20);
H A DClosedStream.java42 in.unread(20);
H A DSkip.java38 in.unread(4);
39 in.unread(5);
40 in.unread(6);
50 in.unread(two);
/openjdk7/jdk/src/share/demo/jfc/Metalworks/
H A DMetalworksInBox.java60 DefaultMutableTreeNode unread;
67 top.add(unread = new DefaultMutableTreeNode("Unread Mail"));
72 unread.add(new DefaultMutableTreeNode("Buy Stuff Now"));
73 unread.add(new DefaultMutableTreeNode("Read Me Now"));
74 unread.add(new DefaultMutableTreeNode("Hot Offer"));
75 unread.add(new DefaultMutableTreeNode("Re: Re: Thank You"));
76 unread.add(new DefaultMutableTreeNode("Fwd: Good Joke"));
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DSignature.java162 final void unread() { if(pos > 0) pos--; } method in class:Signature.MyByteArrayInputStream
197 in.unread();
201 in.unread();
222 in.unread();
245 in.unread();
253 in.unread();
257 in.unread();
260 in.unread();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DQPDecoderStream.java90 ((PushbackInputStream)in).unread(c);
113 ((PushbackInputStream)in).unread(b);
131 ((PushbackInputStream)in).unread(ba);
H A DLineInputStream.java91 ((PushbackInputStream)in).unread(c2);
/openjdk7/jdk/src/share/classes/java/io/
H A DPushbackInputStream.java31 * the ability to "push back" or "unread"
37 * the code fragment can "unread" it, so that
206 public void unread(int b) throws IOException { method in class:PushbackInputStream
229 public void unread(byte[] b, int off, int len) throws IOException { method in class:PushbackInputStream
251 public void unread(byte[] b) throws IOException { method in class:PushbackInputStream
252 unread(b, 0, b.length);
370 * Once the stream has been closed, further read(), unread(),
H A DPushbackReader.java151 public void unread(int c) throws IOException { method in class:PushbackReader
174 public void unread(char cbuf[], int off, int len) throws IOException { method in class:PushbackReader
195 public void unread(char cbuf[]) throws IOException { method in class:PushbackReader
196 unread(cbuf, 0, cbuf.length);
242 * unread(), ready(), or skip() invocations will throw an IOException.
H A DObjectInputStream.java2388 private int unread = 0; field in class:ObjectInputStream.BlockDataInputStream
2418 unread = 0;
2420 throw new IllegalStateException("unread block data");
2523 * unread fields to reflect the new amount of available block data; if
2525 * unread to 0 and end to -1.
2531 if (unread > 0) {
2533 in.read(buf, 0, Math.min(unread, MAX_BLOCK_SIZE));
2536 unread -= n;
2545 unread = n;
2548 unread
[all...]
H A DDataInputStream.java524 ((PushbackInputStream)in).unread(c2);
/openjdk7/jdk/test/java/io/Reader/
H A DOpsAfterClose.java182 pr.unread(1);
183 System.out.println("Test failed for unread(int):" + pr);
191 pr.unread(buf, 0, 2);
192 System.out.println("Test failed for unread(buf, offset, len):" +
199 pr.unread(buf);
200 System.out.println("Test failed for unread(char[] buf):" + pr);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DUUDecoder.java202 inStream.unread (c);
220 inStream.unread (c);
252 inStream.unread (c);
/openjdk7/jdk/test/java/io/InputStream/
H A DOpsAfterClose.java235 pis.unread(1);
236 System.out.println("Test failed for unread(int):" + pis);
244 pis.unread(buf, 0, 2);
245 System.out.println("Test failed for unread(buf, offset, len):" +
252 pis.unread(buf);
253 System.out.println("Test failed for unread(char[] buf):" + pis);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DCompactParseable.java130 in.unread(b2);
134 in.unread(b1);
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipInputStream.java366 ((PushbackInputStream)in).unread(buf, len - n, n);
379 ((PushbackInputStream)in).unread(
393 ((PushbackInputStream)in).unread(
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DXMLDeclarationParser.java107 m_pushbackReader.unread(aChar, 0, len);
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DPassword.java93 ((PushbackInputStream)in).unread(c2);
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DDefaultHandlerImpl.java122 ((PushbackInputStream)in).unread(c2);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DXmlReader.java212 pb.unread(buf, 0, len);
316 pb.unread(buffer, 0, len);
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DScanner.java218 unread(data.ch);
219 unread('L');
252 unread (data.ch);
265 unread (data.ch);
289 unread (data.ch);
301 unread (data.ch);
333 unread (data.ch);
346 unread (data.ch);
365 unread (data.ch);
391 unread (dat
479 private void unread (char ch) method in class:Scanner
[all...]
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DPattern.java1915 private void unread() { method in class:Pattern
2039 unread();
2045 unread();
2149 unread();
2156 unread();
2162 unread();
2469 unread();
2486 unread();
2571 unread();
2576 unread();
[all...]

Completed in 4646 milliseconds