Lines Matching refs:sqlite3_malloc
869 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1705 ** Every memory allocation request coming in through [sqlite3_malloc()]
1843 ** [sqlite3_malloc()] will be used to obtain the memory needed.</dd>
1861 ** SQLite goes to [sqlite3_malloc()] for the additional storage space.
1985 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
2360 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
2389 ** results into memory obtained from [sqlite3_malloc()].
2392 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough
2486 ** ^The sqlite3_malloc() routine returns a pointer to a block
2488 ** ^If sqlite3_malloc() is unable to obtain sufficient free
2490 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
2494 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
2502 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
2509 ** sqlite3_malloc(N) where N is the second parameter to sqlite3_realloc().
2521 ** ^The memory returned by sqlite3_malloc() and sqlite3_realloc()
2541 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
2548 sqlite3_malloc(int);
2556 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
2565 ** added by SQLite in its implementation of [sqlite3_malloc()],
2567 ** routines that [sqlite3_malloc()] may call.
3457 ** ^If sqlite3_malloc() fails during the processing of either routine
4327 ** from [sqlite3_malloc()] before it returns.
4583 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
4586 ** [sqlite3_malloc] and the pragma may attempt to free that memory
4589 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
4939 ** obtained from [sqlite3_malloc()]. The calling function
5151 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
5713 ** ^xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
5783 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
5923 ** using [sqlite3_malloc()], either directly or indirectly. The
5924 ** figure includes calls made to [sqlite3_malloc()] by the application
5933 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
5950 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
5973 ** buffer and where forced to overflow to [sqlite3_malloc()]. The values
8714 ** sqlite3_malloc() to obtain space for the file-handle structure.
8884 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
10518 u8 useMalloc; /* 0: none, 1: sqlite3DbMalloc, 2: sqlite3_malloc */
12138 char *zMalloc; /* Dynamic buffer allocated by sqlite3_malloc() */
13941 void *p = sqlite3_malloc(10);
15393 return sqlite3_malloc(nBytes);
17754 ** Allocate memory. This routine is like sqlite3_malloc() except that it
17766 ** this amount. The only way to reach the limit is with sqlite3_malloc() */
17784 SQLITE_API void *sqlite3_malloc(int n){
17904 ** sqlite3Malloc() or sqlite3_malloc().
18208 ** returning control to the user) that has called sqlite3_malloc or
19011 zNew = sqlite3_malloc(p->nAlloc);
19040 p->zText = sqlite3_malloc(p->nChar+1);
19132 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
19150 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
19670 ** from sqlite3_malloc().
19833 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
21121 ** The hash table might fail to resize if sqlite3_malloc() fails or
21482 ** the SQLite-wrappers sqlite3_malloc()/sqlite3_free(). Those wrappers
23560 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
23950 pInode = sqlite3_malloc( sizeof(*pInode) );
26471 p = sqlite3_malloc( sizeof(*p) );
26500 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
27250 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
27279 zLockFile = (char *)sqlite3_malloc(nFilename);
27656 pUnused = sqlite3_malloc(sizeof(*pUnused));
28401 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
28430 pUnused = sqlite3_malloc(sizeof(*pUnused));
28463 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
28924 ** Store the conch filename in memory obtained from sqlite3_malloc().
28940 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
29055 pCtx = sqlite3_malloc( sizeof(*pCtx) );
29455 ** the SQLite-wrappers sqlite3_malloc()/sqlite3_free(). Those wrappers
31082 p = sqlite3_malloc( sizeof(*p) );
31086 pNew = sqlite3_malloc( sizeof(*pShmNode) + nName + 15 );
32762 pV = sqlite3_malloc( (sz+7)/8 + 1 );
32763 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
33759 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
33911 pCache = (PCache1 *)sqlite3_malloc(sizeof(PCache1));
37197 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
42713 aFrame = (u8 *)sqlite3_malloc(szFrame);
53662 p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup));
55993 ** the string is made into memory obtained from sqlite3_malloc().
55999 ** sqlite3_malloc, to be freed when the Vdbe is finalized.
56001 ** stored in memory that the caller has obtained from sqlite3_malloc. The
58065 ** not big enough, space is obtained from sqlite3_malloc().
60514 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
60542 ** from sqlite3_malloc() and p->zErrMsg is made to point to that memory.
67346 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
79934 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
84731 #define sqlite3_malloc sqlite3_api->malloc
85028 sqlite3_malloc,
85248 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
85261 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
92368 z = sqlite3_malloc( n );
92414 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
104297 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
105252 ** space for the lookaside memory is obtained from sqlite3_malloc().
109100 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) );
109177 p = (Fts3Table*)sqlite3_malloc(nByte);
109257 char **pzErr /* OUT: sqlite3_malloc'd error message */
109267 char **pzErr /* OUT: sqlite3_malloc'd error message */
109342 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
110127 aTmp = sqlite3_malloc(2*(n1+n2+1));
110201 char *aNew = sqlite3_malloc(nNew);
110247 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
110271 aNew = sqlite3_malloc(nNew);
110311 *ppOut = sqlite3_malloc(nSource);
110318 *ppOut = sqlite3_malloc(*pnOut);
110780 aOut = sqlite3_malloc(nLeft+nRight+1);
111032 aExpr = sqlite3_malloc(sizeof(ExprAndCost) * nExpr);
111130 char *aBuffer = sqlite3_malloc(nRight+nLeft+1);
111834 pHash = sqlite3_malloc(sizeof(Fts3Hash));
112015 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
112020 void *pRet = sqlite3_malloc(nByte);
112694 ** sqlite3_malloc(). It is the responsibility of the caller to use
112800 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
112878 void *p = sqlite3_malloc(n);
113288 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
113318 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
114421 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
114476 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
114837 zVarlist = (char *)sqlite3_malloc(2*p->nColumn+2);
115015 p = sqlite3_malloc(sizeof(*p) + 100);
115421 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
115467 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
115764 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
115870 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
116152 pTree->aData = (char *)sqlite3_malloc(nReq);
116196 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
116343 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
116349 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
116929 apSegment = (Fts3SegReader**)sqlite3_malloc(sizeof(Fts3SegReader *)*nSegment);
117091 pBlob = sqlite3_malloc( 10*p->nColumn );
117141 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
117358 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
117396 aSzIns = sqlite3_malloc( sizeof(aSzIns[0])*(p->nColumn+1)*2 );
117975 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
118544 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
118770 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
118967 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
119564 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
119609 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
119922 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
120322 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
120381 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
120728 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
121153 aaSorted = (int **)sqlite3_malloc(nByte);
121250 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
121330 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
121615 aCell = (RtreeCell *)sqlite3_malloc(nCell * (
122159 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
122332 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
122360 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
122729 zOutput = sqlite3_malloc(nOutput);
122945 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
122999 pCsr = (IcuCursor *)sqlite3_malloc(