Lines Matching refs:ofst
33929 int ofst, /* First byte of the locking range */
33951 f.l_start = ofst;
33962 mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
33965 OSTRACE(("unlock %d ok", ofst));
33969 OSTRACE(("read-lock %d ok", ofst));
33974 OSTRACE(("write-lock %d ok", ofst));
33980 OSTRACE(("unlock %d failed", ofst));
33985 OSTRACE(("write-lock %d failed", ofst));
34368 int ofst, /* First lock to acquire or release */
34381 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
34391 mask = (1<<(ofst+n)) - (1<<ofst);
34392 assert( n>1 || mask==(1<<ofst) );
34406 rc = unixShmSystemLock(pDbFd, F_UNLCK, ofst+UNIX_SHM_BASE, n);
34434 rc = unixShmSystemLock(pDbFd, F_RDLCK, ofst+UNIX_SHM_BASE, n);
34459 rc = unixShmSystemLock(pDbFd, F_WRLCK, ofst+UNIX_SHM_BASE, n);
41388 int ofst, /* Offset to first byte to be locked/unlocked */
41397 pFile->hFile.h, lockType, ofst, nByte));
41401 rc = winUnlockFile(&pFile->hFile.h, ofst, 0, nByte, 0);
41406 rc = winLockFile(&pFile->hFile.h, dwFlags, ofst, 0, nByte, 0);
41638 int ofst, /* First lock to acquire or release */
41649 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
41657 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
41658 assert( n>1 || mask==(1<<ofst) );
41672 rc = winShmSystemLock(pShmNode, WINSHM_UNLCK, ofst+WIN_SHM_BASE, n);
41700 rc = winShmSystemLock(pShmNode, WINSHM_RDLCK, ofst+WIN_SHM_BASE, n);
41725 rc = winShmSystemLock(pShmNode, WINSHM_WRLCK, ofst+WIN_SHM_BASE, n);
49254 i64 ofst = (pgno-1)*(i64)pPager->pageSize;
49257 rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
169202 unsigned int cnt, ofst;
169207 ofst = rbuDeltaGetInt(&zDelta, &lenDelta);
169218 if( (int)(ofst+cnt) > lenSrc ){
169222 memcpy(zOut, &zSrc[ofst], cnt);
172960 static int rbuVfsShmLock(sqlite3_file *pFile, int ofst, int n, int flags){
172975 if( ofst==WAL_LOCK_CKPT && n==1 ) rc = SQLITE_BUSY;
172980 && (ofst==WAL_LOCK_WRITE || ofst==WAL_LOCK_CKPT || ofst==WAL_LOCK_READ0)
172986 rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags);
172988 pRbu->mLock |= (1 << ofst);