Home | History | Annotate | Download | only in orig

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
25152 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) );
25548 pInode = sqlite3_malloc( sizeof(*pInode) );
28060 char *zTFile = sqlite3_malloc( pFile->pVfs->mxPathname );
28494 p = sqlite3_malloc( sizeof(*p) );
28522 pShmNode = sqlite3_malloc( sizeof(*pShmNode) + nShmFilename );
28732 pMem = sqlite3_malloc(szRegion);
29561 pNew->lockingContext = pCtx = sqlite3_malloc( sizeof(*pCtx) );
29591 zLockFile = (char *)sqlite3_malloc(nFilename);
29968 pUnused = sqlite3_malloc(sizeof(*pUnused));
30740 ** sqlite3_malloc) and open the file named "path" in the file descriptor.
30768 pUnused = sqlite3_malloc(sizeof(*pUnused));
30801 pNew = (unixFile *)sqlite3_malloc(sizeof(*pNew));
31260 ** Store the conch filename in memory obtained from sqlite3_malloc().
31276 *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8);
31391 pCtx = sqlite3_malloc( sizeof(*pCtx) );
33561 ** obtained from sqlite3_malloc().
33589 ** from sqlite3_malloc.
33619 ** sqlite3_malloc().
33645 ** returned string is obtained from sqlite3_malloc().
33662 ** returned string is obtained from sqlite3_malloc().
37859 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
42685 ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain
48629 aFrame = (u8 *)sqlite3_malloc(szFrame);
62446 ** The zWhere string must have been obtained from sqlite3_malloc().
62989 ** the string is made into memory obtained from sqlite3_malloc().
66234 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored
76488 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
92047 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
92687 zOut = z = sqlite3_malloc( argc*4+1 );
97313 #define sqlite3_malloc sqlite3_api->malloc
97648 sqlite3_malloc,
97905 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
97931 zAltEntry = sqlite3_malloc(ncFile+30);
97953 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
106952 z = sqlite3_malloc( n );
106998 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
121645 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
122455 ** to be NULL or point to memory that was obtained from sqlite3_malloc(),
122696 ** space for the lookaside memory is obtained from sqlite3_malloc().
124383 zFile = sqlite3_malloc(nByte);
124537 zFile = sqlite3_malloc(nUri+2);
126932 ** The aMI array is allocated using sqlite3_malloc(). It should be freed
127607 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
127615 zRet = sqlite3_malloc(nRet);
127645 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
127702 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
127791 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
127874 azCol = (const char **)sqlite3_malloc(sizeof(char *) * nCol + nStr);
127956 aCol = (const char **)sqlite3_malloc(nByte);
127959 azNotindexed = (char **)sqlite3_malloc(nByte);
128153 p = (Fts3Table*)sqlite3_malloc(nByte);
128292 char **pzErr /* OUT: sqlite3_malloc'd error message */
128302 char **pzErr /* OUT: sqlite3_malloc'd error message */
128459 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
129228 ** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer
129284 aOut = sqlite3_malloc(n1+n2+FTS3_VARINT_MAX-1);
129500 pTS->aaOutput[0] = sqlite3_malloc(nDoclist);
129715 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
130629 pHash = sqlite3_malloc(sizeof(Fts3Hash));
130746 ** sqlite3_malloc(). This function takes responsibility for eventually
130917 aOut = (char *)sqlite3_malloc(nPoslist+8);
131282 char *aDoclist = sqlite3_malloc(nByte+1);
131670 aTC = (Fts3TokenAndCost *)sqlite3_malloc(
131976 aTmp = sqlite3_malloc(nTmp*2);
132318 pE->aMI = (u32 *)sqlite3_malloc(pTab->nColumn * 3 * sizeof(u32));
132697 char **pzErr /* OUT: sqlite3_malloc'd error message */
132735 p = (Fts3auxTable *)sqlite3_malloc(nByte);
132858 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor));
133307 ** Allocate nByte bytes of memory using sqlite3_malloc(). If successful,
133312 void *pRet = sqlite3_malloc(nByte);
133984 apLeaf = (Fts3Expr **)sqlite3_malloc(sizeof(Fts3Expr *) * nMaxDepth);
134192 char **pzErr /* OUT: Error message (sqlite3_malloc) */
134302 ** sqlite3_malloc(). It is the responsibility of the caller to use
134411 azCol = (char **)sqlite3_malloc(nCol*sizeof(char *));
134509 void *p = sqlite3_malloc(n);
134922 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
134952 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
136074 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
136129 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
136368 *pazDequote = azDequote = sqlite3_malloc(sizeof(char *)*argc + nByte);
136407 char **pzErr /* OUT: sqlite3_malloc'd error message */
136439 pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable));
136509 pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor));
136592 pCsr->zInput = sqlite3_malloc(nByte+1);
137346 p = sqlite3_malloc(sizeof(*p) + 100);
137866 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
137914 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
138297 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
138426 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
138712 pTree->aData = (char *)sqlite3_malloc(nReq);
138756 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
138903 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
138909 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
140027 pBlob = sqlite3_malloc( 10*p->nColumn );
140077 a = sqlite3_malloc( (sizeof(u32)+10)*nStat );
140197 aSz = (u32 *)sqlite3_malloc(nByte);
140268 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc(nByte);
141503 pWriter = (IncrmergeWriter *)sqlite3_malloc(nAlloc);
142105 pRet = (char *)sqlite3_malloc(p->pList->nData);
142125 pDeferred = sqlite3_malloc(sizeof(*pDeferred));
142238 aSzDel = sqlite3_malloc( sizeof(aSzDel[0])*(p->nColumn+1)*2 );
142792 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
143309 aIter = sqlite3_malloc(sizeof(LcsIterator) * pCsr->nPhrase);
143531 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
143728 sCtx.aTerm = (TermOffset *)sqlite3_malloc(sizeof(TermOffset)*nToken);
144110 pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer));
144159 pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor));
145138 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
145182 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
145497 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
146138 pInfo = (sqlite3_rtree_query_info*)sqlite3_malloc( sizeof(*pInfo)+nBlob );
146213 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
146760 aaSorted = (int **)sqlite3_malloc(nByte);
146881 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
147169 aCell = (RtreeCell *)sqlite3_malloc(n * (
147829 pRtree = (Rtree *)sqlite3_malloc(sizeof(Rtree)+nDb+nName+2);
148032 pBlob = (RtreeMatchArg *)sqlite3_malloc(nBlob);
148063 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
148088 pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback));
148462 zOutput = sqlite3_malloc(nOutput);
148682 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
148739 pCsr = (IcuCursor *)sqlite3_malloc(