Lines Matching refs:ofst

37752   int ofst,              /* First byte of the locking range */
37775 f.l_start = ofst;
37791 mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
37794 OSTRACE(("unlock %d ok", ofst));
37798 OSTRACE(("read-lock %d ok", ofst));
37803 OSTRACE(("write-lock %d ok", ofst));
37809 OSTRACE(("unlock %d failed", ofst));
37814 OSTRACE(("write-lock %d failed", ofst));
38258 int ofst, /* First lock to acquire or release */
38271 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
38293 (ofst!=2) /* not RECOVER */
38294 && (ofst!=1 || (p->exclMask|p->sharedMask)==0)
38295 && (ofst!=0 || (p->exclMask|p->sharedMask)<3)
38296 && (ofst<3 || (p->exclMask|p->sharedMask)<(1<<ofst))
38300 mask = (1<<(ofst+n)) - (1<<ofst);
38301 assert( n>1 || mask==(1<<ofst) );
38315 rc = unixShmSystemLock(pDbFd, F_UNLCK, ofst+UNIX_SHM_BASE, n);
38343 rc = unixShmSystemLock(pDbFd, F_RDLCK, ofst+UNIX_SHM_BASE, n);
38368 rc = unixShmSystemLock(pDbFd, F_WRLCK, ofst+UNIX_SHM_BASE, n);
45374 int ofst, /* Offset to first byte to be locked/unlocked */
45383 pFile->hFile.h, lockType, ofst, nByte));
45387 rc = winUnlockFile(&pFile->hFile.h, ofst, 0, nByte, 0);
45392 rc = winLockFile(&pFile->hFile.h, dwFlags, ofst, 0, nByte, 0);
45651 int ofst, /* First lock to acquire or release */
45662 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
45670 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
45671 assert( n>1 || mask==(1<<ofst) );
45685 rc = winShmSystemLock(pShmNode, WINSHM_UNLCK, ofst+WIN_SHM_BASE, n);
45713 rc = winShmSystemLock(pShmNode, WINSHM_RDLCK, ofst+WIN_SHM_BASE, n);
45738 rc = winShmSystemLock(pShmNode, WINSHM_WRLCK, ofst+WIN_SHM_BASE, n);
53979 i64 ofst = (pgno-1)*(i64)pPager->pageSize;
53989 rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
195539 unsigned int cnt, ofst;
195544 ofst = rbuDeltaGetInt(&zDelta, &lenDelta);
195555 if( (int)(ofst+cnt) > lenSrc ){
195559 memcpy(zOut, &zSrc[ofst], cnt);
199781 static int rbuVfsShmLock(sqlite3_file *pFile, int ofst, int n, int flags){
199796 if( ofst==WAL_LOCK_CKPT && n==1 ) rc = SQLITE_BUSY;
199804 rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags);
199806 pRbu->mLock |= (1 << ofst);