Lines Matching refs:sqlite3_malloc64

3207 ** results into memory obtained from [sqlite3_malloc64()].
3210 ** NULL pointer if [sqlite3_malloc64()] is unable to allocate enough
3256 ** ^The sqlite3_malloc64(N) routine works just like
3292 ** sqlite3_malloc64(), sqlite3_realloc(), or sqlite3_realloc64(), then
3302 ** sqlite3_malloc64(), and sqlite3_realloc64()
3317 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64);
8537 ** and returns a pointer to a memory buffer obtained from [sqlite3_malloc64()]
10726 ** the database into memory obtained from [sqlite3_malloc64()] and returns
10820 ** in the P argument is held in memory obtained from [sqlite3_malloc64()]
29365 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64 n){
31135 sqlite3_str *p = sqlite3_malloc64(sizeof(*p));
31361 *pp = p = sqlite3_malloc64( sizeof(*p) );
36251 pFile->aJrnl = sqlite3_malloc64( n );
36312 aTxt = sqlite3_malloc64( szTxt+1 );
36487 zOut = sqlite3_malloc64( pFile->nJrnl*2 + 50 );
37791 pNew = sqlite3_malloc64( sizeof(*pNew) + (n+1) );
38251 pInode = sqlite3_malloc64( sizeof(*pInode) );
40901 char *zTFile = sqlite3_malloc64( pFile->pVfs->mxPathname );
41488 p = sqlite3_malloc64( sizeof(*p) );
41520 pShmNode = sqlite3_malloc64( sizeof(*pShmNode) + nShmFilename );
41730 pMem = sqlite3_malloc64(nMap);
42625 pNew->lockingContext = pCtx = sqlite3_malloc64( sizeof(*pCtx) );
42655 zLockFile = (char *)sqlite3_malloc64(nFilename);
43074 pUnused = sqlite3_malloc64(sizeof(*pUnused));
44013 pUnused = sqlite3_malloc64(sizeof(*pUnused));
44047 pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew));
44518 ** Store the conch filename in memory obtained from sqlite3_malloc64().
44534 *pConchPath = conchPath = (char *)sqlite3_malloc64(len + 8);
44650 pCtx = sqlite3_malloc64( sizeof(*pCtx) );
52056 pOut = sqlite3_malloc64( pStore->sz );
52077 pOut = sqlite3_malloc64( sz );
52543 pTmpSpace = sqlite3_malloc64(BITVEC_SZ);
64672 aFrame = (u8 *)sqlite3_malloc64(szFrame + WALINDEX_PGSZ);
65161 p = (WalIterator *)sqlite3_malloc64(nByte);
65171 aTmp = (ht_slot *)sqlite3_malloc64(
65974 aFrame = (u8 *)sqlite3_malloc64(szFrame);
98405 pRhs = sqlite3_malloc64( sizeof(*pRhs) );
125883 zOut = z = sqlite3_malloc64( argc*4+1 );
126527 pnsl = (int*)sqlite3_malloc64((pGCC->nAccum+1) * sizeof(int));
132525 #define sqlite3_malloc64 sqlite3_api->malloc64
133030 sqlite3_malloc64,
133248 zAltEntry = sqlite3_malloc64(ncFile+30);
133269 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
133310 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
146252 z = sqlite3_malloc64( n );
146301 res.azResult = sqlite3_malloc64(sizeof(char*)*res.nAlloc );
176369 zFile = sqlite3_malloc64(nByte);
176544 zFile = sqlite3_malloc64(nUri+8);
178004 pResult = p = sqlite3_malloc64( nByte );
180490 zRet = sqlite3_malloc64(nRet);
180685 aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex);
180778 azCol = (const char **)sqlite3_malloc64(sizeof(char *) * nCol + nStr);
180860 aCol = (const char **)sqlite3_malloc64(nByte);
180863 azNotindexed = (char **)sqlite3_malloc64(nByte);
181058 p = (Fts3Table*)sqlite3_malloc64(nByte);
182280 aOut = sqlite3_malloc64((i64)n1+n2+FTS3_VARINT_MAX-1+FTS3_BUFFER_PADDING);
182352 aOut = sqlite3_malloc64((sqlite3_int64)*pnRight + FTS3_VARINT_MAX);
182532 pTS->aaOutput[0] = sqlite3_malloc64((i64)nDoclist + FTS3_VARINT_MAX + 1);
184389 char *aDoclist = sqlite3_malloc64((i64)nByte+FTS3_BUFFER_PADDING);
184783 aTC = (Fts3TokenAndCost *)sqlite3_malloc64(
185106 aTmp = sqlite3_malloc64(nTmp*2);
185449 pE->aMI = (u32 *)sqlite3_malloc64(pTab->nColumn * 3 * sizeof(u32));
185861 p = (Fts3auxTable *)sqlite3_malloc64(nByte);
186445 void *pRet = sqlite3_malloc64(nByte);
187119 apLeaf = (Fts3Expr **)sqlite3_malloc64(sizeof(Fts3Expr *) * nMaxDepth);
187539 azCol = (char **)sqlite3_malloc64(nCol*sizeof(char *));
187654 void *p = sqlite3_malloc64(n);
189551 *pazDequote = azDequote = sqlite3_malloc64(sizeof(char *)*argc + nByte);
189776 pCsr->zInput = sqlite3_malloc64(nByte+1);
190539 p = sqlite3_malloc64(sizeof(*p) + 100);
191112 char *aByte = sqlite3_malloc64((i64)nByte + FTS3_NODE_PADDING);
191229 pReader->zTerm = (char*)sqlite3_malloc64(((i64)nTerm+1)*2);
191237 aCopy = (char*)sqlite3_malloc64(nCopy);
191524 pReader = (Fts3SegReader *)sqlite3_malloc64(sizeof(Fts3SegReader) + nExtra);
191657 pReader = (Fts3SegReader *)sqlite3_malloc64(nByte);
191950 pTree->aData = (char *)sqlite3_malloc64(nReq);
191994 pNew = (SegmentNode *)sqlite3_malloc64(sizeof(SegmentNode) + p->nNodeSize);
192141 pWriter = (SegmentWriter *)sqlite3_malloc64(sizeof(SegmentWriter));
192147 pWriter->aData = (char *)sqlite3_malloc64(p->nNodeSize);
193291 pBlob = sqlite3_malloc64( 10*(sqlite3_int64)p->nColumn );
193341 a = sqlite3_malloc64( (sizeof(u32)+10)*(sqlite3_int64)nStat );
193465 aSz = (u32 *)sqlite3_malloc64(nByte);
193536 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc64(nByte);
194813 pWriter = (IncrmergeWriter *)sqlite3_malloc64(nAlloc);
195449 pRet = (char *)sqlite3_malloc64(p->pList->nData);
195469 pDeferred = sqlite3_malloc64(sizeof(*pDeferred));
195581 aSzDel = sqlite3_malloc64(sizeof(aSzDel[0])*((sqlite3_int64)p->nColumn+1)*2);
195890 aOut = (u32*)sqlite3_malloc64(p->nElem * sizeof(u32));
198440 zNew = sqlite3_malloc64(nTotal);
199233 aUp = pParse->aUp = sqlite3_malloc64( sizeof(u32)*pParse->nNode );
199295 p = sqlite3_malloc64( sizeof(*p) + nJson + 1 );
200765 p->zJson = sqlite3_malloc64( n+1 );
200787 p->zRoot = sqlite3_malloc64( n+1 );
201615 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode) + pRtree->iNodeSize);
201691 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode)+pRtree->iNodeSize);
202023 pCsr = (RtreeCursor *)sqlite3_malloc64(sizeof(RtreeCursor));
202755 sqlite3_malloc64( sizeof(*pInfo)+pSrc->iSize );
202829 pCsr->aConstraint = sqlite3_malloc64(sizeof(RtreeConstraint)*argc);
203422 aaSorted = (int **)sqlite3_malloc64(nByte);
203548 aCell = sqlite3_malloc64((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
203841 aCell = (RtreeCell *)sqlite3_malloc64(n * (
204710 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName+2);
204996 pRet = sqlite3_malloc64(nNode);
205491 GeoCoord *a; /* Array of vertexes. From sqlite3_malloc64() */
205619 pOut = sqlite3_malloc64( GEOPOLY_SZ((sqlite3_int64)s.nVertex) );
205669 p = sqlite3_malloc64( sizeof(*p) + (nVertex-1)*2*sizeof(GeoCoord) );
205947 p = sqlite3_malloc64( sizeof(*p) + (n-1)*2*sizeof(GeoCoord) );
206422 p = sqlite3_malloc64( nByte );
206592 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName+2);
207254 pBlob = (RtreeMatchArg *)sqlite3_malloc64(nBlob);
207970 p = (IcuTokenizer *)sqlite3_malloc64(sizeof(IcuTokenizer)+n);
208027 pCsr = (IcuCursor *)sqlite3_malloc64(
209880 pRet = sqlite3_malloc64(nByte);
209927 zRet = (char*)sqlite3_malloc64(nCopy);
211991 zWideFilename = sqlite3_malloc64( nChar*sizeof(zWideFilename[0]) );
212788 p = (sqlite3rbu*)sqlite3_malloc64(nByte);
212945 pRet = sqlite3_malloc64(sizeof(sqlite3rbu));
213781 char *pNew = (char*)sqlite3_malloc64(szRegion);
214128 pNew = (rbu_vfs*)sqlite3_malloc64(nByte);
214365 pTab = (StatTable *)sqlite3_malloc64(sizeof(StatTable));
214475 pCsr = (StatCursor *)sqlite3_malloc64(sizeof(StatCursor));
214623 p->aCell = sqlite3_malloc64((p->nCell+1) * sizeof(StatCell));
214660 pCell->aOvfl = sqlite3_malloc64(sizeof(u32)*nOvfl);
215167 pTab = (DbpageTable *)sqlite3_malloc64(sizeof(DbpageTable));
215256 pCsr = (DbpageCursor *)sqlite3_malloc64(sizeof(DbpageCursor));
215960 void *pRet = sqlite3_malloc64(nByte);
217360 pNew = (sqlite3_session *)sqlite3_malloc64(sizeof(sqlite3_session) + nDb + 1);
218490 u8 *aCopy = sqlite3_malloc64((sqlite3_int64)nData+1);
219159 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
220495 pNew = (SessionChange *)sqlite3_malloc64(sizeof(SessionChange) + nRec);
220529 pNew = (SessionChange*)sqlite3_malloc64(nByte);
220596 pNew = (SessionChange *)sqlite3_malloc64(nByte);
220702 pTab = sqlite3_malloc64(sizeof(SessionTable) + nCol + nNew+1);
224862 p = (Fts5Bm25Data*)sqlite3_malloc64(nByte);
225261 pRet = sqlite3_malloc64(nByte);
225833 char *zOut = sqlite3_malloc64(nIn+1);
226588 static void *fts5ParseAlloc(u64 t){ return sqlite3_malloc64((sqlite3_int64)t);}
226676 char *zExpr = (char*)sqlite3_malloc64(nText*4 + 1);
226849 Fts5PoslistReader *aNew = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
226930 aIter = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
227975 pRet = sqlite3_malloc64(nByte);
228054 pSyn = (Fts5ExprTerm*)sqlite3_malloc64(nByte);
228798 zQuoted = sqlite3_malloc64(nByte);
229047 azConfig = (const char**)sqlite3_malloc64(sizeof(char*) * nConfig);
229245 pRet = sqlite3_malloc64(sizeof(Fts5PoslistPopulator)*pExpr->nPhrase);
229544 pNew->aSlot = (Fts5HashEntry**)sqlite3_malloc64(nByte);
229612 apNew = (Fts5HashEntry**)sqlite3_malloc64(nNew*sizeof(Fts5HashEntry*));
229728 p = (Fts5HashEntry*)sqlite3_malloc64(nByte);
229896 ap = sqlite3_malloc64(sizeof(Fts5HashEntry*) * nMergeSlot);
229951 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
230679 pRet = (Fts5Data*)sqlite3_malloc64(nAlloc);
237531 pCsr = (Fts5Cursor*)sqlite3_malloc64(nByte);
237823 pSorter = (Fts5Sorter*)sqlite3_malloc64(nByte);
239444 pAux = (Fts5Auxiliary*)sqlite3_malloc64(nByte);
239482 pNew = (Fts5TokenizerModule*)sqlite3_malloc64(nByte);
239873 zBind = sqlite3_malloc64(1 + nCol*2);
240046 *pp = p = (Fts5Storage*)sqlite3_malloc64(nByte);
240057 char *zDefn = sqlite3_malloc64(32 + (sqlite3_int64)pConfig->nCol * 10);
240654 aTotalSize = (i64*)sqlite3_malloc64(pConfig->nCol*(sizeof(int)+sizeof(i64)));
241079 pFold = sqlite3_malloc64((sqlite3_int64)nByte*2);
241296 p->aFold = sqlite3_malloc64(p->nFold * sizeof(char));
241418 aFold = sqlite3_malloc64((sqlite3_int64)nFold*2);
244366 pNew = sqlite3_malloc64( sizeof(*pNew) );
244388 pCur = sqlite3_malloc64( sizeof(*pCur) );
244486 StmtRow *pNew = (StmtRow*)sqlite3_malloc64(sizeof(StmtRow) + nSql);