Searched refs:locktype (Results 1 - 20 of 20) sorted by relevance

/external/libevent/
H A Devthread.c186 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 Devthread-internal.h77 #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 Devthread_pthread.c45 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 Devthread_win32.c51 evthread_win32_lock_create(unsigned locktype) argument
64 evthread_win32_lock_free(void *lock_, unsigned locktype) argument
/external/libevent/include/event2/
H A Dthread.h107 /** 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 Dlock_tests.py76 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 Dtest_threading.py870 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 Dtest_thread.py216 locktype = thread.allocate_lock variable in class:LockTests
/external/python/cpython3/Lib/test/
H A Dlock_tests.py85 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 Dtest_thread.py213 locktype = thread.allocate_lock variable in class:LockTests
H A Dtest_threading.py1095 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 Dfile_store.py43 locktype=locking.FLOCK,
H A Dfile_store_unittest.py65 locktype=locking.FLOCK)
83 locktype=locking.FLOCK)
/external/python/cpython3/Lib/test/test_importlib/
H A Dtest_locks.py20 locktype = classmethod(lambda cls: cls.LockType("some_lock")) variable in class:ModuleLockAsRLockTests
/external/libevent/test/
H A Dregress_bufferevent.c241 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 Dtdb.c286 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 Dcurl.h1764 curl_lock_access locktype,
/external/curl/include/curl/
H A Dcurl.h2557 curl_lock_access locktype,
/external/sqlite/dist/orig/
H A Dsqlite3.c38950 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 Dsqlite3.c38950 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...]

Completed in 2224 milliseconds