Lines Matching refs:szCell
7227 u16 *szCell; /* Local size of all cells in apCell[] */ member
7240 if( p->szCell[idx]==0 ){ in populateCellCache()
7241 p->szCell[idx] = p->pRef->xCellSize(p->pRef, p->apCell[idx]); in populateCellCache()
7244 p->szCell[idx]==p->pRef->xCellSize(p->pRef, p->apCell[idx]) ); in populateCellCache()
7256 assert( p->szCell[N]==0 ); in computeCellSize()
7257 p->szCell[N] = p->pRef->xCellSize(p->pRef, p->apCell[N]); in computeCellSize()
7258 return p->szCell[N]; in computeCellSize()
7262 if( p->szCell[N] ) return p->szCell[N]; in cachedCellSize()
7309 u16 sz = pCArray->szCell[i]; in rebuildPage()
7391 assert( pCArray->szCell[i]!=0 ); in pageInsertArray()
7392 sz = pCArray->szCell[i]; in pageInsertArray()
7456 sz = pCArray->szCell[i]; assert( sz>0 ); in pageFreeArray()
7646 u16 szCell = pPage->xCellSize(pPage, pCell); in balance_quick() local
7656 b.szCell = &szCell; in balance_quick()
7664 pNew->nFree = pBt->usableSize - pNew->cellOffset - 2 - szCell; in balance_quick()
7677 if( szCell>pNew->minLocal ){ in balance_quick()
8017 b.szCell = (u16*)&b.apCell[nMaxCells]; in balance_nonroot()
8018 aSpace1 = (u8*)&b.szCell[nMaxCells]; in balance_nonroot()
8074 memset(&b.szCell[b.nCell], 0, sizeof(b.szCell[0])*(limit+pOld->nOverflow)); in balance_nonroot()
8106 b.szCell[b.nCell] = sz; in balance_nonroot()
8114 b.szCell[b.nCell] = b.szCell[b.nCell] - leafCorrection; in balance_nonroot()
8123 while( b.szCell[b.nCell]<4 ){ in balance_nonroot()
8126 assert( b.szCell[b.nCell]==3 || CORRUPT_DB ); in balance_nonroot()
8129 b.szCell[b.nCell]++; in balance_nonroot()
8241 && (bBulk || szRight+b.szCell[d]+2 > szLeft-(b.szCell[r]+(i==k-1?0:2)))){ in balance_nonroot()
8244 szRight += b.szCell[d] + 2; in balance_nonroot()
8245 szLeft -= b.szCell[r] + 2; in balance_nonroot()
8446 sz = b.szCell[j] + leafCorrection; in balance_nonroot()
8475 if( b.szCell[j]==4 ){ in balance_nonroot()