Lines Matching refs:apNew
29057 char **apNew; /* New apRegion[] array */
29090 apNew = (char **)sqlite3_realloc(
29093 if( !apNew ){
29097 pShmNode->apRegion = apNew;
34879 struct ShmRegion *apNew; /* New aRegion[] array */
34913 apNew = (struct ShmRegion *)sqlite3_realloc(
34914 pShmNode->aRegion, (iRegion+1)*sizeof(apNew[0])
34916 if( !apNew ){
34920 pShmNode->aRegion = apNew;
37225 PgHdr1 **apNew;
37238 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
37241 if( apNew ){
37242 memset(apNew, 0, sizeof(PgHdr1 *)*nNew);
37249 pPage->pNext = apNew[h];
37250 apNew[h] = pPage;
37254 p->apHash = apNew;
45856 volatile u32 **apNew;
45857 apNew = (volatile u32 **)sqlite3_realloc((void *)pWal->apWiData, nByte);
45858 if( !apNew ){
45862 memset((void*)&apNew[pWal->nWiData], 0,
45864 pWal->apWiData = apNew;
55292 int nNew = 0; /* Number of pages in apNew[] */
55307 MemPage *apNew[NB+2]; /* pPage and up to NB siblings after balancing */
55611 pNew = apNew[i] = apOld[i];
55620 apNew[i] = pNew;
55658 int minV = apNew[i]->pgno;
55661 if( apNew[j]->pgno<(unsigned)minV ){
55663 minV = apNew[j]->pgno;
55668 pT = apNew[i];
55669 apNew[i] = apNew[minI];
55670 apNew[minI] = pT;
55674 apNew[0]->pgno, szNew[0],
55675 nNew>=2 ? apNew[1]->pgno : 0, nNew>=2 ? szNew[1] : 0,
55676 nNew>=3 ? apNew[2]->pgno : 0, nNew>=3 ? szNew[2] : 0,
55677 nNew>=4 ? apNew[3]->pgno : 0, nNew>=4 ? szNew[3] : 0,
55678 nNew>=5 ? apNew[4]->pgno : 0, nNew>=5 ? szNew[4] : 0));
55681 put4byte(pRight, apNew[nNew-1]->pgno);
55690 MemPage *pNew = apNew[i];
55760 memcpy(&apNew[nNew-1]->aData[8], zChild, 4);
55763 if( isRoot && pParent->nCell==0 && pParent->hdrOffset<=apNew[0]->nFree ){
55779 assert( apNew[0]->nFree ==
55780 (get2byte(&apNew[0]->aData[5])-apNew[0]->cellOffset-apNew[0]->nCell*2)
55782 copyNodeContent(apNew[0], pParent, &rc);
55783 freePage(apNew[0], &rc);
55816 MemPage *pNew = apNew[0];
55853 pNew = apNew[++k];
55875 u32 key = get4byte(&apNew[i]->aData[8]);
55876 ptrmapPut(pBt, key, PTRMAP_BTREE, apNew[i]->pgno, &rc);
55885 ptrmapCheckPages(apNew, nNew);
55903 releasePage(apNew[i]);
119213 Fts3SegReader **apNew;
119215 apNew = (Fts3SegReader **)sqlite3_realloc(pCsr->apSegment, nByte);
119216 if( !apNew ){
119220 pCsr->apSegment = apNew;