Searched refs:sqlite3MutexAlloc (Results 1 – 20 of 20) sorted by relevance
32 assert( sqlite3_mutex_held(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN)) )114 sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN)); in enterMutex()124 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN)); in leaveMutex()
372 mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); in sqlite3_vfs_find()387 assert( sqlite3_mutex_held(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN)) ); in vfsUnlink()418 MUTEX_LOGIC( mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); ) in sqlite3_vfs_register()442 MUTEX_LOGIC( mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); ) in sqlite3_vfs_unregister()
777 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); in sqlite3_auto_extension()815 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); in sqlite3_cancel_auto_extension()842 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); in sqlite3_reset_auto_extension()872 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); in sqlite3AutoLoadExtensions()
64 #define sqlite3MutexAlloc(X) ((sqlite3_mutex*)8) macro
520 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); in osLocaltime()1321 sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN)); in currentTimeFunc()1324 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN)); in currentTimeFunc()
968 sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3Pragma()978 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3Pragma()996 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3Pragma()1015 sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3Pragma()1025 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3Pragma()1037 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3Pragma()
84 mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_PRNG); in sqlite3_randomness()
1295 MUTEX_LOGIC( pMainMtx = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); ) in sqlite3_win32_reset_heap()1296 MUTEX_LOGIC( pMem = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); ) in sqlite3_win32_reset_heap()1926 sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3_win32_set_directory8()1952 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in sqlite3_win32_set_directory8()4734 sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR));4736 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR));4783 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR));4790 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR));5768 MUTEX_LOGIC( pMutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR); )6174 winBigLock = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1);
214 sqlite3_mutex *pVfsMutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1); in memdbClose()516 sqlite3_mutex *pVfsMutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1); in memdbOpen()
290 sqlite3_mutex *sqlite3MutexAlloc(int id){ in sqlite3MutexAlloc() function
728 pcache1.grp.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_LRU); in pcache1Init()729 pcache1.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_PMEM); in pcache1Init()
194 mem.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); in sqlite3MemInit()
504 mem5.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); in memsys5Init()
60 sDb.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE); in btree_open()
224 mem3.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); in memsys3Enter()
164 mem0.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); in sqlite3MallocInit()
246 MUTEX_LOGIC( pMainMtx = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); ) in sqlite3_initialize()256 sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE); in sqlite3_initialize()3231 db->mutex = sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE); in openDatabase()
5867 sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in unixGetTempname()5885 sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR)); in unixGetTempname()8071 unixBigLock = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1); in sqlite3_os_init()
2520 mutexOpen = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_OPEN); in sqlite3BtreeOpen()2522 mutexShared = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); in sqlite3BtreeOpen()2641 MUTEX_LOGIC( mutexShared = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN);) in sqlite3BtreeOpen()2643 pBt->mutex = sqlite3MutexAlloc(SQLITE_MUTEX_FAST); in sqlite3BtreeOpen()2735 MUTEX_LOGIC( pMainMtx = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); ) in removeFromSharingList()
4457 sqlite3_mutex *sqlite3MutexAlloc(int);