Lines Matching refs:sqlite3_malloc
2391 SQLITE_API void *sqlite3_malloc(int);
15761 void *p = sqlite3_malloc(10); in sqlite3OsInit()
17359 return sqlite3_malloc(nBytes); in memsys3Realloc()
19472 SQLITE_API void *sqlite3_malloc(int n){ in sqlite3_malloc() function
20763 p->zText = sqlite3_malloc(p->nChar+1); in sqlite3StrAccumFinish()
24502 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
24898 pInode = sqlite3_malloc( sizeof(*pInode) );
27401 char *zTFile = sqlite3_malloc( pFile->pVfs->mxPathname );
27801 p = sqlite3_malloc( sizeof(*p) );
27829 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
28032 pMem = sqlite3_malloc(szRegion);
28867 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
28897 zLockFile = (char *)sqlite3_malloc(nFilename);
29274 pUnused = sqlite3_malloc(sizeof(*pUnused));
30064 pUnused = sqlite3_malloc(sizeof(*pUnused));
30097 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
30572 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
30687 pCtx = sqlite3_malloc( sizeof(*pCtx) );
37059 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
47800 aFrame = (u8 *)sqlite3_malloc(szFrame);
74703 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
90733 zOut = z = sqlite3_malloc( argc*4 );
95418 #define sqlite3_malloc sqlite3_api->malloc
95753 sqlite3_malloc,
96010 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
96036 zAltEntry = sqlite3_malloc(ncFile+30);
96058 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
104931 z = sqlite3_malloc( n );
104977 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
121668 zFile = sqlite3_malloc(nByte);
121822 zFile = sqlite3_malloc(nUri+2);
124837 zRet = sqlite3_malloc(nRet);
125013 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
125096 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
125178 aCol = (const char **)sqlite3_malloc(nByte);
125181 azNotindexed = (char **)sqlite3_malloc(nByte);
125375 p = (Fts3Table*)sqlite3_malloc(nByte);
125682 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
126507 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
126723 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
126938 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
127816 pHash = sqlite3_malloc(sizeof(Fts3Hash));
128104 aOut = (char *)sqlite3_malloc(nPoslist+8);
128469 char *aDoclist = sqlite3_malloc(nByte+1);
128857 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
129163 aTmp = sqlite3_malloc(nTmp*2);
129505 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
129922 p = (Fts3auxTable *)sqlite3_malloc(nByte);
130045 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
130499 void *pRet = sqlite3_malloc(nByte);
131168 apLeaf = (Fts3Expr **)sqlite3_malloc(sizeof(Fts3Expr *) * nMaxDepth);
131595 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
131693 void *p = sqlite3_malloc(n);
132106 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
132136 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
133258 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
133313 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
133552 *pazDequote = azDequote = sqlite3_malloc(sizeof(char *)*argc + nByte);
133623 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
133693 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
133776 pCsr->zInput = sqlite3_malloc(nByte+1);
134514 p = sqlite3_malloc(sizeof(*p) + 100);
135082 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
135465 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
135594 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
135873 pTree->aData = (char *)sqlite3_malloc(nReq);
135917 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
136064 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
136070 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
137002 pBlob = sqlite3_malloc( 10*p->nColumn );
137052 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
137172 aSz = (u32 *)sqlite3_malloc(nByte);
137243 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte);
138471 pWriter = (IncrmergeWriter *)sqlite3_malloc(nAlloc);
139052 pRet = (char *)sqlite3_malloc(p->pList->nData);
139072 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
139181 aSzDel = sqlite3_malloc( sizeof(aSzDel[0])*(p->nColumn+1)*2 );
139735 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
140252 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
140474 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
140674 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
141056 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
141105 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
142068 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
142113 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
142426 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
142829 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
142888 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
143231 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
143657 aaSorted = (int **)sqlite3_malloc(nByte);
143754 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
143834 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
144121 aCell = (RtreeCell *)sqlite3_malloc(n * (
144778 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
144961 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
144993 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
145368 zOutput = sqlite3_malloc(nOutput);
145588 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
145645 pCsr = (IcuCursor *)sqlite3_malloc(