Home
last modified time | relevance | path

Searched refs:acquired (Results 1 – 25 of 77) sorted by relevance

1234

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMutex.h93 unsigned acquired; variable
97 impl(rec), acquired(0), recursive(rec) { } in impl()
106 assert((recursive || acquired == 0) && "Lock already acquired!!"); in lock()
107 ++acquired; in lock()
119 assert(((recursive && acquired) || (acquired == 1)) && in unlock()
121 --acquired; in unlock()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMutex.h89 unsigned acquired; variable
93 MutexImpl(rec), acquired(0), recursive(rec) { } in MutexImpl()
102 assert((recursive || acquired == 0) && "Lock already acquired!!"); in acquire()
103 ++acquired; in acquire()
115 assert(((recursive && acquired) || (acquired == 1)) && in release()
117 --acquired; in release()
/external/llvm/include/llvm/Support/
DMutex.h93 unsigned acquired; variable
97 impl(rec), acquired(0), recursive(rec) { } in impl()
106 assert((recursive || acquired == 0) && "Lock already acquired!!"); in lock()
107 ++acquired; in lock()
119 assert(((recursive && acquired) || (acquired == 1)) && in unlock()
121 --acquired; in unlock()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngineResource.java18 private int acquired; field in EngineResource
54 if (acquired > 0) { in recycle()
80 ++acquired; in acquire()
93 if (acquired <= 0) { in release()
99 if (--acquired == 0) { in release()
/external/libchrome/base/synchronization/
Dlock_unittest.cc43 int acquired() const { return acquired_; } in acquired() function in base::BasicLockTestThread
59 int acquired = 0; in TEST() local
62 acquired++; in TEST()
67 acquired++; in TEST()
73 acquired++; in TEST()
80 acquired++; in TEST()
87 EXPECT_GE(acquired, 20); in TEST()
88 EXPECT_GE(thread.acquired(), 20); in TEST()
/external/sfntly/cpp/src/test/
Dlock_test.cc52 int acquired() const { return acquired_; } in acquired() function in sfntly::BasicLockTestThread
68 int acquired = 0; in BasicLockTest() local
71 acquired++; in BasicLockTest()
76 acquired++; in BasicLockTest()
82 acquired++; in BasicLockTest()
89 acquired++; in BasicLockTest()
96 EXPECT_GE(acquired, 20); in BasicLockTest()
97 EXPECT_GE(thread.acquired(), 20); in BasicLockTest()
/external/libchrome/base/task_scheduler/
Dscheduler_lock_unittest.cc31 int acquired() const { return acquired_; } in acquired() function in base::internal::__anon76ed28780111::BasicLockTestThread
94 int acquired = 0; in TEST() local
97 acquired++; in TEST()
102 acquired++; in TEST()
108 acquired++; in TEST()
115 EXPECT_EQ(acquired, 20); in TEST()
116 EXPECT_EQ(thread.acquired(), 20); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cc117 bool acquired = false; in acquire() local
128 acquired = true; in acquire()
132 if (acquired) { in acquire()
147 acquired = true; in acquire()
155 if (acquired) { in acquire()
191 bool acquired = IsAlreadyAcquired(dst); in release() local
192 if (acquired) in release()
211 if (acquired) in release()
/external/python/cpython2/Doc/library/
Dthread.rst126 the lock is only acquired if it can be acquired immediately without waiting,
127 while if it is nonzero, the lock is acquired unconditionally as before. The
128 return value is ``True`` if the lock is acquired successfully, ``False`` if not.
133 Releases the lock. The lock must have been acquired earlier, but not
139 Return the status of the lock: ``True`` if it has been acquired by some thread,
164 :exc:`KeyboardInterrupt` exception will happen after the lock has been acquired.
Dthreading.rst116 acquired it, subsequent attempts to acquire it block, until it is released; any
125 must be released by the thread that acquired it. Once a thread has acquired a
127 thread must release it once for each time it has acquired it.
457 A reentrant lock is a synchronization primitive that may be acquired multiple
518 be called when the calling thread has acquired the lock, otherwise a
581 acquired the lock when this method is called, a :exc:`RuntimeError` is raised.
594 when it was acquired multiple times recursively. Instead, an internal
596 even when it has been recursively acquired several times. Another internal
603 calling thread has not acquired the lock when this method is called, a
623 calling thread has not acquired the lock when this method is called, a
[all …]
Dscrolledtext.rst23 methods of the :class:`Grid` and :class:`Pack` geometry managers are acquired
Dmutex.rst35 :meth:`lock`, where a function is called once the lock is acquired.
/external/dhcpcd-6.8.2/
Dipv6.c684 if (timespecisset(&ap->acquired) && in ipv6_addaddr()
694 timespecsub(now, &ap->acquired, &n); in ipv6_addaddr()
1003 ap->acquired = ap->created; in ipv6_handleifa()
1478 ipv6_addaddr(ia1, &ia1->acquired); in ipv6_tempdadcallback()
1553 ia->created = ia->acquired = now ? *now : ia0->acquired; in ipv6_createtempaddr()
1613 (uint32_t)(ia->acquired.tv_sec - in ipv6_settemptime()
1614 ap->acquired.tv_sec) in ipv6_settemptime()
1638 ext = ia->acquired.tv_sec + (time_t)ia->prefix_pltime; in ipv6_settemptime()
1646 (uint32_t)(max - ia->acquired.tv_sec); in ipv6_settemptime()
1649 ext = ia->acquired.tv_sec + (time_t)ia->prefix_vltime; in ipv6_settemptime()
[all …]
Ddhcp6.c1739 const uint8_t *d, size_t l, const struct timespec *acquired) in dhcp6_findna() argument
1780 a->created = *acquired; in dhcp6_findna()
1802 a->acquired = *acquired; in dhcp6_findna()
1820 const uint8_t *d, size_t l, const struct timespec *acquired) in dhcp6_findpd() argument
1863 a->created = *acquired; in dhcp6_findpd()
1882 a->acquired = *acquired; in dhcp6_findpd()
1946 const char *sfrom, const struct timespec *acquired) in dhcp6_findia() argument
2046 dhcp6_findpd(ifp, iaid, p, ol, acquired) == 0) in dhcp6_findia()
2054 if (dhcp6_findna(ifp, code, iaid, p, ol, acquired) == 0) in dhcp6_findia()
2099 const char *sfrom, const struct timespec *acquired) in dhcp6_validatelease() argument
[all …]
Dipv6.h102 struct timespec acquired; member
/external/autotest/client/site_tests/desktopui_CameraApp/
Dcontrol9 This test will fail if the webcam stream in the Camera App is not acquired,
/external/webp/
DPATENTS12 Google and acquired in the future, licensable by Google that are necessarily
/external/webrtc/webrtc/
DPATENTS12 acquired in the future, licensable by Google that are necessarily
/external/libvpx/libvpx/third_party/libwebm/
DPATENTS.TXT12 Google and acquired in the future, licensable by Google that are necessarily
/external/libyuv/files/
DPATENTS12 acquired in the future, licensable by Google that are necessarily
/external/libvpx/libvpx/
DPATENTS12 Google and acquired in the future, licensable by Google that are necessarily
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPServerTransaction.java1306 boolean acquired = this.provisionalResponseSem.tryAcquire(1,TimeUnit.SECONDS); in sendResponse()
1307 if (!acquired ) { in sendResponse()
1565 boolean acquired = this.provisionalResponseSem.tryAcquire(1, TimeUnit.SECONDS); in sendReliableProvisionalResponse()
1566 if (!acquired) { in sendReliableProvisionalResponse()
/external/clang/test/Sema/
Dwarn-thread-safety-analysis.c85 expected-warning{{mutex 'mu1' must be acquired before 'mu2'}} in main()
/external/valgrind/helgrind/tests/
Dtc09_bad_unlock.stderr.exp85 Lock was previously acquired
/external/ltp/tools/genload/
DREADME24 in a tight loop calculating the sqrt() of a random number acquired with

1234