/external/chromium_org/third_party/sqlite/src/ext/async/ |
D | sqlite3async.c | 487 int eLock; member 498 int eLock; /* Internally visible lock state (sqlite pov) */ member 632 p->lock.eLock = 0; in asyncClose() 820 assert(pIter->eAsyncLock>=pIter->eLock); in getFileLock() 827 if( eRequired>pLock->eLock ){ in getFileLock() 830 pLock->eLock = eRequired; in getFileLock() 833 else if( eRequired<pLock->eLock && eRequired<=SQLITE_LOCK_SHARED ){ in getFileLock() 836 pLock->eLock = eRequired; in getFileLock() 862 static int asyncLock(sqlite3_file *pFile, int eLock){ in asyncLock() argument 868 if( p->lock.eLock<eLock ){ in asyncLock() [all …]
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | test_journal.c | 120 int eLock; /* Current lock held on the file */ member 299 && (pMain->eLock>=SQLITE_LOCK_RESERVED) in locateDatabaseHandle() 631 static int jtLock(sqlite3_file *pFile, int eLock){ in jtLock() argument 634 rc = sqlite3OsLock(p->pReal, eLock); in jtLock() 635 if( rc==SQLITE_OK && eLock>p->eLock ){ in jtLock() 636 p->eLock = eLock; in jtLock() 644 static int jtUnlock(sqlite3_file *pFile, int eLock){ in jtUnlock() argument 647 rc = sqlite3OsUnlock(p->pReal, eLock); in jtUnlock() 648 if( rc==SQLITE_OK && eLock<p->eLock ){ in jtUnlock() 649 p->eLock = eLock; in jtUnlock() [all …]
|
D | pager.c | 634 u8 eLock; /* Current lock held on database file */ member 830 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); in assert_pager_state() 859 assert( pPager->changeCountDone==0 || pPager->eLock>=RESERVED_LOCK ); in assert_pager_state() 860 assert( p->eLock!=PENDING_LOCK ); in assert_pager_state() 871 assert( p->eLock!=UNKNOWN_LOCK ); in assert_pager_state() 872 assert( p->eLock>=SHARED_LOCK || p->noReadlock ); in assert_pager_state() 876 assert( p->eLock!=UNKNOWN_LOCK ); in assert_pager_state() 879 assert( p->eLock>=RESERVED_LOCK ); in assert_pager_state() 888 assert( p->eLock!=UNKNOWN_LOCK ); in assert_pager_state() 896 assert( p->eLock>=RESERVED_LOCK ); in assert_pager_state() [all …]
|
D | test_vfstrace.c | 299 static const char *lockName(int eLock){ in lockName() argument 303 if( eLock<0 || eLock>=sizeof(azLockNames)/sizeof(azLockNames[0]) ){ in lockName() 306 return azLockNames[eLock]; in lockName() 313 static int vfstraceLock(sqlite3_file *pFile, int eLock){ in vfstraceLock() argument 318 lockName(eLock)); in vfstraceLock() 319 rc = p->pReal->pMethods->xLock(p->pReal, eLock); in vfstraceLock() 327 static int vfstraceUnlock(sqlite3_file *pFile, int eLock){ in vfstraceUnlock() argument 332 lockName(eLock)); in vfstraceUnlock() 333 rc = p->pReal->pMethods->xUnlock(p->pReal, eLock); in vfstraceUnlock()
|
D | test_devsym.c | 192 static int devsymLock(sqlite3_file *pFile, int eLock){ in devsymLock() argument 194 return sqlite3OsLock(p->pReal, eLock); in devsymLock() 200 static int devsymUnlock(sqlite3_file *pFile, int eLock){ in devsymUnlock() argument 202 return sqlite3OsUnlock(p->pReal, eLock); in devsymUnlock()
|
D | test6.c | 498 static int cfLock(sqlite3_file *pFile, int eLock){ in cfLock() argument 499 return sqlite3OsLock(((CrashFile *)pFile)->pRealFile, eLock); in cfLock() 501 static int cfUnlock(sqlite3_file *pFile, int eLock){ in cfUnlock() argument 502 return sqlite3OsUnlock(((CrashFile *)pFile)->pRealFile, eLock); in cfUnlock()
|
D | test_onefile.c | 332 static int tmpLock(sqlite3_file *pFile, int eLock){ in tmpLock() argument 339 static int tmpUnlock(sqlite3_file *pFile, int eLock){ in tmpUnlock() argument 540 static int fsLock(sqlite3_file *pFile, int eLock){ in fsLock() argument 547 static int fsUnlock(sqlite3_file *pFile, int eLock){ in fsUnlock() argument
|
D | test_osinst.c | 348 static int vfslogLock(sqlite3_file *pFile, int eLock){ in vfslogLock() argument 353 rc = p->pReal->pMethods->xLock(p->pReal, eLock); in vfslogLock() 355 vfslog_call(p->pVfslog, OS_LOCK, p->iFileId, t, rc, eLock, 0); in vfslogLock() 362 static int vfslogUnlock(sqlite3_file *pFile, int eLock){ in vfslogUnlock() argument 367 rc = p->pReal->pMethods->xUnlock(p->pReal, eLock); in vfslogUnlock() 369 vfslog_call(p->pVfslog, OS_UNLOCK, p->iFileId, t, rc, eLock, 0); in vfslogUnlock()
|
D | test_demovfs.c | 358 static int demoLock(sqlite3_file *pFile, int eLock){ in demoLock() argument 361 static int demoUnlock(sqlite3_file *pFile, int eLock){ in demoUnlock() argument
|
D | btree.c | 171 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1)) in hasSharedCacheTableLock() 172 && pLock->eLock>=eLockType in hasSharedCacheTableLock() 222 static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){ in querySharedCacheTableLock() argument 227 assert( eLock==READ_LOCK || eLock==WRITE_LOCK ); in querySharedCacheTableLock() 229 assert( !(p->db->flags&SQLITE_ReadUncommitted)||eLock==WRITE_LOCK||iTab==1 ); in querySharedCacheTableLock() 235 assert( eLock==READ_LOCK || (p==pBt->pWriter && p->inTrans==TRANS_WRITE) ); in querySharedCacheTableLock() 236 assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE ); in querySharedCacheTableLock() 261 assert( pIter->eLock==READ_LOCK || pIter->eLock==WRITE_LOCK ); in querySharedCacheTableLock() 262 assert( eLock==READ_LOCK || pIter->pBtree==p || pIter->eLock==READ_LOCK); in querySharedCacheTableLock() 263 if( pIter->pBtree!=p && pIter->iTable==iTab && pIter->eLock!=eLock ){ in querySharedCacheTableLock() [all …]
|
D | btreeInt.h | 313 u8 eLock; /* READ_LOCK or WRITE_LOCK */ member
|
D | test_vfs.c | 467 static int tvfsLock(sqlite3_file *pFile, int eLock){ in tvfsLock() argument 469 return sqlite3OsLock(p->pReal, eLock); in tvfsLock() 475 static int tvfsUnlock(sqlite3_file *pFile, int eLock){ in tvfsUnlock() argument 477 return sqlite3OsUnlock(p->pReal, eLock); in tvfsUnlock()
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 37077 u8 eLock; /* Current lock held on database file */ 37273 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); 37302 assert( pPager->changeCountDone==0 || pPager->eLock>=RESERVED_LOCK ); 37303 assert( p->eLock!=PENDING_LOCK ); 37314 assert( p->eLock!=UNKNOWN_LOCK ); 37315 assert( p->eLock>=SHARED_LOCK || p->noReadlock ); 37319 assert( p->eLock!=UNKNOWN_LOCK ); 37322 assert( p->eLock>=RESERVED_LOCK ); 37331 assert( p->eLock!=UNKNOWN_LOCK ); 37339 assert( p->eLock>=RESERVED_LOCK ); [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 39060 u8 eLock; /* Current lock held on database file */ 39246 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); 39275 assert( pPager->changeCountDone==0 || pPager->eLock>=RESERVED_LOCK ); 39276 assert( p->eLock!=PENDING_LOCK ); 39287 assert( p->eLock!=UNKNOWN_LOCK ); 39288 assert( p->eLock>=SHARED_LOCK ); 39292 assert( p->eLock!=UNKNOWN_LOCK ); 39295 assert( p->eLock>=RESERVED_LOCK ); 39304 assert( p->eLock!=UNKNOWN_LOCK ); 39312 assert( p->eLock>=RESERVED_LOCK ); [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 39088 u8 eLock; /* Current lock held on database file */ 39274 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); 39303 assert( pPager->changeCountDone==0 || pPager->eLock>=RESERVED_LOCK ); 39304 assert( p->eLock!=PENDING_LOCK ); 39315 assert( p->eLock!=UNKNOWN_LOCK ); 39316 assert( p->eLock>=SHARED_LOCK ); 39320 assert( p->eLock!=UNKNOWN_LOCK ); 39323 assert( p->eLock>=RESERVED_LOCK ); 39332 assert( p->eLock!=UNKNOWN_LOCK ); 39340 assert( p->eLock>=RESERVED_LOCK ); [all …]
|