Lines Matching refs:nPayload
63939 u32 nPayload; /* Bytes of payload */
65607 surplus = minLocal + (pInfo->nPayload - minLocal)%(pPage->pBt->usableSize-4);
65644 pInfo->nPayload = 0;
65655 u32 nPayload; /* Number of bytes of cell payload */
65670 nPayload = *pIter;
65671 if( nPayload>=0x80 ){
65673 nPayload &= 0x7f;
65675 nPayload = (nPayload<<7) | (*++pIter & 0x7f);
65702 pInfo->nPayload = nPayload;
65704 testcase( nPayload==pPage->maxLocal );
65705 testcase( nPayload==pPage->maxLocal+1 );
65706 if( nPayload<=pPage->maxLocal ){
65710 pInfo->nSize = nPayload + (u16)(pIter - pCell);
65712 pInfo->nLocal = (u16)nPayload;
65723 u32 nPayload; /* Number of bytes of cell payload */
65729 nPayload = *pIter;
65730 if( nPayload>=0x80 ){
65732 nPayload &= 0x7f;
65734 nPayload = (nPayload<<7) | (*++pIter & 0x7f);
65738 pInfo->nKey = nPayload;
65739 pInfo->nPayload = nPayload;
65741 testcase( nPayload==pPage->maxLocal );
65742 testcase( nPayload==pPage->maxLocal+1 );
65743 if( nPayload<=pPage->maxLocal ){
65747 pInfo->nSize = nPayload + (u16)(pIter - pCell);
65749 pInfo->nLocal = (u16)nPayload;
65865 if( info.nLocal<info.nPayload ){
68104 if( info.nLocal<info.nPayload ){
69015 if( a->nPayload!=b->nPayload ) return 0;
69106 return pCur->info.nPayload;
69289 assert( offset+amt <= pCur->info.nPayload );
69330 int nOvfl = (pCur->info.nPayload-pCur->info.nLocal+ovflSize-1)/ovflSize;
70874 if( pInfo->nLocal==pInfo->nPayload ){
70887 nOvfl = (pInfo->nPayload - pInfo->nLocal + ovflPageSize - 1)/ovflPageSize;
70889 (CORRUPT_DB && (pInfo->nPayload + ovflPageSize)<ovflPageSize)
70950 int nPayload;
70971 nPayload = pX->nData + pX->nZero;
70975 nHeader += putVarint32(&pCell[nHeader], nPayload);
70979 nSrc = nPayload = (int)pX->nKey;
70981 nHeader += putVarint32(&pCell[nHeader], nPayload);
70986 if( nPayload<=pPage->maxLocal ){
70989 n = nHeader + nPayload;
70994 assert( nSrc<=nPayload );
70995 testcase( nSrc<nPayload );
70997 memset(pPayload+nSrc, 0, nPayload-nSrc);
71005 n = mn + (nPayload - mn) % (pPage->pBt->usableSize - 4);
71041 n = nPayload;
71061 nPayload -= n;
71062 if( nPayload<=0 ) break;
71880 if( info.nLocal<info.nPayload ){
73193 && pCur->info.nPayload==(u32)pX->nData+pX->nZero
73295 if( info.nSize==szNew && info.nLocal==info.nPayload
74475 if( info.nPayload>info.nLocal ){
74479 nPage = (info.nPayload - info.nLocal + usableSize - 5)/(usableSize - 4);
201288 i64 nPayload; /* Value of 'payload' column */
201491 pCsr->nPayload = 0;
201599 u32 nPayload; /* Bytes of payload total (local+overflow) */
201601 iOff += getVarint32(&aData[iOff], nPayload);
201606 if( nPayload>(u32)p->nMxPayload ) p->nMxPayload = nPayload;
201607 nLocal = getLocalPayload(nUsable, p->flags, nPayload);
201610 assert( nPayload>=(u32)nLocal );
201612 if( nPayload>(u32)nLocal ){
201614 int nOvfl = ((nPayload - nLocal) + nUsable-4 - 1) / (nUsable - 4);
201615 if( iOff+nLocal>nUsable || nPayload>0x7fffffff ){
201618 pCell->nLastOvfl = (nPayload-nLocal) - (nOvfl-1) * (nUsable-4);
201681 int nPayload;
201732 pCsr->nPayload += nUsable - 4;
201734 pCsr->nPayload += pCell->nLastOvfl;
201820 nPayload = 0;
201822 nPayload += p->aCell[i].nLocal;
201824 pCsr->nPayload += nPayload;
201942 sqlite3_result_int(ctx, pCsr->nPayload);