Lines Matching defs:sqlite3_malloc64
3290 ** results into memory obtained from [sqlite3_malloc64()].
3293 ** NULL pointer if [sqlite3_malloc64()] is unable to allocate enough
3339 ** ^The sqlite3_malloc64(N) routine works just like
3375 ** sqlite3_malloc64(), sqlite3_realloc(), or sqlite3_realloc64(), then
3385 ** sqlite3_malloc64(), and sqlite3_realloc64()
3400 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64);
8769 ** and returns a pointer to a memory buffer obtained from [sqlite3_malloc64()]
11008 ** the database into memory obtained from [sqlite3_malloc64()] and returns
11119 ** in the P argument is held in memory obtained from [sqlite3_malloc64()]
30558 SQLITE_API void *sqlite3_malloc64(sqlite3_uint64 n){
32309 sqlite3_str *p = sqlite3_malloc64(sizeof(*p));
32558 RCStr *p = sqlite3_malloc64( N + sizeof(*p) + 1 );
32614 *pp = p = sqlite3_malloc64( sizeof(*p) );
37833 pFile->aJrnl = sqlite3_malloc64( n );
37895 aTxt = sqlite3_malloc64( szTxt+1 );
38071 zOut = sqlite3_malloc64( pFile->nJrnl*2 + 50 );
38216 pFile->aData = sqlite3_malloc64(SQLITE_KVOS_SZ);
39378 pNew = sqlite3_malloc64( sizeof(*pNew) + (n+1) );
39833 pInode = sqlite3_malloc64( sizeof(*pInode) );
42405 char *zTFile = sqlite3_malloc64( pFile->pVfs->mxPathname );
43044 p = sqlite3_malloc64( sizeof(*p) );
43076 pShmNode = sqlite3_malloc64( sizeof(*pShmNode) + nShmFilename );
43298 pMem = sqlite3_malloc64(nMap);
44254 pNew->lockingContext = pCtx = sqlite3_malloc64( sizeof(*pCtx) );
44284 zLockFile = (char *)sqlite3_malloc64(nFilename);
44703 pUnused = sqlite3_malloc64(sizeof(*pUnused));
45601 pUnused = sqlite3_malloc64(sizeof(*pUnused));
45634 pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew));
46096 ** Store the conch filename in memory obtained from sqlite3_malloc64().
46112 *pConchPath = conchPath = (char *)sqlite3_malloc64(len + 8);
46228 pCtx = sqlite3_malloc64( sizeof(*pCtx) );
53650 pOut = sqlite3_malloc64( pStore->sz );
53679 pOut = sqlite3_malloc64( sz );
54152 pTmpSpace = sqlite3_malloc64(BITVEC_SZ);
66376 aFrame = (u8 *)sqlite3_malloc64(szFrame + WALINDEX_PGSZ);
66871 p = (WalIterator *)sqlite3_malloc64(nByte
67765 aFrame = (u8 *)sqlite3_malloc64(szFrame);
101375 pRhs = sqlite3_malloc64( sizeof(*pRhs) );
129851 zOut = z = sqlite3_malloc64( argc*4+1 );
130222 z = sqlite3_malloc64(n+1);
130759 pnsl = (int*)sqlite3_malloc64((pGCC->nAccum+1) * sizeof(int));
137036 #define sqlite3_malloc64 sqlite3_api->malloc64
137539 sqlite3_malloc64,
137768 zAltEntry = sqlite3_malloc64(ncFile+30);
137789 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
137830 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
151602 z = sqlite3_malloc64( n );
151651 res.azResult = sqlite3_malloc64(sizeof(char*)*res.nAlloc );
182785 zFile = sqlite3_malloc64(nByte);
182960 zFile = sqlite3_malloc64(nUri+8);
183576 p = sqlite3_malloc64( sizeof(DbClientData)+n+1 );
184505 pResult = p = sqlite3_malloc64( nByte );
187000 zRet = sqlite3_malloc64(nRet);
187195 aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex);
187288 azCol = (const char **)sqlite3_malloc64(sizeof(char *) * nCol + nStr);
187370 aCol = (const char **)sqlite3_malloc64(nByte);
187373 azNotindexed = (char **)sqlite3_malloc64(nByte);
187568 p = (Fts3Table*)sqlite3_malloc64(nByte);
188790 aOut = sqlite3_malloc64((i64)n1+n2+FTS3_VARINT_MAX-1+FTS3_BUFFER_PADDING);
188862 aOut = sqlite3_malloc64((sqlite3_int64)*pnRight + FTS3_VARINT_MAX);
189042 pTS->aaOutput[0] = sqlite3_malloc64((i64)nDoclist + FTS3_VARINT_MAX + 1);
190955 char *aDoclist = sqlite3_malloc64((i64)nByte+FTS3_BUFFER_PADDING);
191349 aTC = (Fts3TokenAndCost *)sqlite3_malloc64(
191671 aTmp = sqlite3_malloc64(nTmp*2);
191983 pExpr->aMI = (u32 *)sqlite3_malloc64(pTab->nColumn * 3 * sizeof(u32));
192443 p = (Fts3auxTable *)sqlite3_malloc64(nByte);
193028 void *pRet = sqlite3_malloc64(nByte);
193702 apLeaf = (Fts3Expr **)sqlite3_malloc64(sizeof(Fts3Expr *) * nMaxDepth);
194122 azCol = (char **)sqlite3_malloc64(nCol*sizeof(char *));
194237 void *p = sqlite3_malloc64(n);
196134 *pazDequote = azDequote = sqlite3_malloc64(sizeof(char *)*argc + nByte);
196359 pCsr->zInput = sqlite3_malloc64(nByte+1);
197123 p = sqlite3_malloc64(sizeof(*p) + 100);
197696 char *aByte = sqlite3_malloc64((i64)nByte + FTS3_NODE_PADDING);
197813 pReader->zTerm = (char*)sqlite3_malloc64(((i64)nTerm+1)*2);
197821 aCopy = (char*)sqlite3_malloc64(nCopy);
198108 pReader = (Fts3SegReader *)sqlite3_malloc64(sizeof(Fts3SegReader) + nExtra);
198241 pReader = (Fts3SegReader *)sqlite3_malloc64(nByte);
198534 pTree->aData = (char *)sqlite3_malloc64(nReq);
198578 pNew = (SegmentNode *)sqlite3_malloc64(sizeof(SegmentNode) + p->nNodeSize);
198725 pWriter = (SegmentWriter *)sqlite3_malloc64(sizeof(SegmentWriter));
198731 pWriter->aData = (char *)sqlite3_malloc64(p->nNodeSize);
199880 pBlob = sqlite3_malloc64( 10*(sqlite3_int64)p->nColumn );
199930 a = sqlite3_malloc64( (sizeof(u32)+10)*(sqlite3_int64)nStat );
200054 aSz = (u32 *)sqlite3_malloc64(nByte);
200125 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc64(nByte);
201409 pWriter = (IncrmergeWriter *)sqlite3_malloc64(nAlloc);
202053 pRet = (char *)sqlite3_malloc64(p->pList->nData);
202073 pDeferred = sqlite3_malloc64(sizeof(*pDeferred));
202185 aSzDel = sqlite3_malloc64(sizeof(aSzDel[0])*((sqlite3_int64)p->nColumn+1)*2);
202494 aOut = (u32*)sqlite3_malloc64(p->nElem * sizeof(u32));
210993 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode) + pRtree->iNodeSize);
211064 pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode)+pRtree->iNodeSize);
211398 pCsr = (RtreeCursor *)sqlite3_malloc64(sizeof(RtreeCursor));
212137 sqlite3_malloc64( sizeof(*pInfo)+pSrc->iSize );
212214 pCsr->aConstraint = sqlite3_malloc64(sizeof(RtreeConstraint)*argc);
212759 aaSorted = (int **)sqlite3_malloc64(nByte);
212885 aCell = sqlite3_malloc64((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
213949 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName*2+8);
214238 pRet = sqlite3_malloc64(nNode);
214742 GeoCoord *a; /* Array of vertexes. From sqlite3_malloc64() */
214870 pOut = sqlite3_malloc64( GEOPOLY_SZ((sqlite3_int64)s.nVertex) );
214920 p = sqlite3_malloc64( sizeof(*p) + (nVertex-1)*2*sizeof(GeoCoord) );
215204 p = sqlite3_malloc64( sizeof(*p) + (n-1)*2*sizeof(GeoCoord) );
215684 p = sqlite3_malloc64( nByte );
215861 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName*2+8);
216530 pBlob = (RtreeMatchArg *)sqlite3_malloc64(nBlob);
217279 p = (IcuTokenizer *)sqlite3_malloc64(sizeof(IcuTokenizer)+n);
217336 pCsr = (IcuCursor *)sqlite3_malloc64(
219191 pRet = sqlite3_malloc64(nByte);
219238 zRet = (char*)sqlite3_malloc64(nCopy);
221318 zWideFilename = sqlite3_malloc64( nChar*sizeof(zWideFilename[0]) );
222116 p = (sqlite3rbu*)sqlite3_malloc64(nByte);
222273 pRet = sqlite3_malloc64(sizeof(sqlite3rbu));
223112 char *pNew = (char*)sqlite3_malloc64(szRegion);
223483 pNew = (rbu_vfs*)sqlite3_malloc64(nByte);
223721 pTab = (StatTable *)sqlite3_malloc64(sizeof(StatTable));
223832 pCsr = (StatCursor *)sqlite3_malloc64(sizeof(StatCursor));
223980 p->aCell = sqlite3_malloc64((p->nCell+1) * sizeof(StatCell));
224017 pCell->aOvfl = sqlite3_malloc64(sizeof(u32)*nOvfl);
224532 pTab = (DbpageTable *)sqlite3_malloc64(sizeof(DbpageTable));
224621 pCsr = (DbpageCursor *)sqlite3_malloc64(sizeof(DbpageCursor));
225349 void *pRet = sqlite3_malloc64(nByte);
227163 pNew = (sqlite3_session *)sqlite3_malloc64(sizeof(sqlite3_session) + nDb + 1);
228295 u8 *aCopy = sqlite3_malloc64((sqlite3_int64)nData+1);
228964 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
230342 pNew = (SessionChange *)sqlite3_malloc64(sizeof(SessionChange) + nRec);
230376 pNew = (SessionChange*)sqlite3_malloc64(nByte);
230443 pNew = (SessionChange *)sqlite3_malloc64(nByte);
230644 pTab = sqlite3_malloc64(sizeof(SessionTable) + nCol + nTab+1);
235082 p = (Fts5Bm25Data*)sqlite3_malloc64(nByte);
235484 pRet = sqlite3_malloc64(nByte);
236078 char *zOut = sqlite3_malloc64(nIn+1);
236923 static void *fts5ParseAlloc(u64 t){ return sqlite3_malloc64((sqlite3_int64)t);}
237030 char *zExpr = (char*)sqlite3_malloc64(nText*4 + 1);
237204 Fts5PoslistReader *aNew = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
237285 aIter = (Fts5PoslistReader*)sqlite3_malloc64(nByte);
238330 pRet = sqlite3_malloc64(nByte);
238410 pSyn = (Fts5ExprTerm*)sqlite3_malloc64(nByte);
239183 zQuoted = sqlite3_malloc64(nByte);
239437 azConfig = (const char**)sqlite3_malloc64(sizeof(char*) * nConfig);
239635 pRet = sqlite3_malloc64(sizeof(Fts5PoslistPopulator)*pExpr->nPhrase);
240038 pNew->aSlot = (Fts5HashEntry**)sqlite3_malloc64(nByte);
240106 apNew = (Fts5HashEntry**)sqlite3_malloc64(nNew*sizeof(Fts5HashEntry*));
240221 p = (Fts5HashEntry*)sqlite3_malloc64(nByte);
240392 ap = sqlite3_malloc64(sizeof(Fts5HashEntry*) * nMergeSlot);
240445 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
241359 pRet = (Fts5Data*)sqlite3_malloc64(nAlloc);
250309 pCsr = (Fts5Cursor*)sqlite3_malloc64(nByte);
250611 pSorter = (Fts5Sorter*)sqlite3_malloc64(nByte);
252358 pAux = (Fts5Auxiliary*)sqlite3_malloc64(nByte);
252396 pNew = (Fts5TokenizerModule*)sqlite3_malloc64(nByte);
252830 zBind = sqlite3_malloc64(1 + nCol*2);
253016 *pp = p = (Fts5Storage*)sqlite3_malloc64(nByte);
253027 char *zDefn = sqlite3_malloc64(32 + (sqlite3_int64)pConfig->nCol * 10);
253671 aTotalSize = (i64*)sqlite3_malloc64(pConfig->nCol*(sizeof(int)+sizeof(i64)));
254099 pFold = sqlite3_malloc64((sqlite3_int64)nByte*2);
254322 p->aFold = sqlite3_malloc64(p->nFold * sizeof(char));
254444 aFold = sqlite3_malloc64((sqlite3_int64)nFold*2);
257435 pNew = sqlite3_malloc64( sizeof(*pNew) );
257457 pCur = sqlite3_malloc64( sizeof(*pCur) );
257559 StmtRow *pNew = (StmtRow*)sqlite3_malloc64(sizeof(StmtRow) + nSql);