/external/chromium_org/third_party/sqlite/src/src/ |
H A D | table.c | 32 int nAlloc; /* Slots allocated for azResult[] */ member in struct:TabResult 58 if( p->nData + need > p->nAlloc ){ 60 p->nAlloc = p->nAlloc*2 + need; 61 azNew = sqlite3_realloc( p->azResult, sizeof(char*)*p->nAlloc ); 137 res.nAlloc = 20; 139 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc ); 165 if( res.nAlloc>res.nData ){
|
H A D | alter.c | 753 int nAlloc; local 795 nAlloc = (((pNew->nCol-1)/8)*8)+8; 796 assert( nAlloc>=pNew->nCol && nAlloc%8==0 && nAlloc-pNew->nCol<8 ); 797 pNew->aCol = (Column*)sqlite3DbMallocZero(db, sizeof(Column)*nAlloc);
|
H A D | mem2.c | 115 ** nAlloc[i] is the number of allocation attempts of i*8 119 int nAlloc[NCSIZE]; /* Total number of allocations */ member in struct:__anon14653 135 mem.nAlloc[i]++; 502 if( mem.nAlloc[i] ){ 504 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]); 507 if( mem.nAlloc[NCSIZE-1] ){ 509 NCSIZE*8-8, mem.nAlloc[NCSIZE-1], 522 nTotal += mem.nAlloc[i];
|
H A D | mem5.c | 108 u64 nAlloc; /* Total number of calls to malloc */ member in struct:Mem5Global 288 mem5.nAlloc++; 493 int nAlloc = (1<<ii); local 494 if( (iOffset+nAlloc)<=mem5.nBlock ){ 497 iOffset += nAlloc; 499 assert((iOffset+nAlloc)>mem5.nBlock); 545 fprintf(out, "mem5.nAlloc = %llu\n", mem5.nAlloc);
|
H A D | test_onefile.c | 120 int nAlloc; member in struct:tmp_file 290 if( (iAmt+iOfst)>pTmp->nAlloc ){ 291 int nNew = 2*(iAmt+iOfst+pTmp->nAlloc); 297 pTmp->nAlloc = nNew;
|
H A D | vdbemem.c | 729 int nAlloc = nByte; local 731 nAlloc += (enc==SQLITE_UTF8?1:2); 736 if( sqlite3VdbeMemGrow(pMem, nAlloc, 0) ){ 739 memcpy(pMem->z, z, nAlloc);
|
H A D | build.c | 3031 pList->nAlloc = 0; 3039 &pList->nAlloc, 3110 if( pSrc->nSrc+nExtra>pSrc->nAlloc ){ 3112 int nAlloc = pSrc->nSrc+nExtra; local 3115 sizeof(*pSrc) + (nAlloc-1)*sizeof(pSrc->a[0]) ); 3122 pSrc->nAlloc = (u16)nGot; 3188 pList->nAlloc = 1;
|
H A D | test1.c | 790 int nAlloc; /* Space allocated */ member in struct:dstr 800 if( p->nUsed + n + 2 > p->nAlloc ){ 802 p->nAlloc = p->nAlloc*2 + n + 200; 803 zNew = sqlite3_realloc(p->z, p->nAlloc);
|
H A D | sqliteInt.h | 1752 int nAlloc; /* Number of entries allocated below */ member in struct:ExprList 1797 int nAlloc; /* Number of entries allocated for a[] below */ member in struct:IdList 1835 i16 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList 2396 int nAlloc; /* Amount of space allocated in zText */ member in struct:StrAccum
|
/external/chromium_org/third_party/sqlite/src/test/ |
H A D | threadtest1.c | 63 int nAlloc; /* Number of slots allocated for azElem[] */ member in struct:QueryResult 78 if( pResult->nElem + nArg >= pResult->nAlloc ){ 79 if( pResult->nAlloc==0 ){ 80 pResult->nAlloc = nArg+1; 82 pResult->nAlloc = pResult->nAlloc*2 + nArg + 1; 84 pResult->azElem = realloc( pResult->azElem, pResult->nAlloc*sizeof(char*));
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
H A D | fts3_snippet.c | 105 int nAlloc; /* Allocated size of buffer z in bytes */ member in struct:StrBuffer 546 if( pStr->n+nAppend+1>=pStr->nAlloc ){ 547 int nAlloc = pStr->nAlloc+nAppend+100; local 548 char *zNew = sqlite3_realloc(pStr->z, nAlloc); 553 pStr->nAlloc = nAlloc;
|
H A D | fts3.c | 1196 int nAlloc = 0; /* Size of allocated buffer */ local 1243 if( nPrefix+nSuffix>nAlloc ){ 1245 nAlloc = (nPrefix+nSuffix) * 2; 1246 zNew = (char *)sqlite3_realloc(zBuffer, nAlloc);
|
H A D | fts3_write.c | 1247 int nAlloc = 0; /* Size of allocated array at aElem */ local 1253 if( nElem==nAlloc ){ 1255 nAlloc += 16; 1257 aElem, nAlloc*sizeof(Fts3HashElem *)
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
H A D | fts1.c | 1006 int nAlloc; /* Space allocated for aMatch[] */ member in struct:Snippet 2184 if( p->nMatch+1>=p->nAlloc ){ 2185 p->nAlloc = p->nAlloc*2 + 10; 2186 p->aMatch = realloc(p->aMatch, p->nAlloc*sizeof(p->aMatch[0]) ); 2189 p->nAlloc = 0;
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
H A D | fts2.c | 1926 int nAlloc; /* Space allocated for aMatch[] */ member in struct:Snippet 3227 if( p->nMatch+1>=p->nAlloc ){ 3228 p->nAlloc = p->nAlloc*2 + 10; 3229 p->aMatch = sqlite3_realloc(p->aMatch, p->nAlloc*sizeof(p->aMatch[0]) ); 3232 p->nAlloc = 0;
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 10112 int nAlloc; /* Number of entries allocated below */ member in struct:ExprList 10157 int nAlloc; /* Number of entries allocated for a[] below */ member in struct:IdList 10195 i16 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList 10756 int nAlloc; /* Amount of space allocated in zText */ member in struct:StrAccum 14708 ** nAlloc[i] is the number of allocation attempts of i*8 14712 int nAlloc[NCSIZE]; /* Total number of allocations */ member in struct:__anon14633 14728 mem.nAlloc[i]++; 15095 if( mem.nAlloc[i] ){ 15097 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]); 15100 if( mem.nAlloc[NCSIZ 15920 u64 nAlloc; /* Total number of calls to malloc */ member in struct:Mem5Global 16305 int nAlloc = (1<<ii); local 56873 int nAlloc = nByte; local 75426 int nAlloc; local 80128 int nAlloc = pSrc->nSrc+nExtra; local 94626 int nAlloc; /* Slots allocated for azResult[] */ member in struct:TabResult 114448 int nAlloc = 0; /* Size of allocated buffer */ local 121355 int nAlloc = 0; /* Size of allocated array at aElem */ local 122940 int nAlloc; /* Allocated size of buffer z in bytes */ member in struct:StrBuffer 123382 int nAlloc = pStr->nAlloc+nAppend+100; local [all...] |
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 10742 i16 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList 11312 int nAlloc; /* Amount of space allocated in zText */ member in struct:StrAccum 15572 ** nAlloc[i] is the number of allocation attempts of i*8 15576 int nAlloc[NCSIZE]; /* Total number of allocations */ member in struct:__anon26729 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[ 16784 u64 nAlloc; /* Total number of calls to malloc */ member in struct:Mem5Global 17169 int nAlloc = (1<<ii); local 59079 int nAlloc = nByte; local 71760 int nAlloc; /* Bytes of space at aAlloc */ member in struct:VdbeSorterIter 79184 int nAlloc; local 84367 int nAlloc = pSrc->nSrc+nExtra; local 99147 int nAlloc; /* Slots allocated for azResult[] */ member in struct:TabResult 118230 int nAlloc = 0; /* Size of allocated buffer */ local 126624 int nAlloc = 0; /* Size of allocated array at aElem */ local 128715 int nAlloc; /* Allocated size of buffer z in bytes */ member in struct:StrBuffer 129106 int nAlloc = pStr->nAlloc+nAppend+100; local [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 10742 i16 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList 11312 int nAlloc; /* Amount of space allocated in zText */ member in struct:StrAccum 15572 ** nAlloc[i] is the number of allocation attempts of i*8 15576 int nAlloc[NCSIZE]; /* Total number of allocations */ member in struct:__anon26754 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[ 16784 u64 nAlloc; /* Total number of calls to malloc */ member in struct:Mem5Global 17169 int nAlloc = (1<<ii); local 59107 int nAlloc = nByte; local 71788 int nAlloc; /* Bytes of space at aAlloc */ member in struct:VdbeSorterIter 79220 int nAlloc; local 84403 int nAlloc = pSrc->nSrc+nExtra; local 99183 int nAlloc; /* Slots allocated for azResult[] */ member in struct:TabResult 118266 int nAlloc = 0; /* Size of allocated buffer */ local 126672 int nAlloc = 0; /* Size of allocated array at aElem */ local 128763 int nAlloc; /* Allocated size of buffer z in bytes */ member in struct:StrBuffer 129154 int nAlloc = pStr->nAlloc+nAppend+100; local [all...] |