/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 | 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:__anon15489 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 | 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 | 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 | 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
|
H A D | build.c | 3028 pList->nAlloc = 0; 3036 &pList->nAlloc, 3107 if( pSrc->nSrc+nExtra>pSrc->nAlloc ){ 3109 int nAlloc = pSrc->nSrc+nExtra; local 3112 sizeof(*pSrc) + (nAlloc-1)*sizeof(pSrc->a[0]) ); 3119 pSrc->nAlloc = (u16)nGot; 3185 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 | resolve.c | 451 if( pNC->pSrcList && pNC->pSrcList->nAlloc>0 ){
|
H A D | where.c | 4096 pOrTab->nAlloc = (i16)(nNotReady + 1); 4097 pOrTab->nSrc = pOrTab->nAlloc;
|
/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/sqlite/dist/orig/ |
H A D | shell.c | 1210 int nAlloc = 0; /* Allocated size of p->aiIndent[], abYield */ local 1239 if( iOp>=nAlloc ){ 1240 nAlloc += 100; 1241 p->aiIndent = (int*)sqlite3_realloc(p->aiIndent, nAlloc*sizeof(int)); 1242 abYield = (int*)sqlite3_realloc(abYield, nAlloc*sizeof(int)); 1920 int nAlloc; /* Space allocated for z[] */ member in struct:CSVReader 1928 if( p->n+1>=p->nAlloc ){ 1929 p->nAlloc += p->nAlloc + 100; 1930 p->z = sqlite3_realloc(p->z, p->nAlloc); 3184 int nRow, nAlloc; local 3548 int nAlloc = 0; /* Allocated zSql[] space */ local [all...] |
H A D | sqlite3.c | 11562 u32 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList 12156 int nAlloc; /* Amount of space allocated in zText */ member in struct:StrAccum 16687 ** nAlloc[i] is the number of allocation attempts of i*8 16691 int nAlloc[NCSIZE]; /* Total number of allocations */ member in struct:__anon31007 16707 mem.nAlloc[i]++; 17074 if( mem.nAlloc[i] ){ 17076 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]); 17079 if( mem.nAlloc[NCSIZE-1] ){ 17081 NCSIZE*8-8, mem.nAlloc[NCSIZE-1], 17094 nTotal += mem.nAlloc[ 17899 u64 nAlloc; /* Total number of calls to malloc */ member in struct:Mem5Global 18279 int nAlloc = (1<<ii); local 61566 int nAlloc = nByte; local 75116 int nAlloc; /* Bytes of space at aAlloc */ member in struct:VdbeSorterIter 83335 int nAlloc; local 89593 int nAlloc = pSrc->nSrc+nExtra; local 106891 int nAlloc; /* Slots allocated for azResult[] */ member in struct:TabResult 128571 int nAlloc = 0; /* Size of allocated buffer */ local 138377 int nAlloc = 0; /* Size of allocated array at aElem */ local 140313 int nAlloc; /* Allocated size of a[] (nAlloc>=n) */ member in struct:Blob 140373 int nAlloc = nMin; local 141125 int nAlloc = 0; /* Allocated size of aIdx[] */ local 141502 const int nAlloc = sizeof(*pCsr) + sizeof(*pFilter) + sizeof(*pWriter); local 142466 int nAlloc; /* Allocated size of buffer z in bytes */ member in struct:StrBuffer 142860 int nAlloc = pStr->nAlloc+nAppend+100; local 143980 int nAlloc; /* space allocated at zToken */ member in struct:unicode_cursor [all...] |
/external/sqlite/dist/ |
H A D | shell.c | 1215 int nAlloc = 0; /* Allocated size of p->aiIndent[], abYield */ local 1244 if( iOp>=nAlloc ){ 1245 nAlloc += 100; 1246 p->aiIndent = (int*)sqlite3_realloc(p->aiIndent, nAlloc*sizeof(int)); 1247 abYield = (int*)sqlite3_realloc(abYield, nAlloc*sizeof(int)); 1940 int nAlloc; /* Space allocated for z[] */ member in struct:CSVReader 1948 if( p->n+1>=p->nAlloc ){ 1949 p->nAlloc += p->nAlloc + 100; 1950 p->z = sqlite3_realloc(p->z, p->nAlloc); 3204 int nRow, nAlloc; local 3568 int nAlloc = 0; /* Allocated zSql[] space */ local [all...] |
H A D | sqlite3.c | 11562 u32 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList 12156 int nAlloc; /* Amount of space allocated in zText */ member in struct:StrAccum 16687 ** nAlloc[i] is the number of allocation attempts of i*8 16691 int nAlloc[NCSIZE]; /* Total number of allocations */ member in struct:__anon31038 16707 mem.nAlloc[i]++; 17074 if( mem.nAlloc[i] ){ 17076 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]); 17079 if( mem.nAlloc[NCSIZE-1] ){ 17081 NCSIZE*8-8, mem.nAlloc[NCSIZE-1], 17094 nTotal += mem.nAlloc[ 17899 u64 nAlloc; /* Total number of calls to malloc */ member in struct:Mem5Global 18279 int nAlloc = (1<<ii); local 61586 int nAlloc = nByte; local 75136 int nAlloc; /* Bytes of space at aAlloc */ member in struct:VdbeSorterIter 83355 int nAlloc; local 89613 int nAlloc = pSrc->nSrc+nExtra; local 106911 int nAlloc; /* Slots allocated for azResult[] */ member in struct:TabResult 128591 int nAlloc = 0; /* Size of allocated buffer */ local 138409 int nAlloc = 0; /* Size of allocated array at aElem */ local 140345 int nAlloc; /* Allocated size of a[] (nAlloc>=n) */ member in struct:Blob 140405 int nAlloc = nMin; local 141157 int nAlloc = 0; /* Allocated size of aIdx[] */ local 141534 const int nAlloc = sizeof(*pCsr) + sizeof(*pFilter) + sizeof(*pWriter); local 142498 int nAlloc; /* Allocated size of buffer z in bytes */ member in struct:StrBuffer 142892 int nAlloc = pStr->nAlloc+nAppend+100; local 144012 int nAlloc; /* space allocated at zToken */ member in struct:unicode_cursor [all...] |
/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/amalgamation/ |
H A D | sqlite3.c | 10097 int nAlloc; /* Number of entries allocated below */ member in struct:ExprList 10142 int nAlloc; /* Number of entries allocated for a[] below */ member in struct:IdList 10180 i16 nAlloc; /* Number of entries allocated in a[] below */ member in struct:SrcList 10741 int nAlloc; /* Amount of space allocated in zText */ member in struct:StrAccum 14693 ** nAlloc[i] is the number of allocation attempts of i*8 14697 int nAlloc[NCSIZE]; /* Total number of allocations */ member in struct:__anon15469 14713 mem.nAlloc[i]++; 15080 if( mem.nAlloc[i] ){ 15082 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]); 15085 if( mem.nAlloc[NCSIZ 15905 u64 nAlloc; /* Total number of calls to malloc */ member in struct:Mem5Global 16290 int nAlloc = (1<<ii); local 56694 int nAlloc = nByte; local 75247 int nAlloc; local 79948 int nAlloc = pSrc->nSrc+nExtra; local 94419 int nAlloc; /* Slots allocated for azResult[] */ member in struct:TabResult 114257 int nAlloc = 0; /* Size of allocated buffer */ local 121164 int nAlloc = 0; /* Size of allocated array at aElem */ local 122749 int nAlloc; /* Allocated size of buffer z in bytes */ member in struct:StrBuffer 123191 int nAlloc = pStr->nAlloc+nAppend+100; local [all...] |
/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;
|