• Home
  • Raw
  • Download

Lines Matching refs:sqlite3_malloc64

3317 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64);
29361 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64 n){
31131 sqlite3_str *p = sqlite3_malloc64(sizeof(*p));
31357 *pp = p = sqlite3_malloc64( sizeof(*p) );
36247 pFile->aJrnl = sqlite3_malloc64( n );
36308 aTxt = sqlite3_malloc64( szTxt+1 );
36483 zOut = sqlite3_malloc64( pFile->nJrnl*2 + 50 );
37742 pNew = sqlite3_malloc64( sizeof(*pNew) + (n+1) );
38193 pInode = sqlite3_malloc64( sizeof(*pInode) );
40780 char *zTFile = sqlite3_malloc64( pFile->pVfs->mxPathname );
41367 p = sqlite3_malloc64( sizeof(*p) );
41399 pShmNode = sqlite3_malloc64( sizeof(*pShmNode) + nShmFilename );
41609 pMem = sqlite3_malloc64(nMap);
42494 pNew->lockingContext = pCtx = sqlite3_malloc64( sizeof(*pCtx) );
42524 zLockFile = (char *)sqlite3_malloc64(nFilename);
42943 pUnused = sqlite3_malloc64(sizeof(*pUnused));
43876 pUnused = sqlite3_malloc64(sizeof(*pUnused));
43909 pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew));
44387 *pConchPath = conchPath = (char *)sqlite3_malloc64(len + 8);
44503 pCtx = sqlite3_malloc64( sizeof(*pCtx) );
51909 pOut = sqlite3_malloc64( pStore->sz );
51930 pOut = sqlite3_malloc64( sz );
52396 pTmpSpace = sqlite3_malloc64(BITVEC_SZ);
64525 aFrame = (u8 *)sqlite3_malloc64(szFrame + WALINDEX_PGSZ);
65014 p = (WalIterator *)sqlite3_malloc64(nByte);
65024 aTmp = (ht_slot *)sqlite3_malloc64(
65823 aFrame = (u8 *)sqlite3_malloc64(szFrame);
98192 pRhs = sqlite3_malloc64( sizeof(*pRhs) );
125670 zOut = z = sqlite3_malloc64( argc*4+1 );
126314 pnsl = (int*)sqlite3_malloc64((pGCC->nAccum+1) * sizeof(int));
132312 #define sqlite3_malloc64 sqlite3_api->malloc64
132817 sqlite3_malloc64,
133035 zAltEntry = sqlite3_malloc64(ncFile+30);
133056 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
133097 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
146039 z = sqlite3_malloc64( n );
146088 res.azResult = sqlite3_malloc64(sizeof(char*)*res.nAlloc );
176156 zFile = sqlite3_malloc64(nByte);
176331 zFile = sqlite3_malloc64(nUri+8);
177791 pResult = p = sqlite3_malloc64( nByte );
180277 zRet = sqlite3_malloc64(nRet);
180472 aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex);
180565 azCol = (const char **)sqlite3_malloc64(sizeof(char *) * nCol + nStr);
180647 aCol = (const char **)sqlite3_malloc64(nByte);
180650 azNotindexed = (char **)sqlite3_malloc64(nByte);
180845 p = (Fts3Table*)sqlite3_malloc64(nByte);
182067 aOut = sqlite3_malloc64((i64)n1+n2+FTS3_VARINT_MAX-1+FTS3_BUFFER_PADDING);
182139 aOut = sqlite3_malloc64((sqlite3_int64)*pnRight + FTS3_VARINT_MAX);
182319 pTS->aaOutput[0] = sqlite3_malloc64((i64)nDoclist + FTS3_VARINT_MAX + 1);
184176 char *aDoclist = sqlite3_malloc64((i64)nByte+FTS3_BUFFER_PADDING);
184570 aTC = (Fts3TokenAndCost *)sqlite3_malloc64(
184893 aTmp = sqlite3_malloc64(nTmp*2);
185236 pE->aMI = (u32 *)sqlite3_malloc64(pTab->nColumn * 3 * sizeof(u32));
185648 p = (Fts3auxTable *)sqlite3_malloc64(nByte);
186232 void *pRet = sqlite3_malloc64(nByte);
186906 apLeaf = (Fts3Expr **)sqlite3_malloc64(sizeof(Fts3Expr *) * nMaxDepth);
187326 azCol = (char **)sqlite3_malloc64(nCol*sizeof(char *));
187441 void *p = sqlite3_malloc64(n);
189338 *pazDequote = azDequote = sqlite3_malloc64(sizeof(char *)*argc + nByte);
189563 pCsr->zInput = sqlite3_malloc64(nByte+1);
190326 p = sqlite3_malloc64(sizeof(*p) + 100);
190899 char *aByte = sqlite3_malloc64((i64)nByte + FTS3_NODE_PADDING);
191016 pReader->zTerm = (char*)sqlite3_malloc64(((i64)nTerm+1)*2);
191024 aCopy = (char*)sqlite3_malloc64(nCopy);
191311 pReader = (Fts3SegReader *)sqlite3_malloc64(sizeof(Fts3SegReader) + nExtra);
191444 pReader = (Fts3SegReader *)sqlite3_malloc64(nByte);
191737 pTree->aData = (char *)sqlite3_malloc64(nReq);
191781 pNew = (SegmentNode *)sqlite3_malloc64(sizeof(SegmentNode) + p->nNodeSize);
191928 pWriter = (SegmentWriter *)sqlite3_malloc64(sizeof(SegmentWriter));
191934 pWriter->aData = (char *)sqlite3_malloc64(p->nNodeSize);
193078 pBlob = sqlite3_malloc64( 10*(sqlite3_int64)p->nColumn );
193128 a = sqlite3_malloc64( (sizeof(u32)+10)*(sqlite3_int64)nStat );
193252 aSz = (u32 *)sqlite3_malloc64(nByte);
193323 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc64(nByte);
194600 pWriter = (IncrmergeWriter *)sqlite3_malloc64(nAlloc);
195236 pRet = (char *)sqlite3_malloc64(p->pList->nData);
195256 pDeferred = sqlite3_malloc64(sizeof(*pDeferred));
195368 aSzDel = sqlite3_malloc64(sizeof(aSzDel[0])*((sqlite3_int64)p->nColumn+1)*2);
195677 aOut = (u32*)sqlite3_malloc64(p->nElem * sizeof(u32));
198227 zNew = sqlite3_malloc64(nTotal);
199020 aUp = pParse->aUp = sqlite3_malloc64( sizeof(u32)*pParse->nNode );
199082 p = sqlite3_malloc64( sizeof(*p) + nJson + 1 );
200552 p->zJson = sqlite3_malloc64( n+1 );
200574 p->zRoot = sqlite3_malloc64( n+1 );
201402 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode) + pRtree->iNodeSize);
201478 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode)+pRtree->iNodeSize);
201810 pCsr = (RtreeCursor *)sqlite3_malloc64(sizeof(RtreeCursor));
202542 sqlite3_malloc64( sizeof(*pInfo)+pSrc->iSize );
202616 pCsr->aConstraint = sqlite3_malloc64(sizeof(RtreeConstraint)*argc);
203209 aaSorted = (int **)sqlite3_malloc64(nByte);
203335 aCell = sqlite3_malloc64((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
203628 aCell = (RtreeCell *)sqlite3_malloc64(n * (
204497 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName+2);
204783 pRet = sqlite3_malloc64(nNode);
205406 pOut = sqlite3_malloc64( GEOPOLY_SZ((sqlite3_int64)s.nVertex) );
205456 p = sqlite3_malloc64( sizeof(*p) + (nVertex-1)*2*sizeof(GeoCoord) );
205734 p = sqlite3_malloc64( sizeof(*p) + (n-1)*2*sizeof(GeoCoord) );
206209 p = sqlite3_malloc64( nByte );
206379 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName+2);
207041 pBlob = (RtreeMatchArg *)sqlite3_malloc64(nBlob);
207757 p = (IcuTokenizer *)sqlite3_malloc64(sizeof(IcuTokenizer)+n);
207814 pCsr = (IcuCursor *)sqlite3_malloc64(
209667 pRet = sqlite3_malloc64(nByte);
209714 zRet = (char*)sqlite3_malloc64(nCopy);
211778 zWideFilename = sqlite3_malloc64( nChar*sizeof(zWideFilename[0]) );
212575 p = (sqlite3rbu*)sqlite3_malloc64(nByte);
212732 pRet = sqlite3_malloc64(sizeof(sqlite3rbu));
213568 char *pNew = (char*)sqlite3_malloc64(szRegion);
213915 pNew = (rbu_vfs*)sqlite3_malloc64(nByte);
214152 pTab = (StatTable *)sqlite3_malloc64(sizeof(StatTable));
214262 pCsr = (StatCursor *)sqlite3_malloc64(sizeof(StatCursor));
214410 p->aCell = sqlite3_malloc64((p->nCell+1) * sizeof(StatCell));
214447 pCell->aOvfl = sqlite3_malloc64(sizeof(u32)*nOvfl);
214954 pTab = (DbpageTable *)sqlite3_malloc64(sizeof(DbpageTable));
215043 pCsr = (DbpageCursor *)sqlite3_malloc64(sizeof(DbpageCursor));
215747 void *pRet = sqlite3_malloc64(nByte);
217147 pNew = (sqlite3_session *)sqlite3_malloc64(sizeof(sqlite3_session) + nDb + 1);
218277 u8 *aCopy = sqlite3_malloc64((sqlite3_int64)nData+1);
218942 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
220278 pNew = (SessionChange *)sqlite3_malloc64(sizeof(SessionChange) + nRec);
220312 pNew = (SessionChange*)sqlite3_malloc64(nByte);
220379 pNew = (SessionChange *)sqlite3_malloc64(nByte);
220485 pTab = sqlite3_malloc64(sizeof(SessionTable) + nCol + nNew+1);
224645 p = (Fts5Bm25Data*)sqlite3_malloc64(nByte);
225044 pRet = sqlite3_malloc64(nByte);
225616 char *zOut = sqlite3_malloc64(nIn+1);
226371 static void *fts5ParseAlloc(u64 t){ return sqlite3_malloc64((sqlite3_int64)t);}
226459 char *zExpr = (char*)sqlite3_malloc64(nText*4 + 1);
226632 Fts5PoslistReader *aNew = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
226713 aIter = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
227758 pRet = sqlite3_malloc64(nByte);
227837 pSyn = (Fts5ExprTerm*)sqlite3_malloc64(nByte);
228581 zQuoted = sqlite3_malloc64(nByte);
228830 azConfig = (const char**)sqlite3_malloc64(sizeof(char*) * nConfig);
229028 pRet = sqlite3_malloc64(sizeof(Fts5PoslistPopulator)*pExpr->nPhrase);
229327 pNew->aSlot = (Fts5HashEntry**)sqlite3_malloc64(nByte);
229395 apNew = (Fts5HashEntry**)sqlite3_malloc64(nNew*sizeof(Fts5HashEntry*));
229511 p = (Fts5HashEntry*)sqlite3_malloc64(nByte);
229679 ap = sqlite3_malloc64(sizeof(Fts5HashEntry*) * nMergeSlot);
229734 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
230462 pRet = (Fts5Data*)sqlite3_malloc64(nAlloc);
237314 pCsr = (Fts5Cursor*)sqlite3_malloc64(nByte);
237606 pSorter = (Fts5Sorter*)sqlite3_malloc64(nByte);
239227 pAux = (Fts5Auxiliary*)sqlite3_malloc64(nByte);
239265 pNew = (Fts5TokenizerModule*)sqlite3_malloc64(nByte);
239656 zBind = sqlite3_malloc64(1 + nCol*2);
239829 *pp = p = (Fts5Storage*)sqlite3_malloc64(nByte);
239840 char *zDefn = sqlite3_malloc64(32 + (sqlite3_int64)pConfig->nCol * 10);
240437 aTotalSize = (i64*)sqlite3_malloc64(pConfig->nCol*(sizeof(int)+sizeof(i64)));
240862 pFold = sqlite3_malloc64((sqlite3_int64)nByte*2);
241079 p->aFold = sqlite3_malloc64(p->nFold * sizeof(char));
241201 aFold = sqlite3_malloc64((sqlite3_int64)nFold*2);
244149 pNew = sqlite3_malloc64( sizeof(*pNew) );
244171 pCur = sqlite3_malloc64( sizeof(*pCur) );
244269 StmtRow *pNew = (StmtRow*)sqlite3_malloc64(sizeof(StmtRow) + nSql);