Home
last modified time | relevance | path

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

/freebsd/contrib/sqlite3/
H A Dshell.c9678 static int apndShmMap(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
9911 int iPg, in apndShmMap() argument
9917 return pFile->pMethods->xShmMap(pFile,iPg,pgsz,bExtend,pp); in apndShmMap()
19126 static void recoverBitmapSet(RecoverBitmap *pMap, i64 iPg){ in recoverBitmapSet() argument
19127 if( iPg<=pMap->nPg ){ in recoverBitmapSet()
19128 int iElem = (iPg / 32); in recoverBitmapSet()
19129 int iBit = (iPg % 32); in recoverBitmapSet()
19138 static int recoverBitmapQuery(RecoverBitmap *pMap, i64 iPg){ in recoverBitmapQuery() argument
19140 if( iPg<=pMap->nPg && iPg>0 ){ in recoverBitmapQuery()
19141 int iElem = (iPg / 32); in recoverBitmapQuery()
[all …]
H A Dsqlite3.h861 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
H A Dsqlite3.c1180 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
43739 int iPg; in unixShmMap() local
43743 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){ in unixShmMap()
43745 if( seekAndWriteFd(pShmNode->hShm, iPg*pgsz + pgsz-1,"",1,&x)!=1 ){ in unixShmMap()
61168 static int pagerUndoCallback(void *pCtx, Pgno iPg){
61174 pPg = sqlite3PagerLookup(pPager, iPg);
67303 u32 iPg; /* Current 32KB wal-index page */ local
67362 for(iPg=0; iPg<=(u32)walFramePage(iLastFrame); iPg++){
67365 u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
67366 u32 iFirst = 1 + (iPg==0?0:HASHTABLE_NPAGE_ONE+(iPg-1)*HASHTABLE_NPAGE);
[all …]