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