Home
last modified time | relevance | path

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

/freebsd/contrib/sqlite3/
H A Dshell.c11634 static int apndShmMap(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
11867 int iPg, in apndShmMap() argument
11873 return pFile->pMethods->xShmMap(pFile,iPg,pgsz,bExtend,pp); in apndShmMap()
21141 static void recoverBitmapSet(RecoverBitmap *pMap, i64 iPg){ in recoverBitmapSet() argument
21142 if( iPg<=pMap->nPg ){ in recoverBitmapSet()
21143 int iElem = (iPg / 32); in recoverBitmapSet()
21144 int iBit = (iPg % 32); in recoverBitmapSet()
21153 static int recoverBitmapQuery(RecoverBitmap *pMap, i64 iPg){ in recoverBitmapQuery() argument
21155 if( iPg<=pMap->nPg && iPg>0 ){ in recoverBitmapQuery()
21156 int iElem = (iPg / 32); in recoverBitmapQuery()
[all …]
H A Dsqlite3.h869 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
H A Dsqlite3.c1190 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
45373 i64 iPg; in unixShmMap() local
45377 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){ in unixShmMap()
45379 if( seekAndWriteFd(pShmNode->hShm, iPg*pgsz + pgsz-1,"",1,&x)!=1 ){ in unixShmMap()
62793 static int pagerUndoCallback(void *pCtx, Pgno iPg){ argument
62799 pPg = sqlite3PagerLookup(pPager, iPg);
68949 u32 iPg; /* Current 32KB wal-index page */ local
69008 for(iPg=0; iPg<=(u32)walFramePage(iLastFrame); iPg++){
69011 u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
69012 u32 iFirst = 1 + (iPg==0?0:HASHTABLE_NPAGE_ONE+(iPg-1)*HASHTABLE_NPAGE);
[all …]