Home
last modified time | relevance | path

Searched refs:finished (Results 1 – 23 of 23) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DDeflaterTest.java78 while (!defl.finished()) { in test_deflate$B()
92 while (!infl.finished()) { in test_deflate$B()
122 while (!defl.finished()) { in test_deflate$BII()
136 while (!infl.finished()) { in test_deflate$BII()
183 while (!defl.finished()) { in test_end()
219 while (!defl.finished()) { in test_finish()
230 while (!infl.finished()) { in test_finish()
250 assertTrue("Test 1: Deflater should not be finished.", !defl.finished()); in test_finished()
252 assertTrue("Test 2: Deflater should not be finished.", !defl.finished()); in test_finished()
254 assertTrue("Test 3: Deflater should not be finished.", !defl.finished()); in test_finished()
[all …]
DInflaterTest.java77 while (!(inflate.finished())) { in test_finished()
86 inflate.finished()); in test_finished()
153 while (!(deflate.finished())) { in test_getTotalIn()
159 while (!(inflate.finished())) { in test_getTotalIn()
213 while (!(deflate.finished())) { in test_getTotalOut()
220 while (!(inflate.finished())) { in test_getTotalOut()
244 while (!(inflate.finished())) { in test_getTotalOut()
276 while (!(inflate.finished())) { in test_inflate$B()
303 while (!(defEmpty.finished())) { in test_inflate$B()
315 while (!(infEmpty.finished())) { in test_inflate$B()
[all …]
DDeflaterOutputStreamTest.java81 while (!(deflate.finished())) { in setUp()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java58 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() argument
60 SSLEngine[] engines = connect(c, hooks, finished); in create()
77 boolean finished[]) throws IOException { in connect() argument
130 if (finished != null) { in connect()
131 assertEquals(2, finished.length); in connect()
132 finished[0] = clientFinished[0]; in connect()
133 finished[1] = serverFinished[0]; in connect()
163 boolean[] finished) throws IOException { in handshakeCompleted() argument
194 assertFinishedOnce(finished, unwrapResult); in handshakeCompleted()
212 assertFinishedOnce(finished, wrapResult); in handshakeCompleted()
/libcore/ojluni/src/main/java/java/util/zip/
DDeflaterOutputStream.java201 if (def.finished()) { in write()
209 if (!def.finished()) { in write()
224 if (!def.finished()) { in finish()
226 while (!def.finished()) { in finish()
280 if (syncFlush && !def.finished()) { in flush()
DInflater.java89 private boolean finished; field in Inflater
245 public boolean finished() { in finished() method in Inflater
247 return finished; in finished()
373 finished = false; in reset()
DGZIPOutputStream.java156 if (!def.finished()) { in finish()
158 while (!def.finished()) { in finish()
160 if (def.finished() && len <= buf.length - TRAILER_SIZE) { in finish()
DInflaterOutputStream.java148 if (!inf.finished()) { in flush()
150 while (!inf.finished() && !inf.needsInput()) { in flush()
260 if (inf.finished()) { in write()
DDeflater.java90 private boolean finish, finished; field in Deflater
360 public boolean finished() { in finished() method in Deflater
362 return finished; in finished()
543 finished = false; in reset()
DInflaterInputStream.java172 if (inf.finished() || inf.needsDictionary()) { in read()
204 } else if (inf.finished()) { in available()
DDeflaterInputStream.java184 while (len > 0 && !def.finished()) { in read()
214 if (def.finished()) { in read()
DZipOutputStream.java80 private boolean finished; field in ZipOutputStream
256 while (!def.finished()) { in closeEntry()
358 if (finished) { in finish()
369 finished = true; in finish()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DObjectTest.java28 int finished = 0; field in ObjectTest
195 finished += 1; in test_notifyAll()
212 finished = 0; in test_notifyAll()
236 assertEquals("At least one thread woke too early.", 0, finished); in test_notifyAll()
240 for (int i = 0; finished < threadCount && i < finishedWaitSecs; ++i) { in test_notifyAll()
244 assertEquals("At least one thread did not get notified.", threadCount, finished); in test_notifyAll()
247 fail("Unexpectedly got an InterruptedException. (finished = " + finished + ")"); in test_notifyAll()
/libcore/luni/src/test/java/libcore/java/util/
DAbstractCollectionTest.java31 final AtomicBoolean finished = new AtomicBoolean(false); in test_toArray() local
35 while (!finished.get()) { in test_toArray()
51 finished.set(true); in test_toArray()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DInflater.java70 public boolean finished() { in finished() method in Inflater
149 private boolean finished; field in Inflater
DDeflater.java77 public boolean finished() { in finished() method in Deflater
174 private boolean finished; field in Deflater
DZipOutputStream.java141 private boolean finished; field in ZipOutputStream
/libcore/luni/src/test/java/libcore/java/util/zip/
DInflaterTest.java104 assertFalse(inflater.finished()); in testEmptyFileAndEmptyBuffer()
106 assertTrue(inflater.finished()); in testEmptyFileAndEmptyBuffer()
120 while (!deflater.finished()) { in deflate()
DOldAndroidDeflateTest.java135 while (!deflater.finished()) { in compress()
174 while (!inflater.finished()) { in expand()
DDeflaterOutputStreamTest.java171 assertFalse(def.finished()); in testSyncFlushDeflater()
DOldAndroidZipStressTest.java166 inflater.finished(); in testZipDeflateInflateStress()
/libcore/ojluni/src/main/java/java/util/stream/
DStreamSpliterators.java109 boolean finished; field in StreamSpliterators.AbstractWrappingSpliterator
154 if (finished) in doAdvance()
189 if (isParallel && !finished) {
207 if (finished)
211 finished = true;
308 if (buffer == null && !finished) { in forEachRemaining()
313 finished = true; in forEachRemaining()
366 if (buffer == null && !finished) { in forEachRemaining()
371 finished = true; in forEachRemaining()
424 if (buffer == null && !finished) { in forEachRemaining()
[all …]
/libcore/api/
Dcurrent.txt16942 method public boolean finished();
17011 method public boolean finished();