Lines Matching refs:nAlloc
722 int nAlloc; member
757 if( p->n+len>=p->nAlloc ){ in appendText()
758 p->nAlloc = p->nAlloc*2 + len + 20; in appendText()
759 p->z = realloc(p->z, p->nAlloc); in appendText()
4733 int nAlloc = (int)compressBound(nIn); in zipfileDeflate() local
4737 aOut = (u8*)sqlite3_malloc(nAlloc); in zipfileDeflate()
4747 str.avail_out = nAlloc; in zipfileDeflate()
9358 int nAlloc = 0; /* Allocated size of p->aiIndent[], abYield */ in explain_data_prepare() local
9395 if( iOp>=nAlloc ){ in explain_data_prepare()
9410 nAlloc += 100; in explain_data_prepare()
9411 p->aiIndent = (int*)sqlite3_realloc64(p->aiIndent, nAlloc*sizeof(int)); in explain_data_prepare()
9412 abYield = (int*)sqlite3_realloc64(abYield, nAlloc*sizeof(int)); in explain_data_prepare()
9854 int nAlloc = 0; in tableColumnList() local
9865 if( nCol>=nAlloc-2 ){ in tableColumnList()
9866 nAlloc = nAlloc*2 + nCol + 10; in tableColumnList()
9867 azCol = sqlite3_realloc(azCol, nAlloc*sizeof(azCol[0])); in tableColumnList()
10654 int nAlloc; /* Space allocated for z[] */ member
10664 if( p->n+1>=p->nAlloc ){ in import_append_char()
10665 p->nAlloc += p->nAlloc + 100; in import_append_char()
10666 p->z = sqlite3_realloc64(p->z, p->nAlloc); in import_append_char()
14089 int nRow, nAlloc; in do_meta_command() local
14135 nRow = nAlloc = 0; in do_meta_command()
14143 if( nRow>=nAlloc ){ in do_meta_command()
14145 int n2 = nAlloc*2 + 10; in do_meta_command()
14151 nAlloc = n2; in do_meta_command()
14678 int nAlloc = 0; /* Allocated zSql[] space */ in process_input() local
14716 if( nSql+nLine+2>=nAlloc ){ in process_input()
14717 nAlloc = nSql+nLine+100; in process_input()
14718 zSql = realloc(zSql, nAlloc); in process_input()
14728 assert( nAlloc>0 && zSql!=0 ); in process_input()