/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | DeflaterTest.java | 78 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 …]
|
D | InflaterTest.java | 77 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 …]
|
D | DeflaterOutputStreamTest.java | 81 while (!(deflate.finished())) { in setUp()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 58 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/ |
D | DeflaterOutputStream.java | 201 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()
|
D | Inflater.java | 89 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()
|
D | GZIPOutputStream.java | 156 if (!def.finished()) { in finish() 158 while (!def.finished()) { in finish() 160 if (def.finished() && len <= buf.length - TRAILER_SIZE) { in finish()
|
D | InflaterOutputStream.java | 148 if (!inf.finished()) { in flush() 150 while (!inf.finished() && !inf.needsInput()) { in flush() 260 if (inf.finished()) { in write()
|
D | Deflater.java | 90 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()
|
D | InflaterInputStream.java | 172 if (inf.finished() || inf.needsDictionary()) { in read() 204 } else if (inf.finished()) { in available()
|
D | DeflaterInputStream.java | 184 while (len > 0 && !def.finished()) { in read() 214 if (def.finished()) { in read()
|
D | ZipOutputStream.java | 80 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/ |
D | ObjectTest.java | 28 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/ |
D | AbstractCollectionTest.java | 31 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/ |
D | Inflater.java | 70 public boolean finished() { in finished() method in Inflater 149 private boolean finished; field in Inflater
|
D | Deflater.java | 77 public boolean finished() { in finished() method in Deflater 174 private boolean finished; field in Deflater
|
D | ZipOutputStream.java | 141 private boolean finished; field in ZipOutputStream
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | InflaterTest.java | 104 assertFalse(inflater.finished()); in testEmptyFileAndEmptyBuffer() 106 assertTrue(inflater.finished()); in testEmptyFileAndEmptyBuffer() 120 while (!deflater.finished()) { in deflate()
|
D | OldAndroidDeflateTest.java | 135 while (!deflater.finished()) { in compress() 174 while (!inflater.finished()) { in expand()
|
D | DeflaterOutputStreamTest.java | 171 assertFalse(def.finished()); in testSyncFlushDeflater()
|
D | OldAndroidZipStressTest.java | 166 inflater.finished(); in testZipDeflateInflateStress()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamSpliterators.java | 109 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 …]
|