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 );
25861 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
26258 pInode = sqlite3_malloc( sizeof(*pInode) );
28903 p = sqlite3_malloc( sizeof(*p) );
28931 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
29123 pMem = sqlite3_malloc(szRegion);
29723 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
29753 zLockFile = (char *)sqlite3_malloc(nFilename);
30118 pUnused = sqlite3_malloc(sizeof(*pUnused));
30882 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
30910 pUnused = sqlite3_malloc(sizeof(*pUnused));
30943 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
31402 ** Store the conch filename in memory obtained from sqlite3_malloc().
31418 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
31533 pCtx = sqlite3_malloc( sizeof(*pCtx) );
33047 zWideFilename = sqlite3_malloc( nChar*sizeof(zWideFilename[0]) );
33062 ** obtained from sqlite3_malloc().
33072 zFilename = sqlite3_malloc( nByte );
33090 ** from sqlite3_malloc.
33102 zMbcsFilename = sqlite3_malloc( nByte*sizeof(zMbcsFilename[0]) );
33120 ** sqlite3_malloc().
33131 zFilename = sqlite3_malloc( nByte );
33146 ** returned string is obtained from sqlite3_malloc().
33163 ** returned string is obtained from sqlite3_malloc().
34590 p = sqlite3_malloc( sizeof(*p) );
34594 pNew = sqlite3_malloc( sizeof(*pShmNode) + nName + 17 );
35535 zTemp = sqlite3_malloc( nByte*sizeof(zTemp[0]) );
35552 zTemp = sqlite3_malloc( nByte*sizeof(zTemp[0]) );
36168 pV = sqlite3_malloc( (sz+7)/8 + 1 );
36169 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
37251 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
37439 pCache = (PCache1 *)sqlite3_malloc(sz);
40825 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
46494 aFrame = (u8 *)sqlite3_malloc(szFrame);
57814 p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup));
59725 ** The zWhere string must have been obtained from sqlite3_malloc().
60213 ** the string is made into memory obtained from sqlite3_malloc().
60219 ** sqlite3_malloc, to be freed when the Vdbe is finalized.
60221 ** stored in memory that the caller has obtained from sqlite3_malloc. The
64246 Explain *p = sqlite3_malloc( sizeof(Explain) );
64940 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
64968 ** from sqlite3_malloc() and p->zErrMsg is made to point to that memory.
72920 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
79531 p = sqlite3_malloc( n );
86440 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
91314 #define sqlite3_malloc sqlite3_api->malloc
91623 sqlite3_malloc,
91846 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
91860 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
99221 z = sqlite3_malloc( n );
99267 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
111932 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
112922 ** space for the lookaside memory is obtained from sqlite3_malloc().
114350 zFile = sqlite3_malloc(nByte);
114502 zFile = sqlite3_malloc(nUri+2);
116787 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
117400 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
117408 zRet = sqlite3_malloc(nRet);
117438 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
117495 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
117584 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
117667 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
117746 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) );
117927 p = (Fts3Table*)sqlite3_malloc(nByte);
118033 char **pzErr /* OUT: sqlite3_malloc'd error message */
118043 char **pzErr /* OUT: sqlite3_malloc'd error message */
118146 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
118915 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
118971 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
119187 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
119407 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
120197 pHash = sqlite3_malloc(sizeof(Fts3Hash));
120309 ** sqlite3_malloc(). This function takes responsibility for eventually
120480 aOut = (char *)sqlite3_malloc(nPoslist+8);
121003 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
121305 aTmp = sqlite3_malloc(nTmp*2);
121629 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
121902 char **pzErr /* OUT: sqlite3_malloc'd error message */
121931 p = (Fts3auxTable *)sqlite3_malloc(nByte);
122036 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
122438 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
122443 void *pRet = sqlite3_malloc(nByte);
123183 ** sqlite3_malloc(). It is the responsibility of the caller to use
123289 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
123370 void *p = sqlite3_malloc(n);
123783 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
123813 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
124919 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
124974 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
125636 p = sqlite3_malloc(sizeof(*p) + 100);
126146 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
126194 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
126576 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
126704 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
126962 pTree->aData = (char *)sqlite3_malloc(nReq);
127006 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
127153 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
127159 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
128049 pBlob = sqlite3_malloc( 10*p->nColumn );
128099 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
128212 aSz = (u32 *)sqlite3_malloc(nByte);
128397 pRet = (char *)sqlite3_malloc(p->pList->nData);
128417 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
128521 aSzIns = sqlite3_malloc( sizeof(aSzIns[0])*(p->nColumn+1)*2 );
129069 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
129573 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
129793 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
129991 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
130592 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
130637 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
130950 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
131350 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
131409 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
131731 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
132157 aaSorted = (int **)sqlite3_malloc(nByte);
132254 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
132334 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
132619 aCell = (RtreeCell *)sqlite3_malloc(nCell * (
133205 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
133378 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
133406 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
133778 zOutput = sqlite3_malloc(nOutput);
133995 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
134049 pCsr = (IcuCursor *)sqlite3_malloc(