/external/libevent/ |
evthread.c | 186 unsigned locktype; member in struct:debug_lock 195 debug_lock_alloc(unsigned locktype) 202 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) { 210 result->locktype = locktype; 217 debug_lock_free(void *lock_, unsigned locktype) 221 EVUTIL_ASSERT(locktype == lock->locktype); 225 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE); 238 if (!(lock->locktype & EVTHREAD_LOCKTYPE_RECURSIVE) [all...] |
evthread-internal.h | 77 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ 79 evthread_lock_fns_.alloc(locktype) : NULL) 82 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ 86 evthread_lock_fns_.free(lock_tmp_, (locktype)); \ 186 void *evthreadimpl_lock_alloc_(unsigned locktype); 187 void evthreadimpl_lock_free_(void *lock, unsigned locktype); 203 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ 204 ((lockvar) = evthreadimpl_lock_alloc_(locktype)) 206 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ 210 evthreadimpl_lock_free_(lock_tmp_, (locktype)); \ [all...] |
evthread_pthread.c | 45 evthread_posix_lock_alloc(unsigned locktype) 51 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE) 61 evthread_posix_lock_free(void *lock_, unsigned locktype)
|
evthread_win32.c | 51 evthread_win32_lock_create(unsigned locktype) 64 evthread_win32_lock_free(void *lock_, unsigned locktype)
|
/external/libevent/include/event2/ |
thread.h | 107 /** Function to allocate and initialize new lock of type 'locktype'. 109 void *(*alloc)(unsigned locktype); 111 * with type 'locktype'. */ 112 void (*free)(void *lock, unsigned locktype);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
lock_tests.py | 72 lock = self.locktype()
76 lock = self.locktype()
81 lock = self.locktype()
87 lock = self.locktype()
92 lock = self.locktype()
102 lock = self.locktype()
118 lock = self.locktype()
136 lock = self.locktype()
154 lock = self.locktype()
173 lock = self.locktype()
[all...] |
test_threading.py | 671 locktype = staticmethod(threading.Lock)
variable in class:LockTests 674 locktype = staticmethod(threading.RLock)
variable in class:RLockTests 681 locktype = staticmethod(threading.Condition)
variable in class:ConditionAsRLockTests
|
test_thread.py | 197 locktype = thread.allocate_lock
variable in class:LockTests
|
/external/python/cpython2/Lib/test/ |
lock_tests.py | 76 lock = self.locktype() 80 lock = self.locktype() 85 lock = self.locktype() 91 lock = self.locktype() 96 lock = self.locktype() 106 lock = self.locktype() 122 lock = self.locktype() 140 lock = self.locktype() 158 lock = self.locktype() 177 lock = self.locktype() [all...] |
test_threading.py | 870 locktype = staticmethod(threading.Lock) variable in class:LockTests 873 locktype = staticmethod(threading.RLock) variable in class:RLockTests 880 locktype = staticmethod(threading.Condition) variable in class:ConditionAsRLockTests [all...] |
test_thread.py | 216 locktype = thread.allocate_lock variable in class:LockTests
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
lock_tests.py | 72 lock = self.locktype() 76 lock = self.locktype() 81 lock = self.locktype() 87 lock = self.locktype() 92 lock = self.locktype() 102 lock = self.locktype() 118 lock = self.locktype() 136 lock = self.locktype() 154 lock = self.locktype() 173 lock = self.locktype() [all...] |
test_threading.py | 715 locktype = staticmethod(threading.Lock) variable in class:LockTests 718 locktype = staticmethod(threading.RLock) variable in class:RLockTests 725 locktype = staticmethod(threading.Condition) variable in class:ConditionAsRLockTests
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
lock_tests.py | 72 lock = self.locktype() 76 lock = self.locktype() 81 lock = self.locktype() 87 lock = self.locktype() 92 lock = self.locktype() 102 lock = self.locktype() 118 lock = self.locktype() 136 lock = self.locktype() 154 lock = self.locktype() 173 lock = self.locktype() [all...] |
test_threading.py | 715 locktype = staticmethod(threading.Lock) variable in class:LockTests 718 locktype = staticmethod(threading.RLock) variable in class:RLockTests 725 locktype = staticmethod(threading.Condition) variable in class:ConditionAsRLockTests
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
lock_tests.py | 72 lock = self.locktype() 76 lock = self.locktype() 81 lock = self.locktype() 87 lock = self.locktype() 92 lock = self.locktype() 102 lock = self.locktype() 118 lock = self.locktype() 136 lock = self.locktype() 154 lock = self.locktype() 173 lock = self.locktype() [all...] |
test_threading.py | 715 locktype = staticmethod(threading.Lock) variable in class:LockTests 718 locktype = staticmethod(threading.RLock) variable in class:RLockTests 725 locktype = staticmethod(threading.Condition) variable in class:ConditionAsRLockTests
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
lock_tests.py | 72 lock = self.locktype() 76 lock = self.locktype() 81 lock = self.locktype() 87 lock = self.locktype() 92 lock = self.locktype() 102 lock = self.locktype() 118 lock = self.locktype() 136 lock = self.locktype() 154 lock = self.locktype() 173 lock = self.locktype() [all...] |
test_threading.py | 715 locktype = staticmethod(threading.Lock) variable in class:LockTests 718 locktype = staticmethod(threading.RLock) variable in class:RLockTests 725 locktype = staticmethod(threading.Condition) variable in class:ConditionAsRLockTests
|
/external/python/cpython3/Lib/test/ |
lock_tests.py | 85 lock = self.locktype() 89 lock = self.locktype() 94 lock = self.locktype() 100 lock = self.locktype() 105 lock = self.locktype() 111 lock = self.locktype() 116 lock = self.locktype() 126 lock = self.locktype() 142 lock = self.locktype() 160 lock = self.locktype() [all...] |
test_threading.py | 1095 locktype = staticmethod(threading.Lock) variable in class:LockTests 1098 locktype = staticmethod(threading._PyRLock) variable in class:PyRLockTests 1102 locktype = staticmethod(threading._CRLock) variable in class:CRLockTests 1109 locktype = staticmethod(threading.Condition) variable in class:ConditionAsRLockTests [all...] |
/external/autotest/server/hosts/ |
file_store.py | 43 locktype=locking.FLOCK,
|
file_store_unittest.py | 65 locktype=locking.FLOCK) 83 locktype=locking.FLOCK)
|
/external/python/cpython3/Lib/test/test_importlib/ |
test_locks.py | 20 locktype = classmethod(lambda cls: cls.LockType("some_lock")) variable in class:ModuleLockAsRLockTests 43 LockType=LOCK_TYPES) 70 locks = [self.LockType(str(i)) for i in range(NLOCKS)] 124 LockType=LOCK_TYPES,
|
/external/libevent/test/ |
regress_bufferevent.c | 241 static void *trace_lock_alloc(unsigned locktype) 247 lock = lu_base.cbs.alloc(locktype); 251 static void trace_lock_free(void *lock_, unsigned locktype) 258 lu_base.cbs.free(lock_, locktype); [all...] |