• Home
  • Raw
  • Download

Lines Matching refs:nNew

19096   int nOld, nNew, nDiff;  in sqlite3Realloc()  local
19113 nNew = sqlite3GlobalConfig.m.xRoundup(nBytes); in sqlite3Realloc()
19114 if( nOld==nNew ){ in sqlite3Realloc()
19119 nDiff = nNew - nOld; in sqlite3Realloc()
19126 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew); in sqlite3Realloc()
19129 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew); in sqlite3Realloc()
19132 nNew = sqlite3MallocSize(pNew); in sqlite3Realloc()
19133 sqlite3StatusAdd(SQLITE_STATUS_MEMORY_USED, nNew-nOld); in sqlite3Realloc()
19137 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew); in sqlite3Realloc()
37254 unsigned int nNew;
37259 nNew = p->nHash*2;
37260 if( nNew<256 ){
37261 nNew = 256;
37266 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
37270 memset(apNew, 0, sizeof(PgHdr1 *)*nNew);
37275 unsigned int h = pPage->iKey % nNew;
37283 p->nHash = nNew;
44365 Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager));
44367 rc = pager_truncate(pPager, nNew);
44694 int nNew; /* Number of remaining savepoints after this op. */
44700 nNew = iSavepoint + (( op==SAVEPOINT_RELEASE ) ? 0 : 1);
44701 for(ii=nNew; ii<pPager->nSavepoint; ii++){
44704 pPager->nSavepoint = nNew;
44709 if( nNew==0 && isOpen(pPager->sjfd) ){
44724 PagerSavepoint *pSavepoint = (nNew==0)?0:&pPager->aSavepoint[nNew-1];
55320 int nNew = 0; /* Number of pages in apNew[] */
55642 nNew++;
55649 nNew++;
55703 nNew>=2 ? apNew[1]->pgno : 0, nNew>=2 ? szNew[1] : 0,
55704 nNew>=3 ? apNew[2]->pgno : 0, nNew>=3 ? szNew[2] : 0,
55705 nNew>=4 ? apNew[3]->pgno : 0, nNew>=4 ? szNew[3] : 0,
55706 nNew>=5 ? apNew[4]->pgno : 0, nNew>=5 ? szNew[4] : 0));
55709 put4byte(pRight, apNew[nNew-1]->pgno);
55716 for(i=0; i<nNew; i++){
55722 assert( pNew->nCell>0 || (nNew==1 && cntNew[0]==0) );
55730 assert( i<nNew-1 || j==nCell );
55785 assert( nNew>0 );
55788 memcpy(&apNew[nNew-1]->aData[8], zChild, 4);
55806 assert( nNew==1 );
55885 assert( k<nNew );
55902 for(i=0; i<nNew; i++){
55913 ptrmapCheckPages(apNew, nNew);
55920 nOld, nNew, nCell));
55930 for(i=0; i<nNew; i++){
59651 int nNew = (p->nOpAlloc ? p->nOpAlloc*2 : (int)(1024/sizeof(Op)));
59652 pNew = sqlite3DbRealloc(p->db, p->aOp, nNew*sizeof(Op));
71852 int nNew = pIter->nAlloc*2;
71853 while( (iOff+nRec)>nNew ) nNew = nNew*2;
71854 pIter->aAlloc = sqlite3DbReallocOrFree(db, pIter->aAlloc, nNew);
71856 pIter->nAlloc = nNew;
119147 int nNew;
119151 pTS->aaOutput[i], pTS->anOutput[i], aOut, nOut, &aNew, &nNew
119162 nOut = nNew;
119215 int nNew;
119218 pTS->aaOutput[iOut], pTS->anOutput[iOut], &aNew, &nNew
119230 nMerge = nNew;
121095 int nNew;
121107 nNew = (int)(pOut - pPhrase->doclist.pList) - 1;
121108 assert( pPhrase->doclist.pList[nNew]=='\0' );
121109 assert( nNew<=pPhrase->doclist.nList && nNew>0 );
121110 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
121111 pPhrase->doclist.nList = nNew;
122576 static void *fts3ReallocOrFree(void *pOrig, int nNew){
122577 void *pRet = sqlite3_realloc(pOrig, nNew);
124556 int nNew = sizeof(char *)*(iArg+1);
124557 char const **aNew = (const char **)sqlite3_realloc((void *)aArg, nNew);
125662 int nNew = p->nSpace * 2;
125663 p = sqlite3_realloc(p, sizeof(*p) + nNew);
125669 p->nSpace = nNew;
126368 int nNew = (nPrefix+nSuffix)*2;
126369 char *zNew = sqlite3_realloc(pReader->zTerm, nNew);
126374 pReader->nTermAlloc = nNew;