Lines Matching defs:sqlite3_malloc
700 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1308 ** [sqlite3_malloc()] and the result is stored in the char* variable
1368 ** written into memory obtained from [sqlite3_malloc()]. The caller should
2054 ** Every memory allocation request coming in through [sqlite3_malloc()]
2232 ** to satisfy page cache needs, falling back to [sqlite3_malloc()] if
2237 ** from [sqlite3_malloc()] sufficient for N cache lines if N is positive or
2240 ** allocation, then SQLite goes to [sqlite3_malloc()] separately for each
2530 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
3257 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
3332 ** ^The sqlite3_malloc() routine returns a pointer to a block
3334 ** ^If sqlite3_malloc() is unable to obtain sufficient free
3336 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
3340 ** sqlite3_malloc(N) except that N is an unsigned 64-bit integer instead
3344 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
3352 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
3358 ** sqlite3_malloc(N).
3374 ** ^If X is a memory allocation previously obtained from sqlite3_malloc(),
3384 ** ^The memory returned by sqlite3_malloc(), sqlite3_realloc(),
3392 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
3399 SQLITE_API void *sqlite3_malloc(int);
3410 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
3419 ** added by SQLite in its implementation of [sqlite3_malloc()],
3421 ** routines that [sqlite3_malloc()] may call.
4687 ** is obtained from [sqlite3_malloc()] and must be freed by the application
5141 ** ^If sqlite3_malloc() fails during the processing of either routine
6479 ** from [sqlite3_malloc()] before it returns.
6782 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
6785 ** [sqlite3_malloc] and the pragma may attempt to free that memory
6788 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
6839 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
6842 ** [sqlite3_malloc] and the pragma may attempt to free that memory
6845 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
6858 ** a non-NULL value will be copied into memory obtained from [sqlite3_malloc]
7492 ** obtained from [sqlite3_malloc()]. The calling function
7790 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
8458 ** xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
8528 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
8896 ** using [sqlite3_malloc()], either directly or indirectly. The
8897 ** figure includes calls made to [sqlite3_malloc()] by the application
8905 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
8924 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
12909 ** a pointer to a single large buffer allocated using sqlite3_malloc().
15757 ** sqlite3_malloc() to obtain space for the file-handle structure.
17531 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
26383 void *p = sqlite3_malloc(10);
27989 return sqlite3_malloc(nBytes);
30511 ** a limit on the size parameter to sqlite3_malloc() and sqlite3_realloc().
30529 ** Allocate memory. This routine is like sqlite3_malloc() except that it
30552 SQLITE_API void *sqlite3_malloc(int n){
30578 ** sqlite3Malloc() or sqlite3_malloc().
31114 ** returning control to the user) that has called sqlite3_malloc or
32232 ** sqlite3_malloc() fails to provide space for a real one. This
32353 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
32377 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
34623 ** from sqlite3_malloc().
34835 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
36996 ** The hash table might fail to resize if sqlite3_malloc() fails or
45573 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
48325 ** Space to hold the returned string is obtained from sqlite3_malloc().
48351 ** Space to hold the returned string is obtained from sqlite3_malloc().
48378 ** Space to hold the returned string is obtained from sqlite3_malloc().
48407 ** Space to hold the returned string is obtained from sqlite3_malloc().
48434 ** Space to hold the returned string is obtained from sqlite3_malloc().
48452 ** Space to hold the returned string is obtained from sqlite3_malloc().
59661 ** sqlite3_malloc() and pointed to by zSuperJournal. Also obtain
68222 void *pBuf1 = sqlite3_malloc(pWal->szPage);
68223 void *pBuf2 = sqlite3_malloc(pWal->szPage);
68861 aBuf = sqlite3_malloc(szPage + WAL_FRAME_HDRSIZE);
69394 pRet = (WalIndexHdr*)sqlite3_malloc(sizeof(WalIndexHdr));
85398 ** The zWhere string must have been obtained from sqlite3_malloc().
86363 ** the string is made into memory obtained from sqlite3_malloc().
90257 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
90725 pNew = sqlite3_malloc( sizeof(*pNew) );
92471 ** obtained from sqlite3_malloc(). The caller is responsible for
105663 pNew = sqlite3_malloc( sizeof(*pNew) );
105688 pCur = sqlite3_malloc( sizeof(*pCur) );
106249 FileChunk *pNew = sqlite3_malloc(fileChunkSize(p->nChunkSize));
136901 #define sqlite3_malloc sqlite3_api->malloc
137346 sqlite3_malloc,
141551 pTab = (PragmaVtab*)sqlite3_malloc(sizeof(PragmaVtab));
141625 pCsr = (PragmaVtabCursor*)sqlite3_malloc(sizeof(*pCsr));
180182 ** to be NULL or point to memory that was obtained from sqlite3_malloc(),
180551 ** space for the lookaside memory is obtained from sqlite3_malloc().
186234 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
186992 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
187030 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
187087 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
187713 char **pzErr /* OUT: sqlite3_malloc'd error message */
187723 char **pzErr /* OUT: sqlite3_malloc'd error message */
187900 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
188733 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
189258 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
190286 pHash = sqlite3_malloc(sizeof(Fts3HashWrapper));
190407 ** sqlite3_malloc(). This function takes responsibility for eventually
192405 char **pzErr /* OUT: sqlite3_malloc'd error message */
192566 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
193023 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
193935 char **pzErr /* OUT: Error message (sqlite3_malloc) */
194017 ** sqlite3_malloc(). It is the responsibility of the caller to use
194652 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
194682 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
195839 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
195894 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
196173 char **pzErr /* OUT: sqlite3_malloc'd error message */
196206 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
196276 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
197648 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
204293 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
204345 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
212406 pIdxInfo->idxStr = sqlite3_malloc( iIdx+1 );
214215 ** the database and copied into a buffer obtained from sqlite3_malloc().
214456 char **pzReport /* OUT: sqlite3_malloc'd report text */
216015 pCsr->aConstraint = p = sqlite3_malloc(sizeof(RtreeConstraint)*4);
216569 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
216594 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
218823 aOut = sqlite3_malloc(nOut+1);
218880 ** sqlite3_malloc containing an SQL statement. This function prepares the SQL
219224 ** returns a copy of the string in memory obtained from sqlite3_malloc().
220010 ** The memory for the returned string is obtained from sqlite3_malloc().
220064 ** The memory for the returned string is obtained from sqlite3_malloc().
223643 u8 *aPg; /* Page buffer from sqlite3_malloc() */
224086 pPg->aPg = (u8*)sqlite3_malloc(pgsz + DBSTAT_PAGE_PADDING_BYTES);
228151 pRet = (sqlite3_changeset_iter *)sqlite3_malloc(nByte);
229133 p->aUpdateMask = sqlite3_malloc(nU32*sizeof(u32));
229182 pUp = (SessionUpdate*)sqlite3_malloc(nByte);
230861 p = (sqlite3_changegroup*)sqlite3_malloc(sizeof(sqlite3_changegroup));
231307 pNew = sqlite3_malloc(sizeof(sqlite3_rebaser));
234913 aSeen = sqlite3_malloc(nPhrase);
235508 zRet = (char*)sqlite3_malloc(nIn+1);
236183 *ppOut = pRet = (Fts5Config*)sqlite3_malloc(sizeof(Fts5Config));
236971 *ppNew = pNew = sqlite3_malloc(sizeof(Fts5Expr));
237282 ** using sqlite3_malloc(). This approach could be improved upon. */
237417 ** using sqlite3_malloc(). This approach could be improved upon. */
240027 *ppNew = pNew = (Fts5Hash*)sqlite3_malloc(sizeof(Fts5Hash));
250031 char **pzErr /* OUT: sqlite3_malloc'd error message */
250041 char **pzErr /* OUT: sqlite3_malloc'd error message */
250181 idxStr = (char*)sqlite3_malloc(pInfo->nConstraint * 8 + 1);
252628 pGlobal = (Fts5Global*)sqlite3_malloc(sizeof(Fts5Global));
254018 p = sqlite3_malloc(sizeof(AsciiTokenizer));
254314 p = (Unicode61Tokenizer*)sqlite3_malloc(sizeof(Unicode61Tokenizer));
254538 pRet = (PorterTokenizer*)sqlite3_malloc(sizeof(PorterTokenizer));
255237 TrigramTokenizer *pNew = (TrigramTokenizer*)sqlite3_malloc(sizeof(*pNew));
256765 char **pzErr /* OUT: sqlite3_malloc'd error message */
256775 char **pzErr /* OUT: sqlite3_malloc'd error message */
257170 pCsr->zLeTerm = sqlite3_malloc(pCsr->nLeTerm+1);