WalIndexHdr 43912 sqlite3/libsqlite/sqlite3.c typedef struct WalIndexHdr WalIndexHdr; WalIndexHdr 44002 sqlite3/libsqlite/sqlite3.c #define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2 + sizeof(WalCkptInfo)) WalIndexHdr 44051 sqlite3/libsqlite/sqlite3.c WalIndexHdr hdr; /* Wal-index header for current transaction */ WalIndexHdr 44183 sqlite3/libsqlite/sqlite3.c return (volatile WalCkptInfo*)&(pWal->apWiData[0][sizeof(WalIndexHdr)/2]); WalIndexHdr 44189 sqlite3/libsqlite/sqlite3.c static volatile WalIndexHdr *walIndexHdr(Wal *pWal){ WalIndexHdr 44191 sqlite3/libsqlite/sqlite3.c return (volatile WalIndexHdr*)pWal->apWiData[0]; WalIndexHdr 44265 sqlite3/libsqlite/sqlite3.c volatile WalIndexHdr *aHdr = walIndexHdr(pWal); WalIndexHdr 44266 sqlite3/libsqlite/sqlite3.c const int nCksum = offsetof(WalIndexHdr, aCksum); WalIndexHdr 44272 sqlite3/libsqlite/sqlite3.c memcpy((void *)&aHdr[1], (void *)&pWal->hdr, sizeof(WalIndexHdr)); WalIndexHdr 44274 sqlite3/libsqlite/sqlite3.c memcpy((void *)&aHdr[0], (void *)&pWal->hdr, sizeof(WalIndexHdr)); WalIndexHdr 44706 sqlite3/libsqlite/sqlite3.c memset(&pWal->hdr, 0, sizeof(WalIndexHdr)); WalIndexHdr 45476 sqlite3/libsqlite/sqlite3.c WalIndexHdr h1, h2; /* Two copies of the header content */ WalIndexHdr 45477 sqlite3/libsqlite/sqlite3.c WalIndexHdr volatile *aHdr; /* Header in shared memory */ WalIndexHdr 45508 sqlite3/libsqlite/sqlite3.c if( memcmp(&pWal->hdr, &h1, sizeof(WalIndexHdr)) ){ WalIndexHdr 45510 sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr, &h1, sizeof(WalIndexHdr)); WalIndexHdr 45725 sqlite3/libsqlite/sqlite3.c if( memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) ){ WalIndexHdr 45812 sqlite3/libsqlite/sqlite3.c || memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) WalIndexHdr 46033 sqlite3/libsqlite/sqlite3.c if( memcmp(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr))!=0 ){ WalIndexHdr 46075 sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr)); WalIndexHdr 46482 sqlite3/libsqlite/sqlite3.c memset(&pWal->hdr, 0, sizeof(WalIndexHdr));