Home
last modified time | relevance | path

Searched refs:locktype (Results 1 – 25 of 36) sorted by relevance

12

/external/libevent/
Devthread.c186 unsigned locktype; member
195 debug_lock_alloc(unsigned locktype) in debug_lock_alloc() argument
202 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) { in debug_lock_alloc()
210 result->locktype = locktype; in debug_lock_alloc()
217 debug_lock_free(void *lock_, unsigned locktype) in debug_lock_free() argument
221 EVUTIL_ASSERT(locktype == lock->locktype); in debug_lock_free()
225 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE); in debug_lock_free()
238 if (!(lock->locktype & EVTHREAD_LOCKTYPE_RECURSIVE)) in evthread_debug_lock_mark_locked()
254 if (lock->locktype & EVTHREAD_LOCKTYPE_READWRITE) in debug_lock_lock()
270 if (lock->locktype & EVTHREAD_LOCKTYPE_READWRITE) in evthread_debug_lock_mark_unlocked()
[all …]
Devthread-internal.h77 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \ argument
79 evthread_lock_fns_.alloc(locktype) : NULL)
82 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
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) \ argument
204 ((lockvar) = evthreadimpl_lock_alloc_(locktype))
206 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \ argument
210 evthreadimpl_lock_free_(lock_tmp_, (locktype)); \
[all …]
Devthread_pthread.c45 evthread_posix_lock_alloc(unsigned locktype) in evthread_posix_lock_alloc() argument
51 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE) in evthread_posix_lock_alloc()
61 evthread_posix_lock_free(void *lock_, unsigned locktype) in evthread_posix_lock_free() argument
Devthread_win32.c51 evthread_win32_lock_create(unsigned locktype) in evthread_win32_lock_create() argument
64 evthread_win32_lock_free(void *lock_, unsigned locktype) in evthread_win32_lock_free() argument
/external/python/cpython2/Lib/test/
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 …]
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
/external/python/cpython3/Lib/test/
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 …]
/external/libxml2/result/
Ddav19.rde16 5 1 D:locktype 0 0
18 5 15 D:locktype 0 0
32 5 1 D:locktype 0 0
34 5 15 D:locktype 0 0
Ddav19.rdr16 5 1 D:locktype 0 0
18 5 15 D:locktype 0 0
32 5 1 D:locktype 0 0
34 5 15 D:locktype 0 0
Ddav19.sax18 SAX.startElement(D:locktype)
20 SAX.endElement(D:locktype)
34 SAX.startElement(D:locktype)
36 SAX.endElement(D:locktype)
Ddav19.sax218 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
20 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
34 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
36 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
Ddav11.rde10 3 1 D:locktype 0 0
12 3 15 D:locktype 0 0
Ddav11.rdr10 3 1 D:locktype 0 0
12 3 15 D:locktype 0 0
Ddav17.rde16 5 1 D:locktype 0 0
18 5 15 D:locktype 0 0
Ddav17.rdr16 5 1 D:locktype 0 0
18 5 15 D:locktype 0 0
Ddav11.sax12 SAX.startElement(D:locktype)
14 SAX.endElement(D:locktype)
Ddav17.sax18 SAX.startElement(D:locktype)
20 SAX.endElement(D:locktype)
Ddav11.sax212 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
14 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
Ddav17.sax218 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
20 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
/external/libxml2/result/noent/
Ddav19.sax218 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
20 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
34 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
36 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
Ddav11.sax212 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
14 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
Ddav17.sax218 SAX.startElementNs(locktype, D, 'http://www.ietf.org/standards/dav/', 0, 0, 0)
20 SAX.endElementNs(locktype, D, 'http://www.ietf.org/standards/dav/')
/external/libevent/include/event2/
Dthread.h109 void *(*alloc)(unsigned locktype);
112 void (*free)(void *lock, unsigned locktype);
/external/autotest/server/hosts/
Dfile_store_unittest.py65 locktype=locking.FLOCK)
83 locktype=locking.FLOCK)
/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dstatic-prototypes61 -tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype,
62 +static tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype,

12