Lines Matching refs:nLocal
93 int nLocal; /* Bytes of local payload */ member
373 int nLocal; in getLocalPayload() local
385 nLocal = nMinLocal + (nTotal - nMinLocal) % (nUsable - 4); in getLocalPayload()
386 if( nLocal>nMaxLocal ) nLocal = nMinLocal; in getLocalPayload()
387 return nLocal; in getLocalPayload()
456 int nLocal; /* Bytes of payload stored locally */ in statDecodePage() local
463 nLocal = getLocalPayload(nUsable, p->flags, nPayload); in statDecodePage()
464 if( nLocal<0 ) goto statPageIsCorrupt; in statDecodePage()
465 pCell->nLocal = nLocal; in statDecodePage()
466 assert( nPayload>=(u32)nLocal ); in statDecodePage()
467 assert( nLocal<=(nUsable-35) ); in statDecodePage()
468 if( nPayload>(u32)nLocal ){ 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()
478 pCell->aOvfl[0] = sqlite3Get4byte(&aData[iOff+nLocal]); in statDecodePage()
709 nPayload += p->aCell[i].nLocal; in statNext()