/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 53 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() argument 55 SSLEngine[] engines = connect(c, hooks, finished); in create() 72 boolean finished[]) throws IOException { in connect() argument 125 if (finished != null) { in connect() 126 assertEquals(2, finished.length); in connect() 127 finished[0] = clientFinished[0]; in connect() 128 finished[1] = serverFinished[0]; in connect() 141 boolean[] finished) throws IOException { in handshakeCompleted() argument 172 assertFinishedOnce(finished, unwrapResult); in handshakeCompleted() 190 assertFinishedOnce(finished, wrapResult); in handshakeCompleted()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | DeflaterTest.java | 74 while (!defl.finished()) { in test_deflate$B() 88 while (!infl.finished()) { in test_deflate$B() 118 while (!defl.finished()) { in test_deflate$BII() 132 while (!infl.finished()) { in test_deflate$BII() 179 while (!defl.finished()) { in test_end() 215 while (!defl.finished()) { in test_finish() 226 while (!infl.finished()) { in test_finish() 246 assertTrue("Test 1: Deflater should not be finished.", !defl.finished()); in test_finished() 248 assertTrue("Test 2: Deflater should not be finished.", !defl.finished()); in test_finished() 250 assertTrue("Test 3: Deflater should not be finished.", !defl.finished()); in test_finished() [all …]
|
D | InflaterTest.java | 71 while (!(inflate.finished())) { in test_finished() 80 inflate.finished()); in test_finished() 144 while (!(deflate.finished())) { in test_getTotalIn() 150 while (!(inflate.finished())) { in test_getTotalIn() 201 while (!(deflate.finished())) { in test_getTotalOut() 208 while (!(inflate.finished())) { in test_getTotalOut() 232 while (!(inflate.finished())) { in test_getTotalOut() 261 while (!(inflate.finished())) { in test_inflate$B() 287 while (!(defEmpty.finished())) { in test_inflate$B() 298 while (!(infEmpty.finished())) { in test_inflate$B() [all …]
|
D | DeflaterOutputStreamTest.java | 76 while (!(deflate.finished())) { in setUp()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | AbstractCollectionTest.java | 29 final AtomicBoolean finished = new AtomicBoolean(false); in test_toArray() local 33 while (!finished.get()) { in test_toArray() 49 finished.set(true); in test_toArray()
|
/libcore/luni/src/main/java/java/util/zip/ |
D | Inflater.java | 56 private boolean finished; // Set by inflateImpl. field in Inflater 129 public synchronized boolean finished() { in finished() method in Inflater 130 return finished; in finished() 270 finished = false; in reset()
|
D | Deflater.java | 141 private boolean finished; field in Deflater 300 public synchronized boolean finished() { in finished() method in Deflater 301 return finished; in finished() 357 finished = false; in reset()
|
D | DeflaterInputStream.java | 126 while (count < byteCount && !def.finished()) { in read() 147 if (def.finished()) { in read()
|
D | DeflaterOutputStream.java | 134 if (!def.finished()) { in close() 153 while (!def.finished()) { in finish()
|
D | InflaterInputStream.java | 159 eof = inf.finished(); in read()
|
D | ZipInputStream.java | 302 if (inf.finished() || currentEntry == null) { in read() 341 if (read == 0 && inf.finished()) { in read()
|
/libcore/luni/src/main/java/java/nio/ |
D | SocketChannelImpl.java | 190 boolean finished = false; in connect() 201 finished = true; in connect() 208 finished = true; in connect() 214 end(finished); in connect() 272 boolean finished = false; in finishConnect() 277 finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately. in finishConnect() 281 finished = true; in finishConnect() 285 end(finished); in finishConnect() 289 status = (finished ? SOCKET_STATUS_CONNECTED : status); in finishConnect() 290 if (finished && socket != null) { in finishConnect() [all …]
|
/libcore/luni/src/main/java/javax/crypto/ |
D | CipherInputStream.java | 43 private boolean finished; field in CipherInputStream 87 if (finished) { in fillBuffer() 106 finished = true; in fillBuffer()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | InflaterTest.java | 98 assertFalse(inflater.finished()); in testEmptyFileAndEmptyBuffer() 100 assertTrue(inflater.finished()); in testEmptyFileAndEmptyBuffer() 112 while (!deflater.finished()) { in deflate()
|
D | OldAndroidDeflateTest.java | 135 while (!deflater.finished()) { in compress() 174 while (!inflater.finished()) { in expand()
|
D | DeflaterOutputStreamTest.java | 164 assertFalse(def.finished()); in testSyncFlushDeflater()
|
D | OldAndroidZipStressTest.java | 166 inflater.finished(); in testZipDeflateInflateStress()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLEngineTest.java | 469 boolean[] finished; in test_SSLEngine_setUseClientMode() 472 finished = new boolean[2]; in test_SSLEngine_setUseClientMode() 473 assertConnected(test_SSLEngine_setUseClientMode(true, false, finished)); in test_SSLEngine_setUseClientMode() 474 assertTrue(finished[0]); in test_SSLEngine_setUseClientMode() 475 assertTrue(finished[1]); in test_SSLEngine_setUseClientMode() 478 finished = new boolean[2]; in test_SSLEngine_setUseClientMode() 479 assertConnected(test_SSLEngine_setUseClientMode(false, true, finished)); in test_SSLEngine_setUseClientMode() 480 assertTrue(finished[0]); in test_SSLEngine_setUseClientMode() 481 assertTrue(finished[1]); in test_SSLEngine_setUseClientMode() 517 final boolean[] finished) in test_SSLEngine_setUseClientMode() argument [all …]
|
/libcore/luni/src/main/java/java/util/ |
D | Timer.java | 175 private boolean finished; field in Timer.TimerImpl 209 if (finished) { in run() 333 impl.finished = true; in finalize()
|
/libcore/luni/src/main/native/ |
D | java_util_zip_Deflater.cpp | 88 static jfieldID finished = env->GetFieldID(JniConstants::deflaterClass, "finished", "Z"); in Deflater_deflateImpl() local 89 env->SetBooleanField(recv, finished, JNI_TRUE); in Deflater_deflateImpl()
|
D | java_util_zip_Inflater.cpp | 112 static jfieldID finished = env->GetFieldID(JniConstants::inflaterClass, "finished", "Z"); in Inflater_inflateImpl() local 113 env->SetBooleanField(recv, finished, JNI_TRUE); in Inflater_inflateImpl()
|