Lines Matching defs:cntNew

76524   int cntNew[NB+2];            /* Index in b.paCell[] of cell after i-th page */
76779 ** size of all cells on the i-th page and cntNew[] which is the index
76781 ** cntNew[k] should equal b.nCell.
76787 ** cntNew[i]: Index in b.apCell[] and b.szCell[] for the first cell to
76810 cntNew[i] = cntOld[i];
76820 cntNew[k-1] = b.nCell;
76822 sz = 2 + cachedCellSize(&b, cntNew[i]-1);
76825 if( cntNew[i]<b.nCell ){
76826 sz = 2 + cachedCellSize(&b, cntNew[i]);
76832 cntNew[i]--;
76834 while( cntNew[i]<b.nCell ){
76835 sz = 2 + cachedCellSize(&b, cntNew[i]);
76838 cntNew[i]++;
76840 if( cntNew[i]<b.nCell ){
76841 sz = 2 + cachedCellSize(&b, cntNew[i]);
76848 if( cntNew[i]>=b.nCell ){
76850 }else if( cntNew[i] <= (i>0 ? cntNew[i-1] : 0) ){
76873 r = cntNew[i-1] - 1;
76886 cntNew[i-1] = r;
76892 if( cntNew[i-1] <= (i>1 ? cntNew[i-2] : 0) ){
76900 ** (1) We found one or more cells (cntNew[0])>0), or
76905 assert( cntNew[0]>0 || (pParent->pgno==1 && pParent->nCell==0) || CORRUPT_DB);
76992 apNew[0]->pgno, szNew[0], cntNew[0],
76994 nNew>=2 ? cntNew[1] - cntNew[0] - !leafData : 0,
76996 nNew>=3 ? cntNew[2] - cntNew[1] - !leafData : 0,
76998 nNew>=4 ? cntNew[3] - cntNew[2] - !leafData : 0,
77000 nNew>=5 ? cntNew[4] - cntNew[3] - !leafData : 0
77048 if( i==cntNew[iNew] ){
77081 j = cntNew[i];
77161 || cntOld[iPg-1]>=cntNew[iPg-1] /* Condition (1) is true */
77169 assert( iPg==0 || cntOld[iPg-1]>=cntNew[iPg-1] || abDone[iPg-1] );
77173 assert( cntNew[iPg]>=cntOld[iPg] || abDone[iPg+1] );
77177 nNewCell = cntNew[0];
77180 iNew = cntNew[iPg-1] + !leafData;
77181 nNewCell = cntNew[iPg] - iNew;