/libcore/luni/src/test/java/libcore/java/io/ |
D | OldPushbackInputStreamTest.java | 38 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 …]
|
D | OldPushbackReaderTest.java | 42 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 …]
|
D | OldAndroidPushbackReaderTest.java | 36 a.unread("PUSH".toCharArray()); in testPushbackReader() 44 b.unread('X'); in testPushbackReader()
|
D | OldAndroidPushbackInputStreamTest.java | 36 a.unread("push".getBytes()); in testPushbackInputStream() 44 b.unread('X'); in testPushbackInputStream()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PushbackReaderTest.java | 43 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()
|
D | PushbackInputStreamTest.java | 67 pis.unread("He".getBytes()); in test_ConstructorLjava_io_InputStream() 83 pis.unread("Hellos".getBytes()); in test_ConstructorLjava_io_InputStreamI() 166 pis.unread(buf); in test_skipJ() 184 pis.unread(buf); in test_unread$B() 203 pis.unread(buf, 50, 50); in test_unread$BII() 212 pb.unread(new byte[1], 0, 5); in test_unread$BII() 228 pis.unread(x); in test_unreadI()
|
/libcore/ojluni/src/main/java/java/io/ |
D | PushbackInputStream.java | 206 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()
|
D | PushbackReader.java | 151 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()
|
D | ObjectInputStream.java | 2395 private int unread = 0; field in ObjectInputStream.BlockDataInputStream 2425 unread = 0; in setBlockDataMode() 2538 if (unread > 0) { in refill() 2540 in.read(buf, 0, Math.min(unread, MAX_BLOCK_SIZE)); in refill() 2543 unread -= n; in refill() 2552 unread = n; in refill() 2555 unread = 0; in refill() 2562 unread = 0; in refill() 2574 return (end >= 0) ? (end - pos) + unread : 0; in currentBlockRemaining() 2659 if ((pos == end) && (unread == 0)) { in available() [all …]
|
D | DataInputStream.java | 524 ((PushbackInputStream)in).unread(c2); in readLine()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipInputStream.java | 375 ((PushbackInputStream)in).unread(buf, len - n, n); in readEnd() 388 ((PushbackInputStream)in).unread( in readEnd() 402 ((PushbackInputStream)in).unread( in readEnd()
|