Searched refs:release (Results 1 - 25 of 29) sorted by relevance

12

/libcore/luni/src/main/java/android/system/
H A DStructUtsname.java32 /** The OS release, such as "2.6.35-27-generic". */
33 public final String release; field in class:StructUtsname
44 public StructUtsname(String sysname, String nodename, String release, String version, String machine) { argument
47 this.release = release;
/libcore/luni/src/main/java/java/nio/channels/
H A DFileLock.java43 * explicit removal of the lock, using {@code release()}, or implicitly by
63 * will release all the locks held on that file -- even if there are other
178 * if the channel is already closed when an attempt to release
183 public abstract void release() throws IOException; method in class:FileLock
186 * Calls {@link #release} for {@code AutoCloseable}.
191 release();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DFileChannelLockingTest.java108 flock.release();
141 flock1.release();
153 flock1.release();
154 flock2.release();
186 tmpLock.release();
188 // Acquire another valid lock -- and don't release it yet
203 adjacentLock.release();
206 lock.release();
H A DFileLockTest.java51 public void release() throws IOException { method in class:FileLockTest.MockFileLock
165 fileLock.release();
170 * @tests java.nio.channels.FileLock#release()
180 fileLock.release();
186 // release after release
190 fileLock.release();
193 fileLock.release();
/libcore/jsr166-tests/src/test/java/jsr166/
H A DSemaphoreTest.java257 pleaseInterrupt.release();
289 pleaseInterrupt.release();
298 pleaseInterrupt.release();
311 s.release(2);
335 lock.release();
358 lock.release();
384 lock.release();
398 s.release(10);
406 * release(-N) throws IllegalArgumentException
413 s.release(
[all...]
H A DAbstractQueuedLongSynchronizerTest.java82 public void release() { method in class:AbstractQueuedLongSynchronizerTest.Mutex
83 release(LOCKED);
194 sync.release();
280 sync.release();
291 sync.release();
311 sync.release();
349 sync.release();
371 sync.release();
393 sync.release();
421 sync.release();
[all...]
H A DAbstractQueuedSynchronizerTest.java86 public void release() { method in class:AbstractQueuedSynchronizerTest.Mutex
87 release(LOCKED);
197 sync.release();
283 sync.release();
294 sync.release();
314 sync.release();
352 sync.release();
374 sync.release();
396 sync.release();
424 sync.release();
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DSemaphore.java15 * available, and then takes it. Each {@link #release} adds a permit,
35 * available.release();
115 * #acquire(int) acquire} and {@link #release(int) release} multiple
120 * a "release" method such as {@code release()}
266 * <li>Some other thread invokes the {@link #release} method for this
296 * some other thread invokes the {@link #release} method for this
351 * <li>Some other thread invokes the {@link #release} method for this
397 public void release() { method in class:Semaphore
579 public void release(int permits) { method in class:Semaphore
[all...]
H A DThreadPoolExecutor.java616 public void unlock() { release(1); }
/libcore/luni/src/main/native/
H A DZipUtilities.cpp64 mDict.reset(dictionaryBytes.release());
H A Dlibcore_icu_NativeCollation.cpp44 release(env, false /* don't close the collator */);
65 void release(JNIEnv* env, bool closeCollator) { function in class:CollationElements
98 elements->release(env, true /* close collator */);
131 return static_cast<jlong>(reinterpret_cast<uintptr_t>(ce.release()));
H A Djava_text_Bidi.cpp104 return reinterpret_cast<uintptr_t>(lineData.release());
H A Djava_util_zip_Deflater.cpp64 return reinterpret_cast<uintptr_t>(jstream.release());
H A Djava_util_zip_Inflater.cpp48 return reinterpret_cast<uintptr_t>(jstream.release());
H A Dorg_apache_harmony_xml_ExpatParser.cpp296 return wrapper.release();
1002 XML_SetUserData(parser, context.release());
1363 NATIVE_METHOD(ExpatParser, release, "(J)V"),
H A Dlibcore_icu_NativeDecimalFormat.cpp97 return result.release();
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadTest.java317 sem.release();
335 sem.release();
357 sem.release();
/libcore/luni/src/main/java/java/nio/
H A DFileChannelImpl.java148 public void release() throws IOException { method in class:FileChannelImpl.FileLockImpl
153 ((FileChannelImpl) channel()).release(this);
185 * Non-API method to release a given lock on a file channel. Assumes that
188 public void release(FileLock lock) throws IOException { method in class:FileChannelImpl
/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DReentrantLock.java418 * Attempts to release this lock.
429 sync.release(1);
H A DReentrantReadWriteLock.java117 * // Must release read lock before acquiring write lock
276 * where the next thread to release is the last one to
516 cachedHoldCounter = rh; // cache for release
848 * Attempts to release this lock.
1092 * Attempts to release this lock.
1104 sync.release(1);
H A DAbstractQueuedLongSynchronizer.java199 * unparks upon release. Assigned during enqueuing, adjusted
417 * propagation. (Note: For exclusive mode, release just amounts
422 * Ensure that a release propagates, even if there are other
426 * ensure that upon release, propagation continues.
547 * This node has already set status asking a release
805 * signalled by a release from some other thread. This can be used
828 * Attempts to set the state to reflect a release in exclusive
831 * <p>This method is always invoked by the thread performing release.
836 * @param arg the release argument. This value is always the one
837 * passed to a release metho
1008 public final boolean release(long arg) { method in class:AbstractQueuedLongSynchronizer
[all...]
H A DAbstractQueuedSynchronizer.java60 * held with respect to the current thread, method {@link #release}
158 * release parameters, and an internal FIFO wait queue. When this does
219 * public void unlock() { sync.release(1); }
236 * acquire and release methods.
425 * unparks upon release. Assigned during enqueuing, adjusted
643 * propagation. (Note: For exclusive mode, release just amounts
648 * Ensure that a release propagates, even if there are other
652 * ensure that upon release, propagation continues.
773 * This node has already set status asking a release
1031 * signalled by a release fro
1234 public final boolean release(int arg) { method in class:AbstractQueuedSynchronizer
[all...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldFileChannelTest.java130 fileLock.release();
241 lock.release();
245 lock.release();
252 lockOne.release();
255 lockTwo.release();
256 lockOne.release();
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java552 release(this.pointer);
563 private native void release(long pointer); method in class:ExpatParser
798 * Don't release our native resources. We do so explicitly in
799 * {@link #handleExternalEntity} and we don't want to release the
/libcore/luni/src/main/java/java/util/logging/
H A DFileHandler.java490 // release locks
495 lock.release();

Completed in 361 milliseconds

12