Home
last modified time | relevance | path

Searched refs:sqlite3Malloc (Results 1 – 16 of 16) sorted by relevance

/sqlite-3.40.0/src/
H A Dthreads.c65 p = sqlite3Malloc(sizeof(*p)); in sqlite3ThreadCreate()
156 p = sqlite3Malloc(sizeof(*p)); in sqlite3ThreadCreate()
236 p = sqlite3Malloc(sizeof(*p)); in sqlite3ThreadCreate()
263 void *pTstAlloc = sqlite3Malloc(10); in sqlite3ThreadJoin()
H A Dmalloc.c298 void *sqlite3Malloc(u64 n){ in sqlite3Malloc() function
322 return n<=0 ? 0 : sqlite3Malloc(n); in sqlite3_malloc()
328 return sqlite3Malloc(n); in sqlite3_malloc64()
511 return sqlite3Malloc(nBytes); /* IMP: R-04300-56712 */ in sqlite3Realloc()
583 void *p = sqlite3Malloc(n); in sqlite3MallocZero()
609 p = sqlite3Malloc(n); in dbMallocRawFinish()
641 p = sqlite3Malloc(n); in sqlite3DbMallocRaw()
H A Dhash.c126 new_ht = (struct _ht *)sqlite3Malloc( new_size*sizeof(struct _ht) ); in rehash()
256 new_elem = (HashElem*)sqlite3Malloc( sizeof(HashElem) ); in sqlite3HashInsert()
H A Dmutex_noop.c115 pNew = sqlite3Malloc(sizeof(*pNew)); in debugMutexAlloc()
H A Dvdbesort.c654 pReadr->aBuffer = (u8*)sqlite3Malloc(pgsz); in vdbePmaReaderSeek()
1014 pSorter->list.aMemory = (u8*)sqlite3Malloc(pgsz); in sqlite3VdbeSorterInit()
1460 p->aBuffer = (u8*)sqlite3Malloc(nBuf); in vdbePmaWriterInit()
1752 pSorter->list.aMemory = sqlite3Malloc(pSorter->nMemory); in vdbeSorterFlushPMA()
1860 pNew = (SorterRecord *)sqlite3Malloc(nReq); in sqlite3VdbeSorterWrite()
H A Dnotify.c261 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2); in sqlite3ConnectionUnlocked()
H A Dmemdb.c527 p = sqlite3Malloc( sizeof(*p) + szName + 3 ); in memdbOpen()
561 p = sqlite3Malloc( sizeof(*p) ); in memdbOpen()
H A Dpcache1.c316 zBulk = pCache->pBulk = sqlite3Malloc( szBulk ); in pcache1InitBulk()
364 p = sqlite3Malloc(nByte); in pcache1Alloc()
H A Dos.c68 void *pTstAlloc = sqlite3Malloc(10); \
H A Dtokenize.c600 pEngine = sqlite3ParserAlloc(sqlite3Malloc, pParse);
H A Dvtab.c54 pMod = (Module *)sqlite3Malloc(sizeof(Module) + nName + 1); in sqlite3VtabCreateModule()
H A Dmain.c775 pStart = sqlite3Malloc( szAlloc ); /* IMP: R-61949-35727 */ in setupLookaside()
1970 pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor)); in createFunctionApi()
H A Dfunc.c457 z = sqlite3Malloc(nByte); in contextMalloc()
H A Dbtree.c684 pKey = sqlite3Malloc( pCur->nKey + 9 + 8 ); in saveCursorKey()
2496 char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename)); in sqlite3BtreeOpen()
5938 pCellKey = sqlite3Malloc( nCell+nOverrun ); in sqlite3BtreeIndexMoveto()
9270 pCur->pKey = sqlite3Malloc( pX->nKey ); in sqlite3BtreeInsert()
H A DsqliteInt.h4396 void *sqlite3Malloc(u64);
H A Dpager.c2520 zFree = sqlite3Malloc(4 + nSuperJournal + nSuperPtr + 2); in pager_delsuper()