Home | History | Annotate | Download | only in dist

Lines Matching refs:nNew

4507 ** encrypted, this routine will encrypt it.  If pNew==0 or nNew==0, the
17964 int nOld, nNew;
17981 nNew = sqlite3GlobalConfig.m.xRoundup(nBytes);
17982 if( nOld==nNew ){
17987 if( sqlite3StatusValue(SQLITE_STATUS_MEMORY_USED)+nNew-nOld >=
17989 sqlite3MallocAlarm(nNew-nOld);
17993 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
17996 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
17999 nNew = sqlite3MallocSize(pNew);
18000 sqlite3StatusAdd(SQLITE_STATUS_MEMORY_USED, nNew-nOld);
18004 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
33740 unsigned int nNew;
33745 nNew = p->nHash*2;
33746 if( nNew<256 ){
33747 nNew = 256;
33752 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
33756 memset(apNew, 0, sizeof(PgHdr1 *)*nNew);
33761 unsigned int h = pPage->iKey % nNew;
33769 p->nHash = nNew;
40647 Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager));
40649 rc = pager_truncate(pPager, nNew);
40940 int nNew; /* Number of remaining savepoints after this op. */
40943 ** operation. Store this value in nNew. Then free resources associated
40946 nNew = iSavepoint + (( op==SAVEPOINT_RELEASE ) ? 0 : 1);
40947 for(ii=nNew; ii<pPager->nSavepoint; ii++){
40950 pPager->nSavepoint = nNew;
40955 if( nNew==0 && isOpen(pPager->sjfd) ){
40970 PagerSavepoint *pSavepoint = (nNew==0)?0:&pPager->aSavepoint[nNew-1];
51189 int nNew = 0; /* Number of pages in apNew[] */
51491 nNew++;
51498 nNew++;
51554 nNew>=2 ? apNew[1]->pgno : 0, nNew>=2 ? szNew[1] : 0,
51555 nNew>=3 ? apNew[2]->pgno : 0, nNew>=3 ? szNew[2] : 0,
51556 nNew>=4 ? apNew[3]->pgno : 0, nNew>=4 ? szNew[3] : 0,
51557 nNew>=5 ? apNew[4]->pgno : 0, nNew>=5 ? szNew[4] : 0));
51560 put4byte(pRight, apNew[nNew-1]->pgno);
51567 for(i=0; i<nNew; i++){
51573 assert( pNew->nCell>0 || (nNew==1 && cntNew[0]==0) );
51581 assert( i<nNew-1 || j==nCell );
51636 assert( nNew>0 );
51639 memcpy(&apNew[nNew-1]->aData[8], zChild, 4);
51657 assert( nNew==1 );
51735 assert( k<nNew );
51752 for(i=0; i<nNew; i++){
51763 ptrmapCheckPages(apNew, nNew);
51770 nOld, nNew, nCell));
51780 for(i=0; i<nNew; i++){
55421 int nNew = (p->nOpAlloc ? p->nOpAlloc*2 : (int)(1024/sizeof(Op)));
55422 pNew = sqlite3DbRealloc(p->db, p->aOp, nNew*sizeof(Op));
110172 int nNew = nOut + pTS->anOutput[i];
110173 char *aNew = sqlite3_malloc(nNew);
110179 aNew, &nNew, pTS->aaOutput[i], pTS->anOutput[i], aOut, nOut, 0
110185 nOut = nNew;
110234 int nNew;
110242 nNew = nMerge + pTS->anOutput[iOut];
110243 aNew = sqlite3_malloc(nNew);
110250 fts3DoclistMerge(mergetype, 0, 0, aNew, &nNew,
110259 nMerge = nNew;
110331 int nNew = (pArray ? pArray->nAlloc+16 : 16);
110333 sizeof(Fts3SegReaderArray) + (nNew-1) * sizeof(Fts3SegReader*)
110339 if( nNew==16 ){
110343 pArray->nAlloc = nNew;
111014 int nNew;
111029 rc = fts3EvalExpr(p, pBest->pExpr, &aNew, &nNew, 0);
111034 nRet = nNew;
111038 MERGE_AND, 0, 0, aRet, &nRet, aRet, nRet, aNew, nNew, &nDoc
112068 static void *fts3ReallocOrFree(void *pOrig, int nNew){
112069 void *pRet = sqlite3_realloc(pOrig, nNew);
112141 int nNew = 0;
112156 p->pPhrase->aToken[jj].z = &zNew[nNew];
112157 nNew += p->pPhrase->aToken[jj].n;
114014 int nNew = sizeof(char *)*(iArg+1);
114015 char const **aNew = (const char **)sqlite3_realloc((void *)aArg, nNew);
114993 int nNew = p->nSpace * 2;
114994 p = sqlite3_realloc(p, sizeof(*p) + nNew);
115000 p->nSpace = nNew;
115530 int nNew = (nPrefix+nSuffix)*2;
115531 char *zNew = sqlite3_realloc(pReader->zTerm, nNew);
115536 pReader->nTermAlloc = nNew;