Home
last modified time | relevance | path

Searched refs:sqlite3_malloc64 (Results 1 – 25 of 81) sorted by relevance

1234

/sqlite-3.40.0/src/
H A Dtest_intarray.c92 intarray_vtab *pVtab = sqlite3_malloc64(sizeof(intarray_vtab)); in intarrayCreate()
109 pCur = sqlite3_malloc64(sizeof(intarray_cursor)); in intarrayOpen()
232 *ppReturn = p = sqlite3_malloc64( sizeof(*p) ); in sqlite3_intarray_create()
353 a = sqlite3_malloc64( sizeof(a[0])*n ); in test_intarray_bind()
H A Dloadext.c403 sqlite3_malloc64,
615 zAltEntry = sqlite3_malloc64(ncFile+30); in sqlite3LoadExtension()
636 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg); in sqlite3LoadExtension()
677 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg); in sqlite3LoadExtension()
H A Dtable.c91 z = sqlite3_malloc64( n ); in sqlite3_get_table_cb()
140 res.azResult = sqlite3_malloc64(sizeof(char*)*res.nAlloc ); in sqlite3_get_table()
H A Ddbstat.c181 pTab = (StatTable *)sqlite3_malloc64(sizeof(StatTable)); in statConnect()
291 pCsr = (StatCursor *)sqlite3_malloc64(sizeof(StatCursor)); in statOpen()
439 p->aCell = sqlite3_malloc64((p->nCell+1) * sizeof(StatCell)); in statDecodePage()
476 pCell->aOvfl = sqlite3_malloc64(sizeof(u32)*nOvfl); in statDecodePage()
H A Ddbpage.c80 pTab = (DbpageTable *)sqlite3_malloc64(sizeof(DbpageTable)); in dbpageConnect()
169 pCsr = (DbpageCursor *)sqlite3_malloc64(sizeof(DbpageCursor)); in dbpageOpen()
H A Dos_kv.c456 pFile->aJrnl = sqlite3_malloc64( n ); in kvvfsDecodeJournal()
517 aTxt = sqlite3_malloc64( szTxt+1 ); in kvvfsReadJrnl()
692 zOut = sqlite3_malloc64( pFile->nJrnl*2 + 50 ); in kvvfsSyncJrnl()
H A Dtest_multiplex.c270 z = sqlite3_malloc64( n+5 ); in multiplexSubFilename()
333 pSubOpen = sqlite3_malloc64( pOrigVfs->szOsFile ); in multiplexSubOpen()
499 pGroup = sqlite3_malloc64( sz ); in multiplexOpen()
625 z = sqlite3_malloc64(nName + 5); in multiplexDelete()
H A Dos_unix.c973 pNew = sqlite3_malloc64( sizeof(*pNew) + (n+1) ); in vxworksFindFileId()
1424 pInode = sqlite3_malloc64( sizeof(*pInode) ); in findInodeInfo()
4011 char *zTFile = sqlite3_malloc64( pFile->pVfs->mxPathname ); in unixFileControl()
4598 p = sqlite3_malloc64( sizeof(*p) ); in unixOpenSharedMemory()
4840 pMem = sqlite3_malloc64(nMap); in unixShmMap()
5755 zLockFile = (char *)sqlite3_malloc64(nFilename); in fillInUnixFile()
6174 pUnused = sqlite3_malloc64(sizeof(*pUnused)); in unixOpen()
7062 pUnused = sqlite3_malloc64(sizeof(*pUnused)); in proxyCreateUnixFile()
7095 pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew)); in proxyCreateUnixFile()
7573 *pConchPath = conchPath = (char *)sqlite3_malloc64(len + 8); in proxyCreateConchPathname()
[all …]
/sqlite-3.40.0/ext/fts5/
H A Dfts5_hash.c100 pNew->aSlot = (Fts5HashEntry**)sqlite3_malloc64(nByte); in sqlite3Fts5HashNew()
168 apNew = (Fts5HashEntry**)sqlite3_malloc64(nNew*sizeof(Fts5HashEntry*)); in fts5HashResize()
284 p = (Fts5HashEntry*)sqlite3_malloc64(nByte); in sqlite3Fts5HashWrite()
452 ap = sqlite3_malloc64(sizeof(Fts5HashEntry*) * nMergeSlot); in fts5HashEntrySort()
507 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10)); in sqlite3Fts5HashQuery()
H A Dfts5_expr.c216 static void *fts5ParseAlloc(u64 t){ return sqlite3_malloc64((sqlite3_int64)t);} in fts5ParseAlloc()
304 char *zExpr = (char*)sqlite3_malloc64(nText*4 + 1); in sqlite3Fts5ExprPattern()
477 Fts5PoslistReader *aNew = (Fts5PoslistReader*)sqlite3_malloc64(nByte); in fts5ExprSynonymList()
558 aIter = (Fts5PoslistReader*)sqlite3_malloc64(nByte); in fts5ExprPhraseIsMatch()
1603 pRet = sqlite3_malloc64(nByte); in sqlite3Fts5ParseNearset()
1682 pSyn = (Fts5ExprTerm*)sqlite3_malloc64(nByte); in fts5ParseTokenize()
2426 zQuoted = sqlite3_malloc64(nByte); in fts5ExprTermPrint()
2675 azConfig = (const char**)sqlite3_malloc64(sizeof(char*) * nConfig); in fts5ExprFunction()
2873 pRet = sqlite3_malloc64(sizeof(Fts5PoslistPopulator)*pExpr->nPhrase); in sqlite3Fts5ExprClearPoslists()
H A Dfts5_storage.c118 zBind = sqlite3_malloc64(1 + nCol*2); in fts5StorageGetStmt()
291 *pp = p = (Fts5Storage*)sqlite3_malloc64(nByte); in sqlite3Fts5StorageOpen()
302 char *zDefn = sqlite3_malloc64(32 + (sqlite3_int64)pConfig->nCol * 10); in sqlite3Fts5StorageOpen()
899 aTotalSize = (i64*)sqlite3_malloc64(pConfig->nCol*(sizeof(int)+sizeof(i64))); in sqlite3Fts5StorageIntegrity()
/sqlite-3.40.0/ext/misc/
H A Dstmt.c104 pNew = sqlite3_malloc64( sizeof(*pNew) ); in stmtConnect()
126 pCur = sqlite3_malloc64( sizeof(*pCur) ); in stmtOpen()
224 StmtRow *pNew = (StmtRow*)sqlite3_malloc64(sizeof(StmtRow) + nSql); in stmtFilter()
H A Dfossildelta.c358 collide = sqlite3_malloc64( (sqlite3_int64)nHash*2*sizeof(int) ); in delta_create()
644 aOut = sqlite3_malloc64(nNew+70); in deltaCreateFunc()
686 aOut = sqlite3_malloc64((sqlite3_int64)nOut+1); in deltaApplyFunc()
821 pNew = sqlite3_malloc64( sizeof(*pNew) ); in deltaparsevtabConnect()
984 pCur->aDelta = sqlite3_malloc64( pCur->nDelta+1 ); in deltaparsevtabFilter()
H A Dspellfix.c195 unsigned char *zOut = sqlite3_malloc64( nIn + 1 ); in phoneticHash()
422 m = toFree = sqlite3_malloc64( (nB+1)*5*sizeof(m[0])/4 ); in editdist1()
792 pCost = sqlite3_malloc64( sizeof(*pCost) + nExtra ); in editDist3ConfigLoad()
904 pStr = sqlite3_malloc64( sizeof(*pStr) + sizeof(pStr->a[0])*n + n + 1 ); in editDist3FromStringNew()
1018 m = pToFree = sqlite3_malloc64( nByte ); in editDist3Core()
1212 EditDist3Config *pConfig = sqlite3_malloc64( sizeof(*pConfig) ); in editDist3Install()
1715 unsigned char *zOut = sqlite3_malloc64( nIn*5 + 1 ); in transliterate()
1717 unsigned char *zOut = sqlite3_malloc64( nIn*4 + 1 ); in transliterate()
2060 pNew = sqlite3_malloc64( sizeof(*pNew) + nDbName + 1); in spellfix1Init()
2334 pCur = sqlite3_malloc64( sizeof(*pCur) ); in spellfix1Open()
[all …]
H A Dfuzzer.c340 pRule = sqlite3_malloc64( sizeof(*pRule) + nFrom + nTo ); in fuzzerLoadOneRule()
454 zOut = sqlite3_malloc64(nIn+1); in fuzzerDequote()
519 pNew = sqlite3_malloc64( sizeof(*pNew) + nModule + 1); in fuzzerConnect()
877 pNew = sqlite3_malloc64( sizeof(*pNew) + strlen(zWord) + 1 ); in fuzzerNewStem()
H A Dbtreeinfo.c134 pTab = (BinfoTable *)sqlite3_malloc64(sizeof(BinfoTable)); in binfoConnect()
185 pCsr = (BinfoCursor *)sqlite3_malloc64(sizeof(BinfoCursor)); in binfoOpen()
H A Dcarray.c423 pNew = sqlite3_malloc64(sizeof(*pNew)); in sqlite3_carray_bind()
446 pNew->aData = sqlite3_malloc64( sz ); in sqlite3_carray_bind()
H A Drot13.c60 zOut = zToFree = (unsigned char*)sqlite3_malloc64( nIn+1 ); in rot13func()
/sqlite-3.40.0/ext/fts3/
H A Dfts3_icu.c63 p = (IcuTokenizer *)sqlite3_malloc64(sizeof(IcuTokenizer)+n); in icuCreate()
120 pCsr = (IcuCursor *)sqlite3_malloc64( in icuOpen()
H A Dfts3_write.c652 p = sqlite3_malloc64(sizeof(*p) + 100); in fts3PendingListAppendVarint()
1350 aCopy = (char*)sqlite3_malloc64(nCopy); in fts3SegReaderNext()
1770 pReader = (Fts3SegReader *)sqlite3_malloc64(nByte); in sqlite3Fts3SegReaderPending()
2063 pTree->aData = (char *)sqlite3_malloc64(nReq); in fts3NodeAddTerm()
2260 pWriter->aData = (char *)sqlite3_malloc64(p->nNodeSize); in fts3SegWriterAdd()
3404 pBlob = sqlite3_malloc64( 10*(sqlite3_int64)p->nColumn ); in fts3InsertDocsize()
3578 aSz = (u32 *)sqlite3_malloc64(nByte); in fts3DoRebuild()
3649 pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc64(nByte); in fts3IncrmergeCsr()
4926 pWriter = (IncrmergeWriter *)sqlite3_malloc64(nAlloc); in sqlite3Fts3Incrmerge()
5562 pRet = (char *)sqlite3_malloc64(p->pList->nData); in sqlite3Fts3DeferredTokenList()
[all …]
H A Dfts3_tokenize_vtab.c125 *pazDequote = azDequote = sqlite3_malloc64(sizeof(char *)*argc + nByte); in fts3tokDequoteArray()
350 pCsr->zInput = sqlite3_malloc64(nByte+1); in fts3tokFilterMethod()
H A Dfts3.c849 zRet = sqlite3_malloc64(nRet); in fts3QuoteId()
1044 aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex); in fts3PrefixParameter()
1137 azCol = (const char **)sqlite3_malloc64(sizeof(char *) * nCol + nStr); in fts3ContentColumns()
1219 aCol = (const char **)sqlite3_malloc64(nByte); in fts3InitVtab()
1222 azNotindexed = (char **)sqlite3_malloc64(nByte); in fts3InitVtab()
1417 p = (Fts3Table*)sqlite3_malloc64(nByte); in fts3InitVtab()
2711 aOut = sqlite3_malloc64((sqlite3_int64)*pnRight + FTS3_VARINT_MAX); in fts3DoclistPhraseMerge()
4748 char *aDoclist = sqlite3_malloc64((i64)nByte+FTS3_BUFFER_PADDING); in fts3EvalIncrPhraseNext()
5142 aTC = (Fts3TokenAndCost *)sqlite3_malloc64( in fts3EvalStart()
5465 aTmp = sqlite3_malloc64(nTmp*2); in fts3EvalNearTest()
[all …]
/sqlite-3.40.0/ext/recover/
H A Ddbdata.c168 pTab = (DbdataTable*)sqlite3_malloc64(sizeof(DbdataTable)); in dbdataConnect()
260 pCsr = (DbdataCursor*)sqlite3_malloc64(sizeof(DbdataCursor)); in dbdataOpen()
345 pPage = (u8*)sqlite3_malloc64(nCopy + DBDATA_PADDING_BYTES); in dbdataLoadPage()
612 pCsr->pRec = (u8*)sqlite3_malloc64(nPayload+DBDATA_PADDING_BYTES); in dbdataNext()
/sqlite-3.40.0/test/
H A Dsessionfuzz.c812 pBuf = sqlite3_malloc64( nIn+1 ); in readFile()
851 pData = sqlite3_malloc64( nData ); in db_reset()
/sqlite-3.40.0/ext/rtree/
H A Dgeopoly.c269 pOut = sqlite3_malloc64( GEOPOLY_SZ((sqlite3_int64)s.nVertex) ); in geopolyParseJson()
319 p = sqlite3_malloc64( sizeof(*p) + (nVertex-1)*2*sizeof(GeoCoord) ); in geopolyFuncParam()
597 p = sqlite3_malloc64( sizeof(*p) + (n-1)*2*sizeof(GeoCoord) ); in geopolyRegularFunc()
1072 p = sqlite3_malloc64( nByte ); in geopolyOverlap()
1242 pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName+2); in geopolyInit()

1234