Lines Matching defs:mxPage

36812 SQLITE_PRIVATE void sqlite3PcacheSetCachesize(PCache *pCache, int mxPage){
36813 pCache->szCache = mxPage;
41728 SQLITE_PRIVATE void sqlite3PagerSetCachesize(Pager *pPager, int mxPage){
41729 sqlite3PcacheSetCachesize(pPager->pPCache, mxPage);
41977 ** Attempt to set the maximum database page count if mxPage is positive.
41978 ** Make no changes if mxPage is zero or negative. And never reduce the
41981 ** Regardless of mxPage, return the current maximum page count.
41983 SQLITE_PRIVATE int sqlite3PagerMaxPageCount(Pager *pPager, int mxPage){
41984 if( mxPage>0 ){
41985 pPager->mxPgno = mxPage;
47001 u32 mxPage; /* Max database page to write */
47027 mxPage = pWal->hdr.nPage;
47060 i64 nReq = ((i64)mxPage * szPage);
47071 if( iFrame<=nBackfill || iFrame>mxSafeFrame || iDbpage>mxPage ) continue;
51447 ** value of mxPage. If mxPage is negative, the pager will
51458 SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(Btree *p, int mxPage){
51462 sqlite3PagerSetCachesize(pBt->pPager, mxPage);
51576 ** Set the maximum page count for a database if mxPage is positive.
51577 ** No changes are made if mxPage is 0 or negative.
51578 ** Regardless of the value of mxPage, return the maximum page count.
51580 SQLITE_PRIVATE int sqlite3BtreeMaxPageCount(Btree *p, int mxPage){
51583 n = sqlite3PagerMaxPageCount(p->pBt->pPager, mxPage);
54204 Pgno mxPage; /* Total size of the database file */
54208 mxPage = btreePagecount(pBt);
54210 testcase( n==mxPage-1 );
54211 if( n>=mxPage ){
54224 if( exact && nearby<=mxPage ){
54255 testcase( iTrunk==mxPage );
54256 if( iTrunk>mxPage ){
54316 if( iNewTrunk>mxPage ){
54320 testcase( iNewTrunk==mxPage );
54370 testcase( iPage==mxPage );
54371 if( iPage>mxPage ){
54375 testcase( iPage==mxPage );