Searched refs:skip (Results 26 - 50 of 82) sorted by relevance

1234

/dalvik/libcore/luni/src/main/java/java/io/
H A DLineNumberInputStream.java235 * the number of bytes to skip.
244 public long skip(long count) throws IOException { method in class:LineNumberInputStream
H A DLineNumberReader.java252 * the number of characters to skip.
263 public long skip(long count) throws IOException { method in class:LineNumberReader
H A DReader.java195 * Invocations of {@code read()} and {@code skip()} will occur from this new
216 * the maximum number of characters to skip.
226 public long skip(long count) throws IOException { method in class:Reader
H A DStringBufferInputStream.java152 * the number of characters to skip.
156 public synchronized long skip(long n) { method in class:StringBufferInputStream
H A DPushbackInputStream.java213 * the number of bytes to skip.
219 public long skip(long count) throws IOException { method in class:PushbackInputStream
232 numSkipped += in.skip(count - numSkipped);
H A DStringReader.java207 * Invocations of {@code read()} and {@code skip()} will occur from this new
228 * Reader#skip(long) overridden method}, this method may skip negative skip
234 * the maximum number of characters to skip. Positive values skip
235 * forward; negative values skip backward.
247 public long skip(long ns) throws IOException { method in class:StringReader
H A DCharArrayReader.java259 * Invocations of {@code read()} and {@code skip()} will occur from this new
282 * the number of characters to skip.
288 public long skip(long n) throws IOException { method in class:CharArrayReader
H A DBufferedInputStream.java406 * the number of bytes to skip. {@code skip} does nothing and
413 public synchronized long skip(long amount) throws IOException { method in class:BufferedInputStream
446 // Couldn't get all the bytes, skip what we read
452 return read + localIn.skip(amount - read);
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DInputStreamTest.java324 * @tests java.io.InputStream#skip(long)
329 notes = "Verifies skip(long).",
330 method = "skip",
335 notes = "Verifies ObjectInput.skip(long) since " +
337 "of skip(long) from InputStream.",
339 method = "skip",
350 // Test 1: Check that skip(long) just returns 0 if called with a
352 assertEquals("Test 1:", is.skip(-42), 0);
361 // number of bytes to skip.
363 is.skip(1
[all...]
H A DLineNumberReaderTest.java101 lnr.skip(80);
327 * @tests java.io.LineNumberReader#skip(long)
331 method = "skip",
337 long skipped = lnr.skip(80);
341 assertTrue("Test 2: Failed to skip to correct position.",
345 lnr.skip(-1);
353 lnr.skip(1);
H A DFilterReaderTest.java77 public long skip(long count) throws IOException { method in class:FilterReaderTest.MockReader
244 * @tests java.io.FilterReader#skip()
248 notes = "Verifies skip(long).",
249 method = "skip",
253 fr.skip(10);
254 assertTrue("skip(long) has not been called.", called);
H A DFileInputStreamTest.java288 is.skip(3000);
317 is.skip(3000);
423 * @tests FileInputStream#skip(long)
427 method = "skip",
433 is.skip(1000);
435 assertTrue("Test 1: Failed to skip to correct position.",
449 * @tests FileInputStream#skip(long)
453 notes = "Verifies that skip(long) method throws IOException if " +
455 method = "skip",
463 fis.skip(
[all...]
H A DByteArrayInputStreamTest.java157 is.skip(3000);
218 is.skip(50);
282 * @tests java.io.ByteArrayInputStream#skip(long)
287 method = "skip",
291 // Test for method long java.io.ByteArrayInputStream.skip(long)
294 is.skip(100);
296 assertTrue("Failed to skip to correct position", new String(buf1,
299 fail("Exception during skip test : " + e.getMessage());
H A DFilterWriterTest.java69 public long skip(long count) throws IOException { method in class:FilterWriterTest.MockWriter
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLInputStream.java49 public long skip(long n) throws IOException { method in class:SSLInputStream
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DReaderTest.java283 * @tests {@link java.io.Reader#skip(long)}
288 method = "skip",
298 // normal skip
299 mockReader.skip(length / 2);
302 // try to skip a bigger number of characters than the total
304 mockReader.skip(length);
306 // try to skip a negative number of characters throw IllegalArgumentException
308 mockReader.skip(-1);
319 simple.skip(5);
324 simple.skip(
[all...]
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DInflaterInputStream.java229 is.skip(cnt);
243 * the number of bytes to skip.
249 public long skip(long nbytes) throws IOException { method in class:InflaterInputStream
H A DZipFile.java247 rafstrm.skip(entry.nameLen + localExtraLenOrWhatever);
411 public long skip(long n) throws IOException { method in class:ZipFile.RAFStream
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DCipherInputStream.java176 public long skip(long n) throws IOException { method in class:CipherInputStream
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_StringReader.java197 * location. Invocations of <code>read()/skip()</code> will occur from
221 * The number of characters to skip.
228 public long skip(long count) throws IOException { method in class:Support_StringReader
/dalvik/libcore/sql/src/main/java/SQLite/
H A DBlob.java76 public long skip(long n) throws IOException { method in class:BlobR
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
H A DAudioInputStream.java119 public long skip(long n) throws IOException { method in class:AudioInputStream
/dalvik/dexlist/
H A DDexList.c136 goto skip;
144 skip:
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
H A DJarURLConnectionImpl.java409 public long skip(long nbytes) throws IOException { method in class:JarURLConnectionImpl.JarURLConnectionInputStream
410 return inputStream.skip(nbytes);
/dalvik/vm/mterp/x86-atom/
H A DOP_APUT_OBJECT.S47 je .L${opcode}_skip_check # reference is null so skip type check

Completed in 366 milliseconds

1234