Home | History | Annotate | Download | only in amalgamation

Lines Matching defs:sqlite3_malloc

865 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1733 ** Every memory allocation request coming in through [sqlite3_malloc()]
1871 ** [sqlite3_malloc()] will be used to obtain the memory needed.</dd>
1889 ** SQLite goes to [sqlite3_malloc()] for the additional storage space.
2015 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
2412 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
2441 ** results into memory obtained from [sqlite3_malloc()].
2444 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough
2541 ** ^The sqlite3_malloc() routine returns a pointer to a block
2543 ** ^If sqlite3_malloc() is unable to obtain sufficient free
2545 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
2549 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
2557 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
2564 ** sqlite3_malloc(N) where N is the second parameter to sqlite3_realloc().
2576 ** ^The memory returned by sqlite3_malloc() and sqlite3_realloc()
2596 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
2603 SQLITE_API void *sqlite3_malloc(int);
2611 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
2620 ** added by SQLite in its implementation of [sqlite3_malloc()],
2622 ** routines that [sqlite3_malloc()] may call.
3531 ** ^If sqlite3_malloc() fails during the processing of either routine
4407 ** from [sqlite3_malloc()] before it returns.
4663 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
4666 ** [sqlite3_malloc] and the pragma may attempt to free that memory
4669 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5019 ** obtained from [sqlite3_malloc()]. The calling function
5231 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
5793 ** ^xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
5863 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
6004 ** using [sqlite3_malloc()], either directly or indirectly. The
6005 ** figure includes calls made to [sqlite3_malloc()] by the application
6014 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
6032 ** buffer and where forced to overflow to [sqlite3_malloc
6055 ** buffer and where forced to overflow to [sqlite3_malloc()]. The values
8912 ** sqlite3_malloc() to obtain space for the file-handle structure.
9097 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
10744 u8 useMalloc; /* 0: none, 1: sqlite3DbMalloc, 2: sqlite3_malloc */
12371 char *zMalloc; /* Dynamic buffer allocated by sqlite3_malloc() */
14181 void *p = sqlite3_malloc(10);
15633 return sqlite3_malloc(nBytes);
17998 ** Allocate memory. This routine is like sqlite3_malloc() except that it
18010 ** this amount. The only way to reach the limit is with sqlite3_malloc() */
18028 SQLITE_API void *sqlite3_malloc(int n){
18148 ** sqlite3Malloc() or sqlite3_malloc().
18458 ** returning control to the user) that has called sqlite3_malloc or
19294 p->zText = sqlite3_malloc(p->nChar+1);
19386 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
19404 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
19931 ** from sqlite3_malloc().
20094 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
21470 ** The hash table might fail to resize if sqlite3_malloc() fails or
21831 ** the SQLite-wrappers sqlite3_malloc()/sqlite3_free(). Those wrappers
22911 pLink = sqlite3_malloc( sizeof(*pLink) );
22925 pNode = sqlite3_malloc( sizeof(*pNode) + cbShmName );
24910 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
25307 pInode = sqlite3_malloc( sizeof(*pInode) );
27903 p = sqlite3_malloc( sizeof(*p) );
27932 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
28107 pMem = sqlite3_malloc(szRegion);
28720 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
28749 zLockFile = (char *)sqlite3_malloc(nFilename);
29034 unusedFd = sqlite3_malloc(sizeof(*unusedFd));
29881 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
29909 pUnused = sqlite3_malloc(sizeof(*pUnused));
29942 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
30399 ** Store the conch filename in memory obtained from sqlite3_malloc().
30415 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
30530 pCtx = sqlite3_malloc( sizeof(*pCtx) );
30938 ** the SQLite-wrappers sqlite3_malloc()/sqlite3_free(). Those wrappers
32568 p = sqlite3_malloc( sizeof(*p) );
32572 pNew = sqlite3_malloc( sizeof(*pShmNode) + nName + 15 );
34258 pV = sqlite3_malloc( (sz+7)/8 + 1 );
34259 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
35299 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
35488 pCache = (PCache1 *)sqlite3_malloc(sz);
38816 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
44410 aFrame = (u8 *)sqlite3_malloc(szFrame);
55430 p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup));
57810 ** the string is made into memory obtained from sqlite3_malloc().
57816 ** sqlite3_malloc, to be freed when the Vdbe is finalized.
57818 ** stored in memory that the caller has obtained from sqlite3_malloc. The
59924 ** not big enough, space is obtained from sqlite3_malloc().
62408 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
62436 ** from sqlite3_malloc() and p->zErrMsg is made to point to that memory.
69276 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
81995 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
86786 #define sqlite3_malloc sqlite3_api->malloc
87088 sqlite3_malloc,
87308 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
87321 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
94480 z = sqlite3_malloc( n );
94526 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
106728 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
107690 ** space for the lookaside memory is obtained from sqlite3_malloc().
110721 zNew = sqlite3_malloc(n+1);
110925 sqlite3_malloc(sizeof(RecoverInteriorCursor));
111169 pOverflow = sqlite3_malloc(sizeof(RecoverOverflow));
111225 * sqlite3_malloc() is returned with the data. *pbFree is set true if
111278 pBase = sqlite3_malloc(nRequestBytes);
111498 pCursor = sqlite3_malloc(sizeof(RecoverLeafCursor));
111882 pCursor = sqlite3_malloc(sizeof(RecoverCursor));
112344 pRecover = sqlite3_malloc(sizeof(Recover));
112368 pRecover->pTypes = sqlite3_malloc(pRecover->nCols);
113766 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
113774 zRet = sqlite3_malloc(nRet);
113804 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
113843 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
113917 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) );
114000 p = (Fts3Table*)sqlite3_malloc(nByte);
114090 char **pzErr /* OUT: sqlite3_malloc'd error message */
114100 char **pzErr /* OUT: sqlite3_malloc'd error message */
114175 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
114966 aTmp = sqlite3_malloc(2*(n1+n2+1));
115040 char *aNew = sqlite3_malloc(nNew);
115086 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
115110 aNew = sqlite3_malloc(nNew);
115150 *ppOut = sqlite3_malloc(nSource);
115157 *ppOut = sqlite3_malloc(*pnOut);
115198 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte);
115271 pSegcsr = sqlite3_malloc(sizeof(Fts3SegReaderCursor));
115627 aOut = sqlite3_malloc(nLeft+nRight+1);
115877 aExpr = sqlite3_malloc(sizeof(ExprAndCost) * nExpr);
115975 char *aBuffer = sqlite3_malloc(nRight+nLeft+1);
116690 pHash = sqlite3_malloc(sizeof(Fts3Hash));
116828 char **pzErr /* OUT: sqlite3_malloc'd error message */
116857 p = (Fts3auxTable *)sqlite3_malloc(nByte);
116961 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
117346 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
117351 void *pRet = sqlite3_malloc(nByte);
118025 ** sqlite3_malloc(). It is the responsibility of the caller to use
118131 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
118209 void *p = sqlite3_malloc(n);
118619 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
118649 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
119752 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
119807 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
120344 p = sqlite3_malloc(sizeof(*p) + 100);
120750 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
120796 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
121099 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
121205 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
121451 pTree->aData = (char *)sqlite3_malloc(nReq);
121495 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
121642 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
121648 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
122258 pBlob = sqlite3_malloc( 10*p->nColumn );
122308 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
122525 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
122563 aSzIns = sqlite3_malloc( sizeof(aSzIns[0])*(p->nColumn+1)*2 );
123123 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
123694 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
123922 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
124119 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
124716 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
124761 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
125074 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
125474 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
125533 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
125851 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
126276 aaSorted = (int **)sqlite3_malloc(nByte);
126373 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
126453 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
126738 aCell = (RtreeCell *)sqlite3_malloc(nCell * (
127282 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
127455 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
127483 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
127854 zOutput = sqlite3_malloc(nOutput);
128070 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
128124 pCsr = (IcuCursor *)sqlite3_malloc(