/external/libevent/ |
H A D | evthread.c | 186 unsigned locktype; member in struct:debug_lock 195 debug_lock_alloc(unsigned locktype) argument 202 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) { 210 result->locktype = locktype; 217 debug_lock_free(void *lock_, unsigned locktype) argument 221 EVUTIL_ASSERT(locktype == lock->locktype); 225 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE); 238 if (!(lock->locktype 366 evthread_setup_global_lock_(void *lock_, unsigned locktype, int enable_locks) argument 429 evthreadimpl_lock_alloc_(unsigned locktype) argument 441 evthreadimpl_lock_free_(void *lock, unsigned locktype) argument [all...] |
H A D | 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...] |
H A D | evthread_pthread.c | 45 evthread_posix_lock_alloc(unsigned locktype) argument 51 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE) 61 evthread_posix_lock_free(void *lock_, unsigned locktype) argument
|
H A D | evthread_win32.c | 51 evthread_win32_lock_create(unsigned locktype) argument 64 evthread_win32_lock_free(void *lock_, unsigned locktype) argument
|
/external/libevent/include/event2/ |
H A D | 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);
|
/external/python/cpython2/Lib/test/ |
H A D | 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...] |
H A D | 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
|
H A D | test_thread.py | 216 locktype = thread.allocate_lock variable in class:LockTests
|
/external/python/cpython3/Lib/test/ |
H A D | 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...] |
H A D | test_thread.py | 213 locktype = thread.allocate_lock variable in class:LockTests
|
H A D | 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
|
/external/autotest/server/hosts/ |
H A D | file_store.py | 43 locktype=locking.FLOCK,
|
H A D | file_store_unittest.py | 65 locktype=locking.FLOCK) 83 locktype=locking.FLOCK)
|
/external/python/cpython3/Lib/test/test_importlib/ |
H A D | test_locks.py | 20 locktype = classmethod(lambda cls: cls.LockType("some_lock")) variable in class:ModuleLockAsRLockTests
|
/external/libevent/test/ |
H A D | regress_bufferevent.c | 241 static void *trace_lock_alloc(unsigned locktype) argument 247 lock = lu_base.cbs.alloc(locktype); 251 static void trace_lock_free(void *lock_, unsigned locktype) argument 258 lu_base.cbs.free(lock_, locktype);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | tdb.c | 286 static tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype, 3138 tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype, argument 3143 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) 3146 tdb_unlock(tdb, BUCKET(hash), locktype);
|
/external/google-breakpad/src/third_party/curl/ |
H A D | curl.h | 1764 curl_lock_access locktype,
|
/external/curl/include/curl/ |
H A D | curl.h | 2557 curl_lock_access locktype,
|
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 38950 u8 locktype; /* Type of lock currently held on this file */ member in struct:winFile 41871 winLock(sqlite3_file *id, int locktype) argument 42050 winUnlock(sqlite3_file *id, int locktype) argument 42100 winNolockLock(sqlite3_file *id, int locktype) argument 42112 winNolockUnlock(sqlite3_file *id, int locktype) argument 51888 pager_wait_on_lock(Pager *pPager, int locktype) argument [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 38950 u8 locktype; /* Type of lock currently held on this file */ member in struct:winFile 41871 winLock(sqlite3_file *id, int locktype) argument 42050 winUnlock(sqlite3_file *id, int locktype) argument 42100 winNolockLock(sqlite3_file *id, int locktype) argument 42112 winNolockUnlock(sqlite3_file *id, int locktype) argument 51888 pager_wait_on_lock(Pager *pPager, int locktype) argument [all...] |