Searched defs:nAlloc (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtable.c34 int nAlloc; member in struct:TabResult
60 if( p->nData + need >= p->nAlloc ){
62 p->nAlloc = p->nAlloc*2 + need + 1;
63 azNew = realloc( p->azResult, sizeof(char*)*p->nAlloc );
147 res.nAlloc = 20;
149 res.azResult = malloc( sizeof(char*)*res.nAlloc );
176 if( res.nAlloc>res.nData ){
183 res.nAlloc = res.nData+1;
H A Dvacuum.c32 int nAlloc; /* Amount of space allocated to z[] */ member in struct:dynStr
56 if( p->z==0 || p->nUsed + nText + 1 >= p->nAlloc ){
58 p->nAlloc = p->nUsed + nText + 1000;
59 zNew = sqliteRealloc(p->z, p->nAlloc);
H A Dtest1.c306 int nAlloc; /* Space allocated */ member in struct:dstr
316 if( p->nUsed + n + 2 > p->nAlloc ){
318 p->nAlloc = p->nAlloc*2 + n + 200;
319 zNew = sqliteRealloc(p->z, p->nAlloc);
H A Dprintf.c652 int nAlloc; /* Amount of space allocated in zText */ member in struct:sgMprintf
665 if( pM->nChar + nNewChar + 1 > pM->nAlloc ){
667 nNewChar = pM->nAlloc - pM->nChar - 1;
669 pM->nAlloc = pM->nChar + nNewChar*2 + 1;
671 pM->zText = pM->xRealloc(0, pM->nAlloc);
676 pM->zText = pM->xRealloc(pM->zText, pM->nAlloc);
704 sM.nAlloc = nInitBuf;
711 }else if( sM.nAlloc>sM.nChar+10 ){
H A DsqliteInt.h726 int nAlloc; /* Number of entries allocated below */ member in struct:ExprList
753 int nAlloc; /* Number of entries allocated for a[] below */ member in struct:IdList
773 i16 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dthreadtest1.c66 int nAlloc; /* Number of slots allocated for azElem[] */ member in struct:QueryResult
81 if( pResult->nElem + nArg >= pResult->nAlloc ){
82 if( pResult->nAlloc==0 ){
83 pResult->nAlloc = nArg+1;
85 pResult->nAlloc = pResult->nAlloc*2 + nArg + 1;
87 pResult->azElem = realloc( pResult->azElem, pResult->nAlloc*sizeof(char*));
/illumos-gate/usr/src/common/ficl/
H A Ddictionary.c463 size_t nAlloc; local
465 nAlloc = sizeof (ficlDictionary) + (size * sizeof (ficlCell))
468 dictionary = ficlMalloc(nAlloc);

Completed in 67 milliseconds