Searched refs:pLock (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/sqlite/src/src/ |
D | test_superlock.c | 67 static int superlockIsWal(Superlock *pLock){ in superlockIsWal() argument 71 rc = sqlite3_prepare(pLock->db, "PRAGMA main.journal_mode", -1, &pStmt, 0); in superlockIsWal() 74 pLock->bWal = 0; in superlockIsWal() 78 pLock->bWal = 1; in superlockIsWal() 151 void sqlite3demo_superunlock(void *pLock){ in sqlite3demo_superunlock() argument 152 Superlock *p = (Superlock *)pLock; in sqlite3demo_superunlock() 191 Superlock *pLock; in sqlite3demo_superlock() local 193 pLock = sqlite3_malloc(sizeof(Superlock)); in sqlite3demo_superlock() 194 if( !pLock ) return SQLITE_NOMEM; in sqlite3demo_superlock() 195 memset(pLock, 0, sizeof(Superlock)); in sqlite3demo_superlock() [all …]
|
D | btree.c | 129 BtLock *pLock; in hasSharedCacheTableLock() local 169 for(pLock=pBtree->pBt->pLock; pLock; pLock=pLock->pNext){ in hasSharedCacheTableLock() 170 if( pLock->pBtree==pBtree in hasSharedCacheTableLock() 171 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1)) in hasSharedCacheTableLock() 172 && pLock->eLock>=eLockType in hasSharedCacheTableLock() 251 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ in querySharedCacheTableLock() 296 BtLock *pLock = 0; in setSharedCacheTableLock() local 315 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ in setSharedCacheTableLock() 317 pLock = pIter; in setSharedCacheTableLock() 325 if( !pLock ){ in setSharedCacheTableLock() [all …]
|
D | btreeInt.h | 434 BtLock *pLock; /* List of locks held on this shared-btree struct */ member
|
D | os_unix.c | 1250 static int unixFileLock(unixFile *pFile, struct flock *pLock){ in unixFileLock() argument 1273 rc = osFcntl(pFile->h, F_SETLK, pLock); in unixFileLock()
|
/external/chromium_org/third_party/sqlite/src/ext/async/ |
D | sqlite3async.c | 388 AsyncLock *pLock; /* Linked list of all AsyncLock structures */ member 524 AsyncLock *pLock; /* AsyncLock object for this file system entry */ member 813 static int getFileLock(AsyncLock *pLock){ in getFileLock() argument 818 if( pLock->pFile ){ in getFileLock() 819 for(pIter=pLock->pList; pIter; pIter=pIter->pNext){ in getFileLock() 827 if( eRequired>pLock->eLock ){ in getFileLock() 828 rc = pLock->pFile->pMethods->xLock(pLock->pFile, eRequired); in getFileLock() 830 pLock->eLock = eRequired; in getFileLock() 833 else if( eRequired<pLock->eLock && eRequired<=SQLITE_LOCK_SHARED ){ in getFileLock() 834 rc = pLock->pFile->pMethods->xUnlock(pLock->pFile, eRequired); in getFileLock() [all …]
|
/external/chromium_org/net/third_party/nss/ssl/ |
D | sslsnce.c | 1006 sidCacheLock *pLock = cache->sidCacheLocks; in CloseCache() local 1007 for (; locks_initialized > 0; --locks_initialized, ++pLock ) { in CloseCache() 1013 sslMutex_Destroy(&pLock->mutex, in CloseCache() 1037 sidCacheLock *pLock; in InitCache() local 1249 pLock = cache->sidCacheLocks; in InitCache() 1252 ++locks_initialized, ++pLock ) { in InitCache() 1254 SECStatus err = sslMutex_Init(&pLock->mutex, shared); in InitCache() 1259 pLock->timeStamp = init_time; in InitCache() 1260 pLock->pid = 0; in InitCache() 1677 sidCacheLock * pLock; in LockPoller() local [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 25406 static int unixFileLock(unixFile *pFile, struct flock *pLock){ 25429 rc = osFcntl(pFile->h, F_SETLK, pLock); 46815 BtLock *pLock; /* List of locks held on this shared-btree struct */ 47427 BtLock *pLock; 47467 for(pLock=pBtree->pBt->pLock; pLock; pLock=pLock->pNext){ 47468 if( pLock->pBtree==pBtree 47469 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1)) 47470 && pLock->eLock>=eLockType 47549 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ 47594 BtLock *pLock = 0; [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 26331 static int unixFileLock(unixFile *pFile, struct flock *pLock){ 26354 rc = osFcntl(pFile->h, F_SETLK, pLock); 48870 BtLock *pLock; /* List of locks held on this shared-btree struct */ 49493 BtLock *pLock; 49533 for(pLock=pBtree->pBt->pLock; pLock; pLock=pLock->pNext){ 49534 if( pLock->pBtree==pBtree 49535 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1)) 49536 && pLock->eLock>=eLockType 49615 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ 49660 BtLock *pLock = 0; [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 26349 static int unixFileLock(unixFile *pFile, struct flock *pLock){ 26372 rc = osFcntl(pFile->h, F_SETLK, pLock); 48898 BtLock *pLock; /* List of locks held on this shared-btree struct */ 49521 BtLock *pLock; 49561 for(pLock=pBtree->pBt->pLock; pLock; pLock=pLock->pNext){ 49562 if( pLock->pBtree==pBtree 49563 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1)) 49564 && pLock->eLock>=eLockType 49643 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ 49688 BtLock *pLock = 0; [all …]
|