Lines Matching refs:szLeaf
250419 int szLeaf; /* Size of leaf without page-index */ member
250691 (x)->szLeaf==(x)->nn || (x)->szLeaf==fts5GetU16(&(x)->p[2]) \
250702 #define fts5LeafIsTermless(x) ((x)->szLeaf >= (x)->nn)
250704 #define fts5LeafTermOff(x, i) (fts5GetU16(&(x)->p[(x)->szLeaf + (i)*2]))
250905 fts5GetVarint32(&pLeaf->p[pLeaf->szLeaf], ret);
250987 pRet->szLeaf = fts5GetU16(&pRet->p[2]);
251011 if( pRet->nn<4 || pRet->szLeaf>pRet->nn ){
251926 pIter->iPgidxOff = pLeaf->szLeaf;
251969 int iEod = MIN(pIter->iEndofDoclist, pIter->pLeaf->szLeaf);
251998 while( iOff>=pIter->pLeaf->szLeaf ){
252032 if( iOff+nNew>pIter->pLeaf->szLeaf || nKeep>pIter->term.n || nNew==0 ){
252126 pIter->iPgidxOff = pIter->pLeaf->szLeaf+1;
252150 int n = pIter->pLeaf->szLeaf;
252220 if( pIter->iTermLeafOffset<pNew->szLeaf ){
252228 if( iRowidOff>=pNew->szLeaf ){
252317 while( pIter->pSeg && iOff>=pIter->pLeaf->szLeaf ){
252348 pIter->pLeaf->szLeaf = nList;
252392 n = pLeaf->szLeaf;
252429 pIter->pLeaf->szLeaf = nList;
252443 if( (iOff = fts5LeafFirstRowidOff(pLeaf)) && iOff<pLeaf->szLeaf ){
252447 if( pLeaf->nn>pLeaf->szLeaf ){
252448 pIter->iPgidxOff = pLeaf->szLeaf + fts5GetVarint32(
252449 &pLeaf->p[pLeaf->szLeaf], pIter->iEndofDoclist
252453 else if( pLeaf->nn>pLeaf->szLeaf ){
252454 pIter->iPgidxOff = pLeaf->szLeaf + fts5GetVarint32(
252455 &pLeaf->p[pLeaf->szLeaf], iOff
252461 assert_nc( iOff<pLeaf->szLeaf );
252462 if( iOff>pLeaf->szLeaf ){
252533 if( pIter->iEndofDoclist>=pLeaf->szLeaf ){
252573 if( iOff>pLast->szLeaf ){
252609 && pIter->iEndofDoclist<pLeaf->szLeaf
252650 iPgidx = (u32)pIter->pLeaf->szLeaf;
252716 iPgidx = (u32)pIter->pLeaf->szLeaf;
252718 if( iOff<4 || (i64)iOff>=pIter->pLeaf->szLeaf ){
252914 pIter->iPgidxOff = pIter->pLeaf->szLeaf;
252982 pLeaf->nn = pLeaf->szLeaf = nList;
253212 int n = pIter->pLeaf->szLeaf;
253675 int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
253700 nChunk = MIN(nRem, pData->szLeaf - 4);
253838 if( pSeg->iLeafOffset+pSeg->nPos<=pSeg->pLeaf->szLeaf ){
253889 if( pSeg->iLeafOffset+pSeg->nPos>pSeg->pLeaf->szLeaf ){
253931 if( pSeg->iLeafOffset+pSeg->nPos<=pSeg->pLeaf->szLeaf ){
254119 if( pData->szLeaf>0 ){
254791 if( iOff>pData->szLeaf ){
254803 fts5BufferAppendBlob(&p->rc, &buf,pData->szLeaf-iOff,&pData->p[iOff]);
254812 && pSeg->iEndofDoclist<pData->szLeaf
254815 int nDiff = pData->szLeaf - pSeg->iEndofDoclist;
255248 if( iNext==0 && pLeaf->szLeaf!=pLeaf->nn ){
255249 fts5GetVarint32(&aPg[pLeaf->szLeaf], iNext);
255262 }else if( iNext>=pLeaf->szLeaf || pLeaf->nn<pLeaf->szLeaf || iNext<4 ){
255276 if( pLeaf->nn>pLeaf->szLeaf ){
255278 int i1 = pLeaf->szLeaf;
255286 aIdx = sqlite3Fts5MallocZero(&p->rc, (pLeaf->nn-pLeaf->szLeaf)+2);
255298 nPg = pLeaf->szLeaf - nShift;
255329 int iPgIdx = pSeg->pLeaf->szLeaf; /* Offset of page footer */
255539 if( pTerm && pTerm->szLeaf==pSeg->iTermLeafOffset ){
255540 u8 *aTermIdx = &pTerm->p[pTerm->szLeaf];
255541 int nTermIdx = pTerm->nn - pTerm->szLeaf;
255554 if( iTermOff>pTerm->szLeaf ){
255557 memmove(&pTerm->p[iTermOff], &pTerm->p[pTerm->szLeaf], nTermIdx);
256839 pData->nn = pData->szLeaf = s.doclist.n;
257380 }else if( pPrevIter->iEndofDoclist>pPrevIter->pLeaf->szLeaf ){
258506 ii = pLeaf->szLeaf;
258516 if( iOff>=pLeaf->szLeaf ){
258521 if( (iOff+nByte)>pLeaf->szLeaf ){
258530 if( nKeep>buf1.n || (iOff+nByte)>pLeaf->szLeaf ){
258589 if( pLeaf->nn<=pLeaf->szLeaf ){
258593 && pLeaf->nn==pLeaf->szLeaf
258611 if( iRowidOff>=iOff || iOff>=pLeaf->szLeaf ){
258664 if( iRowidOff>=pLeaf->szLeaf ){
259144 int szLeaf; local
259145 int iPgidxOff = szLeaf = fts5GetU16(&a[2]);
259153 if( szLeaf<n ){
259156 iTermOff = szLeaf;
259161 while( iOff<szLeaf && rc==SQLITE_OK ){
259178 iTermOff = szLeaf;
259180 if( iTermOff>szLeaf ){
259186 if( iOff<szLeaf ){
259194 int szLeaf; /* Offset of pgidx in a[] */ local
259209 iPgidxOff = szLeaf = fts5GetU16(&a[2]);
259224 iOff = szLeaf;
259234 nDoclist = (iTermOff ? iTermOff : szLeaf) - iOff;
259242 int bFirst = (iPgidxOff==szLeaf); /* True for first term on page */
259254 iEnd = szLeaf;
259256 if( iEnd>szLeaf ){