sqlite3_malloc 2603 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void *sqlite3_malloc(int); sqlite3_malloc 14181 third_party/sqlite/amalgamation/sqlite3.c void *p = sqlite3_malloc(10); sqlite3_malloc 15633 third_party/sqlite/amalgamation/sqlite3.c return sqlite3_malloc(nBytes); sqlite3_malloc 19294 third_party/sqlite/amalgamation/sqlite3.c p->zText = sqlite3_malloc(p->nChar+1); sqlite3_malloc 22911 third_party/sqlite/amalgamation/sqlite3.c pLink = sqlite3_malloc( sizeof(*pLink) ); sqlite3_malloc 22925 third_party/sqlite/amalgamation/sqlite3.c pNode = sqlite3_malloc( sizeof(*pNode) + cbShmName ); sqlite3_malloc 24910 third_party/sqlite/amalgamation/sqlite3.c pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) ); sqlite3_malloc 25307 third_party/sqlite/amalgamation/sqlite3.c pInode = sqlite3_malloc( sizeof(*pInode) ); sqlite3_malloc 27903 third_party/sqlite/amalgamation/sqlite3.c p = sqlite3_malloc( sizeof(*p) ); sqlite3_malloc 27932 third_party/sqlite/amalgamation/sqlite3.c pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename ); sqlite3_malloc 28107 third_party/sqlite/amalgamation/sqlite3.c pMem = sqlite3_malloc(szRegion); sqlite3_malloc 28720 third_party/sqlite/amalgamation/sqlite3.c pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) ); sqlite3_malloc 28749 third_party/sqlite/amalgamation/sqlite3.c zLockFile = (char *)sqlite3_malloc(nFilename); sqlite3_malloc 29034 third_party/sqlite/amalgamation/sqlite3.c unusedFd = sqlite3_malloc(sizeof(*unusedFd)); sqlite3_malloc 29909 third_party/sqlite/amalgamation/sqlite3.c pUnused = sqlite3_malloc(sizeof(*pUnused)); sqlite3_malloc 29942 third_party/sqlite/amalgamation/sqlite3.c pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew)); sqlite3_malloc 30415 third_party/sqlite/amalgamation/sqlite3.c *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8); sqlite3_malloc 30530 third_party/sqlite/amalgamation/sqlite3.c pCtx = sqlite3_malloc( sizeof(*pCtx) ); sqlite3_malloc 32568 third_party/sqlite/amalgamation/sqlite3.c p = sqlite3_malloc( sizeof(*p) ); sqlite3_malloc 32572 third_party/sqlite/amalgamation/sqlite3.c pNew = sqlite3_malloc( sizeof(*pShmNode) + nName + 15 ); sqlite3_malloc 34258 third_party/sqlite/amalgamation/sqlite3.c pV = sqlite3_malloc( (sz+7)/8 + 1 ); sqlite3_malloc 34259 third_party/sqlite/amalgamation/sqlite3.c pTmpSpace = sqlite3_malloc(BITVEC_SZ); sqlite3_malloc 35299 third_party/sqlite/amalgamation/sqlite3.c apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew); sqlite3_malloc 35488 third_party/sqlite/amalgamation/sqlite3.c pCache = (PCache1 *)sqlite3_malloc(sz); sqlite3_malloc 44410 third_party/sqlite/amalgamation/sqlite3.c aFrame = (u8 *)sqlite3_malloc(szFrame); sqlite3_malloc 55430 third_party/sqlite/amalgamation/sqlite3.c p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup)); sqlite3_malloc 69276 third_party/sqlite/amalgamation/sqlite3.c FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk)); sqlite3_malloc 87088 third_party/sqlite/amalgamation/sqlite3.c sqlite3_malloc, sqlite3_malloc 87308 third_party/sqlite/amalgamation/sqlite3.c *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg); sqlite3_malloc 87321 third_party/sqlite/amalgamation/sqlite3.c *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg); sqlite3_malloc 94480 third_party/sqlite/amalgamation/sqlite3.c z = sqlite3_malloc( n ); sqlite3_malloc 94526 third_party/sqlite/amalgamation/sqlite3.c res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc ); sqlite3_malloc 110721 third_party/sqlite/amalgamation/sqlite3.c zNew = sqlite3_malloc(n+1); sqlite3_malloc 110914 third_party/sqlite/amalgamation/sqlite3.c sqlite3_malloc(sizeof(RecoverInteriorCursor)); sqlite3_malloc 111158 third_party/sqlite/amalgamation/sqlite3.c pOverflow = sqlite3_malloc(sizeof(RecoverOverflow)); sqlite3_malloc 111267 third_party/sqlite/amalgamation/sqlite3.c pBase = sqlite3_malloc(nRequestBytes); sqlite3_malloc 111487 third_party/sqlite/amalgamation/sqlite3.c pCursor = sqlite3_malloc(sizeof(RecoverLeafCursor)); sqlite3_malloc 111871 third_party/sqlite/amalgamation/sqlite3.c pCursor = sqlite3_malloc(sizeof(RecoverCursor)); sqlite3_malloc 112333 third_party/sqlite/amalgamation/sqlite3.c pRecover = sqlite3_malloc(sizeof(Recover)); sqlite3_malloc 112357 third_party/sqlite/amalgamation/sqlite3.c pRecover->pTypes = sqlite3_malloc(pRecover->nCols); sqlite3_malloc 113763 third_party/sqlite/amalgamation/sqlite3.c zRet = sqlite3_malloc(nRet); sqlite3_malloc 113906 third_party/sqlite/amalgamation/sqlite3.c aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) ); sqlite3_malloc 113989 third_party/sqlite/amalgamation/sqlite3.c p = (Fts3Table*)sqlite3_malloc(nByte); sqlite3_malloc 114164 third_party/sqlite/amalgamation/sqlite3.c *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor)); sqlite3_malloc 114955 third_party/sqlite/amalgamation/sqlite3.c aTmp = sqlite3_malloc(2*(n1+n2+1)); sqlite3_malloc 115029 third_party/sqlite/amalgamation/sqlite3.c char *aNew = sqlite3_malloc(nNew); sqlite3_malloc 115075 third_party/sqlite/amalgamation/sqlite3.c pTS->aaOutput[0] = sqlite3_malloc(nDoclist); sqlite3_malloc 115099 third_party/sqlite/amalgamation/sqlite3.c aNew = sqlite3_malloc(nNew); sqlite3_malloc 115139 third_party/sqlite/amalgamation/sqlite3.c *ppOut = sqlite3_malloc(nSource); sqlite3_malloc 115146 third_party/sqlite/amalgamation/sqlite3.c *ppOut = sqlite3_malloc(*pnOut); sqlite3_malloc 115187 third_party/sqlite/amalgamation/sqlite3.c pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte); sqlite3_malloc 115260 third_party/sqlite/amalgamation/sqlite3.c pSegcsr = sqlite3_malloc(sizeof(Fts3SegReaderCursor)); sqlite3_malloc 115616 third_party/sqlite/amalgamation/sqlite3.c aOut = sqlite3_malloc(nLeft+nRight+1); sqlite3_malloc 115866 third_party/sqlite/amalgamation/sqlite3.c aExpr = sqlite3_malloc(sizeof(ExprAndCost) * nExpr); sqlite3_malloc 115964 third_party/sqlite/amalgamation/sqlite3.c char *aBuffer = sqlite3_malloc(nRight+nLeft+1); sqlite3_malloc 116679 third_party/sqlite/amalgamation/sqlite3.c pHash = sqlite3_malloc(sizeof(Fts3Hash)); sqlite3_malloc 116846 third_party/sqlite/amalgamation/sqlite3.c p = (Fts3auxTable *)sqlite3_malloc(nByte); sqlite3_malloc 116950 third_party/sqlite/amalgamation/sqlite3.c pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor)); sqlite3_malloc 117340 third_party/sqlite/amalgamation/sqlite3.c void *pRet = sqlite3_malloc(nByte); sqlite3_malloc 118120 third_party/sqlite/amalgamation/sqlite3.c azCol = (char **)sqlite3_malloc(nCol*sizeof(char *)); sqlite3_malloc 118198 third_party/sqlite/amalgamation/sqlite3.c void *p = sqlite3_malloc(n); sqlite3_malloc 118608 third_party/sqlite/amalgamation/sqlite3.c t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t)); sqlite3_malloc 118638 third_party/sqlite/amalgamation/sqlite3.c c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); sqlite3_malloc 119741 third_party/sqlite/amalgamation/sqlite3.c t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t)); sqlite3_malloc 119796 third_party/sqlite/amalgamation/sqlite3.c c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); sqlite3_malloc 120333 third_party/sqlite/amalgamation/sqlite3.c p = sqlite3_malloc(sizeof(*p) + 100); sqlite3_malloc 120785 third_party/sqlite/amalgamation/sqlite3.c char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING); sqlite3_malloc 121088 third_party/sqlite/amalgamation/sqlite3.c pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra); sqlite3_malloc 121194 third_party/sqlite/amalgamation/sqlite3.c pReader = (Fts3SegReader *)sqlite3_malloc(nByte); sqlite3_malloc 121440 third_party/sqlite/amalgamation/sqlite3.c pTree->aData = (char *)sqlite3_malloc(nReq); sqlite3_malloc 121484 third_party/sqlite/amalgamation/sqlite3.c pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize); sqlite3_malloc 121631 third_party/sqlite/amalgamation/sqlite3.c pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter)); sqlite3_malloc 121637 third_party/sqlite/amalgamation/sqlite3.c pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize); sqlite3_malloc 122247 third_party/sqlite/amalgamation/sqlite3.c pBlob = sqlite3_malloc( 10*p->nColumn ); sqlite3_malloc 122297 third_party/sqlite/amalgamation/sqlite3.c a = sqlite3_malloc( (sizeof(u32)+10)*nStat ); sqlite3_malloc 122514 third_party/sqlite/amalgamation/sqlite3.c pDeferred = sqlite3_malloc(sizeof(*pDeferred)); sqlite3_malloc 122552 third_party/sqlite/amalgamation/sqlite3.c aSzIns = sqlite3_malloc( sizeof(aSzIns[0])*(p->nColumn+1)*2 ); sqlite3_malloc 123112 third_party/sqlite/amalgamation/sqlite3.c sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte); sqlite3_malloc 123683 third_party/sqlite/amalgamation/sqlite3.c aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase); sqlite3_malloc 123911 third_party/sqlite/amalgamation/sqlite3.c pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1); sqlite3_malloc 124108 third_party/sqlite/amalgamation/sqlite3.c sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken); sqlite3_malloc 124705 third_party/sqlite/amalgamation/sqlite3.c pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize); sqlite3_malloc 124750 third_party/sqlite/amalgamation/sqlite3.c pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize); sqlite3_malloc 125063 third_party/sqlite/amalgamation/sqlite3.c pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor)); sqlite3_malloc 125463 third_party/sqlite/amalgamation/sqlite3.c pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc( sqlite3_malloc 125522 third_party/sqlite/amalgamation/sqlite3.c pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc); sqlite3_malloc 125840 third_party/sqlite/amalgamation/sqlite3.c aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell); sqlite3_malloc 126265 third_party/sqlite/amalgamation/sqlite3.c aaSorted = (int **)sqlite3_malloc(nByte); sqlite3_malloc 126362 third_party/sqlite/amalgamation/sqlite3.c aiUsed = sqlite3_malloc(sizeof(int)*nCell); sqlite3_malloc 126442 third_party/sqlite/amalgamation/sqlite3.c aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1)); sqlite3_malloc 126727 third_party/sqlite/amalgamation/sqlite3.c aCell = (RtreeCell *)sqlite3_malloc(nCell * ( sqlite3_malloc 127271 third_party/sqlite/amalgamation/sqlite3.c pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2); sqlite3_malloc 127444 third_party/sqlite/amalgamation/sqlite3.c pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob); sqlite3_malloc 127472 third_party/sqlite/amalgamation/sqlite3.c pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback)); sqlite3_malloc 127843 third_party/sqlite/amalgamation/sqlite3.c zOutput = sqlite3_malloc(nOutput); sqlite3_malloc 128059 third_party/sqlite/amalgamation/sqlite3.c p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n); sqlite3_malloc 128113 third_party/sqlite/amalgamation/sqlite3.c pCsr = (IcuCursor *)sqlite3_malloc( sqlite3_malloc 2060 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API void *sqlite3_malloc(int); sqlite3_malloc 598 third_party/sqlite/src/ext/async/sqlite3async.c p = sqlite3_malloc(sizeof(AsyncWrite) + (zByte?nByte:0)); sqlite3_malloc 1057 third_party/sqlite/src/ext/async/sqlite3async.c z = sqlite3_malloc(nByte); sqlite3_malloc 1097 third_party/sqlite/src/ext/async/sqlite3async.c pLock = (AsyncLock *)sqlite3_malloc(nByte); sqlite3_malloc 509 third_party/sqlite/src/ext/fts2/fts2.c pBuffer->pData = nCapacity==0 ? NULL : sqlite3_malloc(nCapacity); sqlite3_malloc 1161 third_party/sqlite/src/ext/fts2/fts2.c DLCollector *pCollector = sqlite3_malloc(sizeof(DLCollector)); sqlite3_malloc 1792 third_party/sqlite/src/ext/fts2/fts2.c char *str = sqlite3_malloc(n + 1); sqlite3_malloc 1825 third_party/sqlite/src/ext/fts2/fts2.c r = result = sqlite3_malloc(len); sqlite3_malloc 2256 third_party/sqlite/src/ext/fts2/fts2.c values = (const char **) sqlite3_malloc(v->nColumn * sizeof(const char *)); sqlite3_malloc 2681 third_party/sqlite/src/ext/fts2/fts2.c Token *aToken = sqlite3_malloc( strlen(z) * sizeof(aToken[0]) ); sqlite3_malloc 2697 third_party/sqlite/src/ext/fts2/fts2.c azToken = (char**)sqlite3_malloc( nToken*sizeof(char*) + totalSize ); sqlite3_malloc 2883 third_party/sqlite/src/ext/fts2/fts2.c azArg = sqlite3_malloc( sizeof(char*)*argc + n ); sqlite3_malloc 2928 third_party/sqlite/src/ext/fts2/fts2.c pSpec->azContentColumn = sqlite3_malloc( pSpec->nColumn * sizeof(char *) ); sqlite3_malloc 2997 third_party/sqlite/src/ext/fts2/fts2.c v = (fulltext_vtab *) sqlite3_malloc(sizeof(fulltext_vtab)); sqlite3_malloc 3184 third_party/sqlite/src/ext/fts2/fts2.c c = (fulltext_cursor *) sqlite3_malloc(sizeof(fulltext_cursor)); sqlite3_malloc 3678 third_party/sqlite/src/ext/fts2/fts2.c t->pTerm = sqlite3_malloc(nTerm+1); sqlite3_malloc 4298 third_party/sqlite/src/ext/fts2/fts2.c InteriorBlock *block = sqlite3_malloc(sizeof(InteriorBlock)); sqlite3_malloc 4514 third_party/sqlite/src/ext/fts2/fts2.c pWriter->parentWriter = sqlite3_malloc(sizeof(*pWriter->parentWriter)); sqlite3_malloc 5731 third_party/sqlite/src/ext/fts2/fts2.c p = sqlite3_malloc(nMaxBuffers*sizeof(*pBuffers)); sqlite3_malloc 6166 third_party/sqlite/src/ext/fts2/fts2.c pData = sqlite3_malloc(n*sizeof(TermData)); sqlite3_malloc 6625 third_party/sqlite/src/ext/fts2/fts2.c readers = sqlite3_malloc(nReaders*sizeof(readers[0])); sqlite3_malloc 6772 third_party/sqlite/src/ext/fts2/fts2.c pData = sqlite3_malloc(nTerms*sizeof(TermData)); sqlite3_malloc 6786 third_party/sqlite/src/ext/fts2/fts2.c result = sqlite3_malloc(nResultBytes); sqlite3_malloc 7229 third_party/sqlite/src/ext/fts2/fts2.c pHash = sqlite3_malloc(sizeof(fts2Hash)); sqlite3_malloc 39 third_party/sqlite/src/ext/fts2/fts2_hash.c void *p = sqlite3_malloc(n); sqlite3_malloc 65 third_party/sqlite/src/ext/fts2/fts2_icu.c p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n); sqlite3_malloc 119 third_party/sqlite/src/ext/fts2/fts2_icu.c pCsr = (IcuCursor *)sqlite3_malloc( sqlite3_malloc 68 third_party/sqlite/src/ext/fts2/fts2_porter.c t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t)); sqlite3_malloc 96 third_party/sqlite/src/ext/fts2/fts2_porter.c c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); sqlite3_malloc 67 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t)); sqlite3_malloc 121 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); sqlite3_malloc 713 third_party/sqlite/src/ext/fts3/fts3.c zRet = sqlite3_malloc(nRet); sqlite3_malloc 856 third_party/sqlite/src/ext/fts3/fts3.c aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) ); sqlite3_malloc 939 third_party/sqlite/src/ext/fts3/fts3.c p = (Fts3Table*)sqlite3_malloc(nByte); sqlite3_malloc 1114 third_party/sqlite/src/ext/fts3/fts3.c *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor)); sqlite3_malloc 1905 third_party/sqlite/src/ext/fts3/fts3.c aTmp = sqlite3_malloc(2*(n1+n2+1)); sqlite3_malloc 1979 third_party/sqlite/src/ext/fts3/fts3.c char *aNew = sqlite3_malloc(nNew); sqlite3_malloc 2025 third_party/sqlite/src/ext/fts3/fts3.c pTS->aaOutput[0] = sqlite3_malloc(nDoclist); sqlite3_malloc 2049 third_party/sqlite/src/ext/fts3/fts3.c aNew = sqlite3_malloc(nNew); sqlite3_malloc 2089 third_party/sqlite/src/ext/fts3/fts3.c *ppOut = sqlite3_malloc(nSource); sqlite3_malloc 2096 third_party/sqlite/src/ext/fts3/fts3.c *ppOut = sqlite3_malloc(*pnOut); sqlite3_malloc 2137 third_party/sqlite/src/ext/fts3/fts3.c pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte); sqlite3_malloc 2210 third_party/sqlite/src/ext/fts3/fts3.c pSegcsr = sqlite3_malloc(sizeof(Fts3SegReaderCursor)); sqlite3_malloc 2566 third_party/sqlite/src/ext/fts3/fts3.c aOut = sqlite3_malloc(nLeft+nRight+1); sqlite3_malloc 2816 third_party/sqlite/src/ext/fts3/fts3.c aExpr = sqlite3_malloc(sizeof(ExprAndCost) * nExpr); sqlite3_malloc 2914 third_party/sqlite/src/ext/fts3/fts3.c char *aBuffer = sqlite3_malloc(nRight+nLeft+1); sqlite3_malloc 3629 third_party/sqlite/src/ext/fts3/fts3.c pHash = sqlite3_malloc(sizeof(Fts3Hash)); sqlite3_malloc 91 third_party/sqlite/src/ext/fts3/fts3_aux.c p = (Fts3auxTable *)sqlite3_malloc(nByte); sqlite3_malloc 195 third_party/sqlite/src/ext/fts3/fts3_aux.c pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor)); sqlite3_malloc 115 third_party/sqlite/src/ext/fts3/fts3_expr.c void *pRet = sqlite3_malloc(nByte); sqlite3_malloc 896 third_party/sqlite/src/ext/fts3/fts3_expr.c azCol = (char **)sqlite3_malloc(nCol*sizeof(char *)); sqlite3_malloc 39 third_party/sqlite/src/ext/fts3/fts3_hash.c void *p = sqlite3_malloc(n); sqlite3_malloc 65 third_party/sqlite/src/ext/fts3/fts3_icu.c p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n); sqlite3_malloc 119 third_party/sqlite/src/ext/fts3/fts3_icu.c pCsr = (IcuCursor *)sqlite3_malloc( sqlite3_malloc 69 third_party/sqlite/src/ext/fts3/fts3_porter.c t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t)); sqlite3_malloc 99 third_party/sqlite/src/ext/fts3/fts3_porter.c c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); sqlite3_malloc 479 third_party/sqlite/src/ext/fts3/fts3_snippet.c sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte); sqlite3_malloc 1050 third_party/sqlite/src/ext/fts3/fts3_snippet.c aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase); sqlite3_malloc 1278 third_party/sqlite/src/ext/fts3/fts3_snippet.c pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1); sqlite3_malloc 1475 third_party/sqlite/src/ext/fts3/fts3_snippet.c sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken); sqlite3_malloc 68 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t)); sqlite3_malloc 123 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); sqlite3_malloc 427 third_party/sqlite/src/ext/fts3/fts3_write.c p = sqlite3_malloc(sizeof(*p) + 100); sqlite3_malloc 879 third_party/sqlite/src/ext/fts3/fts3_write.c char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING); sqlite3_malloc 1182 third_party/sqlite/src/ext/fts3/fts3_write.c pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra); sqlite3_malloc 1288 third_party/sqlite/src/ext/fts3/fts3_write.c pReader = (Fts3SegReader *)sqlite3_malloc(nByte); sqlite3_malloc 1534 third_party/sqlite/src/ext/fts3/fts3_write.c pTree->aData = (char *)sqlite3_malloc(nReq); sqlite3_malloc 1578 third_party/sqlite/src/ext/fts3/fts3_write.c pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize); sqlite3_malloc 1725 third_party/sqlite/src/ext/fts3/fts3_write.c pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter)); sqlite3_malloc 1731 third_party/sqlite/src/ext/fts3/fts3_write.c pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize); sqlite3_malloc 2341 third_party/sqlite/src/ext/fts3/fts3_write.c pBlob = sqlite3_malloc( 10*p->nColumn ); sqlite3_malloc 2391 third_party/sqlite/src/ext/fts3/fts3_write.c a = sqlite3_malloc( (sizeof(u32)+10)*nStat ); sqlite3_malloc 2608 third_party/sqlite/src/ext/fts3/fts3_write.c pDeferred = sqlite3_malloc(sizeof(*pDeferred)); sqlite3_malloc 2646 third_party/sqlite/src/ext/fts3/fts3_write.c aSzIns = sqlite3_malloc( sizeof(aSzIns[0])*(p->nColumn+1)*2 ); sqlite3_malloc 348 third_party/sqlite/src/ext/icu/icu.c zOutput = sqlite3_malloc(nOutput); sqlite3_malloc 448 third_party/sqlite/src/ext/rtree/rtree.c pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize); sqlite3_malloc 493 third_party/sqlite/src/ext/rtree/rtree.c pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize); sqlite3_malloc 806 third_party/sqlite/src/ext/rtree/rtree.c pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor)); sqlite3_malloc 1206 third_party/sqlite/src/ext/rtree/rtree.c pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc( sqlite3_malloc 1265 third_party/sqlite/src/ext/rtree/rtree.c pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc); sqlite3_malloc 1583 third_party/sqlite/src/ext/rtree/rtree.c aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell); sqlite3_malloc 2008 third_party/sqlite/src/ext/rtree/rtree.c aaSorted = (int **)sqlite3_malloc(nByte); sqlite3_malloc 2105 third_party/sqlite/src/ext/rtree/rtree.c aiUsed = sqlite3_malloc(sizeof(int)*nCell); sqlite3_malloc 2185 third_party/sqlite/src/ext/rtree/rtree.c aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1)); sqlite3_malloc 2470 third_party/sqlite/src/ext/rtree/rtree.c aCell = (RtreeCell *)sqlite3_malloc(nCell * ( sqlite3_malloc 3014 third_party/sqlite/src/ext/rtree/rtree.c pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2); sqlite3_malloc 3187 third_party/sqlite/src/ext/rtree/rtree.c pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob); sqlite3_malloc 3215 third_party/sqlite/src/ext/rtree/rtree.c pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback)); sqlite3_malloc 167 third_party/sqlite/src/src/backup.c p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup)); sqlite3_malloc 343 third_party/sqlite/src/src/bitvec.c pV = sqlite3_malloc( (sz+7)/8 + 1 ); sqlite3_malloc 344 third_party/sqlite/src/src/bitvec.c pTmpSpace = sqlite3_malloc(BITVEC_SZ); sqlite3_malloc 204 third_party/sqlite/src/src/loadext.c sqlite3_malloc, sqlite3_malloc 424 third_party/sqlite/src/src/loadext.c *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg); sqlite3_malloc 437 third_party/sqlite/src/src/loadext.c *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg); sqlite3_malloc 525 third_party/sqlite/src/src/mem3.c return sqlite3_malloc(nBytes); sqlite3_malloc 140 third_party/sqlite/src/src/memjournal.c FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk)); sqlite3_malloc 237 third_party/sqlite/src/src/os.c void *p = sqlite3_malloc(10); sqlite3_malloc 899 third_party/sqlite/src/src/os_os2.c pLink = sqlite3_malloc( sizeof(*pLink) ); sqlite3_malloc 913 third_party/sqlite/src/src/os_os2.c pNode = sqlite3_malloc( sizeof(*pNode) + cbShmName ); sqlite3_malloc 769 third_party/sqlite/src/src/os_unix.c pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) ); sqlite3_malloc 1166 third_party/sqlite/src/src/os_unix.c pInode = sqlite3_malloc( sizeof(*pInode) ); sqlite3_malloc 3762 third_party/sqlite/src/src/os_unix.c p = sqlite3_malloc( sizeof(*p) ); sqlite3_malloc 3791 third_party/sqlite/src/src/os_unix.c pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename ); sqlite3_malloc 3966 third_party/sqlite/src/src/os_unix.c pMem = sqlite3_malloc(szRegion); sqlite3_malloc 4579 third_party/sqlite/src/src/os_unix.c pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) ); sqlite3_malloc 4608 third_party/sqlite/src/src/os_unix.c zLockFile = (char *)sqlite3_malloc(nFilename); sqlite3_malloc 4893 third_party/sqlite/src/src/os_unix.c unusedFd = sqlite3_malloc(sizeof(*unusedFd)); sqlite3_malloc 5768 third_party/sqlite/src/src/os_unix.c pUnused = sqlite3_malloc(sizeof(*pUnused)); sqlite3_malloc 5801 third_party/sqlite/src/src/os_unix.c pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew)); sqlite3_malloc 6274 third_party/sqlite/src/src/os_unix.c *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8); sqlite3_malloc 6389 third_party/sqlite/src/src/os_unix.c pCtx = sqlite3_malloc( sizeof(*pCtx) ); sqlite3_malloc 1449 third_party/sqlite/src/src/os_win.c p = sqlite3_malloc( sizeof(*p) ); sqlite3_malloc 1453 third_party/sqlite/src/src/os_win.c pNew = sqlite3_malloc( sizeof(*pShmNode) + nName + 15 ); sqlite3_malloc 385 third_party/sqlite/src/src/pcache1.c apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew); sqlite3_malloc 574 third_party/sqlite/src/src/pcache1.c pCache = (PCache1 *)sqlite3_malloc(sz); sqlite3_malloc 811 third_party/sqlite/src/src/printf.c p->zText = sqlite3_malloc(p->nChar+1); sqlite3_malloc 475 third_party/sqlite/src/src/recover.c zNew = sqlite3_malloc(n+1); sqlite3_malloc 668 third_party/sqlite/src/src/recover.c sqlite3_malloc(sizeof(RecoverInteriorCursor)); sqlite3_malloc 912 third_party/sqlite/src/src/recover.c pOverflow = sqlite3_malloc(sizeof(RecoverOverflow)); sqlite3_malloc 1021 third_party/sqlite/src/src/recover.c pBase = sqlite3_malloc(nRequestBytes); sqlite3_malloc 1241 third_party/sqlite/src/src/recover.c pCursor = sqlite3_malloc(sizeof(RecoverLeafCursor)); sqlite3_malloc 1625 third_party/sqlite/src/src/recover.c pCursor = sqlite3_malloc(sizeof(RecoverCursor)); sqlite3_malloc 2087 third_party/sqlite/src/src/recover.c pRecover = sqlite3_malloc(sizeof(Recover)); sqlite3_malloc 2111 third_party/sqlite/src/src/recover.c pRecover->pTypes = sqlite3_malloc(pRecover->nCols); sqlite3_malloc 960 third_party/sqlite/src/src/shell.c char *zErrMsg = sqlite3_malloc(nErrMsg); sqlite3_malloc 1114 third_party/sqlite/src/src/shell.c void *pData = sqlite3_malloc(3*nCol*sizeof(const char*) + 1); sqlite3_malloc 93 third_party/sqlite/src/src/table.c z = sqlite3_malloc( n ); sqlite3_malloc 139 third_party/sqlite/src/src/table.c res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc ); sqlite3_malloc 893 third_party/sqlite/src/src/test1.c char *zCopy = (char *)sqlite3_malloc(nText); sqlite3_malloc 1336 third_party/sqlite/src/src/test1.c z = sqlite3_malloc( n+1 ); sqlite3_malloc 1862 third_party/sqlite/src/src/test1.c p = (TestCollationX *)sqlite3_malloc(sizeof(TestCollationX)); sqlite3_malloc 1962 third_party/sqlite/src/src/test1.c p = sqlite3_malloc(sizeof(CreateFunctionV2)); sqlite3_malloc 165 third_party/sqlite/src/src/test5.c z = sqlite3_malloc(len); sqlite3_malloc 1287 third_party/sqlite/src/src/test8.c pMod = sqlite3_malloc(sizeof(EchoModule)); sqlite3_malloc 80 third_party/sqlite/src/src/test9.c p = sqlite3_malloc(5); sqlite3_malloc 423 third_party/sqlite/src/src/test_demovfs.c aBuf = (char *)sqlite3_malloc(SQLITE_DEMOVFS_BUFFERSZ); sqlite3_malloc 28 third_party/sqlite/src/src/test_func.c char *z = sqlite3_malloc(nByte); sqlite3_malloc 246 third_party/sqlite/src/src/test_func.c pCounter = sqlite3_malloc( sizeof(*pCounter) ); sqlite3_malloc 361 third_party/sqlite/src/src/test_func.c zOut = sqlite3_malloc( n/2 ); sqlite3_malloc 388 third_party/sqlite/src/src/test_func.c zOut = sqlite3_malloc( n/2 ); sqlite3_malloc 415 third_party/sqlite/src/src/test_func.c zOut = sqlite3_malloc( n/2 ); sqlite3_malloc 201 third_party/sqlite/src/src/test_fuzzer.c pNew = sqlite3_malloc( sizeof(*pNew) + n ); sqlite3_malloc 266 third_party/sqlite/src/src/test_fuzzer.c pCur = sqlite3_malloc( sizeof(*pCur) ); sqlite3_malloc 577 third_party/sqlite/src/src/test_fuzzer.c pNew = sqlite3_malloc( sizeof(*pNew) + strlen(zWord) + 1 ); sqlite3_malloc 842 third_party/sqlite/src/src/test_fuzzer.c pRule = sqlite3_malloc( sizeof(*pRule) + nFrom + nTo ); sqlite3_malloc 116 third_party/sqlite/src/src/test_hexio.c zBuf = sqlite3_malloc( amt*2+1 ); sqlite3_malloc 167 third_party/sqlite/src/src/test_hexio.c aOut = sqlite3_malloc( nIn/2 ); sqlite3_malloc 212 third_party/sqlite/src/src/test_hexio.c aOut = sqlite3_malloc( nIn/2 ); sqlite3_malloc 308 third_party/sqlite/src/src/test_hexio.c z = sqlite3_malloc( n+3 ); sqlite3_malloc 88 third_party/sqlite/src/src/test_intarray.c intarray_vtab *pVtab = sqlite3_malloc(sizeof(intarray_vtab)); sqlite3_malloc 105 third_party/sqlite/src/src/test_intarray.c pCur = sqlite3_malloc(sizeof(intarray_cursor)); sqlite3_malloc 228 third_party/sqlite/src/src/test_intarray.c *ppReturn = p = sqlite3_malloc( sizeof(*p) ); sqlite3_malloc 343 third_party/sqlite/src/src/test_intarray.c a = sqlite3_malloc( sizeof(a[0])*n ); sqlite3_malloc 365 third_party/sqlite/src/src/test_journal.c aData = sqlite3_malloc(pMain->nPagesize); sqlite3_malloc 367 third_party/sqlite/src/src/test_journal.c pMain->aCksum = sqlite3_malloc(sizeof(u32) * (pMain->nPage + 1)); sqlite3_malloc 439 third_party/sqlite/src/src/test_journal.c aPage = sqlite3_malloc(pMain->nPagesize); sqlite3_malloc 322 third_party/sqlite/src/src/test_malloc.c p = sqlite3_malloc((unsigned)nByte); sqlite3_malloc 327 third_party/sqlite/src/src/test_multiplex.c pGroup = sqlite3_malloc( sz ); sqlite3_malloc 910 third_party/sqlite/src/src/test_multiplex.c gMultiplex.zName = sqlite3_malloc(pOrigVfs->mxPathname); sqlite3_malloc 620 third_party/sqlite/src/src/test_onefile.c pReal = (fs_real_file *)sqlite3_malloc(sizeof(*pReal)+pParent->szOsFile); sqlite3_malloc 721 third_party/sqlite/src/src/test_osinst.c p = (VfslogVfs *)sqlite3_malloc(nByte); sqlite3_malloc 871 third_party/sqlite/src/src/test_osinst.c p = sqlite3_malloc(nByte); sqlite3_malloc 931 third_party/sqlite/src/src/test_osinst.c pCsr = sqlite3_malloc(sizeof(VfslogCsr)); sqlite3_malloc 979 third_party/sqlite/src/src/test_osinst.c char *zStr = sqlite3_malloc(nStr+1); sqlite3_malloc 57 third_party/sqlite/src/src/test_pcache.c testpcacheGlobal.pDummy = sqlite3_malloc(10); sqlite3_malloc 140 third_party/sqlite/src/src/test_pcache.c p = sqlite3_malloc( nMem ); sqlite3_malloc 326 third_party/sqlite/src/src/test_quota.c pFile = sqlite3_malloc( sizeof(*pFile) + nName + 1 ); sqlite3_malloc 686 third_party/sqlite/src/src/test_quota.c pGroup = sqlite3_malloc( sizeof(*pGroup) + nPattern + 1 ); sqlite3_malloc 863 third_party/sqlite/src/src/test_quota.c p = (TclQuotaCallback *)sqlite3_malloc(sizeof(TclQuotaCallback)); sqlite3_malloc 74 third_party/sqlite/src/src/test_rtree.c pCircle = (Circle *)(p->pUser = sqlite3_malloc(sizeof(Circle))); sqlite3_malloc 204 third_party/sqlite/src/src/test_rtree.c pCube = (Cube *)sqlite3_malloc(sizeof(Cube)); sqlite3_malloc 91 third_party/sqlite/src/src/test_schema.c schema_vtab *pVtab = sqlite3_malloc(sizeof(schema_vtab)); sqlite3_malloc 109 third_party/sqlite/src/src/test_schema.c pCur = sqlite3_malloc(sizeof(schema_cursor)); sqlite3_malloc 150 third_party/sqlite/src/src/test_stat.c pTab = (StatTable *)sqlite3_malloc(sizeof(StatTable)); sqlite3_malloc 203 third_party/sqlite/src/src/test_stat.c pCsr = (StatCursor *)sqlite3_malloc(sizeof(StatCursor)); sqlite3_malloc 309 third_party/sqlite/src/src/test_stat.c p->aCell = sqlite3_malloc((p->nCell+1) * sizeof(StatCell)); sqlite3_malloc 340 third_party/sqlite/src/src/test_stat.c pCell->aOvfl = sqlite3_malloc(sizeof(u32)*nOvfl); sqlite3_malloc 193 third_party/sqlite/src/src/test_superlock.c pLock = sqlite3_malloc(sizeof(Superlock)); sqlite3_malloc 500 third_party/sqlite/src/src/test_vfstrace.c sqlite3_io_methods *pNew = sqlite3_malloc( sizeof(*pNew) ); sqlite3_malloc 731 third_party/sqlite/src/src/test_vfstrace.c pNew = sqlite3_malloc( nByte ); sqlite3_malloc 49 third_party/sqlite/src/src/test_wholenumber.c pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) ); sqlite3_malloc 70 third_party/sqlite/src/src/test_wholenumber.c pCur = sqlite3_malloc( sizeof(*pCur) ); sqlite3_malloc 1130 third_party/sqlite/src/src/wal.c aFrame = (u8 *)sqlite3_malloc(szFrame); sqlite3_malloc 456 third_party/sqlite/src/test/threadtest3.c pErr->zErr = (char *)sqlite3_malloc(512); sqlite3_malloc 573 third_party/sqlite/src/test/threadtest3.c pRet = sqlite3_malloc(sizeof(Statement)); sqlite3_malloc 738 third_party/sqlite/src/test/threadtest3.c p = (Thread *)sqlite3_malloc(sizeof(Thread));