Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/util/zip/
DDeflaterInputStream.java183 int cnt = 0; in read() local
200 cnt += n; in read()
216 if (cnt == 0) { in read()
217 cnt = -1; in read()
222 return cnt; in read()
248 long cnt = 0; in skip() local
256 cnt += len; in skip()
259 return cnt; in skip()
/libcore/ojluni/src/test/java/util/zip/ZipFile/
DTestCleaner.java97 long cnt = list.size(); in testDeInflater() local
98 while (n-- > 0 && cnt != 0) { in testDeInflater()
103 cnt = list.stream().filter(o -> addrOf(o) != 0).count(); in testDeInflater()
105 if (cnt != 0) in testDeInflater()
106 throw new RuntimeException("cleaner failed to clean : " + cnt); in testDeInflater()
/libcore/ojluni/src/test/java/util/Collections/
DSingletonIterator.java55 AtomicInteger cnt = new AtomicInteger(0); in testForEachRemaining() local
59 cnt.incrementAndGet(); in testForEachRemaining()
62 assertEquals(cnt.get(), 1); in testForEachRemaining()
/libcore/ojluni/src/main/java/java/io/
DBufferedInputStream.java283 int cnt = (avail < len) ? avail : len; in read1() local
284 System.arraycopy(getBufIfOpen(), pos, b, off, cnt); in read1() local
285 pos += cnt; in read1()
286 return cnt; in read1()
/libcore/ojluni/src/main/java/sun/security/util/
DCache.java328 int cnt = 0; in expungeExpiredEntries() local
339 cnt++; in expungeExpiredEntries()
345 if (cnt != 0) { in expungeExpiredEntries()
346 System.out.println("Removed " + cnt in expungeExpiredEntries()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DMatcherTest.java667 int cnt = 0; in testAllCodePoints_p() local
673 cnt++; in testAllCodePoints_p()
678 assertEquals(0, cnt); in testAllCodePoints_p()
686 int cnt = 0; in testAllCodePoints_P() local
692 cnt++; in testAllCodePoints_P()
697 assertEquals(0x110000 / step, cnt); in testAllCodePoints_P()
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlParser.java1886 int cnt = attributeCount * 4; in getPositionDescription() local
1887 for (int i = 0; i < cnt; i += 4) { in getPositionDescription()