Lines Matching refs:pMethods

909   const struct sqlite3_io_methods *pMethods;  /* Methods for an open file */  member
19773 if( pId->pMethods ){ in sqlite3OsClose()
19774 pId->pMethods->xClose(pId); in sqlite3OsClose()
19775 pId->pMethods = 0; in sqlite3OsClose()
19780 return id->pMethods->xRead(id, pBuf, amt, offset); in sqlite3OsRead()
19784 return id->pMethods->xWrite(id, pBuf, amt, offset); in sqlite3OsWrite()
19787 return id->pMethods->xTruncate(id, size); in sqlite3OsTruncate()
19791 return id->pMethods->xSync(id, flags); in sqlite3OsSync()
19795 return id->pMethods->xFileSize(id, pSize); in sqlite3OsFileSize()
19799 return id->pMethods->xLock(id, lockType); in sqlite3OsLock()
19802 return id->pMethods->xUnlock(id, lockType); in sqlite3OsUnlock()
19806 return id->pMethods->xCheckReservedLock(id, pResOut); in sqlite3OsCheckReservedLock()
19833 return id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControl()
19836 (void)id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControlHint()
19840 int (*xSectorSize)(sqlite3_file*) = id->pMethods->xSectorSize; in sqlite3OsSectorSize()
19844 return id->pMethods->xDeviceCharacteristics(id); in sqlite3OsDeviceCharacteristics()
19847 return id->pMethods->xShmLock(id, offset, n, flags); in sqlite3OsShmLock()
19850 id->pMethods->xShmBarrier(id); in sqlite3OsShmBarrier()
19853 return id->pMethods->xShmUnmap(id, deleteFlag); in sqlite3OsShmUnmap()
19863 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap()
19870 return id->pMethods->xFetch(id, iOff, iAmt, pp); in sqlite3OsFetch()
19873 return id->pMethods->xUnfetch(id, iOff, p); in sqlite3OsUnfetch()
19904 assert( rc==SQLITE_OK || pFile->pMethods==0 ); in sqlite3OsOpen()
34440 const sqlite3_io_methods *pMethods; /* Appropriate locking method */
34464 return aMap[i].pMethods;
47090 #define isOpen(pFd) ((pFd)->pMethods!=0)
49131 if( pPager->fd->pMethods ){
49712 if( isOpen(fd) && fd->pMethods->iVersion>=3 ){
50270 assert( pPager->fd->pMethods->iVersion>=3 );
53478 const sqlite3_io_methods *pMethods = pPager->fd->pMethods;
53480 return pPager->exclusiveMode || (pMethods->iVersion>=2 && pMethods->xShmMap);
56933 if( isChanged && pWal->pDbFd->pMethods->iVersion>=3 ){
62736 && (fd = sqlite3PagerFile(pBt->pPager))->pMethods /* (3) */
68604 if( pFd->pMethods ){
85239 if( pFd->pMethods->iVersion>=3 ){
85905 if( nByte<=(i64)(db->nMaxSorterMmap) && pFd->pMethods->iVersion>=3 ){
87776 if( p->pMethods==&MemJournalMethods && ((MemJournal*)p)->nSpill>0 ){
87789 return p->pMethods==&MemJournalMethods;
140015 }else if( fd->pMethods ){
167477 p->rc = pDb->pMethods->xShmMap(pDb, 0, 32*1024, 0, (void volatile**)&ptr);
167615 p->rc = pWal->pMethods->xRead(pWal, p->aBuf, p->pgsz, iOff);
167619 p->rc = pDb->pMethods->xWrite(pDb, p->aBuf, p->pgsz, iOff);
167629 p->rc = pReal->pMethods->xLock(pReal, SQLITE_LOCK_SHARED);
167631 p->rc = pReal->pMethods->xLock(pReal, SQLITE_LOCK_EXCLUSIVE);
168196 p->rc = pDb->pMethods->xSync(pDb, SQLITE_SYNC_NORMAL);
168201 p->rc = pDb->pMethods->xShmMap(pDb, 0, 32*1024, 0, &ptr);
168828 int (*xShmLock)(sqlite3_file*,int,int,int) = p->pReal->pMethods->xShmLock;
168862 p->pReal->pMethods->xShmUnmap(p->pReal, 0);
168866 rc = p->pReal->pMethods->xClose(p->pReal);
168922 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst);
168934 rc = pFd->pMethods->xRead(pFd, zBuf, iAmt, iOfst);
168987 rc = p->pReal->pMethods->xWrite(p->pReal, zBuf, iAmt, iOfst);
169004 return p->pReal->pMethods->xTruncate(p->pReal, size);
169018 return p->pReal->pMethods->xSync(p->pReal, flags);
169027 rc = p->pReal->pMethods->xFileSize(p->pReal, pSize);
169058 rc = p->pReal->pMethods->xLock(p->pReal, eLock);
169069 return p->pReal->pMethods->xUnlock(p->pReal, eLock);
169077 return p->pReal->pMethods->xCheckReservedLock(p->pReal, pResOut);
169085 int (*xControl)(sqlite3_file*,int,void*) = p->pReal->pMethods->xFileControl;
169140 return p->pReal->pMethods->xSectorSize(p->pReal);
169148 return p->pReal->pMethods->xDeviceCharacteristics(p->pReal);
169180 rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags);
169238 rc = p->pReal->pMethods->xShmMap(p->pReal, iRegion, szRegion, isWrite, pp);
169249 p->pReal->pMethods->xShmBarrier(p->pReal);
169266 rc = p->pReal->pMethods->xShmUnmap(p->pReal, delFlag);
169407 if( pFd->pReal->pMethods ){
169411 pFile->pMethods = &rbuvfs_io_methods;
170091 if( fd->pMethods!=0 && sqlite3OsFileControl(fd, 230440, &x)==SQLITE_OK ){