Searched defs:skip (Results 1 - 25 of 54) sorted by relevance

123

/libcore/luni/src/main/java/libcore/io/
H A DBufferIterator.java34 public abstract void skip(int byteCount); method in class:BufferIterator
H A DNioBufferIterator.java44 public void skip(int byteCount) { method in class:NioBufferIterator
/libcore/ojluni/src/main/java/java/io/
H A DFilterInputStream.java138 * input stream. The <code>skip</code> method may, for a variety of
143 * This method simply performs <code>in.skip(n)</code>.
150 public long skip(long n) throws IOException { method in class:FilterInputStream
151 return in.skip(n);
158 * the same thread or another thread. A single read or skip of this
159 * many bytes will not block, but may read or skip fewer bytes.
H A DFilterReader.java82 public long skip(long n) throws IOException { method in class:FilterReader
83 return in.skip(n);
H A DInputStream.java192 * stream. The <code>skip</code> method may, for a variety of reasons, end
199 * <p> The <code>skip</code> method of this class creates a
210 public long skip(long n) throws IOException { method in class:InputStream
236 * might be the same thread or another thread. A single read or skip of this
237 * many bytes will not block, but may read or skip fewer bytes.
H A DObjectInput.java90 public long skip(long n) throws IOException; method in interface:ObjectInput
H A DStringBufferInputStream.java143 public synchronized long skip(long n) { method in class:StringBufferInputStream
H A DByteArrayInputStream.java211 public synchronized long skip(long n) { method in class:ByteArrayInputStream
H A DLineNumberInputStream.java163 * input stream. The <code>skip</code> method may, for a variety of
168 * The <code>skip</code> method of <code>LineNumberInputStream</code> creates
178 public long skip(long n) throws IOException { method in class:LineNumberInputStream
H A DReader.java159 /** Maximum skip-buffer size */
169 * @param n The number of characters to skip
176 public long skip(long n) throws IOException { method in class:Reader
178 throw new IllegalArgumentException("skip value is negative");
255 * mark(), reset(), or skip() invocations will throw an IOException.
H A DStringReader.java111 * <code>skip</code> method of the {@link Reader} superclass throws
113 * stream to skip backwards. Negative return values indicate a skip
114 * backwards. It is not possible to skip backwards past the beginning of
122 public long skip(long ns) throws IOException { method in class:StringReader
127 // Bound skip by beginning and end of the source
H A DBufferedInputStream.java93 * the next <code>read</code> or <code>skip</code>
348 * See the general contract of the <code>skip</code>
356 public synchronized long skip(long n) throws IOException { method in class:BufferedInputStream
366 return getInIfOpen().skip(n);
384 * the same thread or another thread. A single read or skip of this
385 * many bytes will not block, but may read or skip fewer bytes.
460 * or skip() invocations will throw an IOException.
H A DCharArrayReader.java149 * <code>skip</code> method of the {@link Reader} superclass throws
153 * @param n The number of characters to skip
157 public long skip(long n) throws IOException { method in class:CharArrayReader
226 * mark(), reset(), or skip() invocations will throw an IOException.
H A DFileInputStream.java263 * <p>The <code>skip</code> method may, for a variety of
266 * <code>IOException</code> is thrown, even though the <code>skip</code>
270 * <p>This method may skip more bytes than are remaining in the backing
281 public long skip(long n) throws IOException { method in class:FileInputStream
290 return super.skip(n);
297 * Used to force manual skip when FileInputStream operates on pipe
306 * the same thread or another thread. A single read or skip of this
307 * many bytes will not block, but may read or skip fewer bytes.
309 * <p> In some cases, a non-blocking read (or skip) may appear to be
H A DLineNumberReader.java58 /** If the next character is a line feed, skip it */
207 /** Maximum skip-buffer size */
217 * The number of characters to skip
227 public long skip(long n) throws IOException { method in class:LineNumberReader
229 throw new IllegalArgumentException("skip() value is negative");
H A DPushbackInputStream.java259 * the same thread or another thread. A single read or skip of this
260 * many bytes will not block, but may read or skip fewer bytes.
285 * input stream. The <code>skip</code> method may, for a variety of
289 * <p> The <code>skip</code> method of <code>PushbackInputStream</code>
291 * calls the <code>skip</code> method of the underlying input stream if
302 * @see java.io.InputStream#skip(long n)
305 public long skip(long n) throws IOException { method in class:PushbackInputStream
320 pskip += super.skip(n);
371 * available(), reset(), or skip() invocations will throw an IOException.
H A DPushbackReader.java242 * unread(), ready(), or skip() invocations will throw an IOException.
256 * @param n The number of characters to skip
263 public long skip(long n) throws IOException { method in class:PushbackReader
265 throw new IllegalArgumentException("skip value is negative");
278 return avail + super.skip(n);
/libcore/ojluni/src/main/java/java/util/zip/
H A DCheckedInputStream.java91 * @param n the number of bytes to skip
95 public long skip(long n) throws IOException { method in class:CheckedInputStream
H A DDeflaterInputStream.java230 public long skip(long n) throws IOException { method in class:DeflaterInputStream
232 throw new IllegalArgumentException("negative skip length");
H A DInflaterInputStream.java197 * @param n the number of bytes to skip
202 public long skip(long n) throws IOException { method in class:InflaterInputStream
204 throw new IllegalArgumentException("negative skip length");
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DAppInputStream.java40 // static dummy array we use to implement skip()
127 public synchronized long skip(long n) throws IOException { method in class:AppInputStream
H A DByteBufferInputStream.java111 public long skip(long n) throws IOException { method in class:ByteBufferInputStream
114 throw new IOException("skip on a closed InputStream");
126 int skip = Math.min(bb.remaining(), nInt);
128 bb.position(bb.position() + skip);
/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
/libcore/ojluni/src/main/java/java/net/
H A DSocketInputStream.java215 * @param numbytes the number of bytes to skip
219 public long skip(long numbytes) throws IOException { method in class:SocketInputStream
/libcore/ojluni/src/main/java/javax/crypto/
H A DCipherInputStream.java47 * <code>skip</code> method skips, and the <code>available</code>
257 public long skip(long n) throws IOException { method in class:CipherInputStream

Completed in 354 milliseconds

123