Lines Matching refs:sqlite3_malloc64
3530 ** results into memory obtained from [sqlite3_malloc64()].
3533 ** NULL pointer if [sqlite3_malloc64()] is unable to allocate enough
3579 ** ^The sqlite3_malloc64(N) routine works just like
3615 ** sqlite3_malloc64(), sqlite3_realloc(), or sqlite3_realloc64(), then
3625 ** sqlite3_malloc64(), and sqlite3_realloc64()
3640 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64);
9147 ** and returns a pointer to a memory buffer obtained from [sqlite3_malloc64()]
11465 ** the database into memory obtained from [sqlite3_malloc64()] and returns
11577 ** in the P argument is held in memory obtained from [sqlite3_malloc64()]
31797 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64 n){
33709 sqlite3_str *p = sqlite3_malloc64(sizeof(*p));
33967 RCStr *p = sqlite3_malloc64( N + sizeof(*p) + 1 );
34023 *pp = p = sqlite3_malloc64( sizeof(*p) );
39604 pFile->aJrnl = sqlite3_malloc64( n );
39672 aTxt = sqlite3_malloc64( szTxt+1 );
39853 zOut = sqlite3_malloc64( pFile->nJrnl*2 + 50 );
40001 pFile->aData = sqlite3_malloc64(SQLITE_KVOS_SZ);
41299 pNew = sqlite3_malloc64( sizeof(*pNew) + (n+1) );
41758 pInode = sqlite3_malloc64( sizeof(*pInode) );
44360 char *zTFile = sqlite3_malloc64( pFile->pVfs->mxPathname );
45125 p = sqlite3_malloc64( sizeof(*p) );
45157 pShmNode = sqlite3_malloc64( sizeof(*pShmNode) + nShmFilename );
45379 pMem = sqlite3_malloc64(nMap);
46334 pNew->lockingContext = pCtx = sqlite3_malloc64( sizeof(*pCtx) );
46364 zLockFile = (char *)sqlite3_malloc64(nFilename);
46799 pUnused = sqlite3_malloc64(sizeof(*pUnused));
47700 pUnused = sqlite3_malloc64(sizeof(*pUnused));
47733 pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew));
48195 ** Store the conch filename in memory obtained from sqlite3_malloc64().
48211 *pConchPath = conchPath = (char *)sqlite3_malloc64(len + 8);
48327 pCtx = sqlite3_malloc64( sizeof(*pCtx) );
56043 pOut = sqlite3_malloc64( pStore->sz );
56072 pOut = sqlite3_malloc64( sz );
56607 pTmpSpace = sqlite3_malloc64(BITVEC_SZ);
68894 aFrame = (u8 *)sqlite3_malloc64(szFrame + WALINDEX_PGSZ);
69388 p = (WalIterator *)sqlite3_malloc64(nByte
70303 aFrame = (u8 *)sqlite3_malloc64(szFrame);
104907 pRhs = sqlite3_malloc64( sizeof(*pRhs) );
134900 zOut = sqlite3_malloc64(nIn+1);
135009 zOut = z = sqlite3_malloc64( argc*4+1 );
135381 z = sqlite3_malloc64(n+1);
135926 pnsl = (int*)sqlite3_malloc64((pGCC->nAccum+1) * sizeof(int));
142833 #define sqlite3_malloc64 sqlite3_api->malloc64
143346 sqlite3_malloc64,
143597 zAltEntry = sqlite3_malloc64(ncFile+30);
143620 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
143661 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
157817 z = sqlite3_malloc64( n );
157866 res.azResult = sqlite3_malloc64(sizeof(char*)*res.nAlloc );
190203 zFile = sqlite3_malloc64(nByte);
190378 zFile = sqlite3_malloc64(nUri+8);
191005 p = sqlite3_malloc64( SZ_DBCLIENTDATA(n+1) );
191937 pResult = p = sqlite3_malloc64( nByte );
194470 zRet = sqlite3_malloc64(nRet);
194665 aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex);
194758 azCol = (const char **)sqlite3_malloc64(sizeof(char *) * nCol + nStr);
194840 aCol = (const char **)sqlite3_malloc64(nByte);
194843 azNotindexed = (char **)sqlite3_malloc64(nByte);
195038 p = (Fts3Table*)sqlite3_malloc64(nByte);
196263 aOut = sqlite3_malloc64((i64)n1+n2+FTS3_VARINT_MAX-1+FTS3_BUFFER_PADDING);
196335 aOut = sqlite3_malloc64((sqlite3_int64)*pnRight + FTS3_VARINT_MAX);
196515 pTS->aaOutput[0] = sqlite3_malloc64((i64)nDoclist + FTS3_VARINT_MAX + 1);
198427 char *aDoclist = sqlite3_malloc64((i64)nByte+FTS3_BUFFER_PADDING);
198821 aTC = (Fts3TokenAndCost *)sqlite3_malloc64(
199143 aTmp = sqlite3_malloc64(nTmp*2 + FTS3_VARINT_MAX);
199473 pExpr->aMI = (u32 *)sqlite3_malloc64(pTab->nColumn * 3 * sizeof(u32));
199933 p = (Fts3auxTable *)sqlite3_malloc64(nByte);
200518 void *pRet = sqlite3_malloc64(nByte);
201216 apLeaf = (Fts3Expr **)sqlite3_malloc64(sizeof(Fts3Expr *) * nMaxDepth);
201636 azCol = (char **)sqlite3_malloc64(nCol*sizeof(char *));
201750 void *p = sqlite3_malloc64(n);
203643 *pazDequote = azDequote = sqlite3_malloc64(sizeof(char *)*argc + nByte);
203868 pCsr->zInput = sqlite3_malloc64(nByte+1);
204650 p = sqlite3_malloc64(sizeof(*p) + 100);
205227 char *aByte = sqlite3_malloc64((i64)nByte + FTS3_NODE_PADDING);
205344 pReader->zTerm = (char*)sqlite3_malloc64(((i64)nTerm+1)*2);
205352 aCopy = (char*)sqlite3_malloc64(nCopy);
205639 pReader = (Fts3SegReader *)sqlite3_malloc64(sizeof(Fts3SegReader) + nExtra);
205772 pReader = (Fts3SegReader *)sqlite3_malloc64(nByte);
206065 pTree->aData = (char *)sqlite3_malloc64(nReq);
206109 pNew = (SegmentNode *)sqlite3_malloc64(sizeof(SegmentNode) + p->nNodeSize);
206256 pWriter = (SegmentWriter *)sqlite3_malloc64(sizeof(SegmentWriter));
206262 pWriter->aData = (char *)sqlite3_malloc64(p->nNodeSize);
207411 pBlob = sqlite3_malloc64( 10*(sqlite3_int64)p->nColumn );
207461 a = sqlite3_malloc64( (sizeof(u32)+10)*(sqlite3_int64)nStat );
207585 aSz = (u32 *)sqlite3_malloc64(nByte);
207656 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc64(nByte);
208940 pWriter = (IncrmergeWriter *)sqlite3_malloc64(nAlloc);
209584 pRet = (char *)sqlite3_malloc64(p->pList->nData);
209604 pDeferred = sqlite3_malloc64(sizeof(*pDeferred));
209716 aSzDel = sqlite3_malloc64(sizeof(aSzDel[0])*((sqlite3_int64)p->nColumn+1)*2);
210025 aOut = (u32*)sqlite3_malloc64(p->nElem * sizeof(u32));
218783 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode) + pRtree->iNodeSize);
218854 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode)+pRtree->iNodeSize);
219198 pCsr = (RtreeCursor *)sqlite3_malloc64(sizeof(RtreeCursor));
219943 sqlite3_malloc64( sizeof(*pInfo)+pSrc->iSize );
220020 pCsr->aConstraint = sqlite3_malloc64(sizeof(RtreeConstraint)*argc);
220565 aaSorted = (int **)sqlite3_malloc64(nByte);
220691 aCell = sqlite3_malloc64((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
221746 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName*2+8);
222035 pRet = sqlite3_malloc64(nNode);
222539 GeoCoord *a; /* Array of vertexes. From sqlite3_malloc64() */
222667 pOut = sqlite3_malloc64( GEOPOLY_SZ((sqlite3_int64)s.nVertex) );
222717 p = sqlite3_malloc64( sizeof(*p) + (nVertex-1)*2*sizeof(GeoCoord) );
223001 p = sqlite3_malloc64( sizeof(*p) + (n-1)*2*sizeof(GeoCoord) );
223481 p = sqlite3_malloc64( nByte );
223658 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName*2+8);
224326 pBlob = (RtreeMatchArg *)sqlite3_malloc64(nBlob);
225075 p = (IcuTokenizer *)sqlite3_malloc64(sizeof(IcuTokenizer)+n);
225132 pCsr = (IcuCursor *)sqlite3_malloc64(
227009 pRet = sqlite3_malloc64(nByte);
227056 zRet = (char*)sqlite3_malloc64(nCopy);
229138 zWideFilename = sqlite3_malloc64( nChar*sizeof(zWideFilename[0]) );
229937 p = (sqlite3rbu*)sqlite3_malloc64(nByte);
230094 pRet = sqlite3_malloc64(sizeof(sqlite3rbu));
230934 char *pNew = (char*)sqlite3_malloc64(szRegion);
231308 pNew = (rbu_vfs*)sqlite3_malloc64(nByte);
231546 pTab = (StatTable *)sqlite3_malloc64(sizeof(StatTable));
231658 pCsr = (StatCursor *)sqlite3_malloc64(sizeof(StatCursor));
231806 p->aCell = sqlite3_malloc64((p->nCell+1) * sizeof(StatCell));
231843 pCell->aOvfl = sqlite3_malloc64(sizeof(u32)*nOvfl);
232365 pTab = (DbpageTable *)sqlite3_malloc64(sizeof(DbpageTable));
232454 pCsr = (DbpageCursor *)sqlite3_malloc64(sizeof(DbpageCursor));
233234 pNew = sqlite3_malloc64(sizeof(*pNew));
233262 pNew->aData = sqlite3_malloc64( sz );
233834 void *pRet = sqlite3_malloc64(nByte);
235702 pNew = (sqlite3_session *)sqlite3_malloc64(sizeof(sqlite3_session) + nDb + 1);
236860 u8 *aCopy = sqlite3_malloc64((sqlite3_int64)nData+1);
237544 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
239085 pNew = (SessionChange *)sqlite3_malloc64(sizeof(SessionChange) + nRec);
239119 pNew = (SessionChange*)sqlite3_malloc64(nByte);
239186 pNew = (SessionChange *)sqlite3_malloc64(nByte);
239396 pTab = sqlite3_malloc64(sizeof(SessionTable) + nCol + nTab+1);
244298 aSeen = sqlite3_malloc64(nPhrase);
244479 p = (Fts5Bm25Data*)sqlite3_malloc64(nByte);
244929 pRet = sqlite3_malloc64(nByte);
244953 zRet = (char*)sqlite3_malloc64((i64)nIn+1);
245530 char *zOut = sqlite3_malloc64(nIn+1);
245653 *ppOut = pRet = (Fts5Config*)sqlite3_malloc64(sizeof(Fts5Config));
246468 static void *fts5ParseAlloc(u64 t){ return sqlite3_malloc64((sqlite3_int64)t);}
246517 *ppNew = pNew = sqlite3_malloc64(sizeof(Fts5Expr));
246568 char *zExpr = (char*)sqlite3_malloc64(nText*4 + 1);
246742 Fts5PoslistReader *aNew = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
246823 aIter = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
247874 pRet = sqlite3_malloc64(nByte);
247954 pSyn = (Fts5ExprTerm*)sqlite3_malloc64(nByte);
248737 zQuoted = sqlite3_malloc64(nByte);
248991 azConfig = (const char**)sqlite3_malloc64(sizeof(char*) * nConfig);
249189 pRet = sqlite3_malloc64(sizeof(Fts5PoslistPopulator)*pExpr->nPhrase);
249581 *ppNew = pNew = (Fts5Hash*)sqlite3_malloc64(sizeof(Fts5Hash));
249592 pNew->aSlot = (Fts5HashEntry**)sqlite3_malloc64(nByte);
249660 apNew = (Fts5HashEntry**)sqlite3_malloc64(nNew*sizeof(Fts5HashEntry*));
249775 p = (Fts5HashEntry*)sqlite3_malloc64(nByte);
249946 ap = sqlite3_malloc64(sizeof(Fts5HashEntry*) * nMergeSlot);
249999 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
250961 pRet = (Fts5Data*)sqlite3_malloc64(nAlloc);
260269 idxStr = (char*)sqlite3_malloc64((i64)pInfo->nConstraint * 8 + 1);
260418 pCsr = (Fts5Cursor*)sqlite3_malloc64(nByte);
260723 pSorter = (Fts5Sorter*)sqlite3_malloc64(nByte);
262852 pAux = (Fts5Auxiliary*)sqlite3_malloc64(nByte);
263296 pBlob = (u8*)sqlite3_malloc64(nBlob);
263415 pGlobal = (Fts5Global*)sqlite3_malloc64(sizeof(Fts5Global));
263881 *pp = p = (Fts5Storage*)sqlite3_malloc64(nByte);
263894 char *zDefn = sqlite3_malloc64(32 + (sqlite3_int64)pConfig->nCol * 20);
264752 aTotalSize = (i64*)sqlite3_malloc64(pConfig->nCol*(sizeof(int)+sizeof(i64)));
265131 p = sqlite3_malloc64(sizeof(AsciiTokenizer));
265211 pFold = sqlite3_malloc64((sqlite3_int64)nByte*2);
265426 p = (Unicode61Tokenizer*)sqlite3_malloc64(sizeof(Unicode61Tokenizer));
265434 p->aFold = sqlite3_malloc64(p->nFold * sizeof(char));
265554 aFold = sqlite3_malloc64((sqlite3_int64)nFold*2);
265649 pRet = (PorterTokenizer*)sqlite3_malloc64(sizeof(PorterTokenizer));
266356 pNew = (TrigramTokenizer*)sqlite3_malloc64(sizeof(*pNew));
268342 pCsr->zLeTerm = sqlite3_malloc64((i64)pCsr->nLeTerm+1);
268607 pNew = sqlite3_malloc64( sizeof(*pNew) );
268629 pCur = sqlite3_malloc64( sizeof(*pCur) );
268731 StmtRow *pNew = (StmtRow*)sqlite3_malloc64(sizeof(StmtRow) + nSql);