Searched refs:finished (Results 1 - 15 of 15) sorted by relevance

/libcore/luni/src/main/java/javax/crypto/
H A DCipherInputStream.java44 private boolean finished; field in class:CipherInputStream
86 if (finished) {
104 finished = true;
/libcore/luni/src/main/java/java/util/zip/
H A DInflater.java56 private boolean finished; // Set by inflateImpl. field in class:Inflater
129 public synchronized boolean finished() { method in class:Inflater
130 return finished;
261 finished = false;
H A DDeflater.java40 * while (!deflater.finished()) {
136 private boolean finished; field in class:Deflater
289 * @see #finished
300 public synchronized boolean finished() { method in class:Deflater
301 return finished;
351 * operation <i>must</i> be called after {@link #finished} returns
357 finished = false;
H A DDeflaterOutputStream.java155 if (!def.finished()) {
174 while (!def.finished()) {
H A DDeflaterInputStream.java124 while (count < byteCount && !def.finished()) {
H A DInflaterInputStream.java158 eof = inf.finished();
H A DZipInputStream.java298 if (inf.finished() || currentEntry == null) {
337 if (read == 0 && inf.finished()) {
/libcore/luni/src/main/java/java/nio/
H A DSocketChannelImpl.java163 boolean finished = false;
168 finished = IoBridge.connect(fd, normalAddr, port);
169 isBound = finished;
176 finished = true;
182 end(finished);
195 status = (finished ? SOCKET_STATUS_CONNECTED : SOCKET_STATUS_UNCONNECTED);
200 return finished;
232 boolean finished = false;
237 finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
238 isBound = finished;
[all...]
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DInflaterTest.java98 assertFalse(inflater.finished());
100 assertTrue(inflater.finished());
112 while (!deflater.finished()) {
H A DOldAndroidDeflateTest.java135 while (!deflater.finished()) {
174 while (!inflater.finished()) {
H A DDeflaterOutputStreamTest.java148 assertFalse(def.finished());
/libcore/luni/src/main/native/
H A Djava_util_zip_Deflater.cpp86 static jfieldID finished = env->GetFieldID(JniConstants::deflaterClass, "finished", "Z"); local
87 env->SetBooleanField(recv, finished, JNI_TRUE);
H A Djava_util_zip_Inflater.cpp110 static jfieldID finished = env->GetFieldID(JniConstants::inflaterClass, "finished", "Z"); local
111 env->SetBooleanField(recv, finished, JNI_TRUE);
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetEncoder.java93 // internal status indicates encode(CharBuffer) operation is finished
94 private boolean finished; field in class:CharsetEncoder
314 finished = true;
405 if (status == READY && finished && !endOfInput) {
/libcore/luni/src/main/java/java/util/
H A DTimer.java175 private boolean finished; field in class:Timer.TimerImpl
209 if (finished) {
333 impl.finished = true;

Completed in 118 milliseconds