Home
last modified time | relevance | path

Searched defs:locktype (Results 1 – 11 of 11) sorted by relevance

/external/libevent/
Devthread.c186 unsigned locktype; member
195 debug_lock_alloc(unsigned locktype) in debug_lock_alloc()
217 debug_lock_free(void *lock_, unsigned locktype) in debug_lock_free()
366 evthread_setup_global_lock_(void *lock_, unsigned locktype, int enable_locks) in evthread_setup_global_lock_()
429 evthreadimpl_lock_alloc_(unsigned locktype) in evthreadimpl_lock_alloc_()
441 evthreadimpl_lock_free_(void *lock, unsigned locktype) in evthreadimpl_lock_free_()
Devthread-internal.h77 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ argument
82 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
203 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ argument
206 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
297 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) EVUTIL_NIL_STMT_ argument
298 #define EVTHREAD_FREE_LOCK(lockvar, locktype) EVUTIL_NIL_STMT_ argument
364 #define EVTHREAD_SETUP_GLOBAL_LOCK(lockvar, locktype) \ argument
Devthread_pthread.c45 evthread_posix_lock_alloc(unsigned locktype) in evthread_posix_lock_alloc()
61 evthread_posix_lock_free(void *lock_, unsigned locktype) in evthread_posix_lock_free()
Devthread_win32.c51 evthread_win32_lock_create(unsigned locktype) in evthread_win32_lock_create()
64 evthread_win32_lock_free(void *lock_, unsigned locktype) in evthread_win32_lock_free()
/external/python/cpython3/Lib/test/
Dtest_threading.py1140 locktype = staticmethod(threading.Lock) variable in LockTests
1143 locktype = staticmethod(threading._PyRLock) variable in PyRLockTests
1147 locktype = staticmethod(threading._CRLock) variable in CRLockTests
1154 locktype = staticmethod(threading.Condition) variable in ConditionAsRLockTests
Dtest_thread.py222 locktype = thread.allocate_lock variable in LockTests
/external/python/cpython2/Lib/test/
Dtest_threading.py870 locktype = staticmethod(threading.Lock) variable in LockTests
873 locktype = staticmethod(threading.RLock) variable in RLockTests
880 locktype = staticmethod(threading.Condition) variable in ConditionAsRLockTests
Dtest_thread.py225 locktype = thread.allocate_lock variable in LockTests
/external/python/cpython3/Lib/test/test_importlib/
Dtest_locks.py15 locktype = classmethod(lambda cls: cls.LockType("some_lock")) variable in ModuleLockAsRLockTests
/external/libevent/test/
Dregress_bufferevent.c241 static void *trace_lock_alloc(unsigned locktype) in trace_lock_alloc()
251 static void trace_lock_free(void *lock_, unsigned locktype) in trace_lock_free()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c3136 tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype, in tdb_find_lock_hash()