Home
last modified time | relevance | path

Searched refs:ACQUIRE_LOCK (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Modules/
Dbz2module.c64 #define ACQUIRE_LOCK(obj) do { \ macro
72 #define ACQUIRE_LOCK(obj) macro
517 ACQUIRE_LOCK(self); in BZ2File_read()
606 ACQUIRE_LOCK(self); in BZ2File_readline()
667 ACQUIRE_LOCK(self); in BZ2File_readlines()
827 ACQUIRE_LOCK(self); in BZ2File_write()
884 ACQUIRE_LOCK(self); in BZ2File_writelines()
1037 ACQUIRE_LOCK(self); in BZ2File_seek()
1199 ACQUIRE_LOCK(self); in BZ2File_close()
1361 ACQUIRE_LOCK(self); in BZ2File_clear()
[all …]
/external/python/cpython3/Modules/
D_bz2module.c24 #define ACQUIRE_LOCK(obj) do { \ macro
231 ACQUIRE_LOCK(self); in _bz2_BZ2Compressor_compress_impl()
256 ACQUIRE_LOCK(self); in _bz2_BZ2Compressor_flush_impl()
606 ACQUIRE_LOCK(self); in _bz2_BZ2Decompressor_decompress_impl()
D_lzmamodule.c19 #define ACQUIRE_LOCK(obj) do { \ macro
558 ACQUIRE_LOCK(self); in _lzma_LZMACompressor_compress_impl()
583 ACQUIRE_LOCK(self); in _lzma_LZMACompressor_flush_impl()
1072 ACQUIRE_LOCK(self); in _lzma_LZMADecompressor_decompress_impl()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c1447 #define ACQUIRE_LOCK(l) pthread_mutex_lock(l) macro
1459 #define ACQUIRE_LOCK(l) DosRequestMutexSem(*l, SEM_INDEFINITE_WAIT) macro
1491 #define ACQUIRE_LOCK(l) win32_acquire_lock(l) macro
1506 #define ACQUIRE_MORECORE_LOCK() ACQUIRE_LOCK(&morecore_mutex);
1514 #define ACQUIRE_MAGIC_INIT_LOCK() ACQUIRE_LOCK(&magic_init_mutex);
2209 #define PREACTION(M) ((GLOBALLY_INITIALIZE() || use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
/external/libffi/src/
Ddlmalloc.c1442 #define ACQUIRE_LOCK(l) pthread_mutex_lock(l) macro
1454 #define ACQUIRE_LOCK(l) DosRequestMutexSem(*l, SEM_INDEFINITE_WAIT) macro
1486 #define ACQUIRE_LOCK(l) win32_acquire_lock(l) macro
1501 #define ACQUIRE_MORECORE_LOCK() ACQUIRE_LOCK(&morecore_mutex);
1509 #define ACQUIRE_MAGIC_INIT_LOCK() ACQUIRE_LOCK(&magic_init_mutex);
2204 #define PREACTION(M) ((GLOBALLY_INITIALIZE() || use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
/external/dlmalloc/
Dmalloc.c1891 #define ACQUIRE_LOCK(sl) (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0) macro
1968 #define ACQUIRE_LOCK(lk) recursive_acquire_lock(lk) macro
1975 #define ACQUIRE_LOCK(lk) (EnterCriticalSection(lk), 0) macro
2004 #define ACQUIRE_LOCK(lk) pthread_mutex_lock(lk) macro
2038 #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
2743 #define PREACTION(M) ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
3095 static void pre_fork(void) { ACQUIRE_LOCK(&(gm)->mutex); } in pre_fork()