Lines Matching defs:sqlite3_malloc

912 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1419 ** [sqlite3_malloc()] and the result is stored in the char* variable
1468 ** written into memory obtained from [sqlite3_malloc()]. The caller should
1940 ** Every memory allocation request coming in through [sqlite3_malloc()]
2079 ** [sqlite3_malloc()] will be used to obtain the memory needed.</dd>
2097 ** SQLite goes to [sqlite3_malloc()] for the additional storage space.
2292 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
2693 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
2722 ** results into memory obtained from [sqlite3_malloc()].
2725 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough
2822 ** ^The sqlite3_malloc() routine returns a pointer to a block
2824 ** ^If sqlite3_malloc() is unable to obtain sufficient free
2826 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
2830 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
2838 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
2845 ** sqlite3_malloc(N) where N is the second parameter to sqlite3_realloc().
2857 ** ^The memory returned by sqlite3_malloc() and sqlite3_realloc()
2877 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
2884 SQLITE_API void *sqlite3_malloc(int);
2892 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
2901 ** added by SQLite in its implementation of [sqlite3_malloc()],
2903 ** routines that [sqlite3_malloc()] may call.
4017 ** ^If sqlite3_malloc() fails during the processing of either routine
4908 ** from [sqlite3_malloc()] before it returns.
5164 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
5167 ** [sqlite3_malloc] and the pragma may attempt to free that memory
5170 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5216 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
5219 ** [sqlite3_malloc] and the pragma may attempt to free that memory
5222 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5626 ** obtained from [sqlite3_malloc()]. The calling function
5843 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
6404 ** ^xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
6474 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
6617 ** using [sqlite3_malloc()], either directly or indirectly. The
6618 ** figure includes calls made to [sqlite3_malloc()] by the application
6627 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
6646 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
6669 ** buffer and where forced to overflow to [sqlite3_malloc()]. The values
9824 ** sqlite3_malloc() to obtain space for the file-handle structure.
10008 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
11681 u8 useMalloc; /* 0: none, 1: sqlite3DbMalloc, 2: sqlite3_malloc */
13419 char *zMalloc; /* Dynamic buffer allocated by sqlite3_malloc() */
15376 void *p = sqlite3_malloc(10);
16958 return sqlite3_malloc(nBytes);
19059 ** Allocate memory. This routine is like sqlite3_malloc() except that it
19071 ** this amount. The only way to reach the limit is with sqlite3_malloc() */
19089 SQLITE_API void *sqlite3_malloc(int n){
19209 ** sqlite3Malloc() or sqlite3_malloc().
19524 ** returning control to the user) that has called sqlite3_malloc or
20305 p->zText = sqlite3_malloc(p->nChar+1);
20397 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
20415 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
20941 ** from sqlite3_malloc().
21102 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
22539 ** The hash table might fail to resize if sqlite3_malloc() fails or
23981 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
24377 pInode = sqlite3_malloc( sizeof(*pInode) );
26862 char *zTFile = sqlite3_malloc( pFile->pVfs->mxPathname );
27252 p = sqlite3_malloc( sizeof(*p) );
27280 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
27483 pMem = sqlite3_malloc(szRegion);
28316 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
28346 zLockFile = (char *)sqlite3_malloc(nFilename);
28711 pUnused = sqlite3_malloc(sizeof(*pUnused));
29473 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
29501 pUnused = sqlite3_malloc(sizeof(*pUnused));
29534 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
29993 ** Store the conch filename in memory obtained from sqlite3_malloc().
30009 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
30124 pCtx = sqlite3_malloc( sizeof(*pCtx) );
32020 ** obtained from sqlite3_malloc().
32048 ** from sqlite3_malloc.
32078 ** sqlite3_malloc().
32104 ** returned string is obtained from sqlite3_malloc().
32121 ** returned string is obtained from sqlite3_malloc().
35974 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
40755 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
46645 aFrame = (u8 *)sqlite3_malloc(szFrame);
60140 ** The zWhere string must have been obtained from sqlite3_malloc().
60628 ** the string is made into memory obtained from sqlite3_malloc().
60634 ** sqlite3_malloc, to be freed when the Vdbe is finalized.
60636 ** stored in memory that the caller has obtained from sqlite3_malloc. The
65390 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
65418 ** from sqlite3_malloc() and p->zErrMsg is made to point to that memory.
73610 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
87506 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
88150 zOut = z = sqlite3_malloc( argc*4 );
92519 #define sqlite3_malloc sqlite3_api->malloc
92851 sqlite3_malloc,
93108 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
93134 zAltEntry = sqlite3_malloc(ncFile+30);
93156 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
101003 z = sqlite3_malloc( n );
101049 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
114264 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
115075 ** to be NULL or point to memory that was obtained from sqlite3_malloc(),
115309 ** space for the lookaside memory is obtained from sqlite3_malloc().
116955 zFile = sqlite3_malloc(nByte);
117109 zFile = sqlite3_malloc(nUri+2);
119398 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
120043 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
120051 zRet = sqlite3_malloc(nRet);
120081 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
120138 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
120227 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
120310 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
120389 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) );
120570 p = (Fts3Table*)sqlite3_malloc(nByte);
120688 char **pzErr /* OUT: sqlite3_malloc'd error message */
120698 char **pzErr /* OUT: sqlite3_malloc'd error message */
120801 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
121570 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
121626 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
121842 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
122057 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
122894 pHash = sqlite3_malloc(sizeof(Fts3Hash));
123011 ** sqlite3_malloc(). This function takes responsibility for eventually
123182 aOut = (char *)sqlite3_malloc(nPoslist+8);
123741 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
124047 aTmp = sqlite3_malloc(nTmp*2);
124375 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
124711 char **pzErr /* OUT: sqlite3_malloc'd error message */
124749 p = (Fts3auxTable *)sqlite3_malloc(nByte);
124858 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
125260 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
125265 void *pRet = sqlite3_malloc(nByte);
125932 apLeaf = (Fts3Expr **)sqlite3_malloc(sizeof(Fts3Expr *) * nMaxDepth);
126140 char **pzErr /* OUT: Error message (sqlite3_malloc) */
126250 ** sqlite3_malloc(). It is the responsibility of the caller to use
126359 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
126457 void *p = sqlite3_malloc(n);
126870 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
126900 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
128006 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
128061 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
128300 *pazDequote = azDequote = sqlite3_malloc(sizeof(char *)*argc + nByte);
128339 char **pzErr /* OUT: sqlite3_malloc'd error message */
128371 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
128441 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
128524 pCsr->zInput = sqlite3_malloc(nByte+1);
129269 p = sqlite3_malloc(sizeof(*p) + 100);
129783 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
129831 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
130214 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
130343 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
130622 pTree->aData = (char *)sqlite3_malloc(nReq);
130666 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
130813 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
130819 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
131751 pBlob = sqlite3_malloc( 10*p->nColumn );
131801 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
131921 aSz = (u32 *)sqlite3_malloc(nByte);
131990 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte);
133218 pWriter = (IncrmergeWriter *)sqlite3_malloc(nAlloc);
133794 pRet = (char *)sqlite3_malloc(p->pList->nData);
133814 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
133923 aSzDel = sqlite3_malloc( sizeof(aSzDel[0])*(p->nColumn+1)*2 );
134474 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
134990 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
135212 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
135409 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
135791 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
135840 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
136793 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
136838 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
137151 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
137554 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
137613 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
137937 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
138363 aaSorted = (int **)sqlite3_malloc(nByte);
138460 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
138540 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
138827 aCell = (RtreeCell *)sqlite3_malloc(n * (
139452 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
139635 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
139667 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
140039 zOutput = sqlite3_malloc(nOutput);
140256 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
140313 pCsr = (IcuCursor *)sqlite3_malloc(