Home | History | Annotate | Download | only in orig

Lines Matching refs:nNew

4921 ** encrypted, this routine will encrypt it.  If pNew==0 or nNew==0, the
19096 int nOld, nNew, nDiff;
19113 nNew = sqlite3GlobalConfig.m.xRoundup(nBytes);
19114 if( nOld==nNew ){
19119 nDiff = nNew - nOld;
19126 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
19129 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
19132 nNew = sqlite3MallocSize(pNew);
19133 sqlite3StatusAdd(SQLITE_STATUS_MEMORY_USED, nNew-nOld);
19137 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
37226 unsigned int nNew;
37231 nNew = p->nHash*2;
37232 if( nNew<256 ){
37233 nNew = 256;
37238 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
37242 memset(apNew, 0, sizeof(PgHdr1 *)*nNew);
37247 unsigned int h = pPage->iKey % nNew;
37255 p->nHash = nNew;
44337 Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager));
44339 rc = pager_truncate(pPager, nNew);
44666 int nNew; /* Number of remaining savepoints after this op. */
44669 ** operation. Store this value in nNew. Then free resources associated
44672 nNew = iSavepoint + (( op==SAVEPOINT_RELEASE ) ? 0 : 1);
44673 for(ii=nNew; ii<pPager->nSavepoint; ii++){
44676 pPager->nSavepoint = nNew;
44681 if( nNew==0 && isOpen(pPager->sjfd) ){
44696 PagerSavepoint *pSavepoint = (nNew==0)?0:&pPager->aSavepoint[nNew-1];
55292 int nNew = 0; /* Number of pages in apNew[] */
55614 nNew++;
55621 nNew++;
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);
55688 for(i=0; i<nNew; i++){
55694 assert( pNew->nCell>0 || (nNew==1 && cntNew[0]==0) );
55702 assert( i<nNew-1 || j==nCell );
55757 assert( nNew>0 );
55760 memcpy(&apNew[nNew-1]->aData[8], zChild, 4);
55778 assert( nNew==1 );
55857 assert( k<nNew );
55874 for(i=0; i<nNew; i++){
55885 ptrmapCheckPages(apNew, nNew);
55892 nOld, nNew, nCell));
55902 for(i=0; i<nNew; i++){
59623 int nNew = (p->nOpAlloc ? p->nOpAlloc*2 : (int)(1024/sizeof(Op)));
59624 pNew = sqlite3DbRealloc(p->db, p->aOp, nNew*sizeof(Op));
71824 int nNew = pIter->nAlloc*2;
71825 while( (iOff+nRec)>nNew ) nNew = nNew*2;
71826 pIter->aAlloc = sqlite3DbReallocOrFree(db, pIter->aAlloc, nNew);
71828 pIter->nAlloc = nNew;
119111 int nNew;
119115 pTS->aaOutput[i], pTS->anOutput[i], aOut, nOut, &aNew, &nNew
119126 nOut = nNew;
119179 int nNew;
119182 pTS->aaOutput[iOut], pTS->anOutput[iOut], &aNew, &nNew
119194 nMerge = nNew;
121047 int nNew;
121059 nNew = (int)(pOut - pPhrase->doclist.pList) - 1;
121060 assert( pPhrase->doclist.pList[nNew]=='\0' );
121061 assert( nNew<=pPhrase->doclist.nList && nNew>0 );
121062 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
121063 pPhrase->doclist.nList = nNew;
122528 static void *fts3ReallocOrFree(void *pOrig, int nNew){
122529 void *pRet = sqlite3_realloc(pOrig, nNew);
124508 int nNew = sizeof(char *)*(iArg+1);
124509 char const **aNew = (const char **)sqlite3_realloc((void *)aArg, nNew);
125614 int nNew = p->nSpace * 2;
125615 p = sqlite3_realloc(p, sizeof(*p) + nNew);
125621 p->nSpace = nNew;
126320 int nNew = (nPrefix+nSuffix)*2;
126321 char *zNew = sqlite3_realloc(pReader->zTerm, nNew);
126326 pReader->nTermAlloc = nNew;