Lines Matching refs:nPg
16614 i64 nPg; /* Size of bitmap */ member
16648 i64 nPg; /* Size of db in pages */ member
16855 static RecoverBitmap *recoverBitmapAlloc(sqlite3_recover *p, i64 nPg){ in recoverBitmapAlloc() argument
16856 int nElem = (nPg+1+31) / 32; in recoverBitmapAlloc()
16861 pRet->nPg = nPg; in recoverBitmapAlloc()
16877 if( iPg<=pMap->nPg ){ in recoverBitmapSet()
16890 if( iPg<=pMap->nPg && iPg>0 ){ in recoverBitmapQuery()
17069 i64 nPg = 0; in recoverPageCount() local
17075 nPg = sqlite3_column_int64(pStmt, 0); in recoverPageCount()
17079 return nPg; in recoverPageCount()
17162 i64 nPg = recoverPageCount(p); in recoverGetPage() local
17163 sqlite3_result_int64(pCtx, nPg); in recoverGetPage()
17178 int nPg; in recoverGetPage() local
17181 nPg = sqlite3_column_bytes(pStmt, 0); in recoverGetPage()
17182 if( pgno==1 && nPg==p->pgsz && 0==memcmp(p->pPage1Cache, aPg, nPg) ){ in recoverGetPage()
17185 sqlite3_result_blob(pCtx, aPg, nPg-p->nReserve, SQLITE_TRANSIENT); in recoverGetPage()
18108 "SELECT ii FROM seq" , p->laf.nPg in recoverLostAndFound3Init()
18322 pLaf->nPg = recoverPageCount(p); in recoverLostAndFound1Init()
18323 pLaf->pUsed = recoverBitmapAlloc(p, pLaf->nPg); in recoverLostAndFound1Init()
18408 "SELECT NULL, ii FROM seq", p->laf.nPg in recoverLostAndFound2Init()