Home
last modified time | relevance | path

Searched refs:unread (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldPushbackInputStreamTest.java38 pis.unread("He".getBytes()); in test_ConstructorLjava_io_InputStream()
65 pis.unread("Hello world".getBytes()); in test_ConstructorLjava_io_InputStreamI()
190 pis.unread(buf); in test_skipJ()
208 tobj.unread(buf2); in test_unread$B()
211 tobj.unread(buf2); in test_unread$B()
232 pis.unread(buf); in test_unread$B()
248 tobj.unread(buf2, 15, 10); in test_unread$BII()
251 tobj.unread(buf2, 15, 10); in test_unread$BII()
273 pis.unread(buf, 50, 50); in test_unread$BII()
283 pis.unread(buf, 0, -1); in test_unread$BII()
[all …]
DOldPushbackReaderTest.java42 pbr.unread(buf); in test_ConstructorLjava_io_Reader()
252 tobj.unread(buf2); in test_unread$C()
254 tobj.unread(buf2); in test_unread$C()
273 pbr.unread(c); in test_unread$C()
312 tobj.unread(buf2, 15, 10); in test_unread$CII()
314 tobj.unread(buf2, 15, 10); in test_unread$CII()
334 pbr.unread(new char[pbString.length()], 0 , -1); in test_unread_$CII_ArrayIndexOutOfBoundsException()
340 pbr.unread(new char[10], 10 , 1); in test_unread_$CII_ArrayIndexOutOfBoundsException()
354 tobj.unread(23); // Why does this work?!? in test_unreadI()
356 tobj.unread(23); in test_unreadI()
[all …]
DOldAndroidPushbackReaderTest.java36 a.unread("PUSH".toCharArray()); in testPushbackReader()
44 b.unread('X'); in testPushbackReader()
DOldAndroidPushbackInputStreamTest.java36 a.unread("push".getBytes()); in testPushbackInputStream()
44 b.unread('X'); in testPushbackInputStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPushbackReaderTest.java43 pbr.unread(buf); in test_ConstructorLjava_io_Reader()
208 pbr.unread(c); in test_unread$C()
245 pReader2.unread('a'); in test_skip$J()
246 pReader2.unread('b'); in test_skip$J()
257 pReader.unread('i'); in test_skip$J()
290 pbr.unread(c, 0, 2); in test_unread$CII()
308 pbr.unread(null, 0, 1); in test_unread_$CII_NullPointerException()
324 pbr.unread(new char[pbString.length()], 0, 2); in test_unread_$CII_Exception_InsufficientBuffer()
339 pbr.unread(new char[pbString.length()], -1, -1); in test_unread_$CII_ArrayIndexOutOfBoundsException()
356 pbr.unread(c); in test_unreadI()
/libcore/ojluni/src/main/java/java/io/
DPushbackInputStream.java206 public void unread(int b) throws IOException { in unread() method in PushbackInputStream
229 public void unread(byte[] b, int off, int len) throws IOException { in unread() method in PushbackInputStream
251 public void unread(byte[] b) throws IOException { in unread() method in PushbackInputStream
252 unread(b, 0, b.length); in unread()
DPushbackReader.java151 public void unread(int c) throws IOException { in unread() method in PushbackReader
174 public void unread(char cbuf[], int off, int len) throws IOException { in unread() method in PushbackReader
195 public void unread(char cbuf[]) throws IOException { in unread() method in PushbackReader
196 unread(cbuf, 0, cbuf.length); in unread()
DDataInputStream.java521 ((PushbackInputStream)in).unread(c2); in readLine()
/libcore/ojluni/src/main/java/java/util/zip/
DZipInputStream.java368 ((PushbackInputStream)in).unread(buf, len - n, n); in readEnd()
381 ((PushbackInputStream)in).unread( in readEnd()
395 ((PushbackInputStream)in).unread( in readEnd()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectInputStream.java562 private int unread = 0; // 0x0 field in ObjectInputStream.BlockDataInputStream