Home | History | Annotate | Download | only in dist

Lines Matching defs:sqlite3_malloc

456 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
981 ** [sqlite3_malloc()] and the result is stored in the char* variable
1030 ** written into memory obtained from [sqlite3_malloc()]. The caller should
1527 ** Every memory allocation request coming in through [sqlite3_malloc()]
1666 ** [sqlite3_malloc()] will be used to obtain the memory needed.</dd>
1684 ** SQLite goes to [sqlite3_malloc()] for the additional storage space.
1887 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
2285 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
2314 sqlite3_malloc()].
2317 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough
2414 ** ^The sqlite3_malloc() routine returns a pointer to a block
2416 ** ^If sqlite3_malloc() is unable to obtain sufficient free
2418 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
2422 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
2430 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
2437 ** sqlite3_malloc(N) where N is the second parameter to sqlite3_realloc().
2449 ** ^The memory returned by sqlite3_malloc() and sqlite3_realloc()
2469 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
2476 SQLITE_API void *sqlite3_malloc(int);
2484 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
2493 ** added by SQLite in its implementation of [sqlite3_malloc()],
2495 ** routines that [sqlite3_malloc()] may call.
3637 sqlite3_malloc() fails during the processing of either routine
4555 ** from [sqlite3_malloc()] before it returns.
4828 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
4831 ** [sqlite3_malloc] and the pragma may attempt to free that memory
4834 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
4885 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
4888 ** [sqlite3_malloc] and the pragma may attempt to free that memory
4891 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5297 ** obtained from [sqlite3_malloc()]. The calling function
5539 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
6107 ** ^xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
6177 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
6327 ** using [sqlite3_malloc()], either directly or indirectly. The
6328 ** figure includes calls made to [sqlite3_malloc()] by the application
6337 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
6356 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
6379 ** buffer and where forced to overflow to [sqlite3_malloc()]. The values
10226 ** sqlite3_malloc() to obtain space for the file-handle structure.
10409 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
12158 u8 useMalloc; /* 0: none, 1: sqlite3DbMalloc, 2: sqlite3_malloc */
14040 char *zMalloc; /* Dynamic buffer allocated by sqlite3_malloc() */
16029 void *p = sqlite3_malloc(10);
17627 return sqlite3_malloc(nBytes);
20037 ** Allocate memory. This routine is like sqlite3_malloc() except that it
20049 ** this amount. The only way to reach the limit is with sqlite3_malloc() */
20067 SQLITE_API void *sqlite3_malloc(int n){
20187 ** sqlite3Malloc() or sqlite3_malloc().
20504 ** returning control to the user) that has called sqlite3_malloc or
21362 p->zText = sqlite3_malloc(p->nChar+1);
21453 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
21471 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
21976 ** from sqlite3_malloc().
22137 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
23704 ** The hash table might fail to resize if sqlite3_malloc() fails or
25170 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
25566 pInode = sqlite3_malloc( sizeof(*pInode) );
28080 char *zTFile = sqlite3_malloc( pFile->pVfs->mxPathname );
28514 p = sqlite3_malloc( sizeof(*p) );
28542 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
28752 pMem = sqlite3_malloc(szRegion);
29581 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
29611 zLockFile = (char *)sqlite3_malloc(nFilename);
29988 pUnused = sqlite3_malloc(sizeof(*pUnused));
30760 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
30788 pUnused = sqlite3_malloc(sizeof(*pUnused));
30821 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
31280 ** Store the conch filename in memory obtained from sqlite3_malloc().
31296 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
31411 pCtx = sqlite3_malloc( sizeof(*pCtx) );
33581 ** obtained from sqlite3_malloc().
33609 ** from sqlite3_malloc.
33639 ** sqlite3_malloc().
33665 ** returned string is obtained from sqlite3_malloc().
33682 ** returned string is obtained from sqlite3_malloc().
37879 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
42705 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
48649 aFrame = (u8 *)sqlite3_malloc(szFrame);
62466 ** The zWhere string must have been obtained from sqlite3_malloc().
63009 ** the string is made into memory obtained from sqlite3_malloc().
66254 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
76508 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
92067 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
92707 zOut = z = sqlite3_malloc( argc*4+1 );
97333 #define sqlite3_malloc sqlite3_api->malloc
97668 sqlite3_malloc,
97925 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
97951 zAltEntry = sqlite3_malloc(ncFile+30);
97973 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
106972 z = sqlite3_malloc( n );
107018 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
121665 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
122475 ** to be NULL or point to memory that was obtained from sqlite3_malloc(),
122716 ** space for the lookaside memory is obtained from sqlite3_malloc().
124403 zFile = sqlite3_malloc(nByte);
124557 zFile = sqlite3_malloc(nUri+2);
126952 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
127627 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
127635 zRet = sqlite3_malloc(nRet);
127665 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
127722 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
127811 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
127894 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
127976 aCol = (const char **)sqlite3_malloc(nByte);
127979 azNotindexed = (char **)sqlite3_malloc(nByte);
128173 p = (Fts3Table*)sqlite3_malloc(nByte);
128312 char **pzErr /* OUT: sqlite3_malloc'd error message */
128322 char **pzErr /* OUT: sqlite3_malloc'd error message */
128479 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
129248 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
129304 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
129520 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
129735 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
130649 pHash = sqlite3_malloc(sizeof(Fts3Hash));
130778 ** sqlite3_malloc(). This function takes responsibility for eventually
130949 aOut = (char *)sqlite3_malloc(nPoslist+8);
131314 char *aDoclist = sqlite3_malloc(nByte+1);
131702 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
132008 aTmp = sqlite3_malloc(nTmp*2);
132350 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
132729 char **pzErr /* OUT: sqlite3_malloc'd error message */
132767 p = (Fts3auxTable *)sqlite3_malloc(nByte);
132890 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
133339 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
133344 void *pRet = sqlite3_malloc(nByte);
134016 apLeaf = (Fts3Expr **)sqlite3_malloc(sizeof(Fts3Expr *) * nMaxDepth);
134224 char **pzErr /* OUT: Error message (sqlite3_malloc) */
134334 ** sqlite3_malloc(). It is the responsibility of the caller to use
134443 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
134541 void *p = sqlite3_malloc(n);
134954 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
134984 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
136106 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
136161 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
136400 *pazDequote = azDequote = sqlite3_malloc(sizeof(char *)*argc + nByte);
136439 char **pzErr /* OUT: sqlite3_malloc'd error message */
136471 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
136541 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
136624 pCsr->zInput = sqlite3_malloc(nByte+1);
137378 p = sqlite3_malloc(sizeof(*p) + 100);
137898 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
137946 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
138329 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
138458 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
138744 pTree->aData = (char *)sqlite3_malloc(nReq);
138788 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
138935 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
138941 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
140059 pBlob = sqlite3_malloc( 10*p->nColumn );
140109 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
140229 aSz = (u32 *)sqlite3_malloc(nByte);
140300 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte);
141535 pWriter = (IncrmergeWriter *)sqlite3_malloc(nAlloc);
142137 pRet = (char *)sqlite3_malloc(p->pList->nData);
142157 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
142270 aSzDel = sqlite3_malloc( sizeof(aSzDel[0])*(p->nColumn+1)*2 );
142824 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
143341 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
143563 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
143760 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
144142 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
144191 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
145170 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
145214 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
145529 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
146170 pInfo = (sqlite3_rtree_query_info*)sqlite3_malloc( sizeof(*pInfo)+nBlob );
146245 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
146792 aaSorted = (int **)sqlite3_malloc(nByte);
146913 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
147201 aCell = (RtreeCell *)sqlite3_malloc(n * (
147861 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
148064 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
148095 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
148120 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
148494 zOutput = sqlite3_malloc(nOutput);
148714 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
148771 pCsr = (IcuCursor *)sqlite3_malloc(