Lines Matching defs:sqlite3_malloc

554 ** from [sqlite3_malloc()] and passed back through the 5th parameter.
1082 ** [sqlite3_malloc()] and the result is stored in the char* variable
1133 ** written into memory obtained from [sqlite3_malloc()]. The caller should
1645 ** Every memory allocation request coming in through [sqlite3_malloc()]
1786 ** [sqlite3_malloc()] will be used to obtain the memory needed.<p>
1789 ** [sqlite3_malloc|heap allocations].
1817 ** SQLite goes to [sqlite3_malloc()] for the additional storage space.</dd>
2044 ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
2446 ** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling
2479 ** results into memory obtained from [sqlite3_malloc()].
2482 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough
2585 ** ^The sqlite3_malloc() routine returns a pointer to a block
2587 ** ^If sqlite3_malloc() is unable to obtain sufficient free
2589 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
2593 ** sqlite3_malloc(N) except that N is an unsigned 64-bit integer instead
2597 ** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
2605 ** was not obtained from sqlite3_malloc() or sqlite3_realloc().
2611 ** sqlite3_malloc(N).
2627 ** ^If X is a memory allocation previously obtained from sqlite3_malloc(),
2637 ** ^The memory returned by sqlite3_malloc(), sqlite3_realloc(),
2658 ** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have
2665 SQLITE_API void *SQLITE_STDCALL sqlite3_malloc(int);
2676 ** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()]
2685 ** added by SQLite in its implementation of [sqlite3_malloc()],
2687 ** routines that [sqlite3_malloc()] may call.
3867 ** ^If sqlite3_malloc() fails during the processing of either routine
4803 ** from [sqlite3_malloc()] before it returns.
5082 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
5085 ** [sqlite3_malloc] and the pragma may attempt to free that memory
5088 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5139 ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
5142 ** [sqlite3_malloc] and the pragma may attempt to free that memory
5145 ** made NULL or made to point to memory obtained from [sqlite3_malloc]
5570 ** obtained from [sqlite3_malloc()]. The calling function
5813 char *idxStr; /* String, possibly obtained from sqlite3_malloc */
6399 ** xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
6469 #define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
6626 ** using [sqlite3_malloc()], either directly or indirectly. The
6627 ** figure includes calls made to [sqlite3_malloc()] by the application
6636 ** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their
6655 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
6678 ** buffer and where forced to overflow to [sqlite3_malloc()]. The values
10770 ** sqlite3_malloc() to obtain space for the file-handle structure.
10953 u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */
16761 void *p = sqlite3_malloc(10);
18363 return sqlite3_malloc(nBytes);
20818 ** Allocate memory. This routine is like sqlite3_malloc() except that it
20828 ** this amount. The only way to reach the limit is with sqlite3_malloc() */
20846 SQLITE_API void *SQLITE_STDCALL sqlite3_malloc(int n){
20971 ** sqlite3Malloc() or sqlite3_malloc().
21318 ** returning control to the user) that has called sqlite3_malloc or
22295 ** Print into memory obtained from sqlite3_malloc(). Omit the internal
22319 ** Print into memory obtained from sqlite3_malloc()(). Omit the internal
23164 ** from sqlite3_malloc().
23326 ** Memory to hold the UTF-8 string is obtained from sqlite3_malloc and must
24901 ** The hash table might fail to resize if sqlite3_malloc() fails or
31984 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
34858 ** obtained from sqlite3_malloc().
34886 ** from sqlite3_malloc.
34916 ** sqlite3_malloc().
34942 ** returned string is obtained from sqlite3_malloc().
34959 ** returned string is obtained from sqlite3_malloc().
44091 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
65030 ** The zWhere string must have been obtained from sqlite3_malloc().
65605 ** the string is made into memory obtained from sqlite3_malloc().
68982 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
81035 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
102232 #define sqlite3_malloc sqlite3_api->malloc
102579 sqlite3_malloc,
127484 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
128326 ** to be NULL or point to memory that was obtained from sqlite3_malloc(),
128649 ** space for the lookaside memory is obtained from sqlite3_malloc().
133109 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
133803 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
133811 zRet = sqlite3_malloc(nRet);
133841 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
133898 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
133992 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
134085 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
134167 aCol = (const char **)sqlite3_malloc(nByte);
134170 azNotindexed = (char **)sqlite3_malloc(nByte);
134364 p = (Fts3Table*)sqlite3_malloc(nByte);
134503 char **pzErr /* OUT: sqlite3_malloc'd error message */
134513 char **pzErr /* OUT: sqlite3_malloc'd error message */
134670 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
135439 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
135495 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
135558 aOut = sqlite3_malloc(*pnRight + FTS3_VARINT_MAX);
135738 pTS->aaOutput[0] = sqlite3_malloc(nDoclist + FTS3_VARINT_MAX + 1);
135953 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
136897 pHash = sqlite3_malloc(sizeof(Fts3Hash));
137026 ** sqlite3_malloc(). This function takes responsibility for eventually
137203 aOut = (char *)sqlite3_malloc(nPoslist+8);
137568 char *aDoclist = sqlite3_malloc(nByte+1);
137962 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
138284 aTmp = sqlite3_malloc(nTmp*2);
138627 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
138981 char **pzErr /* OUT: sqlite3_malloc'd error message */
139019 p = (Fts3auxTable *)sqlite3_malloc(nByte);
139142 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
139591 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
139596 void *pRet = sqlite3_malloc(nByte);
140268 apLeaf = (Fts3Expr **)sqlite3_malloc(sizeof(Fts3Expr *) * nMaxDepth);
140476 char **pzErr /* OUT: Error message (sqlite3_malloc) */
140586 ** sqlite3_malloc(). It is the responsibility of the caller to use
140695 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
140793 void *p = sqlite3_malloc(n);
141206 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
141236 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
142364 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
142419 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
142658 *pazDequote = azDequote = sqlite3_malloc(sizeof(char *)*argc + nByte);
142697 char **pzErr /* OUT: sqlite3_malloc'd error message */
142729 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
142799 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
142882 pCsr->zInput = sqlite3_malloc(nByte+1);
143636 p = sqlite3_malloc(sizeof(*p) + 100);
144156 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
144204 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
144587 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
144719 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
145005 pTree->aData = (char *)sqlite3_malloc(nReq);
145049 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
145196 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
145202 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
146320 pBlob = sqlite3_malloc( 10*p->nColumn );
146370 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
146491 aSz = (u32 *)sqlite3_malloc(nByte);
146562 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte);
147797 pWriter = (IncrmergeWriter *)sqlite3_malloc(nAlloc);
148399 pRet = (char *)sqlite3_malloc(p->pList->nData);
148419 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
148532 aSzDel = sqlite3_malloc( sizeof(aSzDel[0])*(p->nColumn+1)*2 );
149087 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
149660 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
149886 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
150083 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
150465 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
150514 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
151492 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
151536 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
151850 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
152491 pInfo = (sqlite3_rtree_query_info*)sqlite3_malloc( sizeof(*pInfo)+nBlob );
152566 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
153113 aaSorted = (int **)sqlite3_malloc(nByte);
153234 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
153522 aCell = (RtreeCell *)sqlite3_malloc(n * (
154192 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
154395 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
154426 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
154451 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
154825 zOutput = sqlite3_malloc(nOutput);
155045 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
155102 pCsr = (IcuCursor *)sqlite3_malloc(