Lines Matching refs:pMethods

1192 ** for their own use.  The pMethods entry is a pointer to an
1198 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */
1210 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
1214 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element
1620 ** the xOpen method must set the sqlite3_file.pMethods to either
1622 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
15158 if( pId->pMethods ){
15159 rc = pId->pMethods->xClose(pId);
15160 pId->pMethods = 0;
15166 return id->pMethods->xRead(id, pBuf, amt, offset);
15170 return id->pMethods->xWrite(id, pBuf, amt, offset);
15173 return id->pMethods->xTruncate(id, size);
15177 return id->pMethods->xSync(id, flags);
15181 return id->pMethods->xFileSize(id, pSize);
15185 return id->pMethods->xLock(id, lockType);
15188 return id->pMethods->xUnlock(id, lockType);
15192 return id->pMethods->xCheckReservedLock(id, pResOut);
15205 return id->pMethods->xFileControl(id, op, pArg);
15208 (void)id->pMethods->xFileControl(id, op, pArg);
15212 int (*xSectorSize)(sqlite3_file*) = id->pMethods->xSectorSize;
15216 return id->pMethods->xDeviceCharacteristics(id);
15219 return id->pMethods->xShmLock(id, offset, n, flags);
15222 id->pMethods->xShmBarrier(id);
15225 return id->pMethods->xShmUnmap(id, deleteFlag);
15235 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp);
15242 return id->pMethods->xFetch(id, iOff, iAmt, pp);
15245 return id->pMethods->xUnfetch(id, iOff, p);
15276 assert( rc==SQLITE_OK || pFile->pMethods==0 );
28111 const sqlite3_io_methods *pMethods; /* Appropriate locking method */
28135 return aMap[i].pMethods;
28860 ** pFile->pMethods will be NULL so sqlite3OsClose will be a no-op
39130 ** if( pPager->jfd->pMethods ){ ...
39132 #define isOpen(pFd) ((pFd)->pMethods)
41129 if( pPager->fd->pMethods ){
41715 pPager->bUseFetch = (fd->pMethods->iVersion>=3) && pPager->szMmap>0;
42249 assert( pPager->fd->pMethods->iVersion>=3 );
45314 const sqlite3_io_methods *pMethods = pPager->fd->pMethods;
45315 return pPager->exclusiveMode || (pMethods->iVersion>=2 && pMethods->xShmMap);
48456 if( isChanged && pWal->pDbFd->pMethods->iVersion>=3 ){
53636 && (fd = sqlite3PagerFile(pBt->pPager))->pMethods /* (3) */
58745 if( pFd->pMethods ){
73445 if( p->pMethods!=&JournalFileMethods ){
73458 return (p->pMethods!=&JournalFileMethods || ((JournalFile *)p)->pReal!=0);
73723 return pJfd->pMethods==&MemJournalMethods;
117787 }else if( fd->pMethods ){