• Home
  • Raw
  • Download

Lines Matching refs:ofst

34919   int ofst,              /* First byte of the locking range */
34941 f.l_start = ofst;
34952 mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
34955 OSTRACE(("unlock %d ok", ofst));
34959 OSTRACE(("read-lock %d ok", ofst));
34964 OSTRACE(("write-lock %d ok", ofst));
34970 OSTRACE(("unlock %d failed", ofst));
34975 OSTRACE(("write-lock %d failed", ofst));
35411 int ofst, /* First lock to acquire or release */
35424 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
35434 mask = (1<<(ofst+n)) - (1<<ofst);
35435 assert( n>1 || mask==(1<<ofst) );
35449 rc = unixShmSystemLock(pDbFd, F_UNLCK, ofst+UNIX_SHM_BASE, n);
35477 rc = unixShmSystemLock(pDbFd, F_RDLCK, ofst+UNIX_SHM_BASE, n);
35502 rc = unixShmSystemLock(pDbFd, F_WRLCK, ofst+UNIX_SHM_BASE, n);
42438 int ofst, /* Offset to first byte to be locked/unlocked */
42447 pFile->hFile.h, lockType, ofst, nByte));
42451 rc = winUnlockFile(&pFile->hFile.h, ofst, 0, nByte, 0);
42456 rc = winLockFile(&pFile->hFile.h, dwFlags, ofst, 0, nByte, 0);
42715 int ofst, /* First lock to acquire or release */
42726 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
42734 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
42735 assert( n>1 || mask==(1<<ofst) );
42749 rc = winShmSystemLock(pShmNode, WINSHM_UNLCK, ofst+WIN_SHM_BASE, n);
42777 rc = winShmSystemLock(pShmNode, WINSHM_RDLCK, ofst+WIN_SHM_BASE, n);
42802 rc = winShmSystemLock(pShmNode, WINSHM_WRLCK, ofst+WIN_SHM_BASE, n);
50397 i64 ofst = (pgno-1)*(i64)pPager->pageSize;
50410 rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
50414 rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
173312 unsigned int cnt, ofst;
173317 ofst = rbuDeltaGetInt(&zDelta, &lenDelta);
173328 if( (int)(ofst+cnt) > lenSrc ){
173332 memcpy(zOut, &zSrc[ofst], cnt);
177167 static int rbuVfsShmLock(sqlite3_file *pFile, int ofst, int n, int flags){
177182 if( ofst==WAL_LOCK_CKPT && n==1 ) rc = SQLITE_BUSY;
177187 && (ofst==WAL_LOCK_WRITE || ofst==WAL_LOCK_CKPT || ofst==WAL_LOCK_READ0)
177193 rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags);
177195 pRbu->mLock |= (1 << ofst);