Lines Matching refs:nUsable
369 int nUsable, /* Usable bytes per page */ in getLocalPayload() argument
378 nMinLocal = (nUsable - 12) * 32 / 255 - 23; in getLocalPayload()
379 nMaxLocal = nUsable - 35; in getLocalPayload()
381 nMinLocal = (nUsable - 12) * 32 / 255 - 23; in getLocalPayload()
382 nMaxLocal = (nUsable - 12) * 64 / 255 - 23; in getLocalPayload()
385 nLocal = nMinLocal + (nTotal - nMinLocal) % (nUsable - 4); in getLocalPayload()
434 int nUsable; /* Usable bytes per page */ in statDecodePage() local
437 nUsable = szPage - sqlite3BtreeGetReserveNoMutex(pBt); in statDecodePage()
463 nLocal = getLocalPayload(nUsable, p->flags, nPayload); in statDecodePage()
467 assert( nLocal<=(nUsable-35) ); in statDecodePage()
470 int nOvfl = ((nPayload - nLocal) + nUsable-4 - 1) / (nUsable - 4); in statDecodePage()
471 if( iOff+nLocal+4>nUsable || nPayload>0x7fffffff ){ in statDecodePage()
474 pCell->nLastOvfl = (nPayload-nLocal) - (nOvfl-1) * (nUsable-4); in statDecodePage()
612 int nUsable, iOvfl; in statNext() local
614 nUsable = sqlite3BtreeGetPageSize(pBt) - in statNext()
620 pCsr->nPayload += nUsable - 4; in statNext()
623 pCsr->nUnused += nUsable - 4 - pCell->nLastOvfl; in statNext()