Searched refs:PushbackInputStream (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/jdk/test/java/io/PushbackInputStream/
H A DAvailable.java27 @summary Check for correct implementation of PushbackInputStream.available
36 private static void dotest(PushbackInputStream in , int expected)
53 PushbackInputStream in = new
54 PushbackInputStream(new ByteArrayInputStream(new byte[10]),5);
H A DClosedStream.java26 @summary Test PushbackInputStream close method */
31 * This class tests to see if PushbackInputStream closes
40 PushbackInputStream in = new PushbackInputStream(
H A DMarkReset.java37 PushbackInputStream in =
38 new PushbackInputStream(new ByteArrayInputStream(data));
H A DSkip.java26 @summary Test for correct implementation of PushbackInputStream.skip
33 private static void dotest(PushbackInputStream in, int expected)
67 PushbackInputStream in;
69 in = new PushbackInputStream(new ByteArrayInputStream(data1), 3);
71 in = new PushbackInputStream(new ByteArrayInputStream(data2), 3);
73 in = new PushbackInputStream(new ByteArrayInputStream(data3), 3);
/openjdk7/jdk/test/java/io/DataInputStream/
H A DReadLinePushback.java34 PushbackInputStream pis = new PushbackInputStream
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCharacterDecoder.java31 import java.io.PushbackInputStream;
97 protected void decodeBufferPrefix(PushbackInputStream aStream, OutputStream bStream) throws IOException { }
100 protected void decodeBufferSuffix(PushbackInputStream aStream, OutputStream bStream) throws IOException { }
108 protected int decodeLinePrefix(PushbackInputStream aStream, OutputStream bStream) throws IOException {
118 protected void decodeLineSuffix(PushbackInputStream aStream, OutputStream bStream) throws IOException { }
125 protected void decodeAtom(PushbackInputStream aStream, OutputStream bStream, int l) throws IOException {
155 PushbackInputStream ps = new PushbackInputStream (aStream);
H A DUUDecoder.java27 import java.io.PushbackInputStream;
122 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int l)
153 protected void decodeBufferPrefix(PushbackInputStream inStream, OutputStream outStream) throws IOException {
212 protected int decodeLinePrefix(PushbackInputStream inStream, OutputStream outStream) throws IOException {
239 protected void decodeLineSuffix(PushbackInputStream inStream, OutputStream outStream) throws IOException {
264 protected void decodeBufferSuffix(PushbackInputStream inStream, OutputStream outStream) throws IOException {
H A DUCDecoder.java29 import java.io.PushbackInputStream;
118 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int l) throws IOException {
170 protected void decodeBufferPrefix(PushbackInputStream inStream, OutputStream outStream) {
184 protected int decodeLinePrefix(PushbackInputStream inStream, OutputStream outStream) throws IOException {
219 protected void decodeLineSuffix(PushbackInputStream inStream, OutputStream outStream) throws IOException {
H A DBASE64Decoder.java28 import java.io.PushbackInputStream;
105 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int rem)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DQPDecoderStream.java55 super(new PushbackInputStream(in, 2)); // pushback of size=2
90 ((PushbackInputStream)in).unread(c);
113 ((PushbackInputStream)in).unread(b);
131 ((PushbackInputStream)in).unread(ba);
H A DLineInputStream.java89 if (!(in instanceof PushbackInputStream))
90 in = this.in = new PushbackInputStream(in);
91 ((PushbackInputStream)in).unread(c2);
/openjdk7/jdk/test/java/io/
H A DNegativeInitSize.java53 PushbackInputStream pbis = new PushbackInputStream(null, -1);
57 ("PushbackInputStream failed to detect negative init size");
/openjdk7/jdk/src/share/classes/java/io/
H A DPushbackInputStream.java29 * A <code>PushbackInputStream</code> adds
52 class PushbackInputStream extends FilterInputStream { class in inherits:FilterInputStream
78 * Creates a <code>PushbackInputStream</code>
91 public PushbackInputStream(InputStream in, int size) { method in class:PushbackInputStream
101 * Creates a <code>PushbackInputStream</code>
110 public PushbackInputStream(InputStream in) { method in class:PushbackInputStream
289 * <p> The <code>skip</code> method of <code>PushbackInputStream</code>
341 * <p> The <code>mark</code> method of <code>PushbackInputStream</code>
356 * <code>PushbackInputStream</code> does nothing except throw an
H A DDataInputStream.java521 if (!(in instanceof PushbackInputStream)) {
522 this.in = new PushbackInputStream(in);
524 ((PushbackInputStream)in).unread(c2);
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DPassword.java90 if (!(in instanceof PushbackInputStream)) {
91 in = new PushbackInputStream(in);
93 ((PushbackInputStream)in).unread(c2);
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DDefaultHandlerImpl.java119 if (!(in instanceof PushbackInputStream)) {
120 in = new PushbackInputStream(in);
122 ((PushbackInputStream)in).unread(c2);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DCompactParseable.java51 import java.io.PushbackInputStream;
111 PushbackInputStream pb = new PushbackInputStream(in, 2);
124 static private String detectEncoding(PushbackInputStream in) throws IOException {
/openjdk7/jdk/test/java/io/InputStream/
H A DOpsAfterClose.java159 PushbackInputStream pbis = new PushbackInputStream(
231 private static boolean testPushbackInputStream(PushbackInputStream pis)
H A DReadParams.java165 PushbackInputStream pbis =
166 new PushbackInputStream(new MyInputStream(1024));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DXmlReader.java33 import java.io.PushbackInputStream;
196 PushbackInputStream pb;
200 if (stream instanceof PushbackInputStream)
201 pb = (PushbackInputStream) stream;
203 pb = new PushbackInputStream(stream, MAXPUSHBACK);
302 private void useEncodingDecl(PushbackInputStream pb, String encoding)
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipInputStream.java31 import java.io.PushbackInputStream;
97 super(new PushbackInputStream(in, 512), new Inflater(true), 512);
366 ((PushbackInputStream)in).unread(buf, len - n, n);
379 ((PushbackInputStream)in).unread(
393 ((PushbackInputStream)in).unread(
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DAudioInputStream.java29 import java.io.PushbackInputStream;
/openjdk7/jdk/src/share/classes/com/sun/security/auth/callback/
H A DTextCallbackHandler.java42 import java.io.PushbackInputStream;
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DKeyStoreLoginModule.java32 import java.io.PushbackInputStream;
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DScanner.java51 import java.io.PushbackInputStream;

Completed in 1788 milliseconds

12