Lines Matching refs:sqlite3_malloc
697 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1301 ** [sqlite3_malloc()] and the result is stored in the char* variable
1361 ** written into memory obtained from [sqlite3_malloc()]. The caller should
2045 ** Every memory allocation request coming in through [sqlite3_malloc()]
2206 ** to satisfy page cache needs, falling back to [sqlite3_malloc()] if
2211 ** from [sqlite3_malloc()] sufficient for N cache lines if N is positive or
2214 ** allocation, then SQLite goes to [sqlite3_malloc()] separately for each
2487 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
3174 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
3249 ** ^The sqlite3_malloc() routine returns a pointer to a block
3251 ** ^If sqlite3_malloc() is unable to obtain sufficient free
3253 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
3257 ** sqlite3_malloc(N) except that N is an unsigned 64-bit integer instead
3261 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
3269 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
3275 ** sqlite3_malloc(N).
3291 ** ^If X is a memory allocation previously obtained from sqlite3_malloc(),
3301 ** ^The memory returned by sqlite3_malloc(), sqlite3_realloc(),
3309 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
3316 SQLITE_API void *sqlite3_malloc(int);
3327 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
3336 ** added by SQLite in its implementation of [sqlite3_malloc()],
3338 ** routines that [sqlite3_malloc()] may call.
4587 ** is obtained from [sqlite3_malloc()] and must be freed by the application
5006 ** ^If sqlite3_malloc() fails during the processing of either routine
6226 ** from [sqlite3_malloc()] before it returns.
6546 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
6549 ** [sqlite3_malloc] and the pragma may attempt to free that memory
6552 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
6603 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
6606 ** [sqlite3_malloc] and the pragma may attempt to free that memory
6609 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
6622 ** a non-NULL value will be copied into memory obtained from [sqlite3_malloc]
7250 ** obtained from [sqlite3_malloc()]. The calling function
7553 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
8229 ** xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
8299 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
8664 ** using [sqlite3_malloc()], either directly or indirectly. The
8665 ** figure includes calls made to [sqlite3_malloc()] by the application
8673 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
8692 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
12490 ** a pointer to a single large buffer allocated using sqlite3_malloc().
15157 ** sqlite3_malloc() to obtain space for the file-handle structure.
16905 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
25209 void *p = sqlite3_malloc(10);
26815 return sqlite3_malloc(nBytes);
29318 ** a limit on the size parameter to sqlite3_malloc() and sqlite3_realloc().
29336 ** Allocate memory. This routine is like sqlite3_malloc() except that it
29359 SQLITE_API void *sqlite3_malloc(int n){
29385 ** sqlite3Malloc() or sqlite3_malloc().
29915 ** returning control to the user) that has called sqlite3_malloc or
31058 ** sqlite3_malloc() fails to provide space for a real one. This
31179 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
31203 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
33313 ** from sqlite3_malloc().
33525 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
35419 ** The hash table might fail to resize if sqlite3_malloc() fails or
43471 zDel = sqlite3_malloc(nOut);
43985 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
46747 ** Space to hold the returned string is obtained from sqlite3_malloc().
46773 ** Space to hold the returned string is obtained from sqlite3_malloc().
46800 ** Space to hold the returned string is obtained from sqlite3_malloc().
46829 ** Space to hold the returned string is obtained from sqlite3_malloc().
46856 ** Space to hold the returned string is obtained from sqlite3_malloc().
46874 ** Space to hold the returned string is obtained from sqlite3_malloc().
58074 ** sqlite3_malloc() and pointed to by zSuperJournal. Also obtain
66321 void *pBuf1 = sqlite3_malloc(szPage);
66322 void *pBuf2 = sqlite3_malloc(szPage);
66940 aBuf = sqlite3_malloc(szPage + WAL_FRAME_HDRSIZE);
67451 pRet = (WalIndexHdr*)sqlite3_malloc(sizeof(WalIndexHdr));
83015 ** The zWhere string must have been obtained from sqlite3_malloc().
83915 ** the string is made into memory obtained from sqlite3_malloc().
87753 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
88202 pNew = sqlite3_malloc( sizeof(*pNew) );
89767 ** obtained from sqlite3_malloc(). The caller is responsible for
102633 pNew = sqlite3_malloc( sizeof(*pNew) );
102658 pCur = sqlite3_malloc( sizeof(*pCur) );
103202 FileChunk *pNew = sqlite3_malloc(fileChunkSize(p->nChunkSize));
118360 db->mDropTableName = sqlite3_malloc(strlen(zTabName) + 1);
118364 db->mDropSchemaName = sqlite3_malloc(strlen(db->aDb[iDb].zDbSName) + 1);
132390 #define sqlite3_malloc sqlite3_api->malloc
132833 sqlite3_malloc,
136894 pTab = (PragmaVtab*)sqlite3_malloc(sizeof(PragmaVtab));
136967 pCsr = (PragmaVtabCursor*)sqlite3_malloc(sizeof(*pCsr));
173809 ** to be NULL or point to memory that was obtained from sqlite3_malloc(),
174150 ** space for the lookaside memory is obtained from sqlite3_malloc().
179729 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
180482 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
180520 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
180577 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
181203 char **pzErr /* OUT: sqlite3_malloc'd error message */
181213 char **pzErr /* OUT: sqlite3_malloc'd error message */
181390 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
182223 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
182748 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
183720 pHash = sqlite3_malloc(sizeof(Fts3HashWrapper));
183841 ** sqlite3_malloc(). This function takes responsibility for eventually
185823 char **pzErr /* OUT: sqlite3_malloc'd error message */
185984 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
186440 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
187352 char **pzErr /* OUT: Error message (sqlite3_malloc) */
187434 ** sqlite3_malloc(). It is the responsibility of the caller to use
188069 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
188099 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
189256 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
189311 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
189590 char **pzErr /* OUT: sqlite3_malloc'd error message */
189623 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
189693 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
191064 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
197685 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
197737 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
198626 ** Free a JsonParse object that was obtained from sqlite3_malloc().
198860 zOut = sqlite3_malloc( n+1 );
199518 ** obtained from sqlite3_malloc().
200414 pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) );
200433 pCur = sqlite3_malloc( sizeof(*pCur) );
204973 ** the database and copied into a buffer obtained from sqlite3_malloc().
205214 char **pzReport /* OUT: sqlite3_malloc'd report text */
206742 pCsr->aConstraint = p = sqlite3_malloc(sizeof(RtreeConstraint)*4);
207293 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
207318 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
209513 aOut = sqlite3_malloc(nOut+1);
209570 ** sqlite3_malloc containing an SQL statement. This function prepares the SQL
209913 ** returns a copy of the string in memory obtained from sqlite3_malloc().
210699 ** The memory for the returned string is obtained from sqlite3_malloc().
210753 ** The memory for the returned string is obtained from sqlite3_malloc().
214288 u8 *aPg; /* Page buffer from sqlite3_malloc() */
214729 pPg->aPg = (u8*)sqlite3_malloc(pgsz + DBSTAT_PAGE_PADDING_BYTES);
218346 pRet = (sqlite3_changeset_iter *)sqlite3_malloc(nByte);
219326 p->aUpdateMask = sqlite3_malloc(nU32*sizeof(u32));
219375 pUp = (SessionUpdate*)sqlite3_malloc(nByte);
220839 p = (sqlite3_changegroup*)sqlite3_malloc(sizeof(sqlite3_changegroup));
221241 pNew = sqlite3_malloc(sizeof(sqlite3_rebaser));
224696 aSeen = sqlite3_malloc(nPhrase);
225285 zRet = (char*)sqlite3_malloc(nIn+1);
225938 *ppOut = pRet = (Fts5Config*)sqlite3_malloc(sizeof(Fts5Config));
226634 *ppNew = pNew = sqlite3_malloc(sizeof(Fts5Expr));
226927 ** using sqlite3_malloc(). This approach could be improved upon. */
227062 ** using sqlite3_malloc(). This approach could be improved upon. */
229533 *ppNew = pNew = (Fts5Hash*)sqlite3_malloc(sizeof(Fts5Hash));
237256 char **pzErr /* OUT: sqlite3_malloc'd error message */
237266 char **pzErr /* OUT: sqlite3_malloc'd error message */
237406 idxStr = (char*)sqlite3_malloc(pInfo->nConstraint * 8 + 1);
239673 pGlobal = (Fts5Global*)sqlite3_malloc(sizeof(Fts5Global));
240999 p = sqlite3_malloc(sizeof(AsciiTokenizer));
241288 p = (Unicode61Tokenizer*)sqlite3_malloc(sizeof(Unicode61Tokenizer));
241512 pRet = (PorterTokenizer*)sqlite3_malloc(sizeof(PorterTokenizer));
242210 TrigramTokenizer *pNew = (TrigramTokenizer*)sqlite3_malloc(sizeof(*pNew));
243701 char **pzErr /* OUT: sqlite3_malloc'd error message */
243711 char **pzErr /* OUT: sqlite3_malloc'd error message */
244106 pCsr->zLeTerm = sqlite3_malloc(pCsr->nLeTerm+1);