Searched refs:testMalloc (Results 1 – 10 of 10) sorted by relevance
95 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()
136 pHdr = testMalloc(sizeof(ShmHeader)); in getShmHeader()252 pHdr1 = testMalloc(sizeof(ShmHeader)); in doWriterCrash2()253 pHdr2 = testMalloc(sizeof(ShmHeader)); in doWriterCrash2()
188 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()
173 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()
86 p = (Datasource *)testMalloc(sizeof(Datasource) + nMaxKey + nMaxVal + 1); in testDatasourceNew()
363 zRet = (char *)testMalloc(nByte+1); in testMallocVPrintf()391 void *testMalloc(int n){ in testMalloc() function399 void *pRet = testMalloc(nByte); in testMallocCopy()415 return testMalloc(n); in testRealloc()
64 aReader = (struct Reader *)testMalloc(sizeof(aReader[0]) * pTest->nReader); in do_mc_test()
182 void *testMalloc(int);
301 p = (ThreadSet *)testMalloc(nByte); in testThreadInit()
272 aBuf = testMalloc(4096); in copy_file()