Home
last modified time | relevance | path

Searched refs:skip (Results 1 – 25 of 89) sorted by relevance

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPushbackReaderTest.java244 numSkipped = pReader2.skip(3); in test_skip$J()
247 numSkipped += pReader2.skip(10); in test_skip$J()
248 numSkipped += pReader2.skip(10); in test_skip$J()
249 numSkipped += pReader2.skip(10); in test_skip$J()
250 numSkipped += pReader2.skip(10); in test_skip$J()
251 numSkipped += pReader2.skip(10); in test_skip$J()
252 numSkipped += pReader2.skip(10); in test_skip$J()
256 numSkipped += pReader.skip(2); in test_skip$J()
258 numSkipped += pReader.skip(2); in test_skip$J()
259 numSkipped += pReader.skip(0); in test_skip$J()
[all …]
DStringBufferInputStreamTest.java50 sbis.skip(6); in test_read()
69 long s = sbis.skip(6); in test_reset()
80 long s = sbis.skip(6); in test_skipJ()
DStringReaderTest.java59 sr.skip(5); in test_markI()
61 sr.skip(5); in test_markI()
127 sr.skip(5); in test_reset()
129 sr.skip(5); in test_reset()
143 sr.skip(5); in test_skipJ()
DLineNumberInputStreamTest.java76 lnis.skip(4); in test_markI()
114 lnis.skip(4); in test_reset()
123 lnis.skip(100); in test_reset()
144 lnis.skip(4); in test_skipJ()
DBufferedInputStreamTest.java128 is.skip(bufferSize - 2); in test_ConstructorLjava_io_InputStreamI()
247 is.skip(50); in test_markI()
262 in.skip(6); in test_markI()
269 in.skip(6); in test_markI()
271 in.skip(7); in test_markI()
384 is.skip(500); in test_read$BII()
490 buffis.skip(5); in test_reset_scenario1()
502 buffis.skip(6); in test_reset_scenario2()
512 is.skip(1000); in test_skipJ()
521 buf.skip(10); in test_skipJ()
[all …]
DCharArrayReaderTest.java71 cr.skip(5L); in test_markI()
113 cr.skip(1000); in test_ready()
138 cr.skip(5L); in test_reset()
164 long skipped = cr.skip(5L); in test_skipJ()
DBufferedReaderTest.java108 br.skip(500); in test_markI()
110 br.skip(250); in test_markI()
119 br.skip(500); in test_markI()
134 in.skip(6); in test_markI()
142 in.skip(6); in test_markI()
144 in.skip(7); in test_markI()
506 br.skip(500); in test_reset()
508 br.skip(500); in test_reset()
519 br.skip(500); in test_reset()
564 br.skip(500); in test_skipJ()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterInputStreamTest.java251 assertEquals(4, in.skip(4)); in testAvailableSkip()
354 iis.skip(-3); in test_skipJ()
362 iis.skip(Integer.MIN_VALUE); in test_skipJ()
370 assertEquals("Incorrect Number Of Bytes Skipped.", 3, iis.skip(3)); in test_skipJ()
375 assertEquals("Incorrect Number Of Bytes Skipped.", 0, iis.skip(0)); in test_skipJ()
379 assertEquals("Incorrect Number Of Bytes Skipped.", 2, iis.skip(4)); in test_skipJ()
398 long skip; in test_skipJ2() local
400 skip = inflatIP.skip(Integer.MIN_VALUE); in test_skipJ2()
415 skip = inflatIP2.skip(Integer.MAX_VALUE); in test_skipJ2()
418 5, skip); in test_skipJ2()
[all …]
DZipInputStreamTest.java187 zis.skip(2); in test_skipJ()
193 long s = zis.skip(1025); in test_skipJ()
199 assertEquals("Assert 0: failed valid skip", skipLen, zis.skip(skipLen)); in test_skipJ()
200 zis.skip(dataBytes.length); in test_skipJ()
201 assertEquals("Assert 1: performed invalid skip", 0, zis.skip(1)); in test_skipJ()
202 assertEquals("Assert 2: failed zero len skip", 0, zis.skip(0)); in test_skipJ()
204 zis.skip(-1); in test_skipJ()
225 zis1.skip(1); in test_available()
233 assertEquals(0, zis1.skip(1)); in test_available()
DCheckedInputStreamTest.java86 skipValue, checkIn.skip(skipValue)); in test_skipJ()
87 checkIn.skip(skipValue); in test_skipJ()
92 assertEquals(0, checkIn.skip(0)); in test_skipJ()
/libcore/luni/src/test/java/libcore/java/io/
DFileInputStreamTest.java75 fis.skip(SKIP_SIZE); in testSkipInPipes()
126 fis2.skip(1); in testFileDescriptorOwnership()
151 fis1.skip(1); in testFileDescriptorOwnership()
182 fis.skip(1); in testClose()
188 fis.skip(0); in testClose()
DOldCharArrayReaderTest.java98 cr.skip(5L); in test_markI()
197 cr.skip(1000); in test_ready()
221 cr.skip(5L); in test_reset()
240 skipped = cr.skip(5L); in test_skipJ()
248 cr.skip(1); in test_skipJ()
DOldBufferedReaderTest.java87 br.skip(500); in test_markI()
89 br.skip(250); in test_markI()
100 br.skip(500); in test_markI()
114 in.skip(6); in test_markI()
126 in.skip(6); in test_markI()
128 in.skip(7); in test_markI()
268 br.skip(-1); in test_skipJ()
274 br.skip(500); in test_skipJ()
284 br.skip(1); in test_skipJ()
364 assertEquals(2, r.skip(2)); in test_readLine_interaction_with_skip()
DOldLineNumberInputStreamTest.java113 lnis.skip(4); in test_reset()
121 lnis.skip(100); in test_reset()
150 long skipped = lnis.skip(4); in test_skipJ()
158 lnis.skip(4); in test_skipJ()
DOldPushbackInputStreamTest.java171 tobj.skip(6); in test_skipJ()
173 tobj.skip(1000000); in test_skipJ()
174 tobj.skip(1000000); in test_skipJ()
177 tobj.skip(1); in test_skipJ()
186 pis.skip(50); in test_skipJ()
191 pis.skip(25); in test_skipJ()
311 tobj.skip(2); in test_unreadI()
DOldLineNumberReaderTest.java34 lnr.skip(80); in test_markI()
164 long skipped = lnr.skip(80); in test_skipJ()
172 lnr.skip(-1); in test_skipJ()
180 lnr.skip(1); in test_skipJ()
DOldPushbackReaderTest.java290 tobj.skip(6); in test_skip$J()
291 tobj.skip(1000000); in test_skip$J()
292 tobj.skip(1000000); in test_skip$J()
295 tobj.skip(1); in test_skip$J()
355 tobj.skip(2); in test_unreadI()
DOldInputStreamTest.java230 assertEquals("Test 1:", is.skip(-42), 0); in test_skipL()
241 is.skip(17), 17); in test_skipL()
253 is.skip(ref.length), ref.length - 39); in test_skipL()
259 assertEquals("Test 5:", is.skip(10), 0); in test_skipL()
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlParser.java589 skip(); in readDoctype()
592 skip(); in readDoctype()
596 skip(); in readDoctype()
622 skip(); in readExternalId()
629 skip(); in readExternalId()
639 skip(); in readExternalId()
680 skip(); in readInternalSubset()
731 skip(); in readElementDeclaration()
734 skip(); in readElementDeclaration()
756 skip(); in readContentSpec()
[all …]
/libcore/luni/src/main/java/java/io/
DFilterInputStream.java150 public long skip(long byteCount) throws IOException { in skip() method in FilterInputStream
151 return in.skip(byteCount); in skip()
DDataInputStream.java203 long skip; in skipBytes() local
204 while (skipped < count && (skip = in.skip(count - skipped)) != 0) { in skipBytes()
205 skipped += skip; in skipBytes()
DFilterReader.java186 public long skip(long charCount) throws IOException { in skip() method in FilterReader
188 return in.skip(charCount); in skip()
DPushbackReader.java341 public long skip(long charCount) throws IOException { in skip() method in PushbackReader
359 inSkipped = in.skip(requiredFromIn); in skip()
361 inSkipped = in.skip(charCount); in skip()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherInputStream1Test.java151 int skip = 2; in testRead3() local
152 int ind = skip; // index into the data array (to check the got data) in testRead3()
154 cis.read(null, 0, skip); in testRead3()
155 int got = skip + cis.read(result, 0, 1); // the number of got bytes in testRead3()
188 int skipped = (int) cis.skip(2); in testSkip()
/libcore/luni/src/main/java/libcore/net/url/
DFtpURLInputStream.java77 public long skip(long byteCount) throws IOException { in skip() method in FtpURLInputStream
78 return is.skip(byteCount); in skip()

1234