Lines Matching refs:sqlite3_malloc

872 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1357 ** [sqlite3_malloc()] and the result is stored in the char* variable
1843 ** Every memory allocation request coming in through [sqlite3_malloc()]
1982 ** [sqlite3_malloc()] will be used to obtain the memory needed.</dd>
2000 ** SQLite goes to [sqlite3_malloc()] for the additional storage space.
2146 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
2547 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
2576 ** results into memory obtained from [sqlite3_malloc()].
2579 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough
2676 ** ^The sqlite3_malloc() routine returns a pointer to a block
2678 ** ^If sqlite3_malloc() is unable to obtain sufficient free
2680 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
2684 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
2692 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
2699 ** sqlite3_malloc(N) where N is the second parameter to sqlite3_realloc().
2711 ** ^The memory returned by sqlite3_malloc() and sqlite3_realloc()
2731 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
2738 SQLITE_API void *sqlite3_malloc(int);
2746 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
2755 ** added by SQLite in its implementation of [sqlite3_malloc()],
2757 ** routines that [sqlite3_malloc()] may call.
3847 ** ^If sqlite3_malloc() fails during the processing of either routine
4734 ** from [sqlite3_malloc()] before it returns.
4990 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
4993 ** [sqlite3_malloc] and the pragma may attempt to free that memory
4996 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5389 ** obtained from [sqlite3_malloc()]. The calling function
5606 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
6168 ** ^xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
6238 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
6381 ** using [sqlite3_malloc()], either directly or indirectly. The
6382 ** figure includes calls made to [sqlite3_malloc()] by the application
6391 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
6410 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
6433 ** buffer and where forced to overflow to [sqlite3_malloc()]. The values
9500 ** sqlite3_malloc() to obtain space for the file-handle structure.
9688 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
11315 u8 useMalloc; /* 0: none, 1: sqlite3DbMalloc, 2: sqlite3_malloc */
12994 char *zMalloc; /* Dynamic buffer allocated by sqlite3_malloc() */
14930 void *p = sqlite3_malloc(10);
16512 return sqlite3_malloc(nBytes);
18879 ** Allocate memory. This routine is like sqlite3_malloc() except that it
18891 ** this amount. The only way to reach the limit is with sqlite3_malloc() */
18909 SQLITE_API void *sqlite3_malloc(int n){
19029 ** sqlite3Malloc() or sqlite3_malloc().
19340 ** returning control to the user) that has called sqlite3_malloc or
20117 p->zText = sqlite3_malloc(p->nChar+1);
20209 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
20227 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
20755 ** from sqlite3_malloc().
20918 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
22331 ** The hash table might fail to resize if sqlite3_malloc() fails or
22697 ** the SQLite-wrappers sqlite3_malloc()/sqlite3_free(). Those wrappers
23780 pLink = sqlite3_malloc( sizeof(*pLink) );
23794 pNode = sqlite3_malloc( sizeof(*pNode) + cbShmName );
25850 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
26247 pInode = sqlite3_malloc( sizeof(*pInode) );
28890 p = sqlite3_malloc( sizeof(*p) );
28918 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
29110 pMem = sqlite3_malloc(szRegion);
29710 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
29740 zLockFile = (char *)sqlite3_malloc(nFilename);
30105 pUnused = sqlite3_malloc(sizeof(*pUnused));
30869 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
30897 pUnused = sqlite3_malloc(sizeof(*pUnused));
30930 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
31389 ** Store the conch filename in memory obtained from sqlite3_malloc().
31405 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
31520 pCtx = sqlite3_malloc( sizeof(*pCtx) );
33034 zWideFilename = sqlite3_malloc( nChar*sizeof(zWideFilename[0]) );
33049 ** obtained from sqlite3_malloc().
33059 zFilename = sqlite3_malloc( nByte );
33077 ** from sqlite3_malloc.
33089 zMbcsFilename = sqlite3_malloc( nByte*sizeof(zMbcsFilename[0]) );
33107 ** sqlite3_malloc().
33118 zFilename = sqlite3_malloc( nByte );
33133 ** returned string is obtained from sqlite3_malloc().
33150 ** returned string is obtained from sqlite3_malloc().
34577 p = sqlite3_malloc( sizeof(*p) );
34581 pNew = sqlite3_malloc( sizeof(*pShmNode) + nName + 17 );
35522 zTemp = sqlite3_malloc( nByte*sizeof(zTemp[0]) );
35539 zTemp = sqlite3_malloc( nByte*sizeof(zTemp[0]) );
36155 pV = sqlite3_malloc( (sz+7)/8 + 1 );
36156 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
37238 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
37426 pCache = (PCache1 *)sqlite3_malloc(sz);
40812 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
46481 aFrame = (u8 *)sqlite3_malloc(szFrame);
57801 p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup));
59712 ** The zWhere string must have been obtained from sqlite3_malloc().
60200 ** the string is made into memory obtained from sqlite3_malloc().
60206 ** sqlite3_malloc, to be freed when the Vdbe is finalized.
60208 ** stored in memory that the caller has obtained from sqlite3_malloc. The
64233 Explain *p = sqlite3_malloc( sizeof(Explain) );
64927 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
64955 ** from sqlite3_malloc() and p->zErrMsg is made to point to that memory.
72907 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
79518 p = sqlite3_malloc( n );
86427 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
91301 #define sqlite3_malloc sqlite3_api->malloc
91610 sqlite3_malloc,
91833 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
91847 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
99208 z = sqlite3_malloc( n );
99254 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
111919 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
112909 ** space for the lookaside memory is obtained from sqlite3_malloc().
114337 zFile = sqlite3_malloc(nByte);
114489 zFile = sqlite3_malloc(nUri+2);
116759 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
117372 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
117380 zRet = sqlite3_malloc(nRet);
117410 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
117467 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
117556 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
117639 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
117718 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) );
117899 p = (Fts3Table*)sqlite3_malloc(nByte);
118005 char **pzErr /* OUT: sqlite3_malloc'd error message */
118015 char **pzErr /* OUT: sqlite3_malloc'd error message */
118118 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
118887 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
118943 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
119159 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
119379 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
120169 pHash = sqlite3_malloc(sizeof(Fts3Hash));
120278 ** sqlite3_malloc(). This function takes responsibility for eventually
120449 aOut = (char *)sqlite3_malloc(nPoslist+8);
120972 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
121274 aTmp = sqlite3_malloc(nTmp*2);
121598 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
121871 char **pzErr /* OUT: sqlite3_malloc'd error message */
121900 p = (Fts3auxTable *)sqlite3_malloc(nByte);
122005 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
122407 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
122412 void *pRet = sqlite3_malloc(nByte);
123152 ** sqlite3_malloc(). It is the responsibility of the caller to use
123258 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
123339 void *p = sqlite3_malloc(n);
123752 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
123782 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
124888 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
124943 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
125605 p = sqlite3_malloc(sizeof(*p) + 100);
126115 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
126163 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
126545 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
126673 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
126931 pTree->aData = (char *)sqlite3_malloc(nReq);
126975 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
127122 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
127128 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
128018 pBlob = sqlite3_malloc( 10*p->nColumn );
128068 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
128181 aSz = (u32 *)sqlite3_malloc(nByte);
128366 pRet = (char *)sqlite3_malloc(p->pList->nData);
128386 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
128490 aSzIns = sqlite3_malloc( sizeof(aSzIns[0])*(p->nColumn+1)*2 );
129038 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
129542 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
129762 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
129960 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
130561 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
130606 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
130919 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
131319 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
131378 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
131700 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
132126 aaSorted = (int **)sqlite3_malloc(nByte);
132223 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
132303 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
132588 aCell = (RtreeCell *)sqlite3_malloc(nCell * (
133174 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
133347 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
133375 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
133747 zOutput = sqlite3_malloc(nOutput);
133964 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
134018 pCsr = (IcuCursor *)sqlite3_malloc(