Lines Matching refs:sqlite3_malloc
472 pBuffer->pData = nCapacity==0 ? NULL : sqlite3_malloc(nCapacity); in dataBufferInit()
1089 DLCollector *pCollector = sqlite3_malloc(sizeof(DLCollector)); in dlcNew()
1615 char *str = sqlite3_malloc(n + 1); in string_dup_n()
1648 r = result = sqlite3_malloc(len); in string_format()
2079 values = (const char **) sqlite3_malloc(v->nColumn * sizeof(const char *)); in content_select()
2504 Token *aToken = sqlite3_malloc( strlen(z) * sizeof(aToken[0]) ); in tokenizeString()
2520 azToken = (char**)sqlite3_malloc( nToken*sizeof(char*) + totalSize ); in tokenizeString()
2706 azArg = sqlite3_malloc( sizeof(char*)*argc + n ); in parseSpec()
2751 pSpec->azContentColumn = sqlite3_malloc( pSpec->nColumn * sizeof(char *) ); in parseSpec()
2820 v = (fulltext_vtab *) sqlite3_malloc(sizeof(fulltext_vtab)); in constructVtab()
3007 c = (fulltext_cursor *) sqlite3_malloc(sizeof(fulltext_cursor)); in fulltextOpen()
3493 t->pTerm = sqlite3_malloc(nTerm+1); in queryAdd()
4079 InteriorBlock *block = sqlite3_malloc(sizeof(InteriorBlock)); in interiorBlockNew()
4295 pWriter->parentWriter = sqlite3_malloc(sizeof(*pWriter->parentWriter)); in interiorWriterRootInfo()
5404 p = sqlite3_malloc(nMaxBuffers*sizeof(*pBuffers)); in loadSegmentLeavesInt()
5788 pData = sqlite3_malloc(n*sizeof(TermData)); in writeZeroSegment()
6226 readers = sqlite3_malloc(nReaders*sizeof(readers[0])); in optimizeFunc()
6354 pData = sqlite3_malloc(nTerms*sizeof(TermData)); in generateTermsResult()
6368 result = sqlite3_malloc(nResultBytes); in generateTermsResult()
6801 pHash = sqlite3_malloc(sizeof(fts2Hash)); in sqlite3Fts2Init()