Lines Matching defs:apCell

71831 ** apCell[] and szCell[] hold, respectively, pointers to the start of each
71832 ** cell and the size of each cell. Some of the apCell[] pointers might refer
71885 int nCell; /* Number of cells in apCell[] */
71887 u8 **apCell; /* All cells begin balanced */
71888 u16 *szCell; /* Local size of all cells in apCell[] */
71900 assert( p->apCell[idx]!=0 );
71902 p->szCell[idx] = p->pRef->xCellSize(p->pRef, p->apCell[idx]);
71905 p->szCell[idx]==p->pRef->xCellSize(p->pRef, p->apCell[idx]) );
71918 p->szCell[N] = p->pRef->xCellSize(p->pRef, p->apCell[N]);
71928 ** Array apCell[] contains pointers to nCell b-tree page cells. The
71933 ** Some of the cells in apCell[] may currently be stored in pPg. This
71969 u8 *pCell = pCArray->apCell[i];
72015 ** (part of page pPg) to populate. After cell apCell[0] is written to the
72029 ** cells in apCell[], then the cells do not fit and non-zero is returned.
72060 /* pSlot and pCArray->apCell[i] will never overlap on a well-formed
72063 assert( (pSlot+sz)<=pCArray->apCell[i]
72064 || pSlot>=(pCArray->apCell[i]+sz)
72066 if( (uptr)(pCArray->apCell[i]+sz)>(uptr)pEnd
72067 && (uptr)(pCArray->apCell[i])<(uptr)pEnd
72073 memmove(pSlot, pCArray->apCell[i], sz);
72112 u8 *pCell = pCArray->apCell[i];
72144 ** pCArray->apCell[iOld]. After balancing, this page should hold nNew cells
72145 ** starting at apCell[iNew].
72239 u8 *pCell = pCArray->apCell[i+iNew];
72245 pCArray->pRef->xCellSize(pCArray->pRef, pCArray->apCell[i+iNew])) );
72314 b.apCell = &pCell;
72526 int nMaxCells = 0; /* Allocated size of apCell, szCell, aFrom. */
72544 int cntOld[NB+2]; /* Old index in b.apCell[] */
72556 b.apCell = 0;
72669 nMaxCells*sizeof(u8*) /* b.apCell */
72674 b.apCell = sqlite3StackAllocRaw(0, szScratch );
72675 if( b.apCell==0 ){
72679 b.szCell = (u16*)&b.apCell[nMaxCells];
72685 ** into the local b.apCell[] array. Make copies of the divider cells
72691 ** into aSpace1[]. In this way, all cells in b.apCell[] are without
72693 ** b.apCell[] include child pointers. Either way, all cells in b.apCell[]
72719 /* Load b.apCell[] with pointers to all cells in pOld. If pOld
72720 ** contains overflow cells, include them in the b.apCell[] array
72744 b.apCell[b.nCell] = aData + (maskPage & get2byteAligned(piCell));
72750 b.apCell[b.nCell] = pOld->apOvfl[k];
72757 b.apCell[b.nCell] = aData + (maskPage & get2byteAligned(piCell));
72774 b.apCell[b.nCell] = pTemp+leafCorrection;
72782 memcpy(b.apCell[b.nCell], &pOld->aData[8], 4);
72789 assert( b.apCell[b.nCell]==&aSpace1[iSpace1-3] || CORRUPT_DB );
72802 ** in b.apCell[] of the cell that divides page i from page i+1.
72809 ** cntNew[i]: Index in b.apCell[] and b.szCell[] for the first cell to
73063 u8 *pCell = b.apCell[i];
73106 assert( b.apCell[j]!=0 );
73107 pCell = b.apCell[j];
73114 ** then there is no divider cell in b.apCell[]. Instead, the divider
73120 pNew->xParseCell(pNew, b.apCell[j], &info);
73276 sqlite3StackFree(0, b.apCell);