Lines Matching refs:pRet
12013 void *pRet; in idxMalloc() local
12016 pRet = sqlite3_malloc(nByte); in idxMalloc()
12017 if( pRet ){ in idxMalloc()
12018 memset(pRet, 0, nByte); in idxMalloc()
12022 return pRet; in idxMalloc()
15539 void *pRet = 0; in recoverMalloc() local
15542 pRet = sqlite3_malloc64(nByte); in recoverMalloc()
15543 if( pRet ){ in recoverMalloc()
15544 memset(pRet, 0, nByte); in recoverMalloc()
15549 return pRet; in recoverMalloc()
15595 RecoverBitmap *pRet = (RecoverBitmap*)recoverMalloc(p, nByte); in recoverBitmapAlloc() local
15597 if( pRet ){ in recoverBitmapAlloc()
15598 pRet->nPg = nPg; in recoverBitmapAlloc()
15600 return pRet; in recoverBitmapAlloc()
16498 sqlite3_stmt *pRet = 0; in recoverInsertStmt() local
16553 pRet = recoverPrepare(p, p->dbOut, zFinal); in recoverInsertStmt()
16558 return pRet; in recoverInsertStmt()
16568 RecoverTable *pRet = 0; in recoverFindTable() local
16569 for(pRet=p->pTblList; pRet && pRet->iRoot!=iRoot; pRet=pRet->pNext); in recoverFindTable()
16570 return pRet; in recoverFindTable()
16656 sqlite3_stmt *pRet = 0; in recoverLostAndFoundInsert() local
16662 pRet = recoverPreparePrintf( in recoverLostAndFoundInsert()
16671 pRet = recoverPreparePrintf( in recoverLostAndFoundInsert()
16677 return pRet; in recoverLostAndFoundInsert()
17906 sqlite3_recover *pRet = 0; in recoverInit() local
17917 pRet = (sqlite3_recover*)sqlite3_malloc(nByte); in recoverInit()
17918 if( pRet ){ in recoverInit()
17919 memset(pRet, 0, nByte); in recoverInit()
17920 pRet->dbIn = db; in recoverInit()
17921 pRet->zDb = (char*)&pRet[1]; in recoverInit()
17922 pRet->zUri = &pRet->zDb[nDb+1]; in recoverInit()
17923 memcpy(pRet->zDb, zDb, nDb); in recoverInit()
17924 if( nUri>0 && zUri ) memcpy(pRet->zUri, zUri, nUri); in recoverInit()
17925 pRet->xSql = xSql; in recoverInit()
17926 pRet->pSqlCtx = pSqlCtx; in recoverInit()
17927 pRet->bRecoverRowid = RECOVER_ROWID_DEFAULT; in recoverInit()
17930 return pRet; in recoverInit()