Lines Matching refs:nPayload
137 i64 nPayload; /* Value of 'payload' column */ member
347 pCsr->nPayload = 0; in statResetCounts()
455 u32 nPayload; /* Bytes of payload total (local+overflow) */ in statDecodePage() local
457 iOff += getVarint32(&aData[iOff], nPayload); in statDecodePage()
462 if( nPayload>(u32)p->nMxPayload ) p->nMxPayload = nPayload; in statDecodePage()
463 nLocal = getLocalPayload(nUsable, p->flags, nPayload); in statDecodePage()
466 assert( nPayload>=(u32)nLocal ); 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()
569 int nPayload; in statNext() local
620 pCsr->nPayload += nUsable - 4; in statNext()
622 pCsr->nPayload += pCell->nLastOvfl; in statNext()
707 nPayload = 0; in statNext()
709 nPayload += p->aCell[i].nLocal; in statNext()
711 pCsr->nPayload += nPayload; in statNext()
830 sqlite3_result_int(ctx, pCsr->nPayload); in statColumn()