Lines Matching refs:sqlite3_malloc

706 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1323 ** [sqlite3_malloc()] and the result is stored in the char* variable
1383 ** written into memory obtained from [sqlite3_malloc()]. The caller should
2082 ** Every memory allocation request coming in through [sqlite3_malloc()]
2260 ** to satisfy page cache needs, falling back to [sqlite3_malloc()] if
2265 ** from [sqlite3_malloc()] sufficient for N cache lines if N is positive or
2268 ** allocation, then SQLite goes to [sqlite3_malloc()] separately for each
2575 ** lookaside buffer itself using [sqlite3_malloc()].
3443 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
3518 ** ^The sqlite3_malloc() routine returns a pointer to a block
3520 ** ^If sqlite3_malloc() is unable to obtain sufficient free
3522 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
3526 ** sqlite3_malloc(N) except that N is an unsigned 64-bit integer instead
3530 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
3538 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
3544 ** sqlite3_malloc(N).
3560 ** ^If X is a memory allocation previously obtained from sqlite3_malloc(),
3570 ** ^The memory returned by sqlite3_malloc(), sqlite3_realloc(),
3578 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
3585 SQLITE_API void *sqlite3_malloc(int);
3596 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
3605 ** added by SQLite in its implementation of [sqlite3_malloc()],
3607 ** routines that [sqlite3_malloc()] may call.
4888 ** is obtained from [sqlite3_malloc()] and must be freed by the application
5342 ** ^If sqlite3_malloc() fails during the processing of either routine
6690 ** from [sqlite3_malloc()] before it returns.
6993 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
6996 ** [sqlite3_malloc] and the pragma may attempt to free that memory
6999 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
7050 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
7053 ** [sqlite3_malloc] and the pragma may attempt to free that memory
7056 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
7069 ** a non-NULL value will be copied into memory obtained from [sqlite3_malloc]
7705 ** obtained from [sqlite3_malloc()]. The calling function
8005 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
8675 ** xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
8745 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
9114 ** using [sqlite3_malloc()], either directly or indirectly. The
9115 ** figure includes calls made to [sqlite3_malloc()] by the application
9123 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
9142 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
13135 ** a pointer to a single large buffer allocated using sqlite3_malloc().
16155 ** sqlite3_malloc() to obtain space for the file-handle structure.
17964 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
26882 void *p = sqlite3_malloc(10);
28488 return sqlite3_malloc(nBytes);
31025 ** a limit on the size parameter to sqlite3_malloc() and sqlite3_realloc().
31043 ** Allocate memory. This routine is like sqlite3_malloc() except that it
31066 SQLITE_API void *sqlite3_malloc(int n){
31092 ** sqlite3Malloc() or sqlite3_malloc().
31628 ** returning control to the user) that has called sqlite3_malloc or
32792 ** sqlite3_malloc() fails to provide space for a real one. This
32913 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
32937 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
35223 ** from sqlite3_malloc().
35435 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
37486 ** The hash table might fail to resize if sqlite3_malloc() fails or
46052 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
48918 ** Space to hold the returned string is obtained from sqlite3_malloc().
48945 ** Space to hold the returned string is obtained from sqlite3_malloc().
48972 ** Space to hold the returned string is obtained from sqlite3_malloc().
49002 ** Space to hold the returned string is obtained from sqlite3_malloc().
49030 ** Space to hold the returned string is obtained from sqlite3_malloc().
49049 ** Space to hold the returned string is obtained from sqlite3_malloc().
60617 ** sqlite3_malloc() and pointed to by zSuperJournal. Also obtain
69206 void *pBuf1 = sqlite3_malloc(pWal->szPage);
69207 void *pBuf2 = sqlite3_malloc(pWal->szPage);
69852 aBuf = sqlite3_malloc(szPage + WAL_FRAME_HDRSIZE);
70385 pRet = (WalIndexHdr*)sqlite3_malloc(sizeof(WalIndexHdr));
86454 ** The zWhere string must have been obtained from sqlite3_malloc().
87432 ** the string is made into memory obtained from sqlite3_malloc().
91332 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
91808 pNew = sqlite3_malloc( sizeof(*pNew) );
93572 ** obtained from sqlite3_malloc(). The caller is responsible for
106971 pNew = sqlite3_malloc( sizeof(*pNew) );
106996 pCur = sqlite3_malloc( sizeof(*pCur) );
107557 FileChunk *pNew = sqlite3_malloc(fileChunkSize(p->nChunkSize));
138841 #define sqlite3_malloc sqlite3_api->malloc
139288 sqlite3_malloc,
143494 pTab = (PragmaVtab*)sqlite3_malloc(sizeof(PragmaVtab));
143568 pCsr = (PragmaVtabCursor*)sqlite3_malloc(sizeof(*pCsr));
183040 ** to be NULL or point to memory that was obtained from sqlite3_malloc(),
183409 ** space for the lookaside memory is obtained from sqlite3_malloc()
189164 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
189917 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
189955 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
190012 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
190638 char **pzErr /* OUT: sqlite3_malloc'd error message */
190648 char **pzErr /* OUT: sqlite3_malloc'd error message */
190825 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
191663 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
192188 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
193216 pHash = sqlite3_malloc(sizeof(Fts3HashWrapper));
193337 ** sqlite3_malloc(). This function takes responsibility for eventually
195353 char **pzErr /* OUT: sqlite3_malloc'd error message */
195514 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
195971 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
196907 char **pzErr /* OUT: Error message (sqlite3_malloc) */
196989 ** sqlite3_malloc(). It is the responsibility of the caller to use
197623 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
197653 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
198806 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
198861 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
199140 char **pzErr /* OUT: sqlite3_malloc'd error message */
199173 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
199243 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
200615 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
207287 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
207339 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
215562 pIdxInfo->idxStr = sqlite3_malloc( iIdx+1 );
217371 ** the database and copied into a buffer obtained from sqlite3_malloc().
217612 char **pzReport /* OUT: sqlite3_malloc'd report text */
219171 pCsr->aConstraint = p = sqlite3_malloc(sizeof(RtreeConstraint)*4);
219724 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
219749 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
222000 aOut = sqlite3_malloc(nOut+1);
222057 ** sqlite3_malloc containing an SQL statement. This function prepares the SQL
222401 ** returns a copy of the string in memory obtained from sqlite3_malloc().
223187 ** The memory for the returned string is obtained from sqlite3_malloc().
223241 ** The memory for the returned string is obtained from sqlite3_malloc().
226827 u8 *aPg; /* Page buffer from sqlite3_malloc() */
227271 pPg->aPg = (u8*)sqlite3_malloc(pgsz + DBSTAT_PAGE_PADDING_BYTES);
231473 pRet = (sqlite3_changeset_iter *)sqlite3_malloc(nByte);
232456 p->aUpdateMask = sqlite3_malloc(nU32*sizeof(u32));
232505 pUp = (SessionUpdate*)sqlite3_malloc(nByte);
234198 p = (sqlite3_changegroup*)sqlite3_malloc(sizeof(sqlite3_changegroup));
234649 pNew = sqlite3_malloc(sizeof(sqlite3_rebaser));
238481 aSeen = sqlite3_malloc(nPhrase);
239136 zRet = (char*)sqlite3_malloc(nIn+1);
239836 *ppOut = pRet = (Fts5Config*)sqlite3_malloc(sizeof(Fts5Config));
240364 ** Set (*pConfig->pzErrmsg) to point to an sqlite3_malloc()ed buffer
240702 *ppNew = pNew = sqlite3_malloc(sizeof(Fts5Expr));
241005 ** using sqlite3_malloc(). This approach could be improved upon. */
241140 ** using sqlite3_malloc(). This approach could be improved upon. */
243757 *ppNew = pNew = (Fts5Hash*)sqlite3_malloc(sizeof(Fts5Hash));
254202 char **pzErr /* OUT: sqlite3_malloc'd error message */
254212 char **pzErr /* OUT: sqlite3_malloc'd error message */
254352 idxStr = (char*)sqlite3_malloc(pInfo->nConstraint * 8 + 1);
257355 pBlob = (u8*)sqlite3_malloc(nBlob);
257473 pGlobal = (Fts5Global*)sqlite3_malloc(sizeof(Fts5Global));
259189 p = sqlite3_malloc(sizeof(AsciiTokenizer));
259484 p = (Unicode61Tokenizer*)sqlite3_malloc(sizeof(Unicode61Tokenizer));
259707 pRet = (PorterTokenizer*)sqlite3_malloc(sizeof(PorterTokenizer));
260414 pNew = (TrigramTokenizer*)sqlite3_malloc(sizeof(*pNew));
261971 char **pzErr /* OUT: sqlite3_malloc'd error message */
261981 char **pzErr /* OUT: sqlite3_malloc'd error message */
262389 pCsr->zLeTerm = sqlite3_malloc(pCsr->nLeTerm+1);