Lines Matching defs:sqlite3_malloc

875 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1779 ** Every memory allocation request coming in through [sqlite3_malloc()]
1918 ** [sqlite3_malloc()] will be used to obtain the memory needed.</dd>
1936 ** SQLite goes to [sqlite3_malloc()] for the additional storage space.
2075 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
2476 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
2505 ** results into memory obtained from [sqlite3_malloc()].
2508 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough
2605 ** ^The sqlite3_malloc() routine returns a pointer to a block
2607 ** ^If sqlite3_malloc() is unable to obtain sufficient free
2609 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
2613 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
2621 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
2628 ** sqlite3_malloc(N) where N is the second parameter to sqlite3_realloc().
2640 ** ^The memory returned by sqlite3_malloc() and sqlite3_realloc()
2660 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
2667 SQLITE_API void *sqlite3_malloc(int);
2675 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
2684 ** added by SQLite in its implementation of [sqlite3_malloc()],
2686 ** routines that [sqlite3_malloc()] may call.
3725 ** ^If sqlite3_malloc() fails during the processing of either routine
4601 ** from [sqlite3_malloc()] before it returns.
4857 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
4860 ** [sqlite3_malloc] and the pragma may attempt to free that memory
4863 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5213 ** obtained from [sqlite3_malloc()]. The calling function
5430 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
5992 ** ^xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
6062 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
6205 ** using [sqlite3_malloc()], either directly or indirectly. The
6206 ** figure includes calls made to [sqlite3_malloc()] by the application
6215 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
6234 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
6257 ** buffer and where forced to overflow to [sqlite3_malloc()]. The values
9214 ** sqlite3_malloc() to obtain space for the file-handle structure.
9399 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
11058 u8 useMalloc; /* 0: none, 1: sqlite3DbMalloc, 2: sqlite3_malloc */
12706 char *zMalloc; /* Dynamic buffer allocated by sqlite3_malloc() */
14571 void *p = sqlite3_malloc(10);
16024 return sqlite3_malloc(nBytes);
18390 ** Allocate memory. This routine is like sqlite3_malloc() except that it
18402 ** this amount. The only way to reach the limit is with sqlite3_malloc() */
18420 SQLITE_API void *sqlite3_malloc(int n){
18540 ** sqlite3Malloc() or sqlite3_malloc().
18851 ** returning control to the user) that has called sqlite3_malloc or
19687 p->zText = sqlite3_malloc(p->nChar+1);
19779 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
19797 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
20325 ** from sqlite3_malloc().
20488 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
21896 ** The hash table might fail to resize if sqlite3_malloc() fails or
22262 ** the SQLite-wrappers sqlite3_malloc()/sqlite3_free(). Those wrappers
23345 pLink = sqlite3_malloc( sizeof(*pLink) );
23359 pNode = sqlite3_malloc( sizeof(*pNode) + cbShmName );
25372 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
25769 pInode = sqlite3_malloc( sizeof(*pInode) );
28383 p = sqlite3_malloc( sizeof(*p) );
28412 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
28598 pMem = sqlite3_malloc(szRegion);
29205 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
29234 zLockFile = (char *)sqlite3_malloc(nFilename);
29585 pUnused = sqlite3_malloc(sizeof(*pUnused));
30314 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
30342 pUnused = sqlite3_malloc(sizeof(*pUnused));
30375 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
30836 ** Store the conch filename in memory obtained from sqlite3_malloc().
30852 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
30967 pCtx = sqlite3_malloc( sizeof(*pCtx) );
31375 ** the SQLite-wrappers sqlite3_malloc()/sqlite3_free(). Those wrappers
33477 p = sqlite3_malloc( sizeof(*p) );
33481 pNew = sqlite3_malloc( sizeof(*pShmNode) + nName + 15 );
35108 pV = sqlite3_malloc( (sz+7)/8 + 1 );
35109 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
36404 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew);
36589 pCache = (PCache1 *)sqlite3_malloc(sz);
39922 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
45511 aFrame = (u8 *)sqlite3_malloc(szFrame);
56612 p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup));
58506 ** The zWhere string must have been obtained from sqlite3_malloc().
58997 ** the string is made into memory obtained from sqlite3_malloc().
59003 ** sqlite3_malloc, to be freed when the Vdbe is finalized.
59005 ** stored in memory that the caller has obtained from sqlite3_malloc. The
63605 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
63633 ** from sqlite3_malloc() and p->zErrMsg is made to point to that memory.
71541 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
84347 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
89199 #define sqlite3_malloc sqlite3_api->malloc
89508 sqlite3_malloc,
89731 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
89744 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
97028 z = sqlite3_malloc( n );
97074 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
109627 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
110604 ** space for the lookaside memory is obtained from sqlite3_malloc().
112002 zFile = sqlite3_malloc(nByte);
112154 zFile = sqlite3_malloc(nUri+2);
114350 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
114941 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
114949 zRet = sqlite3_malloc(nRet);
114979 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
115018 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
115104 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
115179 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) );
115313 p = (Fts3Table*)sqlite3_malloc(nByte);
115413 char **pzErr /* OUT: sqlite3_malloc'd error message */
115423 char **pzErr /* OUT: sqlite3_malloc'd error message */
115515 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
116260 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
116316 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
116482 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
116695 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
117451 pHash = sqlite3_malloc(sizeof(Fts3Hash));
117560 ** sqlite3_malloc(). This function takes responsibility for eventually
117732 aOut = (char *)sqlite3_malloc(nPoslist+8);
118236 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
118538 aTmp = sqlite3_malloc(nTmp*2);
118859 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
119123 char **pzErr /* OUT: sqlite3_malloc'd error message */
119152 p = (Fts3auxTable *)sqlite3_malloc(nByte);
119257 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
119657 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
119662 void *pRet = sqlite3_malloc(nByte);
120355 ** sqlite3_malloc(). It is the responsibility of the caller to use
120461 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
120542 void *p = sqlite3_malloc(n);
120955 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
120985 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
122091 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
122146 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
122754 p = sqlite3_malloc(sizeof(*p) + 100);
123213 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
123261 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
123636 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
123763 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
124021 pTree->aData = (char *)sqlite3_malloc(nReq);
124065 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
124212 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
124218 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
125059 pBlob = sqlite3_malloc( 10*p->nColumn );
125109 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
125307 pRet = (char *)sqlite3_malloc(p->pList->nData);
125327 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
125412 aSzIns = sqlite3_malloc( sizeof(aSzIns[0])*(p->nColumn+1)*2 );
125956 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
126459 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
126679 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
126877 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
127477 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
127522 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
127835 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
128235 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
128294 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
128612 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
129037 aaSorted = (int **)sqlite3_malloc(nByte);
129134 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
129214 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
129499 aCell = (RtreeCell *)sqlite3_malloc(nCell * (
130085 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
130258 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
130286 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
130658 zOutput = sqlite3_malloc(nOutput);
130875 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
130929 pCsr = (IcuCursor *)sqlite3_malloc(