• Home
  • Raw
  • Download

Lines Matching refs:ofst

34903   int ofst,              /* First byte of the locking range */
34925 f.l_start = ofst;
34936 mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
34939 OSTRACE(("unlock %d ok", ofst));
34943 OSTRACE(("read-lock %d ok", ofst));
34948 OSTRACE(("write-lock %d ok", ofst));
34954 OSTRACE(("unlock %d failed", ofst));
34959 OSTRACE(("write-lock %d failed", ofst));
35395 int ofst, /* First lock to acquire or release */
35408 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
35418 mask = (1<<(ofst+n)) - (1<<ofst);
35419 assert( n>1 || mask==(1<<ofst) );
35433 rc = unixShmSystemLock(pDbFd, F_UNLCK, ofst+UNIX_SHM_BASE, n);
35461 rc = unixShmSystemLock(pDbFd, F_RDLCK, ofst+UNIX_SHM_BASE, n);
35486 rc = unixShmSystemLock(pDbFd, F_WRLCK, ofst+UNIX_SHM_BASE, n);
42422 int ofst, /* Offset to first byte to be locked/unlocked */
42431 pFile->hFile.h, lockType, ofst, nByte));
42435 rc = winUnlockFile(&pFile->hFile.h, ofst, 0, nByte, 0);
42440 rc = winLockFile(&pFile->hFile.h, dwFlags, ofst, 0, nByte, 0);
42699 int ofst, /* First lock to acquire or release */
42710 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
42718 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
42719 assert( n>1 || mask==(1<<ofst) );
42733 rc = winShmSystemLock(pShmNode, WINSHM_UNLCK, ofst+WIN_SHM_BASE, n);
42761 rc = winShmSystemLock(pShmNode, WINSHM_RDLCK, ofst+WIN_SHM_BASE, n);
42786 rc = winShmSystemLock(pShmNode, WINSHM_WRLCK, ofst+WIN_SHM_BASE, n);
50381 i64 ofst = (pgno-1)*(i64)pPager->pageSize;
50394 rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
50398 rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
173284 unsigned int cnt, ofst;
173289 ofst = rbuDeltaGetInt(&zDelta, &lenDelta);
173300 if( (int)(ofst+cnt) > lenSrc ){
173304 memcpy(zOut, &zSrc[ofst], cnt);
177139 static int rbuVfsShmLock(sqlite3_file *pFile, int ofst, int n, int flags){
177154 if( ofst==WAL_LOCK_CKPT && n==1 ) rc = SQLITE_BUSY;
177159 && (ofst==WAL_LOCK_WRITE || ofst==WAL_LOCK_CKPT || ofst==WAL_LOCK_READ0)
177165 rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags);
177167 pRbu->mLock |= (1 << ofst);