Lines Matching refs:ofst
23279 int ofst, /* Offset to first byte to be locked/unlocked */
23291 area.lOffset = ofst;
23654 int ofst, /* First lock to acquire or release */
23665 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
23673 mask = (u32)((1U<<(ofst+n)) - (1U<<ofst));
23674 assert( n>1 || mask==(1<<ofst) );
23691 rc = os2ShmSystemLock(pShmNode, _SHM_UNLCK, ofst+OS2_SHM_BASE, n);
23719 rc = os2ShmSystemLock(pShmNode, _SHM_RDLCK, ofst+OS2_SHM_BASE, n);
23744 rc = os2ShmSystemLock(pShmNode, _SHM_WRLCK, ofst+OS2_SHM_BASE, n);
23759 ofst, n, flags, rc))
28243 int ofst, /* First byte of the locking range */
28263 f.l_start = ofst;
28274 mask = (1<<(ofst+n)) - (1<<ofst);
28277 OSTRACE(("unlock %d ok", ofst));
28281 OSTRACE(("read-lock %d ok", ofst));
28286 OSTRACE(("write-lock %d ok", ofst));
28292 OSTRACE(("unlock %d failed", ofst));
28297 OSTRACE(("write-lock %d failed", ofst));
28631 int ofst, /* First lock to acquire or release */
28644 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
28654 mask = (1<<(ofst+n)) - (1<<ofst);
28655 assert( n>1 || mask==(1<<ofst) );
28669 rc = unixShmSystemLock(pShmNode, F_UNLCK, ofst+UNIX_SHM_BASE, n);
28697 rc = unixShmSystemLock(pShmNode, F_RDLCK, ofst+UNIX_SHM_BASE, n);
28722 rc = unixShmSystemLock(pShmNode, F_WRLCK, ofst+UNIX_SHM_BASE, n);
33369 int ofst, /* Offset to first byte to be locked/unlocked */
33384 ovlp.Offset = ofst;
33621 int ofst, /* First lock to acquire or release */
33632 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
33640 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
33641 assert( n>1 || mask==(1<<ofst) );
33655 rc = winShmSystemLock(pShmNode, _SHM_UNLCK, ofst+WIN_SHM_BASE, n);
33683 rc = winShmSystemLock(pShmNode, _SHM_RDLCK, ofst+WIN_SHM_BASE, n);
33708 rc = winShmSystemLock(pShmNode, _SHM_WRLCK, ofst+WIN_SHM_BASE, n);
39766 i64 ofst = (pgno-1)*(i64)pPager->pageSize;
39769 rc = sqlite3OsWrite(pPager->fd, (u8*)aData, pPager->pageSize, ofst);