Home
last modified time | relevance | path

Searched refs:nPayload (Results 1 – 9 of 9) sorted by relevance

/sqlite-3.40.0/src/
H A Ddbstat.c347 pCsr->nPayload = 0; in statResetCounts()
462 if( nPayload>(u32)p->nMxPayload ) p->nMxPayload = nPayload; in statDecodePage()
466 assert( nPayload>=(u32)nLocal ); in statDecodePage()
468 if( nPayload>(u32)nLocal ){ 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()
[all …]
H A Dbtree.c1152 return nPayload; in btreePayloadToLocal()
1214 nPayload = *pIter; in btreeParseCellPtr()
1219 nPayload = (nPayload<<7) | (*++pIter & 0x7f); in btreeParseCellPtr()
1260 pInfo->nPayload = nPayload; in btreeParseCellPtr()
1287 nPayload = *pIter; in btreeParseCellPtrIndex()
1292 nPayload = (nPayload<<7) | (*++pIter & 0x7f); in btreeParseCellPtrIndex()
1297 pInfo->nPayload = nPayload; in btreeParseCellPtrIndex()
4690 if( a->nPayload!=b->nPayload ) return 0; in cellInfoEqual()
6805 int nPayload; in fillInCell() local
6896 n = nPayload; in fillInCell()
[all …]
H A DbtreeInt.h483 u32 nPayload; /* Bytes of payload */ member
/sqlite-3.40.0/tool/
H A Dshowdb.c391 if( nPayload>maxLocal ){ in localPayload()
399 nLocal = nPayload; in localPayload()
420 i64 nPayload; in describeCell() local
440 nPayload = nLocal = 0; in describeCell()
449 if( nLocal<nPayload ){ in describeCell()
498 i64 nPayload; in decodeCell() local
526 nPayload, nLocal, nPayload-nLocal); in decodeCell()
530 nPayload = nLocal = 0; in decodeCell()
631 if( nLocal<nPayload ){ in decodeCell()
813 i64 nPayload; in page_usage_cell() local
[all …]
H A Dshowwal.c352 static i64 localPayload(i64 nPayload, char cType){ in localPayload() argument
365 if( nPayload>maxLocal ){ in localPayload()
366 surplus = minLocal + (nPayload-minLocal)%(pagesize-4); in localPayload()
373 nLocal = nPayload; in localPayload()
393 i64 nPayload; in describeCell() local
406 i = decodeVarint(a, &nPayload); in describeCell()
409 sprintf(&zDesc[nDesc], "n: %lld ", nPayload); in describeCell()
411 nLocal = localPayload(nPayload, cType); in describeCell()
413 nPayload = nLocal = 0; in describeCell()
422 if( nLocal<nPayload ){ in describeCell()
H A Doffsets.c245 int nPayload; in ofstWalkLeafPage() local
257 nPayload = ofstVarint(p, &ofst); in ofstWalkLeafPage()
259 if( nPayload > p->szPg-35 ){ in ofstWalkLeafPage()
/sqlite-3.40.0/ext/recover/
H A Ddbdata.c538 sqlite3_int64 nPayload = 0; in dbdataNext() local
577 iOff += dbdataGetVarintU32(&pCsr->aPage[iOff], &nPayload); in dbdataNext()
592 if( nPayload<=X ){ in dbdataNext()
593 nLocal = nPayload; in dbdataNext()
597 K = M+((nPayload-M)%(U-4)); in dbdataNext()
614 memset(pCsr->pRec, 0, nPayload+DBDATA_PADDING_BYTES); in dbdataNext()
615 pCsr->nRec = nPayload; in dbdataNext()
622 if( nPayload>nLocal ){ in dbdataNext()
623 sqlite3_int64 nRem = nPayload - nLocal; in dbdataNext()
636 memcpy(&pCsr->pRec[nPayload-nRem], &aOvfl[4], nCopy); in dbdataNext()
[all …]
H A Dsqlite3recover.c2117 i64 nPayload = 0; in recoverIsValidPage() local
2124 nByte += recoverGetVarint(&a[iOff+nByte], &nPayload); in recoverIsValidPage()
2132 int K = M+((nPayload-M)%(n-4)); in recoverIsValidPage()
2134 if( nPayload<X ){ in recoverIsValidPage()
2135 nByte += nPayload; in recoverIsValidPage()
/sqlite-3.40.0/test/
H A Dsort4.test51 # contains blob fields that collectively contain at least $nPayload
70 proc populate_table {nRow nPayload} {
74 for {set nCol 0} {$n < $nPayload} {incr nCol} {
98 proc sorter_test {nRow nRead nPayload} {
103 set nPayload [expr (($nPayload+3)/4) * 4]
109 if {$nPayload & $mask} { lappend cols $col }
113 # $nRow records of a bit over $nPayload bytes each read from the "t1"