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

12

/external/llvm/include/llvm/Support/
H A DMutex.h63 /// 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/
H A DEngineResource.java18 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/
H A Dlock_unittest.cc43 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/
H A Dlock_test.cc52 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/
H A Dtsan_clock.cc68 // 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 thi
191 bool acquired = IsAlreadyAcquired(dst); local
[all...]
/external/clang/test/Sema/
H A Dwarn-thread-safety-analysis.c85 expected-warning{{mutex 'mu1' must be acquired before 'mu2'}}
/external/dhcpcd-6.8.2/
H A Dipv6.c681 /* Adjust plftime and vltime based on acquired time */
684 if (timespecisset(&ap->acquired) &&
694 timespecsub(now, &ap->acquired, &n);
1003 ap->acquired = ap->created;
1478 ipv6_addaddr(ia1, &ia1->acquired);
1553 ia->created = ia->acquired = now ? *now : ia0->acquired;
1613 (uint32_t)(ia->acquired.tv_sec -
1614 ap->acquired.tv_sec)
1638 ext = ia->acquired
[all...]
H A Ddhcp6.c1739 const uint8_t *d, size_t l, const struct timespec *acquired)
1780 a->created = *acquired;
1802 a->acquired = *acquired;
1820 const uint8_t *d, size_t l, const struct timespec *acquired)
1863 a->created = *acquired;
1882 a->acquired = *acquired;
1946 const char *sfrom, const struct timespec *acquired)
2046 dhcp6_findpd(ifp, iaid, p, ol, acquired)
1738 dhcp6_findna(struct interface *ifp, uint16_t ot, const uint8_t *iaid, const uint8_t *d, size_t l, const struct timespec *acquired) argument
1819 dhcp6_findpd(struct interface *ifp, const uint8_t *iaid, const uint8_t *d, size_t l, const struct timespec *acquired) argument
1945 dhcp6_findia(struct interface *ifp, const struct dhcp6_message *m, size_t l, const char *sfrom, const struct timespec *acquired) argument
2097 dhcp6_validatelease(struct interface *ifp, const struct dhcp6_message *m, size_t len, const char *sfrom, const struct timespec *acquired) argument
2159 struct timespec acquired; local
[all...]
H A Dipv6.h102 struct timespec acquired; member in struct:ipv6_addr
H A Dipv6nd.c966 ap->created = ap->acquired = rap->received;
986 ap->acquired = rap->received;
1019 &ap->acquired) == NULL)
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DSIPServerTransaction.java1306 boolean acquired = this.provisionalResponseSem.tryAcquire(1,TimeUnit.SECONDS);
1307 if (!acquired ) {
1565 boolean acquired = this.provisionalResponseSem.tryAcquire(1, TimeUnit.SECONDS);
1566 if (!acquired) {
H A DSIPTransactionStack.java1304 boolean acquired = currentTransaction.acquireSem();
1312 if (acquired) {
1329 if (acquired)
H A DSIPDialog.java3212 sipStack.getStackLogger().logDebug("Semaphore previously acquired at " + this.stackTrace);
3327 boolean acquired = false;
3329 acquired = this.timerTaskLock.tryAcquire(10, TimeUnit.SECONDS);
3331 acquired = false;
3333 if(!acquired) {
/external/ImageMagick/www/api/
H A Dmemory.php242 <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>
/external/valgrind/helgrind/tests/
H A Dtc09_bad_unlock.stderr.exp85 Lock was previously acquired
/external/dbus/bus/
H A Ddispatch.c774 const char *acquired; local
779 acquired = NULL;
943 DBUS_TYPE_STRING, &acquired,
948 _dbus_verbose ("no memory to get service name arg from acquired\n");
961 _dbus_verbose ("Got acquired name: %s\n", acquired);
963 if (strcmp (acquired, name) != 0)
966 acquired, name);
969 acquired = NULL;
/external/clang/lib/Frontend/
H A DASTUnit.cpp2841 bool acquired = static_cast<llvm::sys::MutexImpl *>(Mutex)->tryacquire(); local
2842 assert(acquired && "Concurrent access to ASTUnit!");
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.core.jobs_3.7.0.v20150330-2103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
H A Dorg.eclipse.osgi_3.10.100.v20150529-1857.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/iproute2/doc/
H A Dip-cref.tex859 acquired by the host from stateless address autoconfiguration
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 736 milliseconds

12