Lines Matching refs:nRec
162 int nRec; /* Number of pages written to the journal */ member
634 int nRec; /* Number of Records in the journal */ in pager_playback() local
689 rc = read32bits(format, &pPager->jfd, (u32*)&nRec); in pager_playback()
693 if( nRec==0xffffffff || useJournalSize ){ in pager_playback()
694 nRec = (szJ - JOURNAL_HDR_SZ(3))/JOURNAL_PG_SZ(3); in pager_playback()
697 nRec = (szJ - JOURNAL_HDR_SZ(2))/JOURNAL_PG_SZ(2); in pager_playback()
698 assert( nRec*JOURNAL_PG_SZ(2)+JOURNAL_HDR_SZ(2)==szJ ); in pager_playback()
713 for(i=0; i<nRec; i++){ in pager_playback()
777 int nRec; /* Number of Records */ in pager_ckpt_playback() local
790 nRec = pPager->ckptNRec; in pager_ckpt_playback()
797 for(i=nRec-1; i>=0; i--){ in pager_ckpt_playback()
814 nRec = (szJ - pPager->ckptJSize)/JOURNAL_PG_SZ(journal_format); in pager_ckpt_playback()
815 for(i=nRec-1; i>=0; i--){ in pager_ckpt_playback()
1197 assert( pPager->nRec*pgSz+hdrSz==jSz ); in syncJournal()
1209 rc = write32bits(&pPager->jfd, pPager->nRec); in syncJournal()
1212 pPager->nRec*JOURNAL_PG_SZ(journal_format); in syncJournal()
1658 pPager->nRec = 0; in pager_open_journal()
1825 pPager->nRec++; in sqlitepager_write()
2128 pPager->nRec*JOURNAL_PG_SZ(journal_format)+JOURNAL_HDR_SZ(journal_format) ); in sqlitepager_ckpt_begin()
2130 pPager->ckptJSize = pPager->nRec*JOURNAL_PG_SZ(journal_format) in sqlitepager_ckpt_begin()