Searched refs:iPg (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/sqlite3/ |
H A D | shell.c | 8849 static int apndShmMap(sqlite3_file*, int iPg, int pgsz, int, void volatile**); 9082 int iPg, in apndShmMap() argument 9088 return pFile->pMethods->xShmMap(pFile,iPg,pgsz,bExtend,pp); in apndShmMap() 16876 static void recoverBitmapSet(RecoverBitmap *pMap, i64 iPg){ in recoverBitmapSet() argument 16877 if( iPg<=pMap->nPg ){ in recoverBitmapSet() 16878 int iElem = (iPg / 32); in recoverBitmapSet() 16879 int iBit = (iPg % 32); in recoverBitmapSet() 16888 static int recoverBitmapQuery(RecoverBitmap *pMap, i64 iPg){ in recoverBitmapQuery() argument 16890 if( iPg<=pMap->nPg && iPg>0 ){ in recoverBitmapQuery() 16891 int iElem = (iPg / 32); in recoverBitmapQuery() [all …]
|
H A D | sqlite3.h | 852 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
|
H A D | sqlite3.c | 1165 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**); 43259 int iPg; 43263 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){ 43265 if( seekAndWriteFd(pShmNode->hShm, iPg*pgsz + pgsz-1,"",1,&x)!=1 ){ 60209 static int pagerUndoCallback(void *pCtx, Pgno iPg){ 60215 pPg = sqlite3PagerLookup(pPager, iPg); 66328 u32 iPg; /* Current 32KB wal-index page */ 66387 for(iPg=0; iPg<=(u32)walFramePage(iLastFrame); iPg++){ 66390 u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE); 66391 u32 iFirst = 1 + (iPg==0?0:HASHTABLE_NPAGE_ONE+(iPg-1)*HASHTABLE_NPAGE); [all …]
|