Home
last modified time | relevance | path

Searched refs:pFd (Results 1 – 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/sqlite3/
Dshell.c16667 static int recoverVfsUnfetch(sqlite3_file *pFd, sqlite3_int64 iOff, void *p);
16691 static int recoverVfsClose(sqlite3_file *pFd){ in recoverVfsClose() argument
16692 assert( pFd->pMethods!=&recover_methods ); in recoverVfsClose()
16693 return pFd->pMethods->xClose(pFd); in recoverVfsClose()
16730 sqlite3_file *pFd, /* File-handle open on input database */ in recoverVfsDetectPagesize() argument
16755 rc = pFd->pMethods->xRead(pFd, aPg, nByte, iBlk*nMax); in recoverVfsDetectPagesize()
16786 static int recoverVfsRead(sqlite3_file *pFd, void *aBuf, int nByte, i64 iOff){ in recoverVfsRead() argument
16788 if( pFd->pMethods==&recover_methods ){ in recoverVfsRead()
16789 pFd->pMethods = recover_g.pMethods; in recoverVfsRead()
16790 rc = pFd->pMethods->xRead(pFd, aBuf, nByte, iOff); in recoverVfsRead()
[all …]
Dsqlite3.c39917 static int unixMapfile(unixFile *pFd, i64 nByte);
39918 static void unixUnmapfile(unixFile *pFd);
41524 static int openDirectory(const char *zFilename, int *pFd){
41541 *pFd = fd;
41922 static void setDeviceCharacteristics(unixFile *pFd){
41923 assert( pFd->deviceCharacteristics==0 || pFd->sectorSize!=0 );
41924 if( pFd->sectorSize==0 ){
41930 res = osIoctl(pFd->h, F2FS_IOC_GET_FEATURES, &f);
41932 pFd->deviceCharacteristics = SQLITE_IOCAP_BATCH_ATOMIC;
41937 if( pFd->ctrlFlags & UNIXFILE_PSOW ){
[all …]
/freebsd-12-stable/crypto/heimdal/lib/sqlite/
Dsqlite3.c27864 static int openDirectory(const char *zFilename, int *pFd){
27881 *pFd = fd;
28315 static void unixShmPurge(unixFile *pFd){
28316 unixShmNode *p = pFd->pInode->pShmNode;
28320 assert( p->pInode==pFd->pInode );
28331 robust_close(pFd, p->h, __LINE__);
38312 #define isOpen(pFd) ((pFd)->pMethods)