Home | History | Annotate | Download | only in dist

Lines Matching refs:nAlloc

9873   int nAlloc;            /* Number of entries allocated below */
9918 int nAlloc; /* Number of entries allocated for a[] below */
9956 i16 nAlloc; /* Number of entries allocated in a[] below */
10508 int nAlloc; /* Amount of space allocated in zText */
14446 ** nAlloc[i] is the number of allocation attempts of i*8
14450 int nAlloc[NCSIZE]; /* Total number of allocations */
14466 mem.nAlloc[i]++;
14833 if( mem.nAlloc[i] ){
14835 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]);
14838 if( mem.nAlloc[NCSIZE-1] ){
14840 NCSIZE*8-8, mem.nAlloc[NCSIZE-1],
14853 nTotal += mem.nAlloc[i];
15658 u64 nAlloc; /* Total number of calls to malloc */
15838 mem5.nAlloc++;
16042 int nAlloc = (1<<ii);
16043 if( (iOffset+nAlloc)<=mem5.nBlock ){
16046 iOffset += nAlloc;
16048 assert((iOffset+nAlloc)>mem5.nBlock);
16094 fprintf(out, "mem5.nAlloc = %llu\n", mem5.nAlloc);
18983 if( p->nChar+N >= p->nAlloc ){
18987 N = p->nAlloc - p->nChar - 1;
18999 p->nAlloc = (int)szNew;
19002 zNew = sqlite3DbMallocRaw(p->db, p->nAlloc );
19004 zNew = sqlite3_malloc(p->nAlloc);
19066 p->nAlloc = n;
54885 int nAlloc = nByte;
54887 nAlloc += (enc==SQLITE_UTF8?1:2);
54892 if( sqlite3VdbeMemGrow(pMem, nAlloc, 0) ){
54895 memcpy(pMem->z, z, nAlloc);
68045 if( pNC->pSrcList && pNC->pSrcList->nAlloc>0 ){
69655 pNew->nExpr = pNew->nAlloc = p->nExpr;
69691 pNew->nSrc = pNew->nAlloc = p->nSrc;
69722 pNew->nId = pNew->nAlloc = p->nId;
69787 assert( pList->nAlloc==0 );
69789 if( pList->nAlloc<=pList->nExpr ){
69791 int n = pList->nAlloc*2 + 4;
69797 pList->nAlloc = sqlite3DbMallocSize(db, a)/sizeof(a[0]);
69888 assert( pList->a!=0 || (pList->nExpr==0 && pList->nAlloc==0) );
69889 assert( pList->nExpr<=pList->nAlloc );
73295 int nAlloc;
73334 nAlloc = (((pNew->nCol-1)/8)*8)+8;
73335 assert( nAlloc>=pNew->nCol && nAlloc%8==0 && nAlloc-pNew->nCol<8 );
73336 pNew->aCol = (Column*)sqlite3DbMallocZero(db, sizeof(Column)*nAlloc);
77828 pList->nAlloc = 0;
77836 &pList->nAlloc,
77907 if( pSrc->nSrc+nExtra>pSrc->nAlloc ){
77909 int nAlloc = pSrc->nSrc+nExtra;
77912 sizeof(*pSrc) + (nAlloc-1)*sizeof(pSrc->a[0]) );
77919 pSrc->nAlloc = (u16)nGot;
77985 pList->nAlloc = 1;
92300 int nAlloc; /* Slots allocated for azResult[] */
92326 if( p->nData + need > p->nAlloc ){
92328 p->nAlloc = p->nAlloc*2 + need;
92329 azNew = sqlite3_realloc( p->azResult, sizeof(char*)*p->nAlloc );
92405 res.nAlloc = 20;
92407 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
92433 if( res.nAlloc>res.nData ){
99309 pOrTab->nAlloc = (i16)(nNotReady + 1);
99310 pOrTab->nSrc = pOrTab->nAlloc;
109396 int nAlloc = 0; /* Size of allocated buffer */
109437 if( nPrefix+nSuffix>nAlloc ){
109439 nAlloc = (nPrefix+nSuffix) * 2;
109440 zNew = (char *)sqlite3_realloc(zBuffer, nAlloc);
110304 int nAlloc; /* Allocated size of apSegment[] */
110330 if( !pArray || pArray->nAlloc==pArray->nSegment ){
110331 int nNew = (pArray ? pArray->nAlloc+16 : 16);
110343 pArray->nAlloc = nNew;
115797 int nAlloc = 0; /* Size of allocated array at aElem */
115804 if( nElem==nAlloc ){
115806 nAlloc += 16;
115808 aElem, nAlloc*sizeof(Fts3HashElem *)
116698 int nAlloc = 0; /* Allocated size of aBuffer buffer */
116796 if( nDoclist+nByte>nAlloc ){
116798 nAlloc = nDoclist+nByte*2;
116799 aNew = sqlite3_realloc(aBuffer, nAlloc);
117551 int nAlloc; /* Allocated size of buffer z in bytes */
118011 if( pStr->n+nAppend+1>=pStr->nAlloc ){
118012 int nAlloc = pStr->nAlloc+nAppend+100;
118013 char *zNew = sqlite3_realloc(pStr->z, nAlloc);
118018 pStr->nAlloc = nAlloc;