/external/llvm/include/llvm/Support/ |
Mutex.h | 63 /// the lock is available, it is acquired. 93 unsigned acquired; member in class:llvm::sys::SmartMutex 97 impl(rec), acquired(0), recursive(rec) { } 106 assert((recursive || acquired == 0) && "Lock already acquired!!"); 107 ++acquired; 119 assert(((recursive && acquired) || (acquired == 1)) && 120 "Lock not acquired before release!"); 121 --acquired; [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
EngineResource.java | 18 private int acquired; field in class:EngineResource 54 if (acquired > 0) { 55 throw new IllegalStateException("Cannot recycle a resource while it is still acquired"); 80 ++acquired; 93 if (acquired <= 0) { 94 throw new IllegalStateException("Cannot release a recycled or not yet acquired resource"); 99 if (--acquired == 0) {
|
/external/libchrome/base/synchronization/ |
lock_unittest.cc | 43 int acquired() const { return acquired_; } function in class:base::BasicLockTestThread 59 int acquired = 0; local 62 acquired++; 67 acquired++; 73 acquired++; 80 acquired++; 87 EXPECT_GE(acquired, 20); 88 EXPECT_GE(thread.acquired(), 20);
|
/external/sfntly/cpp/src/test/ |
lock_test.cc | 52 int acquired() const { return acquired_; } function in class:sfntly::BasicLockTestThread 68 int acquired = 0; local 71 acquired++; 76 acquired++; 82 acquired++; 89 acquired++; 96 EXPECT_GE(acquired, 20); 97 EXPECT_GE(thread.acquired(), 20);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_clock.cc | 68 // last_acquire_ - current thread time when it acquired something from 73 // the remaining bits hold "acquired" flag (the actual value is thread's 76 // acquired this clock (except possibly dirty_tids_). 78 // need to acquire regardless of "acquired" flag value; 116 // Check if we've already acquired src after the last release operation on src 117 bool acquired = false; local 128 acquired = true; 132 if (acquired) { 147 acquired = true; 151 // Remember that this thread has acquired this clock 191 bool acquired = IsAlreadyAcquired(dst); local [all...] |
/frameworks/base/core/java/android/os/ |
TokenWatcher.java | 36 * @param h A handler to call {@link #acquired} and {@link #released} 51 public abstract void acquired(); method in class:TokenWatcher 59 * Record that this token has been acquired. When acquire is called, and 60 * the current count is 0, the acquired method is called on the given 63 * @param token An IBinder object. If this token has already been acquired, 156 acquired();
|
/hardware/libhardware/include/hardware/ |
fingerprint.h | 112 fingerprint_acquired_t acquired; member in union:fingerprint_msg::__anon30796
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3Stream.h | 464 bool acquired, bool output);
|
Camera3Stream.cpp | 421 // and are waiting to be acquired by the consumer and buffers that are currently 422 // acquired will be freed once they are released by the consumer. 483 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/true); 539 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/true); 578 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/false); 599 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/false); 615 const camera3_stream_buffer& buffer, bool acquired, bool output) { 632 if (acquired) {
|
/frameworks/base/services/core/java/com/android/server/ |
UpdateLockService.java | 50 public void acquired() { method in class:UpdateLockService.LockWatcher
|
/frameworks/base/services/core/java/com/android/server/wm/ |
KeyguardDisableHandler.java | 114 public void acquired() { method in class:KeyguardDisableHandler.KeyguardTokenWatcher
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
AbstractQueuedLongSynchronizerTest.java | 560 * getState is true when acquired and false when not 569 final BooleanLatch acquired = new BooleanLatch(); local 574 assertTrue(acquired.releaseShared(0)); 579 acquired.acquireShared(0); 683 final BooleanLatch acquired = new BooleanLatch(); 687 assertTrue(acquired.releaseShared(0)); 692 acquired.acquireShared(0); 823 final BooleanLatch acquired = new BooleanLatch(); 829 assertTrue(acquired.releaseShared(0)); 834 acquired.acquireShared(0) [all...] |
AbstractQueuedSynchronizerTest.java | 563 * getState is true when acquired and false when not 572 final BooleanLatch acquired = new BooleanLatch(); local 577 assertTrue(acquired.releaseShared(0)); 582 acquired.acquireShared(0); 686 final BooleanLatch acquired = new BooleanLatch(); 690 assertTrue(acquired.releaseShared(0)); 695 acquired.acquireShared(0); 826 final BooleanLatch acquired = new BooleanLatch(); 832 assertTrue(acquired.releaseShared(0)); 837 acquired.acquireShared(0) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
TokenWatcherTest.java | 120 // test acquire() and acquired() 124 // this time acquired() will not be called 194 public void acquired() { method in class:TokenWatcherTest.MockTokenWatcher
|
/external/clang/test/Sema/ |
warn-thread-safety-analysis.c | 85 expected-warning{{mutex 'mu1' must be acquired before 'mu2'}}
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 97 // acquire the lock. if the result is null, lock was just acquired, otherwise, return 160 // acquire the lock. if the result is null, lock was just acquired, otherwise, return 175 * This returns null if the lock was just acquired, otherwise it returns 189 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); 191 if (!acquired) { 315 throw new IllegalStateException("scene must be acquired first. see #acquire(long)"); 318 throw new IllegalStateException("Thread acquired a scene but is rendering a different one");
|
/system/core/fingerprintd/ |
FingerprintDaemonProxy.cpp | 58 ALOGD("onAcquired(%d)", msg->data.acquired.acquired_info); 59 callback->onAcquired(device, msg->data.acquired.acquired_info);
|
/external/dhcpcd-6.8.2/ |
ipv6.c | 681 /* Adjust plftime and vltime based on acquired time */ 684 if (timespecisset(&ap->acquired) && 694 timespecsub(now, &ap->acquired, &n); 1003 ap->acquired = ap->created; [all...] |
dhcp6.c | 2159 struct timespec acquired; local [all...] |
ipv6.h | 102 struct timespec acquired; member in struct:ipv6_addr
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPServerTransaction.java | [all...] |
/external/ImageMagick/www/api/ |
memory.php | 242 <p>RelinquishAlignedMemory() frees memory acquired with AcquireAlignedMemory() or reuse.</p> 264 <p>RelinquishMagickMemory() frees memory acquired with AcquireMagickMemory() or AcquireQuantumMemory() for reuse.</p> 286 <p>RelinquishVirtualMemory() frees memory acquired with AcquireVirtualMemory().</p>
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderBase.cpp | 598 bool acquired = false; local 600 while (acquired == false) { 608 acquired = true; 618 acquired = false; 623 if (acquired) { 635 if (acquired == false) { 721 // frame is not decoded to the acquired buffer, current surface is invalid, and can't be output. [all...] |
/external/valgrind/helgrind/tests/ |
tc09_bad_unlock.stderr.exp | 85 Lock was previously acquired
|
/frameworks/base/services/core/jni/ |
com_android_server_fingerprint_FingerprintService.cpp | 98 arg1 = msg.data.acquired.acquired_info;
|