Home
last modified time | relevance | path

Searched refs:testMalloc (Results 1 – 10 of 10) sorted by relevance

/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_tdb4.c95 p = (BtFile*)testMalloc(sizeof(BtFile)); in btVfsOpen()
157 if( aTmp==0 ) aTmp = testMalloc(p->nSectorSize); in btFlushSectors()
201 u8 *aBuf = testMalloc(p->nSectorSize); in btSaveSectors()
209 u8 **apNew = (u8**)testMalloc(nNew * sizeof(u8*)); in btSaveSectors()
654 aSpace = (char*)testMalloc(n+2); in testBtConfigure()
717 p = (BtDb*)testMalloc(sizeof(BtDb)); in test_bt_open()
898 pCkpter = testMalloc(sizeof(bt_ckpter)); in bgc_attach()
H A Dlsmtest8.c136 pHdr = testMalloc(sizeof(ShmHeader)); in getShmHeader()
252 pHdr1 = testMalloc(sizeof(ShmHeader)); in doWriterCrash2()
253 pHdr2 = testMalloc(sizeof(ShmHeader)); in doWriterCrash2()
H A Dlsmtest1.c188 pKey1 = testMalloc(nKey1+1); in testDbContents()
405 pKey1 = testMalloc(nKey1+1); in testCompareDb()
566 abPresent = (u8 *)testMalloc(p->nRange+1); in doDataTest3()
567 aVal = (char *)testMalloc(p->nValMax+1); in doDataTest3()
H A Dlsmtest_tdb3.c173 pRet = (LsmFile *)testMalloc(sizeof(LsmFile)); in testEnvOpen()
224 u8 *aOld = (u8 *)testMalloc(pDb->szSector); in testEnvWrite()
634 pDb->pBuf = testMalloc(nVal*2); in test_lsm_fetch()
966 pDb = (LsmDb *)testMalloc(sizeof(LsmDb) + nFilename + 1); in testLsmOpen()
1368 pDb->aWorker = (LsmWorker *)testMalloc(sizeof(LsmWorker) * 2); in testLsmStartWorkers()
H A Dlsmtest_datasource.c86 p = (Datasource *)testMalloc(sizeof(Datasource) + nMaxKey + nMaxVal + 1); in testDatasourceNew()
H A Dlsmtest_main.c363 zRet = (char *)testMalloc(nByte+1); in testMallocVPrintf()
391 void *testMalloc(int n){ in testMalloc() function
399 void *pRet = testMalloc(nByte); in testMallocCopy()
415 return testMalloc(n); in testRealloc()
H A Dlsmtest4.c64 aReader = (struct Reader *)testMalloc(sizeof(aReader[0]) * pTest->nReader); in do_mc_test()
H A Dlsmtest.h182 void *testMalloc(int);
H A Dlsmtest5.c301 p = (ThreadSet *)testMalloc(nByte); in testThreadInit()
H A Dlsmtest6.c272 aBuf = testMalloc(4096); in copy_file()