Lines Matching refs:WAL_HDRSIZE
480 #define WAL_HDRSIZE 32 macro
499 WAL_HDRSIZE + ((iFrame)-1)*(i64)((szPage)+WAL_FRAME_HDRSIZE) \
1253 if( nSize>WAL_HDRSIZE ){ in walIndexRecover()
1254 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */ in walIndexRecover()
1267 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0); in walIndexRecover()
1293 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum in walIndexRecover()
1320 iLastFrame = (nSize - WAL_HDRSIZE) / szFrame; in walIndexRecover()
1509 assert( 32 == WAL_HDRSIZE ); in sqlite3WalOpen()
2516 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */ in walBeginShmUnreliable()
2580 if( szWal<WAL_HDRSIZE ){ in walBeginShmUnreliable()
2593 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0); in walBeginShmUnreliable()
3655 u8 aWalHdr[WAL_HDRSIZE]; /* Buffer to assemble wal-header in */ in sqlite3WalFrames()
3664 walChecksumBytes(1, aWalHdr, WAL_HDRSIZE-2*4, 0, aCksum); in sqlite3WalFrames()