Lines Matching defs:aCksum
63693 u32 aCksum[2]; /* Checksum over all prior fields */
63787 ** 40: | aCksum | |
63808 ** 88: | aCksum | |
64158 const int nCksum = offsetof(WalIndexHdr, aCksum);
64163 walChecksumBytes(1, (u8*)&pWal->hdr, nCksum, 0, pWal->hdr.aCksum);
64191 u32 *aCksum = pWal->hdr.aFrameCksum;
64199 walChecksumBytes(nativeCksum, aFrame, 8, aCksum, aCksum);
64200 walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum);
64202 sqlite3Put4byte(&aFrame[16], aCksum[0]);
64203 sqlite3Put4byte(&aFrame[20], aCksum[1]);
64222 u32 *aCksum = pWal->hdr.aFrameCksum;
64246 walChecksumBytes(nativeCksum, aFrame, 8, aCksum, aCksum);
64247 walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum);
64248 if( aCksum[0]!=sqlite3Get4byte(&aFrame[16])
64249 || aCksum[1]!=sqlite3Get4byte(&aFrame[20])
65685 u32 aCksum[2]; /* Checksum on the header content */
65719 walChecksumBytes(1, (u8*)&h1, sizeof(h1)-sizeof(h1.aCksum), 0, aCksum);
65720 if( aCksum[0]!=h1.aCksum[0] || aCksum[1]!=h1.aCksum[1] ){
67033 u32 aCksum[2]; /* Checksum for wal-header */
67041 walChecksumBytes(1, aWalHdr, WAL_HDRSIZE-2*4, 0, aCksum);
67042 sqlite3Put4byte(&aWalHdr[24], aCksum[0]);
67043 sqlite3Put4byte(&aWalHdr[28], aCksum[1]);
67047 pWal->hdr.aFrameCksum[0] = aCksum[0];
67048 pWal->hdr.aFrameCksum[1] = aCksum[1];