Home | History | Annotate | Download | only in dist

Lines Matching refs:nAlloc

10742   i16 nAlloc;      /* Number of entries allocated in a[] below */
11312 int nAlloc; /* Amount of space allocated in zText */
15572 ** nAlloc[i] is the number of allocation attempts of i*8
15576 int nAlloc[NCSIZE]; /* Total number of allocations */
15592 mem.nAlloc[i]++;
15959 if( mem.nAlloc[i] ){
15961 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]);
15964 if( mem.nAlloc[NCSIZE-1] ){
15966 NCSIZE*8-8, mem.nAlloc[NCSIZE-1],
15979 nTotal += mem.nAlloc[i];
16784 u64 nAlloc; /* Total number of calls to malloc */
16964 mem5.nAlloc++;
17169 int nAlloc = (1<<ii);
17170 if( (iOffset+nAlloc)<=mem5.nBlock ){
17173 iOffset += nAlloc;
17175 assert((iOffset+nAlloc)>mem5.nBlock);
17221 fprintf(out, "mem5.nAlloc = %llu\n", mem5.nAlloc);
20066 if( p->nChar+N >= p->nAlloc ){
20070 N = p->nAlloc - p->nChar - 1;
20083 p->nAlloc = (int)szNew;
20086 zNew = sqlite3DbRealloc(p->db, zOld, p->nAlloc);
20088 zNew = sqlite3_realloc(zOld, p->nAlloc);
20150 p->nAlloc = n;
59107 int nAlloc = nByte;
59109 nAlloc += (enc==SQLITE_UTF8?1:2);
59114 if( sqlite3VdbeMemGrow(pMem, nAlloc, 0) ){
59117 memcpy(pMem->z, z, nAlloc);
71788 int nAlloc; /* Bytes of space at aAlloc */
71851 if( (iOff+nRec)>pIter->nAlloc ){
71852 int nNew = pIter->nAlloc*2;
71856 pIter->nAlloc = nNew;
71944 pIter->nAlloc = 128;
71945 pIter->aAlloc = (u8 *)sqlite3DbMallocRaw(db, pIter->nAlloc);
73658 if( pNC->pSrcList && pNC->pSrcList->nAlloc>0 ){
75323 pNew->nSrc = pNew->nAlloc = p->nSrc;
79220 int nAlloc;
79262 nAlloc = (((pNew->nCol-1)/8)*8)+8;
79263 assert( nAlloc>=pNew->nCol && nAlloc%8==0 && nAlloc-pNew->nCol<8 );
79264 pNew->aCol = (Column*)sqlite3DbMallocZero(db, sizeof(Column)*nAlloc);
84401 if( pSrc->nSrc+nExtra>pSrc->nAlloc ){
84403 int nAlloc = pSrc->nSrc+nExtra;
84406 sizeof(*pSrc) + (nAlloc-1)*sizeof(pSrc->a[0]) );
84413 pSrc->nAlloc = (u16)nGot;
84479 pList->nAlloc = 1;
99183 int nAlloc; /* Slots allocated for azResult[] */
99209 if( p->nData + need > p->nAlloc ){
99211 p->nAlloc = p->nAlloc*2 + need;
99212 azNew = sqlite3_realloc( p->azResult, sizeof(char*)*p->nAlloc );
99288 res.nAlloc = 20;
99290 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
99316 if( res.nAlloc>res.nData ){
106879 pOrTab->nAlloc = (i16)(nNotReady + 1);
106880 pOrTab->nSrc = pOrTab->nAlloc;
118266 int nAlloc = 0; /* Size of allocated buffer */
118307 if( nPrefix+nSuffix>nAlloc ){
118309 nAlloc = (nPrefix+nSuffix) * 2;
118310 zNew = (char *)sqlite3_realloc(zBuffer, nAlloc);
126672 int nAlloc = 0; /* Size of allocated array at aElem */
126678 if( nElem==nAlloc ){
126680 nAlloc += 16;
126682 aElem, nAlloc*sizeof(Fts3HashElem *)
128763 int nAlloc; /* Allocated size of buffer z in bytes */
129153 if( pStr->n+nAppend+1>=pStr->nAlloc ){
129154 int nAlloc = pStr->nAlloc+nAppend+100;
129155 char *zNew = sqlite3_realloc(pStr->z, nAlloc);
129160 pStr->nAlloc = nAlloc;