/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | PasswordProtectedInputStream.java | 70 public long skip(long n) throws IOException { method in class:PasswordProtectedInputStream 71 long skip = super.skip(n); 72 pwdIndex += skip; 73 return skip;
|
H A D | PositionedInputStream.java | 77 public long skip(long n) throws IOException { method in class:PositionedInputStream 78 long skip = in.skip(n); 79 currentPosition += skip; // Maybe currentPosition should be long ? 80 return skip;
|
H A D | InputStreamHelper.java | 89 skip(count); 96 skip(available); 126 bais.skip(available);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | ObjectInput.java | 107 * the number of bytes to skip. 113 public long skip(long toSkip) throws IOException; method in interface:ObjectInput
|
H A D | FilterInputStream.java | 93 * @see #skip(long) 180 * the number of bytes to skip. 188 public long skip(long count) throws IOException { method in class:FilterInputStream 189 return in.skip(count);
|
H A D | FilterReader.java | 92 * @see #skip(long) 163 * {@code read()} and {@code skip()} will occur from this new location. If 184 * default implementation is to skip characters in the filtered reader. 187 * the maximum number of characters to skip. 197 public long skip(long count) throws IOException { method in class:FilterReader 199 return in.skip(count);
|
H A D | DataInputStream.java | 472 * the number of bytes to skip. 481 long skip; 482 while (skipped < count && (skip = in.skip(count - skipped)) != 0) { 483 skipped += skip;
|
H A D | PushbackReader.java | 372 * the number of characters to skip. 379 public long skip(long count) throws IOException { method in class:PushbackReader 399 inSkipped = in.skip(requiredFromIn); 401 inSkipped = in.skip(count);
|
H A D | ByteArrayInputStream.java | 221 * the number of bytes to skip. 225 public synchronized long skip(long n) { method in class:ByteArrayInputStream
|
H A D | InputStream.java | 70 * read or skip will actually read or skip that many bytes: they may read or skip fewer. 232 * <p>Note the "at most" in the description of this method: this method may choose to skip 238 * @param n the number of bytes to skip. 243 public long skip(long n) throws IOException { method in class:InputStream
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | PushbackReaderTest.java | 414 * @tests java.io.PushbackReader#skip(long) 418 method = "skip", 425 tobj.skip(6); 426 tobj.skip(1000000); 427 tobj.skip(1000000); 430 tobj.skip(1); 459 numSkipped = pReader2.skip(3); 462 numSkipped += pReader2.skip(10); 463 numSkipped += pReader2.skip(10); 464 numSkipped += pReader2.skip(1 [all...] |
H A D | StringBufferInputStreamTest.java | 77 sbis.skip(6); 140 long s = sbis.skip(6); 141 assertEquals("Unable to skip correct umber of chars", 6, s); 147 * @tests java.io.StringBufferInputStream#skip(long) 152 method = "skip", 156 // Test for method long java.io.StringBufferInputStream.skip(long) 157 long s = sbis.skip(6); 158 assertEquals("Unable to skip correct umber of chars", 6, s);
|
H A D | LineNumberInputStreamTest.java | 111 lnis.skip(4); 218 lnis.skip(4); 226 lnis.skip(100); 264 * @tests java.io.LineNumberInputStream#skip(long) 268 method = "skip", 272 long skipped = lnis.skip(4); 280 lnis.skip(4);
|
H A D | StringReaderTest.java | 87 sr.skip(5); 89 sr.skip(5); 225 sr.skip(5); 227 sr.skip(5); 239 * @tests java.io.StringReader#skip(long) 244 method = "skip", 248 // Test for method long java.io.StringReader.skip(long) 251 sr.skip(5); 254 assertTrue("Failed to skip properly", new String(buf, 0, 2) 257 fail("Exception during skip tes [all...] |
H A D | BufferedReaderTest.java | 121 br.skip(500); 123 br.skip(250); 134 br.skip(500); 148 in.skip(6); 160 in.skip(6); 162 in.skip(7); 446 br.skip(500); 448 br.skip(500); 459 br.skip(500); 470 * @tests java.io.BufferedReader#skip(lon [all...] |
H A D | PushbackInputStreamTest.java | 241 * @tests java.io.PushbackInputStream#skip(long) 246 method = "skip", 254 tobj.skip(6); 256 tobj.skip(1000000); 257 tobj.skip(1000000); 260 tobj.skip(1); 266 // Test for method long java.io.PushbackInputStream.skip(long) 269 pis.skip(50); 274 pis.skip(25); 421 tobj.skip( [all...] |
H A D | CharArrayReaderTest.java | 127 cr.skip(5L); 255 cr.skip(1000); 285 cr.skip(5L); 302 * @tests java.io.CharArrayReader#skip(long) 306 method = "skip", 312 skipped = cr.skip(5L); 313 assertEquals("Test 1: Failed to skip correct number of chars;", 320 cr.skip(1);
|
H A D | BufferedInputStreamTest.java | 102 is.skip(this.fileString.length() - 2); 240 method = "skip", 257 is.skip(10); 268 is.skip(10); 280 * regarding the invalidation of a set mark by read and skip operations. 283 is.skip(200); 296 is.skip(200); 306 // Test 7: Check that the mark is invalidated by a skip. 308 is.skip(11); 444 is.skip(300 [all...] |
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
H A D | InflaterInputStreamTest.java | 236 assertEquals(4, in.skip(4)); 383 * @tests java.util.zip.InflaterInputStream#skip(long) 388 method = "skip", 397 iis.skip(-3); 405 iis.skip(Integer.MIN_VALUE); 413 assertEquals("Incorrect Number Of Bytes Skipped.", 3, iis.skip(3)); 418 assertEquals("Incorrect Number Of Bytes Skipped.", 0, iis.skip(0)); 422 assertEquals("Incorrect Number Of Bytes Skipped.", 2, iis.skip(4)); 428 * @tests java.util.zip.InflaterInputStream#skip(long) 433 method = "skip", [all...] |
H A D | ZipInputStreamTest.java | 308 * @tests java.util.zip.ZipInputStream#skip(long) 312 method = "skip", 318 zis.skip(2); 320 assertEquals("Failed to skip data", 10, r); 324 long s = zis.skip(1025); 325 assertTrue("invalid skip: " + s, s == 1025); 331 assertEquals("Assert 0: failed valid skip", skipLen, zis.skip(skipLen)); 332 zis.skip(dataBytes.length); 333 assertEquals("Assert 1: performed invalid skip", [all...] |
H A D | CheckedInputStreamTest.java | 109 * @tests java.util.zip.CheckedInputStream#skip(long) 114 method = "skip", 118 // testing that the return by skip is valid 125 "the value returned by skip(n) is not the same as its parameter", 126 skipValue, checkIn.skip(skipValue)); 127 checkIn.skip(skipValue); 134 checkInput.skip(33); 151 // testing that the return by skip is valid 175 // testing that the return by skip is valid
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/ |
H A D | FtpURLInputStream.java | 84 public long skip(long sbytes) throws IOException { method in class:FtpURLInputStream 85 return is.skip(sbytes);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
H A D | SocketInputStream.java | 92 public long skip(long n) throws IOException { method in class:SocketInputStream 93 return (0 == n) ? 0 : super.skip(n);
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherInputStream1Test.java | 182 int skip = 2; 183 int ind = skip; // index into the data array (to check the got data) 185 cis.read(null, 0, skip); 186 int got = skip + cis.read(result, 0, 1); // the number of got bytes 209 * skip(long n) method testing. Tests that the method correctly skips the 215 method = "skip", 225 int skipped = (int) cis.skip(2);
|
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
H A D | CheckedInputStream.java | 106 * the number of bytes to skip. 112 public long skip(long nbytes) throws IOException { method in class:CheckedInputStream
|