HomeSort by relevance Sort by last modified time
    Searched refs:eLock (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/third_party/sqlite/src/ext/async/
sqlite3async.c 475 ** false, variables AsyncLock.pFile and AsyncLock.eLock are never used.
487 int eLock;
498 int eLock; /* Internally visible lock state (sqlite pov) */
632 p->lock.eLock = 0;
820 assert(pIter->eAsyncLock>=pIter->eLock);
827 if( eRequired>pLock->eLock ){
830 pLock->eLock = eRequired;
833 else if( eRequired<pLock->eLock && eRequired<=SQLITE_LOCK_SHARED ){
836 pLock->eLock = eRequired;
862 static int asyncLock(sqlite3_file *pFile, int eLock){
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
test_journal.c 120 int eLock; /* Current lock held on the file */
299 && (pMain->eLock>=SQLITE_LOCK_RESERVED)
631 static int jtLock(sqlite3_file *pFile, int eLock){
634 rc = sqlite3OsLock(p->pReal, eLock);
635 if( rc==SQLITE_OK && eLock>p->eLock ){
636 p->eLock = eLock;
644 static int jtUnlock(sqlite3_file *pFile, int eLock){
647 rc = sqlite3OsUnlock(p->pReal, eLock);
    [all...]
pager.c 360 ** The Pager.eLock variable is almost always set to one of the
369 ** pagerUnlockDb() take a conservative approach - eLock is always updated
371 ** VFS call is successful. This way, the Pager.eLock variable may be set
396 ** database in the ERROR state, Pager.eLock is set to UNKNOWN_LOCK. It
399 ** omits the check for a hot-journal if Pager.eLock is set to UNKNOWN_LOCK
404 ** Pager.eLock may only be set to UNKNOWN_LOCK when the pager is in
465 ** eLock
634 u8 eLock; /* Current lock held on database file */
    [all...]
test_devsym.c 192 static int devsymLock(sqlite3_file *pFile, int eLock){
194 return sqlite3OsLock(p->pReal, eLock);
200 static int devsymUnlock(sqlite3_file *pFile, int eLock){
202 return sqlite3OsUnlock(p->pReal, eLock);
test_vfstrace.c 299 static const char *lockName(int eLock){
303 if( eLock<0 || eLock>=sizeof(azLockNames)/sizeof(azLockNames[0]) ){
306 return azLockNames[eLock];
313 static int vfstraceLock(sqlite3_file *pFile, int eLock){
318 lockName(eLock));
319 rc = p->pReal->pMethods->xLock(p->pReal, eLock);
327 static int vfstraceUnlock(sqlite3_file *pFile, int eLock){
332 lockName(eLock));
333 rc = p->pReal->pMethods->xUnlock(p->pReal, eLock);
    [all...]
btreeInt.h 313 u8 eLock; /* READ_LOCK or WRITE_LOCK */
317 /* Candidate values for BtLock.eLock */
test6.c 498 static int cfLock(sqlite3_file *pFile, int eLock){
499 return sqlite3OsLock(((CrashFile *)pFile)->pRealFile, eLock);
501 static int cfUnlock(sqlite3_file *pFile, int eLock){
502 return sqlite3OsUnlock(((CrashFile *)pFile)->pRealFile, eLock);
test_onefile.c 332 static int tmpLock(sqlite3_file *pFile, int eLock){
339 static int tmpUnlock(sqlite3_file *pFile, int eLock){
540 static int fsLock(sqlite3_file *pFile, int eLock){
547 static int fsUnlock(sqlite3_file *pFile, int eLock){
test_demovfs.c 358 static int demoLock(sqlite3_file *pFile, int eLock){
361 static int demoUnlock(sqlite3_file *pFile, int eLock){
test_osinst.c 348 static int vfslogLock(sqlite3_file *pFile, int eLock){
353 rc = p->pReal->pMethods->xLock(p->pReal, eLock);
355 vfslog_call(p->pVfslog, OS_LOCK, p->iFileId, t, rc, eLock, 0);
362 static int vfslogUnlock(sqlite3_file *pFile, int eLock){
367 rc = p->pReal->pMethods->xUnlock(p->pReal, eLock);
369 vfslog_call(p->pVfslog, OS_UNLOCK, p->iFileId, t, rc, eLock, 0);
    [all...]
btree.c 171 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1))
172 && pLock->eLock>=eLockType
217 ** Query to see if Btree handle p may obtain a lock of type eLock
222 static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){
227 assert( eLock==READ_LOCK || eLock==WRITE_LOCK );
229 assert( !(p->db->flags&SQLITE_ReadUncommitted)||eLock==WRITE_LOCK||iTab==1 );
235 assert( eLock==READ_LOCK || (p==pBt->pWriter && p->inTrans==TRANS_WRITE) );
236 assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE );
252 /* The condition (pIter->eLock!=eLock) in the following if(...)
    [all...]
test_vfs.c 467 static int tvfsLock(sqlite3_file *pFile, int eLock){
469 return sqlite3OsLock(p->pReal, eLock);
475 static int tvfsUnlock(sqlite3_file *pFile, int eLock){
477 return sqlite3OsUnlock(p->pReal, eLock);
    [all...]
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c     [all...]
  /external/sqlite/dist/orig/
sqlite3.c     [all...]
  /external/sqlite/dist/
sqlite3.c     [all...]

Completed in 456 milliseconds