Lines Matching refs:sqlite3_malloc

2665 SQLITE_API void *SQLITE_STDCALL sqlite3_malloc(int);
16761 void *p = sqlite3_malloc(10); in sqlite3OsInit()
18363 return sqlite3_malloc(nBytes); in memsys3Realloc()
20846 SQLITE_API void *SQLITE_STDCALL sqlite3_malloc(int n){
81017 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
102214 #define sqlite3_malloc sqlite3_api->malloc
102561 sqlite3_malloc,
133793 zRet = sqlite3_malloc(nRet);
133974 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
134067 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
134149 aCol = (const char **)sqlite3_malloc(nByte);
134152 azNotindexed = (char **)sqlite3_malloc(nByte);
134346 p = (Fts3Table*)sqlite3_malloc(nByte);
134652 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
135477 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
135540 aOut = sqlite3_malloc(*pnRight + FTS3_VARINT_MAX);
135720 pTS->aaOutput[0] = sqlite3_malloc(nDoclist + FTS3_VARINT_MAX + 1);
135935 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
136879 pHash = sqlite3_malloc(sizeof(Fts3Hash));
137173 aOut = (char *)sqlite3_malloc(nPoslist+8);
137538 char *aDoclist = sqlite3_malloc(nByte+1);
137932 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
138254 aTmp = sqlite3_malloc(nTmp*2);
138597 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
138989 p = (Fts3auxTable *)sqlite3_malloc(nByte);
139112 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
139566 void *pRet = sqlite3_malloc(nByte);
140238 apLeaf = (Fts3Expr **)sqlite3_malloc(sizeof(Fts3Expr *) * nMaxDepth);
140665 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
140763 void *p = sqlite3_malloc(n);
141176 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
141206 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
142334 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
142389 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
142628 *pazDequote = azDequote = sqlite3_malloc(sizeof(char *)*argc + nByte);
142699 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
142769 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
142852 pCsr->zInput = sqlite3_malloc(nByte+1);
143606 p = sqlite3_malloc(sizeof(*p) + 100);
144174 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
144557 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
144689 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
144975 pTree->aData = (char *)sqlite3_malloc(nReq);
145019 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
145166 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
145172 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
146290 pBlob = sqlite3_malloc( 10*p->nColumn );
146340 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
146461 aSz = (u32 *)sqlite3_malloc(nByte);
146532 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte);
147767 pWriter = (IncrmergeWriter *)sqlite3_malloc(nAlloc);
148369 pRet = (char *)sqlite3_malloc(p->pList->nData);
148389 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
148502 aSzDel = sqlite3_malloc( sizeof(aSzDel[0])*(p->nColumn+1)*2 );
149057 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
149630 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
149856 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
150053 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
150435 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
150484 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
151462 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
151506 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
151820 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
152461 pInfo = (sqlite3_rtree_query_info*)sqlite3_malloc( sizeof(*pInfo)+nBlob );
152536 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
153083 aaSorted = (int **)sqlite3_malloc(nByte);
153204 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
153492 aCell = (RtreeCell *)sqlite3_malloc(n * (
154162 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
154365 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
154396 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
154421 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
154795 zOutput = sqlite3_malloc(nOutput);
155015 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
155072 pCsr = (IcuCursor *)sqlite3_malloc(