Home
last modified time | relevance | path

Searched refs:skipped (Results 1 – 17 of 17) sorted by relevance

/libcore/support/src/test/java/tests/support/
DSupport_StringReader.java234 long skipped = 0; in skip() local
237 skipped = count; in skip()
239 skipped = this.count - pos; in skip()
242 return skipped; in skip()
/libcore/luni/src/main/java/libcore/io/
DStreams.java172 long skipped = 0; in skipByReading() local
173 while (skipped < byteCount) { in skipByReading()
174 int toRead = (int) Math.min(byteCount - skipped, buffer.length); in skipByReading()
179 skipped += read; in skipByReading()
188 return skipped; in skipByReading()
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java1675 long skipped = 0; in checkfpx() local
1676 if ((skipped = skipForward(is, toSkip)) < toSkip) { in checkfpx()
1680 posn += skipped; in checkfpx()
1793 long skipped = 0; in skipForward() local
1795 while (skipped != toSkip) { in skipForward()
1796 eachSkip = is.skip(toSkip - skipped); in skipForward()
1801 return skipped ; in skipForward()
1803 skipped++; in skipForward()
1806 skipped += eachSkip; in skipForward()
1808 return skipped; in skipForward()
/libcore/ojluni/src/main/java/java/nio/file/
DFileTreeWalker.java72 private boolean skipped; field in FileTreeWalker.DirectoryNode
98 skipped = true; in skip()
101 boolean skipped() { in skipped() method in FileTreeWalker.DirectoryNode
102 return skipped; in skipped()
345 if (!top.skipped()) { in next()
/libcore/luni/src/test/java/libcore/java/io/
DOldCharArrayReaderTest.java238 long skipped = 0; in test_skipJ() local
240 skipped = cr.skip(5L); in test_skipJ()
242 5L, skipped); in test_skipJ()
DOldLineNumberInputStreamTest.java150 long skipped = lnis.skip(4); in test_skipJ() local
152 4, skipped); in test_skipJ()
DOldLineNumberReaderTest.java164 long skipped = lnr.skip(80); in test_skipJ() local
166 80, skipped); in test_skipJ()
/libcore/ojluni/src/main/java/java/io/
DBufferedInputStream.java388 long skipped = (avail < n) ? avail : n; in skip() local
389 pos += skipped; in skip()
390 return skipped; in skip()
DObjectInputStream.java2482 int skipped = 0; in skip() local
2485 skipped++; in skip()
2488 n = skipped + in.skip(n); in skip()
/libcore/ojluni/src/main/java/sun/util/locale/provider/
DCalendarDataUtility.java228 int skipped = 0; in retrieveFieldValueNamesImpl() local
238 skipped = 232; in retrieveFieldValueNamesImpl()
246 for (int i = skipped; i < names.length; i++) { in retrieveFieldValueNamesImpl()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherInputStream1Test.java188 int skipped = (int) cis.skip(2); in testSkip() local
189 int ind = skipped; in testSkip()
190 int got = skipped + cis.read(result, 0, 1); // the number of got bytes in testSkip()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DCharArrayReaderTest.java164 long skipped = cr.skip(5L); in test_skipJ() local
166 assertEquals("Failed to skip correct number of chars", 5L, skipped); in test_skipJ()
DPushbackReaderTest.java241 boolean skipped = false; in test_skip$J()
260 skipped = true; in test_skip$J()
265 assertTrue("Failed to skip characters" + e, skipped); in test_skip$J()
DDataInputStreamTest.java558 int skipped = 0; in test_skipBytesI() local
561 skipped = dis.skipBytes(50000); in test_skipBytesI()
565 + skipped, skipped == fileString.length()); in test_skipBytesI()
/libcore/ojluni/annotations/hiddenapi/java/nio/file/
DFileTreeWalker.java130 boolean skipped() { in skipped() method in FileTreeWalker.DirectoryNode
152 private boolean skipped; field in FileTreeWalker.DirectoryNode
/libcore/ojluni/src/main/java/java/util/
DScanner.java341 private boolean skipped = false; field in Scanner
760 skipped = false; in revertState()
766 skipped = false; in revertState()
877 skipped = false; in throwFor()
923 if (!skipped) { // Enforcing only one skip of leading delims in getCompleteTokenInBuffer()
933 skipped = true; in getCompleteTokenInBuffer()
1335 sb.append("[skipped=" + skipped + "]"); in toString()
1388 skipped = false; in next()
1502 skipped = false; in next()
/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java653 int skipped = 0; in getExtraLen() local
663 skipped += (sz + 4); in getExtraLen()
667 return len - skipped; in getExtraLen()